| 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 5a64c03ac3304767805a34e5519dc643 |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 987f101ad8fa44c9a85292f456737790 |
| 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 937bf2fcb1964c3f97071eb2764745fd |
| 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 |
#: ../../story-class.rst:7 b33db4381f96455f881c4cb8b48a9239 |
| 39 |
msgid "Story" |
| 40 |
msgstr "Story (ストーリー)" |
| 41 |
|
| 42 |
#: ../../story-class.rst:11 96383b7b49df4dc69e7545f0a3d37164 |
| 43 |
msgid "New in v1.21.0" |
| 44 |
msgstr "バージョン1.21.0で新規追加" |
| 45 |
|
| 46 |
#: ../../story-class.rst:14 7d3756e920e1487eb3e1b3bf28ed6f9b |
| 47 |
msgid "**Method / Attribute**" |
| 48 |
msgstr "**メソッド / 属性**" |
| 49 |
|
| 50 |
#: ../../story-class.rst:14 51a2ed231a8d4b16a5606ce08ce54e8b |
| 51 |
msgid "**Short Description**" |
| 52 |
msgstr "**簡単な説明**" |
| 53 |
|
| 54 |
#: ../../story-class.rst:16 65726e39b3794bb9a492d8c5ba15990f |
| 55 |
msgid ":meth:`Story.reset`" |
| 56 |
msgstr "" |
| 57 |
|
| 58 |
#: ../../story-class.rst:16 d9f0619b632e4bb582c9bbc227d889b5 |
| 59 |
msgid "\"rewind\" story output to its beginning" |
| 60 |
msgstr "ストーリーの出力を先頭に巻き戻す" |
| 61 |
|
| 62 |
#: ../../story-class.rst:17 7c94ba99f15b4f4d847c8263ca0b5132 |
| 63 |
msgid ":meth:`Story.place`" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#: ../../story-class.rst:17 5ef6af8dda1c4704b193cb14b0e43f33 |
| 67 |
msgid "compute story content to fit in provided rectangle" |
| 68 |
msgstr "指定された長方形に収まるストーリーのコンテンツを計算" |
| 69 |
|
| 70 |
#: ../../story-class.rst:18 bb0b48f6450441f5a3dd54b788dee19a |
| 71 |
msgid ":meth:`Story.draw`" |
| 72 |
msgstr "" |
| 73 |
|
| 74 |
#: ../../story-class.rst:18 8570b10f54d345139cfe978f97d8c9b3 |
| 75 |
msgid "write the computed content to current page" |
| 76 |
msgstr "計算されたコンテンツを現在のページに書き込む" |
| 77 |
|
| 78 |
#: ../../story-class.rst:19 f57f0a347b814e60b8da011ae533e111 |
| 79 |
msgid ":meth:`Story.element_positions`" |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#: ../../story-class.rst:19 2e5a11cc2c1c430a878377cd43dbd28c |
| 83 |
msgid "callback function logging currently processed story content" |
| 84 |
msgstr "現在処理中のストーリーコンテンツを記録するコールバック関数" |
| 85 |
|
| 86 |
#: ../../story-class.rst:20 7d3e1c7cf395410d9a7653dac537daad |
| 87 |
msgid ":attr:`Story.body`" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#: ../../story-class.rst:20 1979b2f75d824d3588dc32499dace02a |
| 91 |
msgid "the story's underlying :htmlTag:`body`" |
| 92 |
msgstr "ストーリーの基本となる :htmlTag:`body`" |
| 93 |
|
| 94 |
#: ../../story-class.rst:21 7ba33a6d21124637b218ce0b7f3d3ec1 |
| 95 |
msgid ":meth:`Story.write`" |
| 96 |
msgstr "" |
| 97 |
|
| 98 |
#: ../../story-class.rst:21 757b24965dee4f998578cefcb1a94b35 |
| 99 |
msgid "places and draws Story to a DocumentWriter" |
| 100 |
msgstr "ストーリーを :ref:`DocumentWriter` に配置して描画します" |
| 101 |
|
| 102 |
#: ../../story-class.rst:22 5005e48c2d114342997d30259781a86d |
| 103 |
msgid ":meth:`Story.write_stabilized`" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#: ../../story-class.rst:22 12712f5deea24c88b77364960c58dbdb |
| 107 |
msgid "iterative layout of html content to a DocumentWriter" |
| 108 |
msgstr "HTMLコンテンツを :ref:`DocumentWriter` に反復的にレイアウトします" |
| 109 |
|
| 110 |
#: ../../story-class.rst:23 16d33507e0554249ba750773fb5cb53d |
| 111 |
msgid ":meth:`Story.write_with_links`" |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#: ../../story-class.rst:23 93c333b6d5f843cf8258a5274dfa22f0 |
| 115 |
msgid "like `write()` but also creates PDF links" |
| 116 |
msgstr "`write()` と同様ですが、PDFリンクも作成します" |
| 117 |
|
| 118 |
#: ../../story-class.rst:24 25e70986951c4b668e0a1704e2984855 |
| 119 |
msgid ":meth:`Story.write_stabilized_with_links`" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#: ../../story-class.rst:24 2b185135aa8348fb825dded5295a7474 |
| 123 |
msgid "like `write_stabilized()` but also creates PDF links" |
| 124 |
msgstr "`write_stabilized()` と同様ですが、PDFリンクも作成します" |
| 125 |
|
| 126 |
#: ../../story-class.rst:25 f7ca87bbd93e492587ff63f31dc3d7d5 |
| 127 |
msgid ":meth:`Story.fit`" |
| 128 |
msgstr "" |
| 129 |
|
| 130 |
#: ../../story-class.rst:25 ../../story-class.rst:252 |
| 131 |
#: 945d31669d104a67b4251a8a2ed5b133 c2cb9dc7bf694149806fb89443a430ba |
| 132 |
msgid "Finds optimal rect that contains the story `self`." |
| 133 |
msgstr "" |
| 134 |
|
| 135 |
#: ../../story-class.rst:26 57ee0022377e4fbbaf74f70142af7217 |
| 136 |
msgid ":meth:`Story.fit_scale`" |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#: ../../story-class.rst:27 f73eb5fd926e4dc5b66afcbd819851d6 |
| 140 |
msgid ":meth:`Story.fit_height`" |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#: ../../story-class.rst:28 c5a858a25f3c4e45adf3c65f77eb35b4 |
| 144 |
msgid ":meth:`Story.fit_width`" |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#: ../../story-class.rst:31 555f8dfcf2c6423696e0a8111f5a202f |
| 148 |
msgid "**Class API**" |
| 149 |
msgstr "**クラスAPI**" |
| 150 |
|
| 151 |
#: ../../story-class.rst:37 834595e0caee413fb07ac0888c96cf9c |
| 152 |
msgid "" |
| 153 |
"Create a **story**, optionally providing HTML and CSS source. The HTML is" |
| 154 |
" parsed, and held within the Story as a DOM (Document Object Model)." |
| 155 |
msgstr "" |
| 156 |
"**ストーリー** " |
| 157 |
"を作成します。オプションでHTMLとCSSのソースを提供できます。HTMLは解析され、ストーリー内でDOM(ドキュメントオブジェクトモデル)として保持されます。" |
| 158 |
|
| 159 |
#: ../../story-class.rst:40 d9a1893bb0f14ccf9425ee58f9e72dfc |
| 160 |
msgid "" |
| 161 |
"This structure may be modified: content (text, images) may be added, " |
| 162 |
"copied, modified or removed by using methods of the :ref:`Xml` class." |
| 163 |
msgstr "この構造は変更できます。テキスト、画像などのコンテンツは、:ref:`Xml` クラスのメソッドを使用して追加、コピー、変更、または削除できます。" |
| 164 |
|
| 165 |
#: ../../story-class.rst:43 f0a727b22fb84079ae4095e10e3c2373 |
| 166 |
msgid "" |
| 167 |
"When finished, the **story** can be written to any device; in typical " |
| 168 |
"usage the device may be provided by a :ref:`DocumentWriter` to make new " |
| 169 |
"pages." |
| 170 |
msgstr "" |
| 171 |
"完了したら、**ストーリー** を任意のデバイスに書き込むことができます。通常の使用法では、デバイスは新しいページを生成するために " |
| 172 |
":ref:`DocumentWriter` によって提供されます。" |
| 173 |
|
| 174 |
#: ../../story-class.rst:46 8bd0a736bc6749f68af7bee1912f8244 |
| 175 |
msgid "Here are some general remarks:" |
| 176 |
msgstr "以下は一般的な注意事項です:" |
| 177 |
|
| 178 |
#: ../../story-class.rst:48 0f8c24eeaf79495db53a2614e831f91a |
| 179 |
msgid "" |
| 180 |
"The :ref:`Story` constructor parses and validates the provided HTML to " |
| 181 |
"create the DOM." |
| 182 |
msgstr ":ref:`Story` コンストラクタは提供されたHTMLを解析し、検証してDOMを作成します。" |
| 183 |
|
| 184 |
#: ../../story-class.rst:49 a8c9195a3cdf4ea9bc8acd4c4bc70ff2 |
| 185 |
msgid "" |
| 186 |
"PyMuPDF provides a number of ways to manipulate the HTML source by " |
| 187 |
"providing access to the *nodes* of the underlying DOM. Documents can be " |
| 188 |
"completely built from ground up programmatically, or the existing DOM can" |
| 189 |
" be modified pretty arbitrarily. For details of this interface, please " |
| 190 |
"see the :ref:`Xml` class." |
| 191 |
msgstr "" |
| 192 |
"PyMuPDFは、基本的なDOMのノードへのアクセスを提供することでHTMLソースを操作する方法をいくつか提供しています。文書は完全にプログラム的に構築することも、既存のDOMをかなり任意に変更することもできます。このインターフェースの詳細については、:ref:`Xml`" |
| 193 |
" クラスをご覧ください。" |
| 194 |
|
| 195 |
#: ../../story-class.rst:54 9a32acd1613e44cd87d2f73e6e3790e4 |
| 196 |
msgid "" |
| 197 |
"If no (or no more) changes to the DOM are required, the story is ready to" |
| 198 |
" be laid out and to be fed to a series of devices (typically devices " |
| 199 |
"provided by a :ref:`DocumentWriter` to produce new pages)." |
| 200 |
msgstr "" |
| 201 |
"DOMへの変更が必要ない(またはもう必要ない)場合、ストーリーはレイアウトが可能であり、新しいページを生成するために通常は " |
| 202 |
":ref:`DocumentWriter` によって提供されるデバイスに供給する準備ができています。" |
| 203 |
|
| 204 |
#: ../../story-class.rst:57 de9ba211086b47eca447de9b6b5356c1 |
| 205 |
msgid "" |
| 206 |
"The next step is to place the story and write it out. This can either be " |
| 207 |
"done directly, by looping around calling `place()` and `draw()`, or " |
| 208 |
"alternatively, the looping can handled for you using the `write()` or " |
| 209 |
"`write_stabilised()` methods. Which method you choose is largely a matter" |
| 210 |
" of taste." |
| 211 |
msgstr "" |
| 212 |
"次のステップは、ストーリーを配置して書き出すことです。これは、直接行うこともできます(`place()` と `draw()` " |
| 213 |
"を呼び出すことでループ処理することで)、または代替として `write()` または `write_stabilised()` " |
| 214 |
"メソッドを使用しても、ループ処理を自動化できます。どの方法を選択するかは主に好みの問題です。" |
| 215 |
|
| 216 |
#: ../../story-class.rst:63 9615fc9723fb4897a2817bb454bf3149 |
| 217 |
msgid "To work in the first of these styles, the following loop should be used:" |
| 218 |
msgstr "最初のスタイルで作業するには、次のループを使用する必要があります:" |
| 219 |
|
| 220 |
#: ../../story-class.rst:65 41867b8cd7bb4533b097c4aa2dd1a08e |
| 221 |
msgid "" |
| 222 |
"Obtain a suitable device to write to; typically by requesting a new, " |
| 223 |
"empty page from a :ref:`DocumentWriter`." |
| 224 |
msgstr "適切なデバイスを取得します。通常、:ref:`DocumentWriter` から新しい空のページを要求することで取得します。" |
| 225 |
|
| 226 |
#: ../../story-class.rst:68 6e11ba83740c42a0814219e6c7bb4f2f |
| 227 |
msgid "" |
| 228 |
"Determine one or more rectangles on the page, that should receive " |
| 229 |
"**story** data. Note that not every page needs to have the same set of " |
| 230 |
"rectangles." |
| 231 |
msgstr "" |
| 232 |
"ページ上に **ストーリー** " |
| 233 |
"データを受け取る必要がある1つまたは複数の長方形を決定します。すべてのページが同じ長方形セットを持つ必要はないことに注意してください。" |
| 234 |
|
| 235 |
#: ../../story-class.rst:71 27521b4c124e42ad873a6b98785cc18d |
| 236 |
msgid "" |
| 237 |
"Pass each rectangle to the **story** to place it, learning what part of " |
| 238 |
"that rectangle has been filled, and whether there is more story data that" |
| 239 |
" did not fit. This step can be repeated several times with adjusted " |
| 240 |
"rectangles until the caller is happy with the results." |
| 241 |
msgstr "" |
| 242 |
"各長方形を **ストーリー** " |
| 243 |
"に渡して配置し、その長方形のどの部分が埋まったか、また収まらなかったストーリーデータがあるかを学びます。このステップは、調整された長方形で何度も繰り返すことができ、呼び出し元が結果に満足するまで続けることができます。" |
| 244 |
|
| 245 |
#: ../../story-class.rst:76 05e07028c7d3438d8b4564f851c3f6dd |
| 246 |
msgid "" |
| 247 |
"Optionally, at this point, we can request details of where interesting " |
| 248 |
"items have been placed, by calling the `element_positions()` method. " |
| 249 |
"Items are deemed to be interesting if their integer `heading` attribute " |
| 250 |
"is a non-zero (corresponding to HTML tags :htmlTag:`h1` - :htmlTag:`h6`)," |
| 251 |
" if their `id` attribute is not `None` (corresponding to HTML tag " |
| 252 |
":htmlTag:`id`), or if their `href` attribute is not `None` (responding to" |
| 253 |
" HTML tag :htmlTag:`href`). This can conveniently be used for automatic " |
| 254 |
"generation of a Table of Contents, an index of images or the like." |
| 255 |
msgstr "" |
| 256 |
"任意で、この段階で `element_positions()` " |
| 257 |
"メソッドを呼び出して、興味深いアイテムが配置された場所の詳細をリクエストすることができます。アイテムは、整数の `heading` " |
| 258 |
"属性がゼロでない場合(:htmlTag:`h1` - :htmlTag:`h6`)、id属性がNoneでない場合(:htmlTag:`id` " |
| 259 |
"に対応)、またはhref属性がNoneでない場合(:htmlTag:`href` " |
| 260 |
"に対応)に興味深いと見なされます。これは、目次、画像の索引などの自動生成に便利に使用できます。" |
| 261 |
|
| 262 |
#: ../../story-class.rst:85 921092efac384debac3b3b54e0888f7f |
| 263 |
msgid "Next, draw that rectangle out to the device with the `draw()` method." |
| 264 |
msgstr "次に、`draw()` メソッドを使用してその長方形をデバイスに描画します。" |
| 265 |
|
| 266 |
#: ../../story-class.rst:86 d36b5912ed30437198b3cf8b6a589d81 |
| 267 |
msgid "" |
| 268 |
"If the most recent call to `place()` indicated that all the story data " |
| 269 |
"had fitted, stop now." |
| 270 |
msgstr "最も最近の `place()` の呼び出しが、すべてのストーリーデータが収まったことを示した場合、ここで停止します。" |
| 271 |
|
| 272 |
#: ../../story-class.rst:88 c97e2fc9a4d7461f87a1b0a14181de80 |
| 273 |
msgid "" |
| 274 |
"Otherwise, we can loop back. If there are more rectangles to be placed on" |
| 275 |
" the current device (page), we jump back to step 3 - if not, we jump back" |
| 276 |
" to step 1 to get a new device." |
| 277 |
msgstr "それ以外の場合、ループを戻すことができます。現在のデバイス(ページ)に配置するためにさらに長方形がある場合は、ステップ3に戻ります。長方形がない場合は、新しいデバイスを取得するためにステップ1に戻ります。" |
| 278 |
|
| 279 |
#: ../../story-class.rst:91 58ca39dc2e03443689141076908acc02 |
| 280 |
msgid "" |
| 281 |
"Alternatively, in the case where you are using a :ref:`DocumentWriter`, " |
| 282 |
"the `write()` or `write_stabilized()` methods can be used. These handle " |
| 283 |
"all the looping for you, in exchange for being provided with callbacks " |
| 284 |
"that control the behaviour (notably a callback that enumerates the " |
| 285 |
"rectangles/pages to use)." |
| 286 |
msgstr "" |
| 287 |
"代わりに、:ref:`DocumentWriter` を使用している場合、`write()` または `write_stabilized()` " |
| 288 |
"メソッドを使用できます。これらは、動作を制御するコールバックが提供される代わりに、すべてのループ処理を処理します(特に使用する長方形/ページを列挙するコールバックが含まれます)。" |
| 289 |
|
| 290 |
#: ../../story-class.rst:96 d2f8dc8f478942b69038e2d6d08a91fe |
| 291 |
msgid "" |
| 292 |
"Which part of the **story** will land on which rectangle / which page, is" |
| 293 |
" fully under control of the :ref:`Story` object and cannot be predicted." |
| 294 |
msgstr "" |
| 295 |
"**ストーリー** オブジェクトがどの部分がどの長方形/ページに配置されるかは、完全に :ref:`Story` " |
| 296 |
"オブジェクトの制御下にあり、予測することはできません。" |
| 297 |
|
| 298 |
#: ../../story-class.rst:98 a231e6de936e448a93e21ff261ff8b39 |
| 299 |
msgid "" |
| 300 |
"Images may be part of a **story**. They will be placed together with any " |
| 301 |
"surrounding text." |
| 302 |
msgstr "画像は **ストーリー** の一部となる可能性があります。画像は周囲のテキストと一緒に配置されます。" |
| 303 |
|
| 304 |
#: ../../story-class.rst:99 10d7d8aa6a1c47998853f3879c904e3a |
| 305 |
msgid "" |
| 306 |
"Multiple stories may - independently from each other - write to the same " |
| 307 |
"page. For example, one may have separate stories for page header, page " |
| 308 |
"footer, regular text, comment boxes, etc." |
| 309 |
msgstr "複数のストーリーは、互いに独立して同じページに書き込むことができます。たとえば、ページヘッダー、ページフッター、通常のテキスト、コメントボックスなどの異なるストーリーを持つことができます。" |
| 310 |
|
| 311 |
#: ../../story-class.rst 0c16913df99f4028a3870cbbbd910379 |
| 312 |
#: 104010970e1342a5a900ab45a655ed39 1d65623102054847865dc9b04f9af565 |
| 313 |
#: 456fb972dc3a4159952dd56ac1654590 47b053df5e8a436b92de3d583ae08f39 |
| 314 |
#: 4c8c1511d6ca4de3b1ff6c538979f186 6cb09318829e49438c6c48b4681dfc29 |
| 315 |
#: b0223ffe432744529572c26fc11dab80 c448f77784b245c2b24ce441b2722ea0 |
| 316 |
#: fe317c7a33064ffea7eca66586243546 |
| 317 |
msgid "Parameters" |
| 318 |
msgstr "パラメーター:" |
| 319 |
|
| 320 |
#: ../../story-class.rst:103 287c70d5ad0647e88290a1333ac631e0 |
| 321 |
msgid "" |
| 322 |
"HTML source code. If omitted, a basic minimum is generated (see below). " |
| 323 |
"If provided, not a complete HTML document is needed. The in-built source " |
| 324 |
"parser will forgive (many / most) HTML syntax errors and also accepts " |
| 325 |
"HTML fragments like `\"<b>Hello, <i>World!</i></b>\"`." |
| 326 |
msgstr "" |
| 327 |
"HTMLソースコード。省略した場合、基本的な最小限のHTMLが生成されます(以下参照)。指定した場合、完全なHTML文書は必要ありません。組み込みのソースパーサは(多くの)HTML構文エラーを許容し、また" |
| 328 |
" `\"<b>Hello, <i>World!</i></b>\"` のようなHTMLフラグメントも受け入れます。" |
| 329 |
|
| 330 |
#: ../../story-class.rst:108 63178e97fc4246158cbc7062597c4b93 |
| 331 |
msgid "CSS source code. If provided, must contain valid CSS specifications." |
| 332 |
msgstr "CSSソースコード。指定する場合、有効なCSS仕様を含む必要があります。" |
| 333 |
|
| 334 |
#: ../../story-class.rst:109 0cf5afcd55e544ad8724adfc4be7f3bb |
| 335 |
msgid "the default text font size." |
| 336 |
msgstr "デフォルトのテキストフォントサイズ。" |
| 337 |
|
| 338 |
#: ../../story-class.rst:110 049536668785410f8df0dbcb3a1feddc |
| 339 |
msgid "" |
| 340 |
"an :ref:`Archive` from which to load resources for rendering. Currently " |
| 341 |
"supported resource types are images and text fonts. If omitted, the story" |
| 342 |
" will not try to look up any such data and may thus produce incomplete " |
| 343 |
"output. .. note:: Instead of an actual archive, valid arguments for " |
| 344 |
"**creating** an :ref:`Archive` can also be provided -- in which case an " |
| 345 |
"archive will temporarily be constructed. So, instead of `story = " |
| 346 |
"pymupdf.Story(archive=pymupdf.Archive(\"myfolder\"))`, one can also " |
| 347 |
"shorter write `story = pymupdf.Story(archive=\"myfolder\")`." |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
#: ../../story-class.rst:110 51aa7bb6ca3c42a58819b3c524960306 |
| 351 |
msgid "" |
| 352 |
"an :ref:`Archive` from which to load resources for rendering. Currently " |
| 353 |
"supported resource types are images and text fonts. If omitted, the story" |
| 354 |
" will not try to look up any such data and may thus produce incomplete " |
| 355 |
"output." |
| 356 |
msgstr "" |
| 357 |
"レンダリングのためのリソースをロードするための :ref:`Archive` " |
| 358 |
"。現在サポートされているリソースタイプは画像とテキストフォントです。省略した場合、ストーリーはそのようなデータを検索しようとはせず、不完全な出力を生成する可能性があります。" |
| 359 |
|
| 360 |
#: ../../story-class.rst:112 a1bdde42988b468c929fe9fb82452451 |
| 361 |
msgid "" |
| 362 |
"Instead of an actual archive, valid arguments for **creating** an " |
| 363 |
":ref:`Archive` can also be provided -- in which case an archive will " |
| 364 |
"temporarily be constructed. So, instead of `story = " |
| 365 |
"pymupdf.Story(archive=pymupdf.Archive(\"myfolder\"))`, one can also " |
| 366 |
"shorter write `story = pymupdf.Story(archive=\"myfolder\")`." |
| 367 |
msgstr "" |
| 368 |
"アーカイブの代わりに、:ref:`Archive` を一時的に **構築する** ための有効な引数も提供できます。したがって、`story = " |
| 369 |
"pymupdf.Story(archive=pymupdf.Archive(\"myfolder\"))` の代わりに、`story = " |
| 370 |
"pymupdf.Story(archive=\"myfolder\")` と短縮して記述することもできます。 " |
| 371 |
|
| 372 |
#: ../../story-class.rst:116 e956d2bfd28841d7a04df00b07957e4f |
| 373 |
msgid "" |
| 374 |
"Calculate that part of the story's content, that will fit in the provided" |
| 375 |
" rectangle. The method maintains a pointer which part of the story's " |
| 376 |
"content has already been written and upon the next invocation resumes " |
| 377 |
"from that pointer's position." |
| 378 |
msgstr "ストーリーのコンテンツのうち、指定された長方形に収まる部分を計算します。このメソッドは、ストーリーのコンテンツのどの部分が既に書き込まれたかを示すポインタを維持し、次回の呼び出し時にそのポインタの位置から再開します。" |
| 379 |
|
| 380 |
#: ../../story-class.rst:118 dc9976ea8ccc4d79bc216fce83ed6c9d |
| 381 |
msgid "" |
| 382 |
"layout the current part of the content to fit into this rectangle. This " |
| 383 |
"must be a sub-rectangle of the page's :ref:`MediaBox<Glossary_MediaBox>`." |
| 384 |
msgstr "" |
| 385 |
"現在のコンテンツをこの長方形に収めるためのレイアウト。これはページの :ref:`MediaBox<Glossary_MediaBox>` " |
| 386 |
"のサブ長方形でなければなりません。" |
| 387 |
|
| 388 |
#: ../../story-class.rst daaea6c19d22421da33214020526af4d |
| 389 |
msgid "Return type" |
| 390 |
msgstr "戻り値の型:" |
| 391 |
|
| 392 |
#: ../../story-class.rst 954873df303d499d861dc708a54e6c20 |
| 393 |
msgid "Returns" |
| 394 |
msgstr "戻り値:" |
| 395 |
|
| 396 |
#: ../../story-class.rst:121 4d9be8b010ca4b4b8dcc983949132f37 |
| 397 |
msgid "" |
| 398 |
"a bool (int) `more` and a rectangle `filled`. If `more == 0`, all content" |
| 399 |
" of the story has been written, otherwise more is waiting to be written " |
| 400 |
"to subsequent rectangles / pages. Rectangle `filled` is the part of " |
| 401 |
"`where` that has actually been filled." |
| 402 |
msgstr "" |
| 403 |
"bool (int) `more` と、実際に `filled` 長方形を返します。`more == 0` " |
| 404 |
"の場合、ストーリーのすべてのコンテンツが書き込まれたことを意味し、それ以外の場合、`more` " |
| 405 |
"は次の長方形/ページに書き込むために待機しています。埋められた長方形は実際に埋められた `where` の一部です。" |
| 406 |
|
| 407 |
#: ../../story-class.rst:125 a836145f2a5a4a75b589eefba9b24211 |
| 408 |
msgid "Write the content part prepared by :meth:`Story.place` to the page." |
| 409 |
msgstr ":meth:`Story.place` によって準備されたコンテンツの一部をページに書き込みます。" |
| 410 |
|
| 411 |
#: ../../story-class.rst:127 152149a28a8b49acaaf7bfeadead892c |
| 412 |
msgid "" |
| 413 |
"the :ref:`Device` created by `dev = writer.begin_page(mediabox)`. The " |
| 414 |
"device knows how to call all MuPDF functions needed to write the content." |
| 415 |
msgstr "" |
| 416 |
"`dev = writer.begin_page(mediabox)` で作成された " |
| 417 |
":ref:`Device`。このデバイスは、コンテンツを書き込むために必要なすべてのMuPDF関数を呼び出す方法を知っています。" |
| 418 |
|
| 419 |
#: ../../story-class.rst:128 35b2e7568db140c9abf31a7ee3ef7f54 |
| 420 |
msgid "" |
| 421 |
"a matrix for transforming content when writing to the page. An example " |
| 422 |
"may be writing rotated text. The default means no transformation (i.e. " |
| 423 |
"the :ref:`Identity` matrix)." |
| 424 |
msgstr "" |
| 425 |
"ページに書き込む際にコンテンツを変形させるための行列。テキストを回転させるなどの例が考えられます。デフォルトでは変換は行われず(つまり " |
| 426 |
":ref:`Identity` 行列)、コンテンツはそのまま書き込まれます。" |
| 427 |
|
| 428 |
#: ../../story-class.rst:132 e9b8bfcac05244199692b5afb6d90ed0 |
| 429 |
msgid "" |
| 430 |
"Let the Story provide positioning information about certain HTML elements" |
| 431 |
" once their place on the current page has been computed - i.e. invoke " |
| 432 |
"this method **directly after** :meth:`Story.place`." |
| 433 |
msgstr "" |
| 434 |
"ストーリーが現在のページ上で特定のHTML要素の配置情報を提供するようにします。つまり、:meth:`Story.place` の **直後に**" |
| 435 |
" このメソッドを呼び出します。" |
| 436 |
|
| 437 |
#: ../../story-class.rst:134 e0021c2f17db417c8976fce48469b736 |
| 438 |
msgid "" |
| 439 |
"*Story* will pass position information to *function*. This information " |
| 440 |
"can for example be used to generate a Table of Contents." |
| 441 |
msgstr "*Story* は位置情報を *関数* に渡します。この情報は、目次の生成などに便利に使用できます。" |
| 442 |
|
| 443 |
#: ../../story-class.rst:136 27a5d6e27ace4870892e746111d4365b |
| 444 |
msgid "" |
| 445 |
"a Python function accepting an :class:`ElementPosition` object. It will " |
| 446 |
"be invoked by the Story object to process positioning information. The " |
| 447 |
"function **must** be a callable accepting exactly one argument." |
| 448 |
msgstr "" |
| 449 |
":class:`ElementPosition` " |
| 450 |
"オブジェクトを受け入れるPython関数。この関数は、位置情報を処理するためにStoryオブジェクトによって呼び出されます。**関数** " |
| 451 |
"は正確に1つの引数を受け入れるcallableである必要があります。" |
| 452 |
|
| 453 |
#: ../../story-class.rst:137 08bda4472e0b457faada19c08c19734e |
| 454 |
msgid "" |
| 455 |
"an optional dictionary with any **additional** information that should be" |
| 456 |
" added to the :class:`ElementPosition` instance passed to `function`. " |
| 457 |
"Like for example the current output page number. Every key in this " |
| 458 |
"dictionary must be a string that conforms to the rules for a valid Python" |
| 459 |
" identifier. The complete set of information is explained below." |
| 460 |
msgstr "" |
| 461 |
"`function` に渡される :class:`ElementPosition` インスタンスに **追加** " |
| 462 |
"情報を追加するためのオプションの辞書。たとえば、現在の出力ページ番号などが含まれることがあります。この辞書のすべてのキーは、有効なPython識別子の規則に従う文字列である必要があります。情報の完全なセットは以下で説明されています。" |
| 463 |
|
| 464 |
#: ../../story-class.rst:146 98941c7d778c4d34a3d76bb76b5739dc |
| 465 |
msgid "Rewind the story's document to the beginning for starting over its output." |
| 466 |
msgstr "ストーリーのドキュメントを最初に戻して、出力を再開します。" |
| 467 |
|
| 468 |
#: ../../story-class.rst:150 2eaf3e53d3c34b20bd6b65526619e383 |
| 469 |
msgid "" |
| 470 |
"The :htmlTag:`body` part of the story's DOM. This attribute contains the " |
| 471 |
":ref:`Xml` node of :htmlTag:`body`. All relevant content for PDF " |
| 472 |
"production is contained between \"<body>\" and \"</body>\"." |
| 473 |
msgstr "" |
| 474 |
"ストーリーのDOMの :htmlTag:`body` 部分。この属性には :htmlTag:`body` の :ref:`Xml` " |
| 475 |
"ノードが含まれています。PDFの制作に関連するすべてのコンテンツは、「<body>」と「</body>」の間に含まれています。" |
| 476 |
|
| 477 |
#: ../../story-class.rst:154 09a8579966ad4dd69d832b7cff35811b |
| 478 |
msgid "" |
| 479 |
"Places and draws Story to a `DocumentWriter`. Avoids the need for calling" |
| 480 |
" code to implement a loop that calls `Story.place()` and `Story.draw()` " |
| 481 |
"etc, at the expense of having to provide at least the `rectfn()` " |
| 482 |
"callback." |
| 483 |
msgstr "" |
| 484 |
"Storyを :ref:`DocumentWriter` に配置し、描画します。これにより、`Story.place()` および " |
| 485 |
"`Story.draw()` などを呼び出すループの実装が不要になりますが、`rectfn()` コールバックを少なくとも提供する必要があります。" |
| 486 |
|
| 487 |
#: ../../story-class.rst:159 5194586e662141618935bdf29a379921 |
| 488 |
msgid "a `DocumentWriter` or None." |
| 489 |
msgstr ":ref:`DocumentWriter` または `None`。" |
| 490 |
|
| 491 |
#: ../../story-class.rst:160 d62e010560f14bf1b7cd210ebf78b20c |
| 492 |
#, fuzzy |
| 493 |
msgid "" |
| 494 |
"a callable taking `(rect_num: int, filled: Rect)` and returning " |
| 495 |
"`(mediabox, rect, ctm)`: * mediabox: None or rect for new page. * rect: " |
| 496 |
"The next rect into which content should be placed. * ctm: None or a " |
| 497 |
"`Matrix`." |
| 498 |
msgstr "" |
| 499 |
"`(rect_num: int, filled: Rect)` を取り、`(mediabox, rect, ctm)` " |
| 500 |
"を返すcallable:mediabox" |
| 501 |
|
| 502 |
#: ../../story-class.rst:160 ae5c5dc080b540f09ad256f10c2cf83d |
| 503 |
msgid "" |
| 504 |
"a callable taking `(rect_num: int, filled: Rect)` and returning " |
| 505 |
"`(mediabox, rect, ctm)`:" |
| 506 |
msgstr "`(rect_num: int, filled: Rect)` を取り、`(mediabox, rect, ctm)` を返すcallable:" |
| 507 |
|
| 508 |
#: ../../story-class.rst:163 ../../story-class.rst:204 |
| 509 |
#: 193ce6bab9f74a3a9cf1bbeaf3b2dc88 991faab1db1a4e479714af5b2e511e0e |
| 510 |
#, fuzzy |
| 511 |
msgid "mediabox: None or rect for new page." |
| 512 |
msgstr "新しいページ用の `None` またはrect。" |
| 513 |
|
| 514 |
#: ../../story-class.rst:164 ../../story-class.rst:205 |
| 515 |
#: 2c523120813f4975b82ffb2efb008126 cbe16d25e8e24253b41d04316f0700a3 |
| 516 |
#, fuzzy |
| 517 |
msgid "rect: The next rect into which content should be placed." |
| 518 |
msgstr "コンテンツを配置する次の矩形。" |
| 519 |
|
| 520 |
#: ../../story-class.rst:165 6068e757476744c2a2008edf19b650a1 |
| 521 |
#, fuzzy |
| 522 |
msgid "ctm: None or a `Matrix`." |
| 523 |
msgstr "`None` または `Matrix`。" |
| 524 |
|
| 525 |
#: ../../story-class.rst:166 54470f3ad61e4531aca719c848ecebb4 |
| 526 |
msgid "" |
| 527 |
"None, or a callable taking `(position: ElementPosition)`: * position:" |
| 528 |
" An `ElementPosition` with an extra `.page_num` member. Typically " |
| 529 |
"called multiple times as we generate elements that are headings or have " |
| 530 |
"an id." |
| 531 |
msgstr "" |
| 532 |
|
| 533 |
#: ../../story-class.rst:166 0c1e37384309449d8a3f1aa31612af12 |
| 534 |
#, fuzzy |
| 535 |
msgid "None, or a callable taking `(position: ElementPosition)`:" |
| 536 |
msgstr "" |
| 537 |
"`None` または(ElementPosition)を取り、`(position: ElementPosition)`: " |
| 538 |
"positionを返すcallable:" |
| 539 |
|
| 540 |
#: ../../story-class.rst:168 78f15911e52b455d87f6517e46edf76d |
| 541 |
msgid "position:" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#: ../../story-class.rst:169 8ba40e35c2734c1d8c5eb72cc71c82f4 |
| 545 |
msgid "An `ElementPosition` with an extra `.page_num` member." |
| 546 |
msgstr "`.page_num` メンバーを持つ `ElementPosition`。" |
| 547 |
|
| 548 |
#: ../../story-class.rst:170 9d3b6f846744442c8f1ebd5c03e1a944 |
| 549 |
msgid "" |
| 550 |
"Typically called multiple times as we generate elements that are headings" |
| 551 |
" or have an id." |
| 552 |
msgstr "通常、見出しやIDを持つ要素を生成する際に複数回呼び出されます。" |
| 553 |
|
| 554 |
#: ../../story-class.rst:172 0d6deb6dd4d9405ab38dff88ad1fc98f |
| 555 |
msgid "" |
| 556 |
"None, or a callable taking `(page_num, mediabox, dev, after)`; called at " |
| 557 |
"start (`after=0`) and end (`after=1`) of each page." |
| 558 |
msgstr "" |
| 559 |
"`None` または `(page_num, mediabox, dev, after)` " |
| 560 |
"を取り、各ページの開始(`after=0`)および終了(`after=1`)時に呼び出されます。" |
| 561 |
|
| 562 |
#: ../../story-class.rst:178 a79665d597fb416d960734c83cfd6657 |
| 563 |
msgid "" |
| 564 |
"Static method that does iterative layout of html content to a " |
| 565 |
"`DocumentWriter`." |
| 566 |
msgstr "htmlコンテンツを :ref:`DocumentWriter` に対して反復的にレイアウトするための静的メソッド。" |
| 567 |
|
| 568 |
#: ../../story-class.rst:181 6fc706ddf1b648e68d59f87ae642ba3d |
| 569 |
msgid "" |
| 570 |
"For example this allows one to add a table of contents section while " |
| 571 |
"ensuring that page numbers are patched up until stable." |
| 572 |
msgstr "これにより、ページ番号が安定するまで目次セクションを追加したりすることができます。" |
| 573 |
|
| 574 |
#: ../../story-class.rst:184 624160a14d984361bd0974171f55c924 |
| 575 |
msgid "" |
| 576 |
"Repeatedly creates a new `Story` from `(contentfn(), user_css, em, " |
| 577 |
"archive)` and lays it out with internal call to `Story.write()`; uses a " |
| 578 |
"None writer and extracts the list of `ElementPosition`'s which is passed " |
| 579 |
"to the next call of `contentfn()`." |
| 580 |
msgstr "" |
| 581 |
"`(contentfn()、user_css、em、archive)` から新しい `Story` " |
| 582 |
"を繰り返し作成し、`Story.write()` への内部呼び出しでそれをレイアウトします。 `None` " |
| 583 |
"のライターを使用し、`ElementPosition` のリストを次回の `contentfn()` 呼び出しに渡します。" |
| 584 |
|
| 585 |
#: ../../story-class.rst:190 4b831cab0cb845b08bcd23293dfacaff |
| 586 |
msgid "" |
| 587 |
"When the html from `contentfn()` becomes unchanged, we do a final " |
| 588 |
"iteration using `writer`." |
| 589 |
msgstr "`contentfn()` からのhtmlが変更されなくなると、`writer` を使用して最終的な反復処理を行います。" |
| 590 |
|
| 591 |
#: ../../story-class.rst:193 fc2b4f5717ce43d49be5f534a63440f9 |
| 592 |
msgid "A `DocumentWriter`." |
| 593 |
msgstr ":ref:`DocumentWriter`。" |
| 594 |
|
| 595 |
#: ../../story-class.rst:195 8156be2fda8e4081b5e9447ab8e0e84f |
| 596 |
msgid "" |
| 597 |
"A function taking a list of `ElementPositions` and returning a string " |
| 598 |
"containing html. The returned html can depend on the list of positions, " |
| 599 |
"for example with a table of contents near the start." |
| 600 |
msgstr "" |
| 601 |
"`ElementPositions` " |
| 602 |
"のリストを取り、htmlを含む文字列を返す関数。返されるhtmlは、位置のリストに依存する場合があります。たとえば、最初の近くに目次がある場合です。" |
| 603 |
|
| 604 |
#: ../../story-class.rst:200 f67b52fd424e4dc68961c8310fcaa746 |
| 605 |
#, fuzzy |
| 606 |
msgid "" |
| 607 |
"A callable taking `(rect_num: int, filled: Rect)` and returning " |
| 608 |
"`(mediabox, rect, ctm)`: * mediabox: None or rect for new page. * rect: " |
| 609 |
"The next rect into which content should be placed. * ctm: A `Matrix`." |
| 610 |
msgstr "" |
| 611 |
"`(rect_num: int, filled: Rect)` を取り、`(mediabox, rect, ctm)` " |
| 612 |
"を返すcallable:mediabox" |
| 613 |
|
| 614 |
#: ../../story-class.rst:201 2619bfc1a11c4ae089bce95a0a0b388f |
| 615 |
msgid "" |
| 616 |
"A callable taking `(rect_num: int, filled: Rect)` and returning " |
| 617 |
"`(mediabox, rect, ctm)`:" |
| 618 |
msgstr "" |
| 619 |
|
| 620 |
#: ../../story-class.rst:206 893cb8063b414afaaced0a0058f0d3ab |
| 621 |
#, fuzzy |
| 622 |
msgid "ctm: A `Matrix`." |
| 623 |
msgstr ":ref:`Matrix`。" |
| 624 |
|
| 625 |
#: ../../story-class.rst:207 fa079791f265424f89482cae4560278b |
| 626 |
msgid "" |
| 627 |
"None, or a callable taking `(page_num, medibox, dev, after)`; called at " |
| 628 |
"start (`after=0`) and end (`after=1`) of each page." |
| 629 |
msgstr "" |
| 630 |
"`None` または `(page_num、medibox、dev、after)` " |
| 631 |
"を取り、各ページの開始(`after=0`)および終了(`after=1`)時に呼び出されます。" |
| 632 |
|
| 633 |
#: ../../story-class.rst:212 1f50bce4bc934df3b5d624e1b672e8a7 |
| 634 |
msgid "" |
| 635 |
"If true, we add unique ids to all header tags that don't already have an " |
| 636 |
"id. This can help automatic generation of tables of contents." |
| 637 |
msgstr "Trueの場合、idを持たないすべての見出しタグに一意のidを追加します。これは目次の自動生成に役立ちます" |
| 638 |
|
| 639 |
#: ../../story-class.rst:216 4d3d89f8a84e4ddca5b6f49a19e7360f |
| 640 |
msgid "Returns:" |
| 641 |
msgstr "" |
| 642 |
|
| 643 |
#: ../../story-class.rst:217 67ed7ea6343840ce8ca2af472e723907 |
| 644 |
msgid "None." |
| 645 |
msgstr "" |
| 646 |
|
| 647 |
#: ../../story-class.rst:221 dc5ef0f369b64b56a861bebe37e7d740 |
| 648 |
msgid "" |
| 649 |
"Similar to `write()` except that we don't have a `writer` arg and we " |
| 650 |
"return a PDF `Document` in which links have been created for each " |
| 651 |
"internal html link." |
| 652 |
msgstr "" |
| 653 |
"`write()` に類似していますが、`writer` 引数がなく、内部のHTMLリンクごとにリンクが作成されたPDF `Document` " |
| 654 |
"が返されます。" |
| 655 |
|
| 656 |
#: ../../story-class.rst:227 f60fb57103404e4487a18f27456b9ac5 |
| 657 |
msgid "" |
| 658 |
"Similar to `write_stabilized()` except that we don't have a `writer` arg " |
| 659 |
"and instead return a PDF `Document` in which links have been created for " |
| 660 |
"each internal html link." |
| 661 |
msgstr "" |
| 662 |
"`write_stabilized()` に類似していますが、`writer` " |
| 663 |
"引数がなく、代わりに各内部のHTMLリンクにリンクが作成されたPDF `Document` が返されます。" |
| 664 |
|
| 665 |
#: ../../story-class.rst:233 06abc8ee0cef4e4998719c4d3848c318 |
| 666 |
msgid "The result from a `Story.fit*()` method." |
| 667 |
msgstr "" |
| 668 |
|
| 669 |
#: ../../story-class.rst:235 f882cf97ed5e42b69f1212bd5c0d3b3e |
| 670 |
msgid "Members:" |
| 671 |
msgstr "" |
| 672 |
|
| 673 |
#: ../../story-class.rst:237 05afdcff48b54e87a70244ac485320f6 |
| 674 |
msgid "`big_enough`:" |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
#: ../../story-class.rst:238 296c3d062bc34a2f9826b3fe722423ed |
| 678 |
msgid "`True` if the fit succeeded." |
| 679 |
msgstr "" |
| 680 |
|
| 681 |
#: ../../story-class.rst:239 910160ef882e49209e123946968ad89d |
| 682 |
msgid "`filled`:" |
| 683 |
msgstr "" |
| 684 |
|
| 685 |
#: ../../story-class.rst:240 2be02fcee76042b3b1e67242108c02d8 |
| 686 |
msgid "From the last call to `Story.place()`." |
| 687 |
msgstr "" |
| 688 |
|
| 689 |
#: ../../story-class.rst:241 7f3007c064224426bdeffe2f30577d5a |
| 690 |
msgid "`more`:" |
| 691 |
msgstr "" |
| 692 |
|
| 693 |
#: ../../story-class.rst:242 14d98da06ba44fadacc3c05f8c88d916 |
| 694 |
msgid "`False` if the fit succeeded." |
| 695 |
msgstr "" |
| 696 |
|
| 697 |
#: ../../story-class.rst:243 bea5727ffc6f4a0f9b4816919098061b |
| 698 |
msgid "`numcalls`:" |
| 699 |
msgstr "" |
| 700 |
|
| 701 |
#: ../../story-class.rst:244 508bd595de3a4b6a87cf8cece9b67d36 |
| 702 |
msgid "Number of calls made to `self.place()`." |
| 703 |
msgstr "" |
| 704 |
|
| 705 |
#: ../../story-class.rst:245 0c4225d297644946b97fffd257cb3149 |
| 706 |
#, fuzzy |
| 707 |
msgid "`parameter`:" |
| 708 |
msgstr "パラメーター:" |
| 709 |
|
| 710 |
#: ../../story-class.rst:246 a38a79d488cc413583a588ace44bad64 |
| 711 |
msgid "The successful parameter value, or the largest failing value." |
| 712 |
msgstr "" |
| 713 |
|
| 714 |
#: ../../story-class.rst:247 e5e7d478999f4d3aa75cc2e4a0bf8ed2 |
| 715 |
msgid "`rect`:" |
| 716 |
msgstr "" |
| 717 |
|
| 718 |
#: ../../story-class.rst:248 865655b3648b49e19a5b3683d5ac952c |
| 719 |
msgid "The rect created from `parameter`." |
| 720 |
msgstr "" |
| 721 |
|
| 722 |
#: ../../story-class.rst:254 ../../story-class.rst:282 |
| 723 |
#: ../../story-class.rst:304 ../../story-class.rst:325 |
| 724 |
#: 13889911bf6e4b4099ac3db022c63ba7 181f41eeee2248529bcc9f4180a0fd2f |
| 725 |
#: 2a70154984d84fde9207702c6951f227 833e95a45bf24525a22b1bf7caedcfd7 |
| 726 |
msgid "Returns a `Story.FitResult` instance." |
| 727 |
msgstr "" |
| 728 |
|
| 729 |
#: ../../story-class.rst:256 9f2d407c6f7447a384ccc54acb6bbb6d |
| 730 |
msgid "" |
| 731 |
"On success, the last call to `self.place()` will have been with the " |
| 732 |
"returned rectangle, so `self.draw()` can be used directly." |
| 733 |
msgstr "" |
| 734 |
|
| 735 |
#: ../../story-class.rst:259 723d3c893ffb40979529d0c13998947c |
| 736 |
msgid "" |
| 737 |
"A callable taking a floating point `parameter` and returning a " |
| 738 |
"`pymupdf.Rect()`. If the rect is empty, we assume the story will not fit " |
| 739 |
"and do not call `self.place()`. Must guarantee that `self.place()` " |
| 740 |
"behaves monotonically when given rect `fn(parameter`) as `parameter` " |
| 741 |
"increases. This usually means that both width and height increase or stay" |
| 742 |
" unchanged as `parameter` increases." |
| 743 |
msgstr "" |
| 744 |
|
| 745 |
#: ../../story-class.rst:260 9507ed4935a0463eb2d74e2300c6e45c |
| 746 |
msgid "" |
| 747 |
"A callable taking a floating point `parameter` and returning a " |
| 748 |
"`pymupdf.Rect()`. If the rect is empty, we assume the story will not fit " |
| 749 |
"and do not call `self.place()`." |
| 750 |
msgstr "" |
| 751 |
|
| 752 |
#: ../../story-class.rst:264 b8b210f2827f4137a23a52bb43be5a7d |
| 753 |
msgid "" |
| 754 |
"Must guarantee that `self.place()` behaves monotonically when given rect " |
| 755 |
"`fn(parameter`) as `parameter` increases. This usually means that both " |
| 756 |
"width and height increase or stay unchanged as `parameter` increases." |
| 757 |
msgstr "" |
| 758 |
|
| 759 |
#: ../../story-class.rst:268 a4dba85757184a2f88067b0d0bc2a5ac |
| 760 |
msgid "Minimum parameter to consider; `None` for -infinity." |
| 761 |
msgstr "" |
| 762 |
|
| 763 |
#: ../../story-class.rst:270 c3041af96355455e9dd9c1d8b9001d02 |
| 764 |
msgid "Maximum parameter to consider; `None` for +infinity." |
| 765 |
msgstr "" |
| 766 |
|
| 767 |
#: ../../story-class.rst:272 50ba04ced3904450bbb765d580667a8a |
| 768 |
msgid "Maximum error in returned `parameter`." |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#: ../../story-class.rst:274 ../../story-class.rst:295 |
| 772 |
#: ../../story-class.rst:317 ../../story-class.rst:338 |
| 773 |
#: 4560cdaee7304e68af9c9515d9baeeab 853d4b4eccc64445b4dadae224277597 |
| 774 |
#: 9a97ca12c0fd4e4cad25cd646c9fd3a1 c27eb2778a574ddd9cdbb5da9e952da1 |
| 775 |
msgid "If true we output diagnostics." |
| 776 |
msgstr "" |
| 777 |
|
| 778 |
#: ../../story-class.rst:279 4dca0fa3d9dc4d74a72be9a25b3042f5 |
| 779 |
msgid "" |
| 780 |
"Finds smallest value `scale` in range `scale_min..scale_max` where `scale" |
| 781 |
" * rect` is large enough to contain the story `self`." |
| 782 |
msgstr "" |
| 783 |
|
| 784 |
#: ../../story-class.rst:284 ../../story-class.rst:306 |
| 785 |
#: 3e56c24499df4c63acde4cd29372549c c1836f4303104884b7f75d1c7d7f4c18 |
| 786 |
msgid "width of rect." |
| 787 |
msgstr "" |
| 788 |
|
| 789 |
#: ../../story-class.rst:286 ../../story-class.rst:327 |
| 790 |
#: 599c4470f82444f093e40776f0fc3088 d107736639a3470a838f7ae926a0c493 |
| 791 |
msgid "height of rect." |
| 792 |
msgstr "" |
| 793 |
|
| 794 |
#: ../../story-class.rst:288 192ebb0b7d2c4255ae07cda187e1c04a |
| 795 |
msgid "Minimum scale to consider; must be >= 0." |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#: ../../story-class.rst:290 9becc562a2894913ac6b78b33fa618a8 |
| 799 |
msgid "Maximum scale to consider, must be >= scale_min or `None` for infinite." |
| 800 |
msgstr "" |
| 801 |
|
| 802 |
#: ../../story-class.rst:293 b80e9c9c5a024ab9b415c43f695db382 |
| 803 |
msgid "Maximum error in returned scale." |
| 804 |
msgstr "" |
| 805 |
|
| 806 |
#: ../../story-class.rst:300 20b042fb975b4ef38c6a275f58290800 |
| 807 |
msgid "" |
| 808 |
"Finds smallest height in range `height_min..height_max` where a rect with" |
| 809 |
" size `(width, height)` is large enough to contain the story `self`." |
| 810 |
msgstr "" |
| 811 |
|
| 812 |
#: ../../story-class.rst:308 de3278b094bd4069a6ade29bab864b2e |
| 813 |
msgid "Minimum height to consider; must be >= 0." |
| 814 |
msgstr "" |
| 815 |
|
| 816 |
#: ../../story-class.rst:310 d890a80ccfbc4767b155bf963080574b |
| 817 |
msgid "Maximum height to consider, must be >= height_min or `None` for infinite." |
| 818 |
msgstr "" |
| 819 |
|
| 820 |
#: ../../story-class.rst:313 ../../story-class.rst:334 |
| 821 |
#: 345fc763c90942b3af9314cb53d3635c fb1f9d71eaf340dfb2d14dff3ccbaf8d |
| 822 |
msgid "`(x0, y0)` of rect." |
| 823 |
msgstr "" |
| 824 |
|
| 825 |
#: ../../story-class.rst:315 05ba2969245642aa9c5df4b5faa1c1c7 |
| 826 |
msgid "Maximum error in returned height." |
| 827 |
msgstr "" |
| 828 |
|
| 829 |
#: ../../story-class.rst:322 2c063f96e3d24728acc052323d414f48 |
| 830 |
msgid "" |
| 831 |
"Finds smallest width in range `width_min..width_max` where a rect with " |
| 832 |
"size `(width, height)` is large enough to contain the story `self`." |
| 833 |
msgstr "" |
| 834 |
|
| 835 |
#: ../../story-class.rst:329 755a76f8bcad4f9c9b17627fb2dd2b92 |
| 836 |
msgid "Minimum width to consider; must be >= 0." |
| 837 |
msgstr "" |
| 838 |
|
| 839 |
#: ../../story-class.rst:331 4a9bc91b4df64e0aae622c2fc204c366 |
| 840 |
msgid "Maximum width to consider, must be >= width_min or `None` for infinite." |
| 841 |
msgstr "" |
| 842 |
|
| 843 |
#: ../../story-class.rst:336 a4d66b18a35f42759e36401ac18b5919 |
| 844 |
msgid "Maximum error in returned width." |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
#: ../../story-class.rst:343 d2d8c9c232984e92ab30e2dc905f7f7a |
| 848 |
msgid "Element Positioning CallBack function" |
| 849 |
msgstr "要素位置コールバック関数" |
| 850 |
|
| 851 |
#: ../../story-class.rst:345 a81639ecc64041979b5a57ccef510f75 |
| 852 |
msgid "" |
| 853 |
"The callback function can be used to log information about story output. " |
| 854 |
"The function's access to the information is read-only: it has no way to " |
| 855 |
"influence the story's output." |
| 856 |
msgstr "コールバック関数は、ストーリーの出力に関する情報を記録するために使用できます。この関数は情報への読み取り専用アクセスを持ち、ストーリーの出力に影響を与える方法はありません。" |
| 857 |
|
| 858 |
#: ../../story-class.rst:347 d63a34b1197048c0a8e7128565d99b11 |
| 859 |
msgid "" |
| 860 |
"A typical loop for executing a story with using this method would look " |
| 861 |
"like this::" |
| 862 |
msgstr "このメソッドを使用してストーリーを実行する典型的なループは次のようになります:" |
| 863 |
|
| 864 |
#: ../../story-class.rst:379 022c24b9ecb142e4b995435e43d0abba |
| 865 |
msgid "Attributes of the ElementPosition class" |
| 866 |
msgstr "ElementPosition クラスの属性" |
| 867 |
|
| 868 |
#: ../../story-class.rst:380 eb9fd926dd144458ad966437c52bc9b3 |
| 869 |
msgid "" |
| 870 |
"Exactly one parameter must be passed to the function provided by " |
| 871 |
":meth:`Story.element_positions`. It is an object with the following " |
| 872 |
"attributes:" |
| 873 |
msgstr ":meth:`Story.element_positions` で提供される関数に渡すパラメータは、次の属性を持つオブジェクトである必要があります。" |
| 874 |
|
| 875 |
#: ../../story-class.rst:382 51f35390ddf549c49309c8e41b08fc0d |
| 876 |
msgid "" |
| 877 |
"The parameter passed to the `recorder` function is an object with the " |
| 878 |
"following attributes:" |
| 879 |
msgstr "`recorder` 関数に渡されるパラメータは、次の属性を持つオブジェクトです。" |
| 880 |
|
| 881 |
#: ../../story-class.rst:384 ea7a7e801d004da2946b291daf693c79 |
| 882 |
msgid "`elpos.depth` (int) -- depth of this element in the box structure." |
| 883 |
msgstr "`elpos.depth` (int)– ボックス構造内でのこの要素の深さ。" |
| 884 |
|
| 885 |
#: ../../story-class.rst:386 eedd651708ad4d08ab6358db8492fe86 |
| 886 |
msgid "" |
| 887 |
"`elpos.heading` (int) -- the header level, 0 if no header, 1-6 for " |
| 888 |
":htmlTag:`h1` - :htmlTag:`h6`." |
| 889 |
msgstr "" |
| 890 |
"`elpos.heading` (int)– ヘッダーレベル、ヘッダーがない場合は0、 :htmlTag:`h1` - :htmlTag:`h6`" |
| 891 |
" に対して1-6。" |
| 892 |
|
| 893 |
#: ../../story-class.rst:388 58c1d6c18dbc4defa9fdccf70fb9f5a1 |
| 894 |
#, fuzzy |
| 895 |
msgid "" |
| 896 |
"`elpos.href` (str) -- value of the `href` attribute, or None if not " |
| 897 |
"defined." |
| 898 |
msgstr "`elpos.href` (str)– `href` 属性の値、または未定義の場合は `None`。" |
| 899 |
|
| 900 |
#: ../../story-class.rst:390 085ae77bd6a0482e9bfed8909e66cc63 |
| 901 |
msgid "`elpos.id` (str) -- value of the `id` attribute, or None if not defined." |
| 902 |
msgstr "`elpos.id` (str)– `id` 属性の値、または未定義の場合は `None`。" |
| 903 |
|
| 904 |
#: ../../story-class.rst:392 6148773811f84de3837f6e84482b5a6f |
| 905 |
msgid "`elpos.rect` (tuple) -- element position on page." |
| 906 |
msgstr "`elpos.rect` (tuple)– ページ上の要素の位置。" |
| 907 |
|
| 908 |
#: ../../story-class.rst:394 e46b041d8944429f8ec58070b71170c3 |
| 909 |
msgid "`elpos.text` (str) -- immediate text of the element." |
| 910 |
msgstr "`elpos.text` (str)– 要素の直接のテキスト。" |
| 911 |
|
| 912 |
#: ../../story-class.rst:396 10ae79dfd5114378b05c394821db2139 |
| 913 |
msgid "" |
| 914 |
"`elpos.open_close` (int bit field) -- bit 0 set: opens element, bit 1 " |
| 915 |
"set: closes element. Relevant for elements that may contain other " |
| 916 |
"elements and thus may not immediately be closed after being created / " |
| 917 |
"opened." |
| 918 |
msgstr "" |
| 919 |
"`elpos.open_close` (int ビットフィールド)– " |
| 920 |
"ビット0がセットされている場合、要素を開く。ビット1がセットされている場合、要素を閉じる。他の要素を含む可能性がある要素に対して、即座に作成/開始された後にすぐに閉じられない要素に関連します。" |
| 921 |
|
| 922 |
#: ../../story-class.rst:398 d06166cffa24405cbbc118345b121dc7 |
| 923 |
msgid "`elpos.rect_num` (int) -- count of rectangles filled by the story so far." |
| 924 |
msgstr "`elpos.rect_num` (int)– これまでにストーリーで埋められた長方形の数。" |
| 925 |
|
| 926 |
#: ../../story-class.rst:400 1559da9c2ea247b99415efc378836399 |
| 927 |
msgid "" |
| 928 |
"`elpos.page_num` (int) -- page number; only present when using " |
| 929 |
"`pymupdf.Story.write*()` functions." |
| 930 |
msgstr "`elpos.page_num` (int)– ページ番号。`pymupdf.Story.write*()` 関数を使用する場合にのみ存在します。" |
| 931 |
|
| 932 |
#: ../../footer.rst:60 c25ec66bf75249a58ca8ecc2e8d0184a |
| 933 |
msgid "This documentation covers all versions up to |version|." |
| 934 |
msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" |
| 935 |
|
| 936 |
#~ msgid "" |
| 937 |
#~ "a callable taking `(rect_num: int, " |
| 938 |
#~ "filled: Rect)` and returning `(mediabox, " |
| 939 |
#~ "rect, ctm)`: mediabox: None or " |
| 940 |
#~ "rect for new page. rect: The" |
| 941 |
#~ " next rect into which content should" |
| 942 |
#~ " be placed. ctm: None or " |
| 943 |
#~ "a `Matrix`." |
| 944 |
#~ msgstr "" |
| 945 |
|
| 946 |
#~ msgid "mediabox:" |
| 947 |
#~ msgstr "" |
| 948 |
|
| 949 |
#~ msgid "rect:" |
| 950 |
#~ msgstr "" |
| 951 |
|
| 952 |
#~ msgid "ctm:" |
| 953 |
#~ msgstr "" |
| 954 |
|
| 955 |
#~ msgid "" |
| 956 |
#~ "None, or a callable taking `(position:" |
| 957 |
#~ " ElementPosition)`: position: An " |
| 958 |
#~ "`ElementPosition` with an extra `.page_num`" |
| 959 |
#~ " member. Typically called multiple times" |
| 960 |
#~ " as we generate elements that are " |
| 961 |
#~ "headings or have an id." |
| 962 |
#~ msgstr "" |
| 963 |
|
| 964 |
#~ msgid "." |
| 965 |
#~ msgstr "" |
| 966 |
|
| 967 |
#~ msgid "Discord logo" |
| 968 |
#~ msgstr "" |
| 969 |
|