| 1 |
# PyMuPDF Japanese documentation |
| 2 |
# Copyright (C) 2015-2023, Artifex |
| 3 |
# This file is distributed under the same license as the PyMuPDF package. |
| 4 |
# Jamie Lemon <[email protected]>, 2023. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PyMuPDF 1.23.0rc1\n" |
| 10 |
"Report-Msgid-Bugs-To: \n" |
| 11 |
"POT-Creation-Date: 2025-04-17 15:00+0100\n" |
| 12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 |
"Last-Translator: Suzan Sanver <[email protected]>\n" |
| 14 |
"Language: ja\n" |
| 15 |
"Language-Team: ja <[email protected]>\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=utf-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Generated-By: Babel 2.10.3\n" |
| 21 |
|
| 22 |
#: ../../header.rst:-1 ebd72ea23c554adea55b860ac32cfd10 |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 d808fab239944edbb4a07604487c3d4d |
| 27 |
msgid "" |
| 28 |
"PyMuPDF is a high-performance Python library for data extraction, " |
| 29 |
"analysis, conversion & manipulation of PDF (and other) documents." |
| 30 |
msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" |
| 31 |
|
| 32 |
#: ../../header.rst:-1 32d34325b50d49718d4ae087152d121b |
| 33 |
msgid "" |
| 34 |
"PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " |
| 35 |
"PDF Splitting, PDF Creation, Pyodide, PyScript" |
| 36 |
msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" |
| 37 |
|
| 38 |
#: ../../the-basics.rst:8 3ef401bbe47d4d928056b1ad88406df4 |
| 39 |
msgid "The Basics" |
| 40 |
msgstr "基本" |
| 41 |
|
| 42 |
#: ../../the-basics.rst:13 7ad7d2aeeb0949939d1edf110e9cde48 |
| 43 |
msgid "Opening a File" |
| 44 |
msgstr "ファイルを開く" |
| 45 |
|
| 46 |
#: ../../the-basics.rst:16 b3977994add44c128857ebe6778dbce8 |
| 47 |
msgid "To open a file, do the following:" |
| 48 |
msgstr "ファイルを開くには、以下の手順を実行してください:" |
| 49 |
|
| 50 |
#: ../../the-basics.rst:27 ../../the-basics.rst:58 ../../the-basics.rst:119 |
| 51 |
#: ../../the-basics.rst:149 ../../the-basics.rst:199 ../../the-basics.rst:249 |
| 52 |
#: ../../the-basics.rst:287 ../../the-basics.rst:377 ../../the-basics.rst:416 |
| 53 |
#: ../../the-basics.rst:467 ../../the-basics.rst:553 ../../the-basics.rst:638 |
| 54 |
#: ../../the-basics.rst:694 ../../the-basics.rst:886 ../../the-basics.rst:1070 |
| 55 |
#: 2739866db7be4d6fbd854a42404c20bb 279266de676f42ee8ca372b72f1b50d3 |
| 56 |
#: 42d583c1c82e4c1c9c61e4221d22858b 4bbc83d3c8014f94bca9c10402d0772f |
| 57 |
#: 6eb5cd518be24829a8fea50dc936924e 6f01de37c57b45dd826d3e9df5dd3352 |
| 58 |
#: 72e59350df88431bb0d56787d262e6f3 76f22999a4234db0a736d9b66557dd9a |
| 59 |
#: 9aa232f9bff64aec84bc0061ae859fde a56f4151e39f4227823677221a30af73 |
| 60 |
#: cb848559a7ed4bceb96742c75b6a8a26 d2d7c31ddd6a4481afad882faa434f0c |
| 61 |
#: d8991f84c3e6479fa2c6050dd8b27e28 e70c606f8abd4024a11d97fb8f7cd006 |
| 62 |
#: fabe4bd1a2d042da9318fbae362a32ad |
| 63 |
msgid "**Taking it further**" |
| 64 |
msgstr "**さらに進む**" |
| 65 |
|
| 66 |
#: ../../the-basics.rst:29 1ec0b9c37a314b2cb8dde60de149c32e |
| 67 |
msgid "" |
| 68 |
"See the :ref:`list of supported file types<Supported_File_Types>` and " |
| 69 |
":ref:`The How to Guide on Opening Files <HowToOpenAFile>` for more " |
| 70 |
"advanced options." |
| 71 |
msgstr "" |
| 72 |
"より高度なオプションについては、:ref:`サポートされている <Supported_File_Types>` と " |
| 73 |
":ref:`ファイルを開く方法ガイド<HowToOpenAFile>` のリストを参照してください。" |
| 74 |
|
| 75 |
#: ../../the-basics.rst:38 cb07704fb73043b2827ddfe5306bb8eb |
| 76 |
msgid "Extract text from a |PDF|" |
| 77 |
msgstr "|PDF| からテキストを抽出する" |
| 78 |
|
| 79 |
#: ../../the-basics.rst:40 63223b54f3cc495aa83fddc584a650c9 |
| 80 |
msgid "To extract all the text from a |PDF| file, do the following:" |
| 81 |
msgstr "|PDF| ファイルからすべてのテキストを抽出するには、以下の手順を実行してください:" |
| 82 |
|
| 83 |
#: ../../the-basics.rst:54 82cde87ae4a8477cb30daea5d72f5f54 |
| 84 |
msgid "" |
| 85 |
"Of course it is not just |PDF| which can have text extracted - all the " |
| 86 |
":ref:`supported document file formats <About_Feature_Matrix>` such as " |
| 87 |
":title:`MOBI`, :title:`EPUB`, :title:`TXT` can have their text extracted." |
| 88 |
msgstr "" |
| 89 |
"もちろん、PDFだけでなく、MOBI、EPUB、TXTなどの :ref:`サポートされているドキュメントファイル形式 " |
| 90 |
"<About_Feature_Matrix>` でもテキストを抽出できます。" |
| 91 |
|
| 92 |
#: ../../the-basics.rst:60 68a8a1314b8a474a9636d7ff5ebf2245 |
| 93 |
msgid "" |
| 94 |
"If your document contains image based text content the use OCR on the " |
| 95 |
"page for subsequent text extraction:" |
| 96 |
msgstr "もし文書に画像ベースのテキストコンテンツが含まれている場合は、後続のテキスト抽出のためにそのページでOCRを使用してください。" |
| 97 |
|
| 98 |
#: ../../the-basics.rst:67 ../../the-basics.rst:121 |
| 99 |
#: 009d24e7339b46f7afe03c6afa62fbd2 b502b55793844906a001df204caff15f |
| 100 |
msgid "" |
| 101 |
"There are many more examples which explain how to extract text from " |
| 102 |
"specific areas or how to extract tables from documents. Please refer to " |
| 103 |
"the :ref:`How to Guide for Text<RecipesText>`." |
| 104 |
msgstr "特定の領域からテキストを抽出する方法や、文書から表を抽出する方法など、さらに多くの例があります。テキストの方法ガイドを参照してください。" |
| 105 |
|
| 106 |
#: ../../the-basics.rst:69 58a9cf1efe6a40b5ada05038e2d55412 |
| 107 |
msgid "" |
| 108 |
"You can now also :ref:`extract text in Markdown " |
| 109 |
"format<rag_outputting_as_md>`." |
| 110 |
msgstr ":ref:`Markdown形式でテキストを抽出 <rag_outputting_as_md>` することもできます。" |
| 111 |
|
| 112 |
#: ../../the-basics.rst:71 ../../the-basics.rst:123 ../../the-basics.rst:153 |
| 113 |
#: ../../the-basics.rst:208 ../../the-basics.rst:255 ../../the-basics.rst:291 |
| 114 |
#: ../../the-basics.rst:318 ../../the-basics.rst:343 ../../the-basics.rst:383 |
| 115 |
#: ../../the-basics.rst:420 ../../the-basics.rst:474 ../../the-basics.rst:500 |
| 116 |
#: ../../the-basics.rst:527 ../../the-basics.rst:608 ../../the-basics.rst:659 |
| 117 |
#: ../../the-basics.rst:698 ../../the-basics.rst:762 ../../the-basics.rst:821 |
| 118 |
#: ../../the-basics.rst:898 ../../the-basics.rst:928 ../../the-basics.rst:964 |
| 119 |
#: ../../the-basics.rst:990 ../../the-basics.rst:1074 |
| 120 |
#: 06196b3b11364bd8ba72a68806270fbc 28f136db73ea4ff8b27a322e19a05299 |
| 121 |
#: 2a2f674929bc4956b9fa645ec55231da 2a42d66f67ea469da857b3aefcefb111 |
| 122 |
#: 34dfbca2e1ef487085d769c401e479da 4b5819a0804e42669c6c95bd78540195 |
| 123 |
#: 57551550d33b446da752ec01b2d38be1 58193e34f85e4f3286969bb715d2ed1b |
| 124 |
#: 758afc8b33924ed7afa93712789855ff 7c7a34a487ba49719ca245b940618040 |
| 125 |
#: 926638700d944932adaab0f81e219328 99f090981eab4af2adb7c096da2ae2e3 |
| 126 |
#: 9f4be351ab174a7fbfd5426ee671e7f8 ac69cd30aed24f97aa9c7c5eff88d4b3 |
| 127 |
#: adf8863e8d274a1e9e4cd774f4b6c024 b6dfec45d83b42e68fc997fcb0213e92 |
| 128 |
#: c34132ed22984098ac5b8bd1e9a4806b c8f4c6c1d0ee4228977d9294144fbc0e |
| 129 |
#: cb4e3c70daa14279926090c987c7a950 e547959996fc49f483ba7574079782d7 |
| 130 |
#: f8047ddd3ad0454c8c7eb0d0258590f1 fca50bef410a492eb5e9db5cd98453f0 |
| 131 |
#: fd039b9c5e9e49b2a72044dabcf4d52c |
| 132 |
msgid "**API reference**" |
| 133 |
msgstr "**APIリファレンス**" |
| 134 |
|
| 135 |
#: ../../the-basics.rst:73 099a4007de224f26813b7e0c6086aba5 |
| 136 |
msgid ":meth:`Page.get_text`" |
| 137 |
msgstr ":meth:`Page.get_text`" |
| 138 |
|
| 139 |
#: ../../the-basics.rst:85 3478a0ef399a4f90bdf04e54b4b848f8 |
| 140 |
msgid "Extract images from a |PDF|" |
| 141 |
msgstr "|PDF| から画像を抽出する" |
| 142 |
|
| 143 |
#: ../../the-basics.rst:87 2c137c284bae4ff3bd22402af36ebe06 |
| 144 |
msgid "To extract all the images from a |PDF| file, do the following:" |
| 145 |
msgstr "|PDF| すべての画像を抽出するには、以下の手順を実行してください:" |
| 146 |
|
| 147 |
#: ../../the-basics.rst:125 58022a36615f4658a70db9b3d3cb08c0 |
| 148 |
msgid ":meth:`Page.get_images`" |
| 149 |
msgstr "" |
| 150 |
|
| 151 |
#: ../../the-basics.rst:126 887f2573340f469a8f4bb2e328eaf5a3 |
| 152 |
msgid ":ref:`Pixmap<Pixmap>`" |
| 153 |
msgstr "" |
| 154 |
|
| 155 |
#: ../../the-basics.rst:133 734558bdb8694762a5d412b1e2faa7e9 |
| 156 |
msgid "Extract vector graphics" |
| 157 |
msgstr "ベクトルグラフィックスを抽出" |
| 158 |
|
| 159 |
#: ../../the-basics.rst:135 0377de0bb75a443c8d1266b4d5b21c9a |
| 160 |
msgid "To extract all the vector graphics from a document page, do the following:" |
| 161 |
msgstr "ドキュメントのページからすべてのベクトルグラフィックスを抽出するには、以下の手順に従います:" |
| 162 |
|
| 163 |
#: ../../the-basics.rst:145 495a59882911438aae6c87d4c09cc096 |
| 164 |
msgid "" |
| 165 |
"This will return a dictionary of paths for any vector drawings found on " |
| 166 |
"the page." |
| 167 |
msgstr "これにより、ページ上で見つかったすべてのベクター図形のパスの辞書が返されます。" |
| 168 |
|
| 169 |
#: ../../the-basics.rst:151 edb401df140347688dfb686967959746 |
| 170 |
msgid "" |
| 171 |
"Please refer to: :ref:`How to Extract " |
| 172 |
"Drawings<RecipesDrawingAndGraphics_Extract_Drawings>`." |
| 173 |
msgstr "" |
| 174 |
"次のページを参照してください: :ref:`「描画の抽出方法」 " |
| 175 |
"<RecipesDrawingAndGraphics_Extract_Drawings>`。" |
| 176 |
|
| 177 |
#: ../../the-basics.rst:155 99278f5d80fa49a1b1b55bb0d070fe0a |
| 178 |
#, fuzzy |
| 179 |
msgid ":meth:`Page.get_drawings`" |
| 180 |
msgstr ":meth:`Page.get_text`" |
| 181 |
|
| 182 |
#: ../../the-basics.rst:166 3f2a04b771b4465fba3841d4145c94eb |
| 183 |
msgid "Merging |PDF| files" |
| 184 |
msgstr "|PDF| ファイルの結合" |
| 185 |
|
| 186 |
#: ../../the-basics.rst:168 00fbed70866b44078ae8b3f72592c767 |
| 187 |
msgid "To merge |PDF| files, do the following:" |
| 188 |
msgstr "|PDF| ファイルを結合するには、以下の手順を実行してください:" |
| 189 |
|
| 190 |
#: ../../the-basics.rst:182 2c3a5d3d3d264086993c70ed0f9610ad |
| 191 |
msgid "Merging |PDF| files with other types of file" |
| 192 |
msgstr "|PDF| ァイルと他の種類のファイルを結合する" |
| 193 |
|
| 194 |
#: ../../the-basics.rst:184 2a56bc4e77b14621bdc02e63f9456750 |
| 195 |
msgid "" |
| 196 |
"With :meth:`Document.insert_file` you can invoke the method to merge " |
| 197 |
":ref:`supported files<Supported_File_Types>` with |PDF|. For example:" |
| 198 |
msgstr "" |
| 199 |
":meth:`Document.insert_file` " |
| 200 |
"を使用すると、サポートされているファイルをPDFと結合するメソッドを呼び出すことができます。例えば:" |
| 201 |
|
| 202 |
#: ../../the-basics.rst:201 f2e00ac506914ac4b90cf6ba9b933452 |
| 203 |
#, fuzzy |
| 204 |
msgid "" |
| 205 |
"It is easy to join PDFs with :meth:`Document.insert_pdf` & " |
| 206 |
":meth:`Document.insert_file`. Given open |PDF| documents, you can copy " |
| 207 |
"page ranges from one to the other. You can select the point where the " |
| 208 |
"copied pages should be placed, you can revert the page sequence and also " |
| 209 |
"change page rotation." |
| 210 |
msgstr "" |
| 211 |
":meth:`Document.insert_pdf` と :meth:`Document.insert_file` " |
| 212 |
"を使用すれば、PDFを簡単に結合できます。開かれたPDF文書がある場合、片方のPDFから別のPDFへページの範囲をコピーすることができます。コピーされたページが配置される位置を選択することができ、ページの順序を元に戻すこともできます。さらに、ページの回転も変更することができます。詳細な説明はこの" |
| 213 |
" `Wiki <https://github.com/pymupdf/PyMuPDF/wiki/Inserting-Pages-from-" |
| 214 |
"other-PDFs>`_ の記事に記載されています。" |
| 215 |
|
| 216 |
#: ../../the-basics.rst:203 097d528e7b89483887fe9b103286246d |
| 217 |
msgid "" |
| 218 |
"The GUI script `join.py <https://github.com/pymupdf/PyMuPDF-" |
| 219 |
"Utilities/blob/master/examples/join-documents/join.py>`_ uses this method" |
| 220 |
" to join a list of files while also joining the respective table of " |
| 221 |
"contents segments. It looks like this:" |
| 222 |
msgstr "" |
| 223 |
"GUIスクリプト `join.py <https://github.com/pymupdf/PyMuPDF-" |
| 224 |
"Utilities/blob/master/examples/join-documents/join.py>`_ " |
| 225 |
"では、この方法を使用してファイルのリストを結合し、それぞれの目次セグメントも結合します。スクリプトの見た目は以下のようになっています:" |
| 226 |
|
| 227 |
#: ../../the-basics.rst:210 1fbf6ae246834c7daa68bb87e30c563d |
| 228 |
msgid ":meth:`Document.insert_pdf`" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#: ../../the-basics.rst:211 eb458481793c4cb1b1e232362c454d05 |
| 232 |
msgid ":meth:`Document.insert_file`" |
| 233 |
msgstr "" |
| 234 |
|
| 235 |
#: ../../the-basics.rst:218 b75e34a3e76543769aa5c7b08099b88e |
| 236 |
msgid "Working with Coordinates" |
| 237 |
msgstr "座標を扱う" |
| 238 |
|
| 239 |
#: ../../the-basics.rst:220 ba6915f5f3614cfc866c5d6a96dd7561 |
| 240 |
msgid "" |
| 241 |
"There is one *mathematical term* that you should feel comfortable with " |
| 242 |
"when using |PyMuPDF| - **\"coordinates\"**. Please have a quick look at " |
| 243 |
"the :ref:`Coordinates` section to understand the coordinate system to " |
| 244 |
"help you with positioning objects and understand your document space." |
| 245 |
msgstr "" |
| 246 |
"|PyMuPDF| を使用する際に快適に感じるべき *数学用語* が1つあります - **「座標」** " |
| 247 |
"です。オブジェクトの配置や文書空間の理解に役立つ座標系を理解するために、:ref:`Coordinates` セクションを簡単にご覧ください。" |
| 248 |
|
| 249 |
#: ../../the-basics.rst:229 1a7cee38451a4ac49f536db1c8867f23 |
| 250 |
msgid "Adding a watermark to a |PDF|" |
| 251 |
msgstr "|PDF| ファイルにウォータマークを追加する方法" |
| 252 |
|
| 253 |
#: ../../the-basics.rst:231 7a831a320dcb4d03b66a33b5656a1592 |
| 254 |
msgid "To add a watermark to a |PDF| file, do the following:" |
| 255 |
msgstr "|PDF| ファイルにウォータマークを追加するには、以下の手順を実行してください:" |
| 256 |
|
| 257 |
#: ../../the-basics.rst:251 32163f8855f94b3da489e46235d0f84f |
| 258 |
msgid "" |
| 259 |
"Adding watermarks is essentially as simple as adding an image at the base" |
| 260 |
" of each |PDF| page. You should ensure that the image has the required " |
| 261 |
"opacity and aspect ratio to make it look the way you need it to." |
| 262 |
msgstr "ウォータマークを追加することは、基本的には各PDFページの底辺に画像を追加するだけです。画像が必要な透明度とアスペクト比を持っていることを確認して、必要な見た目になるようにします。" |
| 263 |
|
| 264 |
#: ../../the-basics.rst:253 8b5f52f2d540405f8e19f3ff6efd6007 |
| 265 |
msgid "" |
| 266 |
"In the example above a new image is created from each file reference, but" |
| 267 |
" to be more performant (by saving memory and file size) this image data " |
| 268 |
"should be referenced only once - see the code example and explanation on " |
| 269 |
":meth:`Page.insert_image` for the implementation." |
| 270 |
msgstr "" |
| 271 |
"前述の例では、各ファイル参照から新しい画像が作成されていますが、メモリとファイルサイズを節約するために、この画像データは1回だけ参照されるようにすると、パフォーマンスが向上します" |
| 272 |
" - Page.insert_image()のコード例と説明を参照してください。" |
| 273 |
|
| 274 |
#: ../../the-basics.rst:257 fcfe127ad9414e8a9a9f6fe506eca749 |
| 275 |
msgid ":meth:`Page.bound`" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#: ../../the-basics.rst:258 ../../the-basics.rst:294 |
| 279 |
#: 2122203304f24c7e86364c4e44d8c515 5bd4a37b290b484ab12ffef1d743e039 |
| 280 |
msgid ":meth:`Page.insert_image`" |
| 281 |
msgstr "" |
| 282 |
|
| 283 |
#: ../../the-basics.rst:267 74156cf07c4c44abb86f01275234c22c |
| 284 |
msgid "Adding an image to a |PDF|" |
| 285 |
msgstr "|PDF| に画像を追加する" |
| 286 |
|
| 287 |
#: ../../the-basics.rst:269 e4ad47cff3e149b09cfcee436ce71ec0 |
| 288 |
msgid "To add an image to a |PDF| file, for example a logo, do the following:" |
| 289 |
msgstr "PDFファイルに画像を追加するためには、例えばロゴを追加する場合、以下の手順を実行してください:" |
| 290 |
|
| 291 |
#: ../../the-basics.rst:289 ef303cbd63ea4d6cae44d744a77253f8 |
| 292 |
msgid "" |
| 293 |
"As with the watermark example you should ensure to be more performant by " |
| 294 |
"only referencing the image once if possible - see the code example and " |
| 295 |
"explanation on :meth:`Page.insert_image`." |
| 296 |
msgstr "" |
| 297 |
"ウォータマークの例と同様に、できる限り画像を1回だけ参照することで、より効率的な処理を行うようにしてください。詳細は " |
| 298 |
":meth:`Page.insert_image` のコード例と説明を参照してください。" |
| 299 |
|
| 300 |
#: ../../the-basics.rst:293 0a5e74d57a334f90b301d4f7266ae6a7 |
| 301 |
msgid ":ref:`Rect<Rect>`" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#: ../../the-basics.rst:303 97f7c41b4fcc40d297f51e89344ec00e |
| 305 |
msgid "Rotating a |PDF|" |
| 306 |
msgstr "|PDF| を回転させる" |
| 307 |
|
| 308 |
#: ../../the-basics.rst:305 a6bb30db140947ee94661859e458334a |
| 309 |
msgid "To add a rotation to a page, do the following:" |
| 310 |
msgstr "ページに回転を追加するには、以下の手順を実行してください:" |
| 311 |
|
| 312 |
#: ../../the-basics.rst:320 5b2ac1a6f5284ffdbcf63f04a5bb87e3 |
| 313 |
msgid ":meth:`Page.set_rotation`" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#: ../../the-basics.rst:328 5d0f43e3da814e9195c2500beb9b2aae |
| 317 |
msgid "Cropping a |PDF|" |
| 318 |
msgstr "|PDF| のトリミング" |
| 319 |
|
| 320 |
#: ../../the-basics.rst:330 ebcd5ad854a344fb8fdb76e0f157f822 |
| 321 |
msgid "To crop a page to a defined :ref:`Rect<Rect>`, do the following:" |
| 322 |
msgstr "定義された矩形 :ref:`Rect<Rect>` にページをトリミングするには、以下の手順を実行してください:" |
| 323 |
|
| 324 |
#: ../../the-basics.rst:345 10f26d2a0e9f428c877fe76eca3149b4 |
| 325 |
msgid ":meth:`Page.set_cropbox`" |
| 326 |
msgstr "" |
| 327 |
|
| 328 |
#: ../../the-basics.rst:354 37f2015ccbe843179609bdd2ce54ce25 |
| 329 |
msgid ":index:`Attaching Files <triple: attach;embed;file>`" |
| 330 |
msgstr ":index:`ファイルの添付 <triple: attach;embed;file>`" |
| 331 |
|
| 332 |
#: ../../the-basics.rst:356 73fa4a36d3114266a5b8c37898cdd520 |
| 333 |
msgid "To attach another file to a page, do the following:" |
| 334 |
msgstr "別のファイルをページに添付するには、以下の手順を実行してください:" |
| 335 |
|
| 336 |
#: ../../the-basics.rst:379 fef41696e0104638bfa7e9e46f94d5da |
| 337 |
msgid "" |
| 338 |
"When adding the file with :meth:`Page.add_file_annot` note that the third" |
| 339 |
" parameter for the `filename` should include the actual file extension. " |
| 340 |
"Without this the attachment possibly will not be able to be recognized as" |
| 341 |
" being something which can be opened. For example, if the `filename` is " |
| 342 |
"just *\"attachment\"* when view the resulting PDF and attempting to open " |
| 343 |
"the attachment you may well get an error. However, with " |
| 344 |
"*\"attachment.pdf\"* this can be recognized and opened by PDF viewers as " |
| 345 |
"a valid file type." |
| 346 |
msgstr "" |
| 347 |
":meth:`Page.add_file_annot` " |
| 348 |
"でファイルを追加する際には、ファイル名を指定する第三引数には実際のファイルの拡張子を含める必要があります。これがないと、添付ファイルが開けるものとして認識されない可能性があります。例えば、ファイル名が単に「attachment」とだけ指定されている場合、生成されたPDFを見て添付ファイルを開こうとするとエラーが発生するかもしれません。しかし、「attachment.pdf」と指定されている場合、PDFビューアーで有効なファイルタイプとして認識され、開くことができます。" |
| 349 |
|
| 350 |
#: ../../the-basics.rst:381 2eb971ca49044acfb758808877174159 |
| 351 |
msgid "" |
| 352 |
"The default icon for the attachment is by default a \"push pin\", however" |
| 353 |
" you can change this by setting the `icon` parameter." |
| 354 |
msgstr "添付ファイルのデフォルトアイコンは「押しピン」ですが、 `icon` パラメータを設定することでこれを変更することができます。" |
| 355 |
|
| 356 |
#: ../../the-basics.rst:385 472cb94f410f45d389386b479f752c7d |
| 357 |
msgid ":ref:`Point<Point>`" |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#: ../../the-basics.rst:386 ../../the-basics.rst:422 |
| 361 |
#: bc83ca635d004bbea323fc12889c3475 e3b71ff6dabe4e7092a149500b391650 |
| 362 |
msgid ":meth:`Document.tobytes`" |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#: ../../the-basics.rst:387 861dcb9381e943f982a5ff2233584d56 |
| 366 |
msgid ":meth:`Page.add_file_annot`" |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
#: ../../the-basics.rst:396 36ca0a3374d84c2d914b97f4600f49bc |
| 370 |
msgid ":index:`Embedding Files <triple: attach;embed;file>`" |
| 371 |
msgstr ":index:`ファイルを埋め込む <triple: attach;embed;file>`" |
| 372 |
|
| 373 |
#: ../../the-basics.rst:398 3d3da8f629564876915a4356adb5a4c5 |
| 374 |
msgid "To embed a file to a document, do the following:" |
| 375 |
msgstr "ファイルを文書に埋め込むには、以下の手順を実行してください:" |
| 376 |
|
| 377 |
#: ../../the-basics.rst:418 522ee31eaa5c4be29e943f9e031733ce |
| 378 |
msgid "" |
| 379 |
"As with :ref:`attaching files<The_Basics_Attaching_Files>`, when adding " |
| 380 |
"the file with :meth:`Document.embfile_add` note that the first parameter " |
| 381 |
"for the `filename` should include the actual file extension." |
| 382 |
msgstr "" |
| 383 |
"ファイルを添付する場合と同様に、 :meth:`Document.embfile_add` " |
| 384 |
"でファイルを追加する際には、ファイル名を指定する第一引数には実際のファイルの拡張子を含める必要があります" |
| 385 |
|
| 386 |
#: ../../the-basics.rst:423 d105ed0d5499461a9a468719a7df3543 |
| 387 |
msgid ":meth:`Document.embfile_add`" |
| 388 |
msgstr "" |
| 389 |
|
| 390 |
#: ../../the-basics.rst:433 2182d5b6f29e40d39aab4f677fedfa2b |
| 391 |
msgid "Deleting Pages" |
| 392 |
msgstr "ページを削除する" |
| 393 |
|
| 394 |
#: ../../the-basics.rst:435 634d1c5913ad422281859654914d1268 |
| 395 |
msgid "To delete a page from a document, do the following:" |
| 396 |
msgstr "文書からページを削除するには、以下の手順を実行してください:" |
| 397 |
|
| 398 |
#: ../../the-basics.rst:445 437764ad7c2747118b3feb3fa4f1367b |
| 399 |
msgid "To delete a multiple pages from a document, do the following:" |
| 400 |
msgstr "複数のページを文書から削除するには、以下の手順を実行してください:" |
| 401 |
|
| 402 |
#: ../../the-basics.rst:459 7ffda49506894b2ca02ad9e6bc7e975a |
| 403 |
msgid "What happens if I delete a page referred to by bookmarks or hyperlinks?" |
| 404 |
msgstr "ブックマークやハイパーリンクで参照されているページを削除した場合、どうなりますか?" |
| 405 |
|
| 406 |
#: ../../the-basics.rst:461 9ccef7fc01e34b1f890333f741269c36 |
| 407 |
msgid "" |
| 408 |
"A bookmark (entry in the Table of Contents) will become inactive and will" |
| 409 |
" no longer navigate to any page." |
| 410 |
msgstr "ブックマーク(目次のエントリー)は無効になり、もはやどのページにもナビゲートしません" |
| 411 |
|
| 412 |
#: ../../the-basics.rst:463 2db9a64894ac4cc5926029b386cc8dbc |
| 413 |
msgid "" |
| 414 |
"A hyperlink will be removed from the page that contains it. The visible " |
| 415 |
"content on that page will not otherwise be changed in any way." |
| 416 |
msgstr "ハイパーリンクは、それを含むページから削除されます。そのページの可視コンテンツは、他の方法で変更されることはありません。" |
| 417 |
|
| 418 |
#: ../../the-basics.rst:469 a64aa50abd5848b8a15b0f27de5f2595 |
| 419 |
msgid "" |
| 420 |
"The page index is zero-based, so to delete page 10 of a document you " |
| 421 |
"would do the following `doc.delete_page(9)`." |
| 422 |
msgstr "ページのインデックスは0から始まるため、文書の10ページ目を削除するには、以下のようにします: `doc.delete_page(9)`。" |
| 423 |
|
| 424 |
#: ../../the-basics.rst:471 fb3cae6bf2b54a59b81ff59a5bb7563e |
| 425 |
msgid "" |
| 426 |
"Similarly, `doc.delete_pages(from_page=9, to_page=14)` will delete pages " |
| 427 |
"10 - 15 inclusive." |
| 428 |
msgstr "" |
| 429 |
"同様に、 `doc.delete_pages(from_page=9, to_page=14)` " |
| 430 |
"は、ページ10からページ15までを含む範囲のページを削除します。" |
| 431 |
|
| 432 |
#: ../../the-basics.rst:476 ed756abf6b3e413c9ffbb5a6caf6b88b |
| 433 |
msgid ":meth:`Document.delete_page`" |
| 434 |
msgstr "" |
| 435 |
|
| 436 |
#: ../../the-basics.rst:477 65198e829eef4bb381f47ddf30cc7e4f |
| 437 |
msgid ":meth:`Document.delete_pages`" |
| 438 |
msgstr "" |
| 439 |
|
| 440 |
#: ../../the-basics.rst:485 7bbd41be5ecb4d2e9c76a3a244cca14d |
| 441 |
msgid "Re-Arranging Pages" |
| 442 |
msgstr "ページを再配置する" |
| 443 |
|
| 444 |
#: ../../the-basics.rst:487 a1f98aa6a7714dab99cef5e054cfb3bd |
| 445 |
msgid "To change the sequence of pages, i.e. re-arrange pages, do the following:" |
| 446 |
msgstr "ページを再配置するには、以下の手順を実行してください:" |
| 447 |
|
| 448 |
#: ../../the-basics.rst:502 f179f7f7f5794947ac4541278ba55b6e |
| 449 |
msgid ":meth:`Document.move_page`" |
| 450 |
msgstr "" |
| 451 |
|
| 452 |
#: ../../the-basics.rst:511 d21575e2370d4ad4ab02f2ab07dd150c |
| 453 |
msgid "Copying Pages" |
| 454 |
msgstr "ページをコピーする" |
| 455 |
|
| 456 |
#: ../../the-basics.rst:514 57a67ecb95784254803c922f7d08f6c6 |
| 457 |
msgid "To copy pages, do the following:" |
| 458 |
msgstr "ページをコピーするには、以下の手順を実行してください:" |
| 459 |
|
| 460 |
#: ../../the-basics.rst:529 5a496f287a5b41fbb7d2b54cb5c697c8 |
| 461 |
msgid ":meth:`Document.copy_page`" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#: ../../the-basics.rst:537 892cc58284e0408d8b96e992e24544cb |
| 465 |
msgid "Selecting Pages" |
| 466 |
msgstr "ページを選択する" |
| 467 |
|
| 468 |
#: ../../the-basics.rst:540 3db8f868455c4422a22a8739d7651725 |
| 469 |
msgid "To select pages, do the following:" |
| 470 |
msgstr "ページを選択するには、以下の手順を実行してください:" |
| 471 |
|
| 472 |
#: ../../the-basics.rst:555 09491c46d0124346a4620dc928ac2a9e |
| 473 |
msgid "" |
| 474 |
"With |PyMuPDF| you have all options to copy, move, delete or re-arrange " |
| 475 |
"the pages of a |PDF|. Intuitive methods exist that allow you to do this " |
| 476 |
"on a page-by-page level, like the :meth:`Document.copy_page` method." |
| 477 |
msgstr "" |
| 478 |
"|PyMuPDF| を使用すると、 |PDF| のページをコピー、移動、削除、または再配置するためのオプションがすべて揃っています。 " |
| 479 |
":meth:`Document.copy_page` メソッドのように、ページ単位で直感的なメソッドを使用してこれらの操作を行うことができます。" |
| 480 |
|
| 481 |
#: ../../the-basics.rst:557 f38fd21a8beb4136bb4eda2f7ed52873 |
| 482 |
msgid "" |
| 483 |
"Or you alternatively prepare a complete new page layout in form of a " |
| 484 |
":title:`Python` sequence, that contains the page numbers you want, in the" |
| 485 |
" sequence you want, and as many times as you want each page. The " |
| 486 |
"following may illustrate what can be done with :meth:`Document.select`" |
| 487 |
msgstr "" |
| 488 |
"または、 :title:`Python` " |
| 489 |
"のシーケンスとして完全な新しいページレイアウトを準備し、希望するページ番号を希望する順序で含め、必要なページ数だけ繰り返すこともできます。次の例は、" |
| 490 |
" :meth:`Document.select` を使用した可能性を示しています。" |
| 491 |
|
| 492 |
#: ../../the-basics.rst:564 88e421ecb4fc4d56adaf214dccae4daa |
| 493 |
msgid "" |
| 494 |
"Now let's prepare a PDF for double-sided printing (on a printer not " |
| 495 |
"directly supporting this):" |
| 496 |
msgstr "以下のように、両面印刷用にPDFを準備しましょう(直接これをサポートしていないプリンターで):" |
| 497 |
|
| 498 |
#: ../../the-basics.rst:566 74d3cda3847c46b7af864e6bc7c19cf8 |
| 499 |
msgid "" |
| 500 |
"The number of pages is given by `len(doc)` (equal to `doc.page_count`). " |
| 501 |
"The following lists represent the even and the odd page numbers, " |
| 502 |
"respectively:" |
| 503 |
msgstr "" |
| 504 |
"ページ数は `len(doc)`( `doc.page_count` " |
| 505 |
"と同じ)で与えられます。以下のリストは、それぞれ偶数ページと奇数ページの番号を表しています:" |
| 506 |
|
| 507 |
#: ../../the-basics.rst:573 2e020acac7f14b078d00def4cebc4fec |
| 508 |
msgid "" |
| 509 |
"This snippet creates the respective sub documents which can then be used " |
| 510 |
"to print the document:" |
| 511 |
msgstr "このスニペットは、それぞれのサブドキュメントを作成し、それらを使用してドキュメントを印刷することができます:" |
| 512 |
|
| 513 |
#: ../../the-basics.rst:585 a77fc70595bb4766ad8a0d5ffca2b8cf |
| 514 |
msgid "" |
| 515 |
"For more information also have a look at this Wiki `article " |
| 516 |
"<https://github.com/pymupdf/PyMuPDF/wiki/Rearranging-Pages-of-a-PDF>`_." |
| 517 |
msgstr "" |
| 518 |
"詳細については、この `ウィキの記事 <https://github.com/pymupdf/PyMuPDF/wiki/Rearranging-" |
| 519 |
"Pages-of-a-PDF>`_ もご覧ください。" |
| 520 |
|
| 521 |
#: ../../the-basics.rst:588 6c87cc6c645e4408a02889aca746f748 |
| 522 |
msgid "" |
| 523 |
"The following example will reverse the order of all pages (**extremely " |
| 524 |
"fast:** sub-second time for the 756 pages of the :ref:`AdobeManual`):" |
| 525 |
msgstr "" |
| 526 |
"次の例は、すべてのページの順序を逆にするものです(非常に高速: :ref:`AdobeManual` " |
| 527 |
"リファレンスの756ページをサブセカンドの時間で処理します)。" |
| 528 |
|
| 529 |
#: ../../the-basics.rst:598 b9eda6c35a9b4b569375594839df0a97 |
| 530 |
msgid "" |
| 531 |
"This snippet duplicates the PDF with itself so that it will contain the " |
| 532 |
"pages *0, 1, ..., n, 0, 1, ..., n* **(extremely fast and without " |
| 533 |
"noticeably increasing the file size!)**:" |
| 534 |
msgstr "このスニペットは、PDFを自身と重複させることで、ページ0、1、…、n、0、1、…、nを含むようにします(非常に高速で、ファイルサイズをほとんど増やさずに実現します!):" |
| 535 |
|
| 536 |
#: ../../the-basics.rst:610 db170cb4731c4d9fb983242366f6e186 |
| 537 |
msgid ":meth:`Document.select`" |
| 538 |
msgstr "" |
| 539 |
|
| 540 |
#: ../../the-basics.rst:621 11bf1fc8a6144c888028b25e240c5514 |
| 541 |
msgid "Adding Blank Pages" |
| 542 |
msgstr "空白のページを追加する" |
| 543 |
|
| 544 |
#: ../../the-basics.rst:623 e6ba26e2fe264930b67c0e9ff511017c |
| 545 |
msgid "To add a blank page, do the following:" |
| 546 |
msgstr "空白のページを追加するには、以下の手順を行います:" |
| 547 |
|
| 548 |
#: ../../the-basics.rst:640 c73c566766104c198225c46f3fa4b332 |
| 549 |
msgid "Use this to create the page with another pre-defined paper format:" |
| 550 |
msgstr "以下の方法を使用して、別の事前定義された用紙フォーマットを使ってページを作成します:" |
| 551 |
|
| 552 |
#: ../../the-basics.rst:648 fa99380598a74f60a839a06cb2b9f706 |
| 553 |
msgid "" |
| 554 |
"The convenience function :meth:`paper_size` knows over 40 industry " |
| 555 |
"standard paper formats to choose from. To see them, inspect dictionary " |
| 556 |
":attr:`paperSizes`. Pass the desired dictionary key to :meth:`paper_size`" |
| 557 |
" to retrieve the paper dimensions. Upper and lower case is supported. If " |
| 558 |
"you append \"-L\" to the format name, the landscape version is returned." |
| 559 |
msgstr "" |
| 560 |
"便利な関数 :meth:`paper_size` は、40以上の業界標準の用紙フォーマットを選択できます。それらを確認するには、辞書 " |
| 561 |
"attr:`paperSizes` を調べてください。用紙の寸法を取得するために、希望する辞書キーを :meth:`paper_size` " |
| 562 |
"に渡します。大文字と小文字の両方がサポートされています。フォーマット名に「-L」を追加すると、横長バージョンが返されます。" |
| 563 |
|
| 564 |
#: ../../the-basics.rst:650 7bb204302fe64b9c8102ce9b60e306f1 |
| 565 |
msgid "" |
| 566 |
"Here is a 3-liner that creates a |PDF|: with one empty page. Its file " |
| 567 |
"size is 460 bytes:" |
| 568 |
msgstr "以下は、1ページの空白の |PDF|: を作成するための3行のコードです。ファイルサイズは460バイトです。" |
| 569 |
|
| 570 |
#: ../../the-basics.rst:661 16708fa927574853b07cfbe391fa574a |
| 571 |
msgid ":meth:`Document.new_page`" |
| 572 |
msgstr "" |
| 573 |
|
| 574 |
#: ../../the-basics.rst:662 555dd6a7a4ca428ca05ffe585eb7dd98 |
| 575 |
msgid ":attr:`paperSizes`" |
| 576 |
msgstr "" |
| 577 |
|
| 578 |
#: ../../the-basics.rst:671 0c9d0f6b0af141bc92c8094e7d5d0fee |
| 579 |
msgid "Inserting Pages with Text Content" |
| 580 |
msgstr "ページにテキストコンテンツを挿入する" |
| 581 |
|
| 582 |
#: ../../the-basics.rst:673 8801a769c6764d358d2334b4dd80e5d6 |
| 583 |
msgid "" |
| 584 |
"Using the :meth:`Document.insert_page` method also inserts a new page and" |
| 585 |
" accepts the same `width` and `height` parameters. But it lets you also " |
| 586 |
"insert arbitrary text into the new page and returns the number of " |
| 587 |
"inserted lines." |
| 588 |
msgstr "" |
| 589 |
":meth:`Document.insert_page` " |
| 590 |
"メソッドを使用すると、新しいページが挿入され、同じ幅と高さのパラメーターが受け入れられます。しかし、このメソッドでは新しいページに任意のテキストを挿入することができ、挿入された行数が返されます。" |
| 591 |
|
| 592 |
#: ../../the-basics.rst:696 1f709a1e688c4c64ad9835a43df6b7e5 |
| 593 |
msgid "" |
| 594 |
"The text parameter can be a (sequence of) string (assuming UTF-8 " |
| 595 |
"encoding). Insertion will start at :ref:`Point` (50, 72), which is one " |
| 596 |
"inch below top of page and 50 points from the left. The number of " |
| 597 |
"inserted text lines is returned." |
| 598 |
msgstr "" |
| 599 |
"テキストパラメーターは、UTF-8エンコーディングを想定している(シーケンスの)文字列です。挿入はページの上端から1インチ下であるポイント " |
| 600 |
":ref:`Point` (50, 72) から始まり、左から50ポイントの位置です。挿入されたテキストの行数が返されます。" |
| 601 |
|
| 602 |
#: ../../the-basics.rst:700 5503e405b8a74c46ac510d142a942f92 |
| 603 |
msgid ":meth:`Document.insert_page`" |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
#: ../../the-basics.rst:711 28cd42d51f99409a89dd644e5a331e95 |
| 607 |
msgid "Splitting Single Pages" |
| 608 |
msgstr "単一のページを分割する" |
| 609 |
|
| 610 |
#: ../../the-basics.rst:713 7caccc9bbcaa4fa2941b493e69be1447 |
| 611 |
msgid "" |
| 612 |
"This deals with splitting up pages of a |PDF| in arbitrary pieces. For " |
| 613 |
"example, you may have a |PDF| with *Letter* format pages which you want " |
| 614 |
"to print with a magnification factor of four: each page is split up in 4 " |
| 615 |
"pieces which each going to a separate |PDF| page in *Letter* format " |
| 616 |
"again." |
| 617 |
msgstr "" |
| 618 |
"この方法は、 |PDF| のページを任意の部分に分割することに関連しています。例えば、Letterフォーマットのページを含む |PDF| " |
| 619 |
"を、4倍の拡大率で印刷したい場合を考えてみましょう。各ページは4つの部分に分割され、それぞれが再びLetterフォーマットの個別の |PDF| " |
| 620 |
"ページになります。" |
| 621 |
|
| 622 |
#: ../../the-basics.rst:756 ../../the-basics.rst:814 |
| 623 |
#: 3ad50277922f4b4c9ce6e2eb2d3b4350 650a82fa6a3444c7b4f1119637692c77 |
| 624 |
msgid "Example:" |
| 625 |
msgstr "例:" |
| 626 |
|
| 627 |
#: ../../the-basics.rst:764 ../../the-basics.rst:823 |
| 628 |
#: 7f62edf5aa794474925340a623c05d4b a9ff4ea823fa4eaf80c415c485663e6b |
| 629 |
msgid ":meth:`Page.cropbox_position`" |
| 630 |
msgstr "" |
| 631 |
|
| 632 |
#: ../../the-basics.rst:765 ../../the-basics.rst:824 |
| 633 |
#: 86564b77e5c3440dba3f909f25fed95e ffceed2bb2ac4e738336a3eb438cb502 |
| 634 |
msgid ":meth:`Page.show_pdf_page`" |
| 635 |
msgstr "" |
| 636 |
|
| 637 |
#: ../../the-basics.rst:775 02e8677a9ee44d47acfb3845cbeb17f3 |
| 638 |
msgid "Combining Single Pages" |
| 639 |
msgstr "単一のページを結合する" |
| 640 |
|
| 641 |
#: ../../the-basics.rst:777 2f61c36415a847069ab18578a22a28b3 |
| 642 |
msgid "" |
| 643 |
"This deals with joining |PDF| pages to form a new |PDF| with pages each " |
| 644 |
"combining two or four original ones (also called \"2-up\", \"4-up\", " |
| 645 |
"etc.). This could be used to create booklets or thumbnail-like overviews." |
| 646 |
msgstr "" |
| 647 |
"これは、2つまたは4つの元のページを組み合わせた新しい |PDF| " |
| 648 |
"を作成することを意味します(または「2-up」、「4-up」などとも呼ばれます)。これは、ブックレットやサムネイルのような概要を作成するために使用できます。" |
| 649 |
|
| 650 |
#: ../../the-basics.rst:833 8a7f8d78c24e4f378fee6b2230783c26 |
| 651 |
msgid "|PDF| Encryption & Decryption" |
| 652 |
msgstr "|PDF| の暗号化と復号化" |
| 653 |
|
| 654 |
#: ../../the-basics.rst:836 71dc729191e040fd8118fee77ba6a2a8 |
| 655 |
msgid "" |
| 656 |
"Starting with version 1.16.0, |PDF| decryption and encryption (using " |
| 657 |
"passwords) are fully supported. You can do the following:" |
| 658 |
msgstr "バージョン1.16.0から、PDFの暗号化と復号化(パスワードを使用)が完全にサポートされています。以下のことができます:" |
| 659 |
|
| 660 |
#: ../../the-basics.rst:838 dd359c928f974ab5947e47392afdc2a9 |
| 661 |
msgid "" |
| 662 |
"Check whether a document is password protected / (still) encrypted " |
| 663 |
"(:attr:`Document.needs_pass`, :attr:`Document.is_encrypted`)." |
| 664 |
msgstr "" |
| 665 |
"ドキュメントがパスワード保護されているか、(まだ)暗号化されているかを確認する(:attr:`Document.needs_pass`, " |
| 666 |
":attr:`Document.is_encrypted`)。" |
| 667 |
|
| 668 |
#: ../../the-basics.rst:839 f16ee2a615fe4984bb226ff54db0fe8f |
| 669 |
msgid "Gain access authorization to a document (:meth:`Document.authenticate`)." |
| 670 |
msgstr "ドキュメントへのアクセス権を取得する(:meth:`Document.authenticate`)。" |
| 671 |
|
| 672 |
#: ../../the-basics.rst:840 6a05b415f16d40768f4e1564236d6231 |
| 673 |
msgid "" |
| 674 |
"Set encryption details for PDF files using :meth:`Document.save` or " |
| 675 |
":meth:`Document.write` and" |
| 676 |
msgstr ":meth:`Document.save` または :meth:`Document.write` を使用して、PDFファイルの暗号化詳細を設定する。" |
| 677 |
|
| 678 |
#: ../../the-basics.rst:842 a28670df924945ff88d6be01321e1a30 |
| 679 |
msgid "decrypt or encrypt the content" |
| 680 |
msgstr "内容の復号化または暗号化" |
| 681 |
|
| 682 |
#: ../../the-basics.rst:843 d73094fe4cc9466a9bf3378d56401b78 |
| 683 |
msgid "set password(s)" |
| 684 |
msgstr "パスワードの設定" |
| 685 |
|
| 686 |
#: ../../the-basics.rst:844 5aed08cd9fcc43ab8d5b06fb650a0ca6 |
| 687 |
msgid "set the encryption method" |
| 688 |
msgstr "暗号化方式の設定" |
| 689 |
|
| 690 |
#: ../../the-basics.rst:845 76a02a01b3e04059b3deb41a2a8ffb73 |
| 691 |
msgid "set permission details" |
| 692 |
msgstr "権限の詳細設定" |
| 693 |
|
| 694 |
#: ../../the-basics.rst:847 7fca3b11f52b4b0ca3876005bd500c57 |
| 695 |
msgid "A PDF document may have two different passwords:" |
| 696 |
msgstr "PDF文書には2つの異なるパスワードが存在する場合があります:" |
| 697 |
|
| 698 |
#: ../../the-basics.rst:849 73c3a5f74efb4167905a89f8f1383c0a |
| 699 |
msgid "" |
| 700 |
"The **owner password** provides full access rights, including changing " |
| 701 |
"passwords, encryption method, or permission detail." |
| 702 |
msgstr "オーナーパスワード:パスワードを変更したり、暗号化方法を変更したり、権限の詳細を含む完全なアクセス権を提供します。" |
| 703 |
|
| 704 |
#: ../../the-basics.rst:850 e2fb43f6fcdb49739207db257e3f97bb |
| 705 |
msgid "" |
| 706 |
"The **user password** provides access to document content according to " |
| 707 |
"the established permission details. If present, opening the |PDF| in a " |
| 708 |
"viewer will require providing it." |
| 709 |
msgstr "ユーザーパスワード:文書の内容にアクセスするための権限詳細に基づいてアクセスを提供します。存在する場合、ビューアでPDFを開く際にユーザーパスワードを入力する必要があります。" |
| 710 |
|
| 711 |
#: ../../the-basics.rst:852 c66bf0cbf4934d79a253d8f6b43d51f4 |
| 712 |
msgid "" |
| 713 |
"Method :meth:`Document.authenticate` will automatically establish access " |
| 714 |
"rights according to the password used." |
| 715 |
msgstr "メソッド :meth:`Document.authenticate` は、使用されるパスワードに基づいて自動的にアクセス権を確立します。" |
| 716 |
|
| 717 |
#: ../../the-basics.rst:854 8d09fb5167d443ef9ee672510c3def18 |
| 718 |
msgid "" |
| 719 |
"The following snippet creates a new |PDF| and encrypts it with separate " |
| 720 |
"user and owner passwords. Permissions are granted to print, copy and " |
| 721 |
"annotate, but no changes are allowed to someone authenticating with the " |
| 722 |
"user password." |
| 723 |
msgstr "" |
| 724 |
"以下のスニペットは新しい |PDF| " |
| 725 |
"を作成し、別々のユーザーパスワードとオーナーパスワードで暗号化します。印刷、コピー、注釈付けの権限が与えられますが、ユーザーパスワードで認証するユーザーに対しては変更は許可されません" |
| 726 |
|
| 727 |
#: ../../the-basics.rst:888 10c5018907dd4496be681ebd8e664fd6 |
| 728 |
msgid "" |
| 729 |
"Opening this document with some viewer (Nitro Reader 5) reflects these " |
| 730 |
"settings:" |
| 731 |
msgstr "このドキュメントをいくつかのビューア(Nitro Reader 5など)で開くと、これらの設定が反映されます:" |
| 732 |
|
| 733 |
#: ../../the-basics.rst:892 03d88819ea404f0aaf81ffe5d60d7425 |
| 734 |
msgid "" |
| 735 |
"**Decrypting** will automatically happen on save as before when no " |
| 736 |
"encryption parameters are provided." |
| 737 |
msgstr "暗号化パラメータが提供されていない場合、保存時に自動的に復号化されます。" |
| 738 |
|
| 739 |
#: ../../the-basics.rst:894 f367fcac22c6414ab97981825f130856 |
| 740 |
msgid "" |
| 741 |
"To **keep the encryption method** of a PDF save it using " |
| 742 |
"`encryption=pymupdf.PDF_ENCRYPT_KEEP`. If `doc.can_save_incrementally() " |
| 743 |
"== True`, an incremental save is also possible." |
| 744 |
msgstr "" |
| 745 |
"PDFの暗号化方法を保持するには、`encryption=pymupdf.PDF_ENCRYPT_KEEP` を使用して保存します。また、 " |
| 746 |
"`doc.can_save_incrementally() == True` であれば、増分保存も可能です" |
| 747 |
|
| 748 |
#: ../../the-basics.rst:896 beec27387fd7422bb3e063049ff22429 |
| 749 |
msgid "" |
| 750 |
"To **change the encryption method** specify the full range of options " |
| 751 |
"above (`encryption`, `owner_pw`, `user_pw`, `permissions`). An " |
| 752 |
"incremental save is **not possible** in this case." |
| 753 |
msgstr "暗号化方法を変更する場合は、上記のすべてのオプション(`encryption`、`owner_pw`、`user_pw`、`permissions`)を指定します。この場合、増分保存はできません。" |
| 754 |
|
| 755 |
#: ../../the-basics.rst:900 20699b9f6451443d8b941958c154d7a7 |
| 756 |
msgid ":meth:`Document.save`" |
| 757 |
msgstr "" |
| 758 |
|
| 759 |
#: ../../the-basics.rst:909 d798da65fa514bd0aebc4068c084a7ca |
| 760 |
msgid "Extracting Tables from a :title:`Page`" |
| 761 |
msgstr "ページからのテーブルの抽出" |
| 762 |
|
| 763 |
#: ../../the-basics.rst:911 e4ef14dd9323461295fcdab920a24b7e |
| 764 |
msgid "Tables can be found and extracted from any document :ref:`Page`." |
| 765 |
msgstr "表はどのドキュメントの :ref:`Page` からも見つけて抽出できます。" |
| 766 |
|
| 767 |
#: ../../the-basics.rst:930 fc83ee37b6f443bc9104c718aa70c0ec |
| 768 |
#, fuzzy |
| 769 |
msgid ":meth:`Page.find_tables`" |
| 770 |
msgstr ":meth:`Page.get_text`" |
| 771 |
|
| 772 |
#: ../../the-basics.rst:935 ae116fead03d40f4ae9e9e1fa4dd5657 |
| 773 |
msgid "" |
| 774 |
"There is also the `pdf2docx extract tables method`_ which is capable of " |
| 775 |
"table extraction if you prefer." |
| 776 |
msgstr "お好みの場合、テーブル抽出が `可能なpdf2docxのextract tablesメソッド`_ もあります。" |
| 777 |
|
| 778 |
#: ../../the-basics.rst:944 09cbe8ebd73f4fdbae255f4eb4ac88d9 |
| 779 |
msgid "Getting Page Links" |
| 780 |
msgstr "ページリンクの取得" |
| 781 |
|
| 782 |
#: ../../the-basics.rst:946 8f8e76066ac34e6288f125de53c52324 |
| 783 |
msgid "Links can be extracted from a :ref:`Page` to return :ref:`Link` objects." |
| 784 |
msgstr ":ref:`Page` からリンクを抽出して :ref:`Link` オブジェクトを返すことができます。" |
| 785 |
|
| 786 |
#: ../../the-basics.rst:966 4b1b5f7afbde4704808ac3807d07675a |
| 787 |
#, fuzzy |
| 788 |
msgid ":meth:`Page.first_link`" |
| 789 |
msgstr ":meth:`Page.get_text`" |
| 790 |
|
| 791 |
#: ../../the-basics.rst:975 b3aade8e69434effb9c03ef1b44c1f10 |
| 792 |
msgid "Getting All Annotations from a Document" |
| 793 |
msgstr "ドキュメントからすべての注釈を取得する" |
| 794 |
|
| 795 |
#: ../../the-basics.rst:977 6801cadfb5354b0ab04f7979d5a356ba |
| 796 |
msgid "" |
| 797 |
"Annotations (:ref:`Annot`) on pages can be retrieved with the " |
| 798 |
"`page.annots()` method." |
| 799 |
msgstr "ページ上の注釈 (:ref:`Annot`) は、`page.annots()` メソッドを使用して取得できます。" |
| 800 |
|
| 801 |
#: ../../the-basics.rst:992 bf4d519f3c994f33b280f0de93018463 |
| 802 |
#, fuzzy |
| 803 |
msgid ":meth:`Page.annots`" |
| 804 |
msgstr ":meth:`Page.get_text`" |
| 805 |
|
| 806 |
#: ../../the-basics.rst:1002 c5273dfabc3043a8b9607b2a9d28ce43 |
| 807 |
msgid "Redacting content from a |PDF|" |
| 808 |
msgstr "|PDF| からコンテンツを塗りつぶす" |
| 809 |
|
| 810 |
#: ../../the-basics.rst:1004 e030189f77db4e8983c5a6528654fd34 |
| 811 |
msgid "" |
| 812 |
"Redactions are special types of annotations which can be marked onto a " |
| 813 |
"document page to denote an area on the page which should be securely " |
| 814 |
"removed. After marking an area with a rectangle then this area will be " |
| 815 |
"marked for *redaction*, once the redaction is *applied* then the content " |
| 816 |
"is securely removed." |
| 817 |
msgstr "マーキングされた領域に矩形を使用して、ページ上の削除されるべき領域を示すために、赤字が付けられる特別なアノテーションです。領域に矩形をマークした後、その領域は赤字としてマークされ、赤字が適用されると、そのコンテンツは安全に削除されます。" |
| 818 |
|
| 819 |
#: ../../the-basics.rst:1006 576dffbcb6454f419fb44e03a6766f97 |
| 820 |
msgid "" |
| 821 |
"For example if we wanted to redact all instances of the name \"Jane Doe\"" |
| 822 |
" from a document we could do the following:" |
| 823 |
msgstr "たとえば、ドキュメントから名前「ジェーン・ドー」のすべてのインスタンスを塗りつぶしたい場合は、次のようにします:" |
| 824 |
|
| 825 |
#: ../../the-basics.rst:1034 512a331e2f6a4420af87d029a290261c |
| 826 |
msgid "" |
| 827 |
"Another example could be redacting an area of a page, but not to redact " |
| 828 |
"any line art (i.e. vector graphics) within the defined area, by setting a" |
| 829 |
" parameter flag as follows:" |
| 830 |
msgstr "別の例として、ページの領域を塗りつぶすが、定義された領域内の線画(ベクトルグラフィックス)を塗りつぶさないように、パラメータフラグを設定することができます。" |
| 831 |
|
| 832 |
#: ../../the-basics.rst:1065 eed2e214f7454d77b9f11502e75e71b6 |
| 833 |
msgid "" |
| 834 |
"Once a redacted version of a document is saved then the redacted content " |
| 835 |
"in the |PDF| is *irretrievable*. Thus, a redacted area in a document " |
| 836 |
"removes text and graphics completely from that area." |
| 837 |
msgstr "" |
| 838 |
"文書の塗りつぶし済みバージョンを保存すると、|PDF| 内の塗りつぶされたコンテンツは *取り戻すことができなくなります* " |
| 839 |
"。したがって、文書内の塗りつぶされた領域は、その領域からテキストとグラフィックスを完全に削除します。" |
| 840 |
|
| 841 |
#: ../../the-basics.rst:1072 24199c7a643e40f981bc9a2d6b9a76f5 |
| 842 |
msgid "" |
| 843 |
"The are a few options for creating and applying redactions to a page, for" |
| 844 |
" the full API details to understand the parameters to control these " |
| 845 |
"options refer to the API reference." |
| 846 |
msgstr "ページに赤字を作成して適用するためのいくつかのオプションがあります。これらのオプションを制御するためのパラメータを理解するためには、完全なAPI詳細についてAPIリファレンスを参照してください。" |
| 847 |
|
| 848 |
#: ../../the-basics.rst:1076 5620f79d90484e0c84d9f1e6cf483ef2 |
| 849 |
#, fuzzy |
| 850 |
msgid ":meth:`Page.add_redact_annot`" |
| 851 |
msgstr ":meth:`Page.get_text`" |
| 852 |
|
| 853 |
#: ../../the-basics.rst:1078 2238e86dba64405e99bc6de9a1e29266 |
| 854 |
#, fuzzy |
| 855 |
msgid ":meth:`Page.apply_redactions`" |
| 856 |
msgstr ":meth:`Page.get_text`" |
| 857 |
|
| 858 |
#: ../../the-basics.rst:1088 64e88b96ce2b4df99e9d8c97cae10c8f |
| 859 |
msgid "Converting PDF Documents" |
| 860 |
msgstr "PDF ドキュメントの変換" |
| 861 |
|
| 862 |
#: ../../the-basics.rst:1090 c9b689d1ca1242deaf0ecf74d670aa7b |
| 863 |
msgid "" |
| 864 |
"We recommend the pdf2docx_ library which uses |PyMuPDF| and the **python-" |
| 865 |
"docx** library to provide simple document conversion from |PDF| to " |
| 866 |
"**DOCX** format." |
| 867 |
msgstr "" |
| 868 |
"PyMuPDF を使用する pdf2docx_ ライブラリと、|PDF| から **DOCX** 形式への簡単なドキュメント変換を提供する " |
| 869 |
"**python-docx** ライブラリをお勧めします。" |
| 870 |
|
| 871 |
#: ../../footer.rst:60 3aa3d5fcda7349e5a5c5339a71002610 |
| 872 |
msgid "This documentation covers all versions up to |version|." |
| 873 |
msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" |
| 874 |
|
| 875 |
#~ msgid "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" |
| 876 |
#~ msgstr "" |
| 877 |
|
| 878 |
#~ msgid "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" |
| 879 |
#~ msgstr "" |
| 880 |
|
| 881 |
#~ msgid "Supported File Types" |
| 882 |
#~ msgstr "サポートされているファイルタイプ" |
| 883 |
|
| 884 |
#~ msgid "|PyMuPDF| supports the following file types:" |
| 885 |
#~ msgstr "|PyMuPDF| は以下のファイルタイプをサポートしています:" |
| 886 |
|
| 887 |
#~ msgid "" |
| 888 |
#~ "Opening with :index:`a Wrong File " |
| 889 |
#~ "Extension <pair: wrong; file extension>`" |
| 890 |
#~ msgstr "間違ったファイル拡張子でファイルを開く" |
| 891 |
|
| 892 |
#~ msgid "" |
| 893 |
#~ "If you have a document with a " |
| 894 |
#~ "wrong file extension for its type, " |
| 895 |
#~ "you can still correctly open it." |
| 896 |
#~ msgstr "もしドキュメントのファイル拡張子がその種類に対して間違っていても、正しく開くことができます。" |
| 897 |
|
| 898 |
#~ msgid "Assume that *\"some.file\"* is actually an XPS. Open it like so:" |
| 899 |
#~ msgstr "*\"some.file\"* が実際にXPSファイルだと仮定して、以下のようにして開いてください:" |
| 900 |
|
| 901 |
#~ msgid "" |
| 902 |
#~ "There are many file types beyond " |
| 903 |
#~ "|PDF| which can be opened by " |
| 904 |
#~ "|PyMuPDF|, for more details see the " |
| 905 |
#~ "list of :ref:`supported file " |
| 906 |
#~ "types<Supported_File_Types>`." |
| 907 |
#~ msgstr "" |
| 908 |
#~ "「PyMuPDF」で開くことができるのは、|PDF| " |
| 909 |
#~ "に限らず、多くのファイルタイプがあります。詳細については、:ref:`サポートされているファイルタイプのリスト<Supported_File_Types>`" |
| 910 |
#~ " をご覧ください。" |
| 911 |
|
| 912 |
#~ msgid "" |
| 913 |
#~ "|PyMuPDF| itself does not try to " |
| 914 |
#~ "determine the file type from the " |
| 915 |
#~ "file contents. **You** are responsible " |
| 916 |
#~ "for supplying the filetype info in " |
| 917 |
#~ "some way -- either implicitly via " |
| 918 |
#~ "the file extension, or explicitly as " |
| 919 |
#~ "shown. There are pure :title:`Python` " |
| 920 |
#~ "packages like `filetype " |
| 921 |
#~ "<https://pypi.org/project/filetype/>`_ that help you" |
| 922 |
#~ " doing this. Also consult the " |
| 923 |
#~ ":ref:`Document` chapter for a full " |
| 924 |
#~ "description." |
| 925 |
#~ msgstr "" |
| 926 |
#~ "PyMuPDF自体は、ファイルの内容からファイルタイプを判断しようとはしません。ファイルの拡張子などを通じて暗黙的に、または明示的にファイルタイプ情報を提供する責任があります。`filetype" |
| 927 |
#~ " <https://pypi.org/project/filetype/>`_ " |
| 928 |
#~ "などの純粋なPythonパッケージがこのような操作をサポートしています。また、詳細な説明についてはドキュメントの章を参照してください。" |
| 929 |
|
| 930 |
#~ msgid "" |
| 931 |
#~ "If |PyMuPDF| encounters a file with " |
| 932 |
#~ "an unknown / missing extension, it " |
| 933 |
#~ "will try to open it as a " |
| 934 |
#~ "|PDF|. So in these cases there is" |
| 935 |
#~ " no need for additional precautions. " |
| 936 |
#~ "Similarly, for memory documents, you can" |
| 937 |
#~ " just specify `doc=pymupdf.open(stream=mem_area)` " |
| 938 |
#~ "to open it as a |PDF| document." |
| 939 |
#~ msgstr "" |
| 940 |
#~ "|PyMuPDF| " |
| 941 |
#~ "が不明な/欠落している拡張子のファイルに遭遇した場合、それをPDFとして開こうと試みます。したがって、これらの場合は追加の注意が必要ありません。同様に、メモリ上のドキュメントの場合は、`doc=pymupdf.open(stream=mem_area)`" |
| 942 |
#~ " と指定するだけでPDFドキュメントとして開くことができます" |
| 943 |
|
| 944 |
#~ msgid "" |
| 945 |
#~ "If you attempt to open an " |
| 946 |
#~ "unsupported file then |PyMuPDF| will " |
| 947 |
#~ "throw a file data error." |
| 948 |
#~ msgstr "サポートされていないファイルを開こうとした場合、PyMuPDFはファイルデータエラーをスローします。" |
| 949 |
|
| 950 |
#~ msgid "Discord logo" |
| 951 |
#~ msgstr "" |
| 952 |
|