# PyMuPDF Japanese documentation # Copyright (C) 2015-2023, Artifex # This file is distributed under the same license as the PyMuPDF package. # Jamie Lemon , 2023. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PyMuPDF 1.23.0rc1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-11-25 23:33+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Suzan Sanver \n" "Language: ja\n" "Language-Team: ja \n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" #: ../../header.rst:-1 43b4736175594b648a25f0be7fc42424 msgid "Artifex" msgstr "" #: ../../header.rst:-1 8a34ee99def04d0395e3977c82a70fb3 msgid "" "PyMuPDF is a high-performance Python library for data extraction, " "analysis, conversion & manipulation of PDF (and other) documents." msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" #: ../../header.rst:-1 bf3099d94f984c22b00ddb5b985eef67 msgid "" "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " "PDF Splitting, PDF Creation, Pyodide, PyScript" msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" #: ../../document.rst:7 e9a8d6bb8a584459bedbb314700c7bc7 msgid "Document" msgstr "Document (ドキュメント)" #: ../../document.rst:11 3a88bb195d634bd1b5bd4e541a3d9a7e msgid "" "This class represents a document. It can be constructed from a file or " "from memory." msgstr "このクラスはドキュメントを表します。ファイルまたはメモリから構築することができます。" #: ../../document.rst:13 f093a1011e1247d4b515a122f0025bb6 msgid "" "There exists the alias *open* for this class, i.e. " "`pymupdf.Document(...)` and `pymupdf.open(...)` do exactly the same " "thing." msgstr "" "このクラスには *「open」* というエイリアスが存在し、つまり、 `pymupdf.Document(...)` と " "`pymupdf.open(...)` はまったく同じことを行います。" #: ../../document.rst:15 77bb8938b5534efcb6b05b4559346d2f msgid "For details on **embedded files** refer to Appendix 3." msgstr "**埋め込まれたファイル** の詳細については、付録3を参照してください。" #: ../../document.rst:19 ed504bde84854a89962d6285ce0c78ac msgid "" "Starting with v1.17.0, a new page addressing mechanism for **EPUB files " "only** is supported. This document type is internally organized in " "chapters such that pages can most efficiently be found by their so-called" " \"location\". The location is a tuple *(chapter, pno)* consisting of the" " chapter number and the page number **in that chapter**. Both numbers are" " zero-based." msgstr "" "バージョン1.17.0から、 **EPUBファイル専用** " "の新しいページアドレッシングメカニズムがサポートされています。このドキュメントタイプは、ページがその「場所」によって最も効率的に見つけられるように、章ごとに内部的に組織されています。場所は" " *(章、pno)* というタプルで構成され、章番号と **その章の中** のページ番号を指します。どちらの番号もゼロベースです。" #: ../../document.rst:21 15f2eedab10243529b4aa77b9b0c2f8b msgid "" "While it is still possible to locate a page via its (absolute) number, " "doing so may mean that the complete EPUB document must be laid out before" " the page can be addressed. This may have a significant performance " "impact if the document is very large. Using the page's *(chapter, pno)* " "prevents this from happening." msgstr "" "依然として(絶対的な)番号を使用してページを見つけることは可能ですが、これを行うとページにアクセスする前に完全なEPUBドキュメントをレイアウトする必要があるかもしれません。これはドキュメントが非常に大きい場合、重要なパフォーマンスの影響を持つ可能性があります。ページの" " *(章、pno)* を使用することで、これを防ぐことができます。" #: ../../document.rst:23 a9abb22b0c094890a8af3b64d7d76262 msgid "" "To maintain a consistent API, PyMuPDF supports the page *location* syntax" " for **all file types** -- documents without this feature simply have " "just one chapter. :meth:`Document.load_page` and the equivalent index " "access now also support a *location* argument." msgstr "" "一貫性のあるAPIを維持するために、PyMuPDFは **すべてのファイルタイプ** にページの場所構文をサポートしています - " "この機能のないドキュメントは単に1つの章を持っています。:meth:`Document.load_page` および同等のインデックスアクセスも " "*場所* 引数をサポートしています。" #: ../../document.rst:25 9d716392e88a47ecaad2863ac6b61457 msgid "" "There are a number of methods for converting between page numbers and " "locations, for determining the chapter count, the page count per chapter," " for computing the next and the previous locations, and the last page " "location of a document." msgstr "ページ番号と場所の間で変換するためのいくつかのメソッドがあり、章の数を決定するためのメソッド、章ごとのページ数を決定するためのメソッド、次の場所と前の場所を計算するためのメソッド、およびドキュメントの最後のページの場所を計算するためのメソッドがあります。" #: ../../document.rst:28 add4a5f06f184d7ebc7b45e419cb3a63 msgid "**Method / Attribute**" msgstr "**メソッド / 属性** " #: ../../document.rst:28 5b71e73348ff43b28c42f734ed068fbd msgid "**Short Description**" msgstr "**短い説明** " #: ../../document.rst:30 58a8217257e948d98b9b26ab120c3aea msgid ":meth:`Document.add_layer`" msgstr "" #: ../../document.rst:30 39da0dbb831848f1837f2799cac832e1 msgid "PDF only: make new optional content configuration" msgstr "PDFのみ:新しいオプションコンテンツ設定を作成" #: ../../document.rst:31 d82b8d9a76b246c0a8be037689fbfa06 msgid ":meth:`Document.add_ocg`" msgstr "" #: ../../document.rst:31 e5ebdc27906c4b5c8896ae1c353b4787 msgid "PDF only: add new optional content group" msgstr "PDFのみ:新しいオプションコンテンツグループを追加" #: ../../document.rst:32 e8f6741a63574c62b27f98b22177e828 msgid ":meth:`Document.authenticate`" msgstr "" #: ../../document.rst:32 defb0d7ebb00414b928eb0e592ae812e msgid "gain access to an encrypted document" msgstr "暗号化されたドキュメントへのアクセスを取得" #: ../../document.rst:33 b11af2c7c8694f3fa35bab1d987786a2 #, fuzzy msgid ":meth:`Document.bake`" msgstr ":meth:`Document.make_bookmark` によって作成されたもの。" #: ../../document.rst:33 cf7e8fd44e594a9c90ab7a1833253b0a msgid "PDF only: make annotations / fields permanent content" msgstr "PDFのみ:注釈やフォームフィールドを永続的なコンテンツに変換します" #: ../../document.rst:34 20cad3262c664426bb762687b9c4bbd9 msgid ":meth:`Document.can_save_incrementally`" msgstr "" #: ../../document.rst:34 7b023782514349ee95ef2e72917994c8 msgid "check if incremental save is possible" msgstr "インクリメンタルセーブが可能かどうかを確認" #: ../../document.rst:35 dc05c297ca0b4aefa1f1b7c427aa28c5 msgid ":meth:`Document.chapter_page_count`" msgstr "" #: ../../document.rst:35 4574736b834e4e998c95dfdb960afd78 msgid "number of pages in chapter" msgstr "章内のページ数" #: ../../document.rst:36 12d37dd646db4d7094ac889b471a0ef8 msgid ":meth:`Document.close`" msgstr "" #: ../../document.rst:36 4ce3e236e34a4972bcc35cabc61b8cb1 msgid "close the document" msgstr "ドキュメントを閉じる" #: ../../document.rst:37 1ba7c8f336184fe5bc4a0d56e99b08ec msgid ":meth:`Document.convert_to_pdf`" msgstr "" #: ../../document.rst:37 cc1e97d3992c4552aa43c0f0c4f6807b msgid "write a PDF version to memory" msgstr "PDFバージョンをメモリに書き込む" #: ../../document.rst:38 9d859e8c86fa4677925790093524225b msgid ":meth:`Document.copy_page`" msgstr "" #: ../../document.rst:38 466c568ee935410294a9e211b1e10040 msgid "PDF only: copy a page reference" msgstr "PDFのみ:ページの参照をコピー" #: ../../document.rst:39 3905e8ae3b06492b9fe02446094b4407 msgid ":meth:`Document.del_toc_item`" msgstr "" #: ../../document.rst:39 9fe2cfba44bd4f73abd8e1af06023fc4 msgid "PDF only: remove a single TOC item" msgstr "PDFのみ:単一のTOCアイテムを削除" #: ../../document.rst:40 2e8f53ae81b44437bb7e36151dfdf856 msgid ":meth:`Document.delete_page`" msgstr "" #: ../../document.rst:40 87da7bfbf0754384ad4bd489a1b62fb7 msgid "PDF only: delete a page" msgstr "PDFのみ:ページを削除" #: ../../document.rst:41 ac488459c0594d6cb9b355f29f9f1434 msgid ":meth:`Document.delete_pages`" msgstr "" #: ../../document.rst:41 5ef25e49d8ed498fb185e70e5bbff4e3 msgid "PDF only: delete multiple pages" msgstr "PDFのみ:複数のページを削除" #: ../../document.rst:42 c2175653712c47fca1ee1cfaba870c91 msgid ":meth:`Document.embfile_add`" msgstr "" #: ../../document.rst:42 5fcdd01035ed45c189614dd16f46d767 msgid "PDF only: add a new embedded file from buffer" msgstr "PDFのみ:バッファから新しい埋め込みファイルを追加" #: ../../document.rst:43 95b5b715b6224242a7dfafbc0041b9bd msgid ":meth:`Document.embfile_count`" msgstr "" #: ../../document.rst:43 8f3b00e038294a4aa1b2634f512da7dc msgid "PDF only: number of embedded files" msgstr "PDFのみ:埋め込みファイルの数" #: ../../document.rst:44 d39ae28e4b06484dac1e6ba1528cce4c msgid ":meth:`Document.embfile_del`" msgstr "" #: ../../document.rst:44 7649e79372904462bbdd49f9ab148373 msgid "PDF only: delete an embedded file entry" msgstr "PDFのみ:埋め込みファイルエントリを削除" #: ../../document.rst:45 964881d13cae457589969e927b3b7163 msgid ":meth:`Document.embfile_get`" msgstr "" #: ../../document.rst:45 93f0d4af7e2f49c08cd5565455a16206 msgid "PDF only: extract an embedded file buffer" msgstr "PDFのみ:埋め込みファイルバッファを抽出" #: ../../document.rst:46 e82abf28eaa84b889bf8baed0b1f0132 msgid ":meth:`Document.embfile_info`" msgstr "" #: ../../document.rst:46 5d46af817ace455296fb97fec4708e1d msgid "PDF only: metadata of an embedded file" msgstr "PDFのみ:埋め込みファイルのメタデータ" #: ../../document.rst:47 24b4158b60f6487290d8264abb16f507 msgid ":meth:`Document.embfile_names`" msgstr "" #: ../../document.rst:47 a79a87dd6905428b8c336bc3a5cbfe4c msgid "PDF only: list of embedded files" msgstr "PDFのみ:埋め込みファイルのリスト" #: ../../document.rst:48 d1405add281648888c3aec36f1efa31e msgid ":meth:`Document.embfile_upd`" msgstr "" #: ../../document.rst:48 3109aa1e33fe4baf82b62abfe73bf1c8 msgid "PDF only: change an embedded file" msgstr "PDFのみ:埋め込みファイルを変更" #: ../../document.rst:49 df47ab4f60c34106a30295d4248cecc3 msgid ":meth:`Document.extract_font`" msgstr "" #: ../../document.rst:49 a57f7fb1ecec44c1bef98124eabe2af5 msgid "PDF only: extract a font by :data:`xref`" msgstr "PDFのみ: :data:`xref` によるフォントの抽出" #: ../../document.rst:50 74fa6cb6cbf94754807bc74f0001e10c msgid ":meth:`Document.extract_image`" msgstr "" #: ../../document.rst:50 ff6d3d0e82a64512ad8964b9c9a0628b msgid "PDF only: extract an embedded image by :data:`xref`" msgstr "PDFのみ: :data:`xref` による埋め込み画像の抽出" #: ../../document.rst:51 78f28501b7974812a1cd4f5830cd36dc msgid ":meth:`Document.ez_save`" msgstr "" #: ../../document.rst:51 4a02f4a72a144d43b1754ec32416bb64 msgid "PDF only: :meth:`Document.save` with different defaults" msgstr "PDFのみ:異なるデフォルト値で :meth:`Document.save` を実行" #: ../../document.rst:52 3154749d16cf48fe96a7f9c8425bfbf6 msgid ":meth:`Document.find_bookmark`" msgstr "" #: ../../document.rst:52 143e38f832604238a5f900679410b485 msgid "retrieve page location after laid out document" msgstr "レイアウトされたドキュメント後のページ位置を取得" #: ../../document.rst:53 b271556405414cbaa9d1b57ab58b468c msgid ":meth:`Document.fullcopy_page`" msgstr "" #: ../../document.rst:53 e7f3a9b06b2c485c9be33faed6e5fe7c msgid "PDF only: duplicate a page" msgstr "PDFのみ:ページの複製" #: ../../document.rst:54 7bbeb29bdb63453191c3222b3e097f13 msgid ":meth:`Document.get_layer`" msgstr "" #: ../../document.rst:54 04bc7e5eed374ce89ccbc02847258286 msgid "PDF only: lists of OCGs in ON, OFF, RBGroups" msgstr "PDFのみ:ON、OFF、RBGroups内のOCGのリスト" #: ../../document.rst:55 970f7427be2f4166889a754bf4d7c025 msgid ":meth:`Document.get_layers`" msgstr "" #: ../../document.rst:55 5697cfd27e9d4b869c8dd5d641f0d33c msgid "PDF only: list of optional content configurations" msgstr "PDFのみ:オプションコンテンツ設定のリスト" #: ../../document.rst:56 78785446fbb14cc19554b28a594181f5 msgid ":meth:`Document.get_oc`" msgstr "" #: ../../document.rst:56 2556f20aa201451e8bf65b2c20eada2f msgid "PDF only: get OCG /OCMD xref of image / form xobject" msgstr "PDFのみ:画像/フォームオブジェクトのOCG / OCMD xrefを取得" #: ../../document.rst:57 258b50d4a33e45028451dc2a77148f6f msgid ":meth:`Document.get_ocgs`" msgstr "" #: ../../document.rst:57 afcf637c1119411594869f521a33bd71 msgid "PDF only: info on all optional content groups" msgstr "PDFのみ:すべてのオプションコンテンツグループの情報" #: ../../document.rst:58 b9e9fda4a6094db0b0ae6679e3068cce msgid ":meth:`Document.get_ocmd`" msgstr "" #: ../../document.rst:58 2f8facbc52ee427597b065b7b3e02635 msgid "PDF only: retrieve definition of an :data:`OCMD`" msgstr "PDFのみ: :data:`OCMD` の定義を取得" #: ../../document.rst:59 c07ac7981fea4d33bb0144049e3239ee msgid ":meth:`Document.get_page_fonts`" msgstr "" #: ../../document.rst:59 3236ca270e6648a08aba4bdba5284c5f msgid "PDF only: list of fonts referenced by a page" msgstr "PDFのみ:ページで参照されるフォントのリスト" #: ../../document.rst:60 644a31787f044848869b3f02a9340f62 msgid ":meth:`Document.get_page_images`" msgstr "" #: ../../document.rst:60 6c413f170ae84b1d869a89042deb238e msgid "PDF only: list of images referenced by a page" msgstr "PDFのみ:ページで参照される画像のリスト" #: ../../document.rst:61 0bed94104d8144f38c441256e6514eb2 msgid ":meth:`Document.get_page_labels`" msgstr "" #: ../../document.rst:61 41f65092ee164fc297f86373c5ab102b msgid "PDF only: list of page label definitions" msgstr "PDFのみ:ページラベルの定義のリスト" #: ../../document.rst:62 862369882af44617a8819906a976bc16 msgid ":meth:`Document.get_page_numbers`" msgstr "" #: ../../document.rst:62 8615e9cd79d941a78c49c2ce9ac0c575 msgid "PDF only: get page numbers having a given label" msgstr "PDFのみ:指定されたラベルを持つページ番号を取得" #: ../../document.rst:63 dad59db4773e4ee9a396ad31b592ad81 msgid ":meth:`Document.get_page_pixmap`" msgstr "" #: ../../document.rst:63 cbe4b263ffeb44519224759f35a7b530 msgid "create a pixmap of a page by page number" msgstr "ページ番号によるページのピクスマップの作成" #: ../../document.rst:64 876f95670aed4e86bbdd960315d3bc1b msgid ":meth:`Document.get_page_text`" msgstr "" #: ../../document.rst:64 be31a13a38bd43c6913b7a80c953ee33 msgid "extract the text of a page by page number" msgstr "ページ番号によるページのテキストの抽出" #: ../../document.rst:65 978642d705ed459086758fef87cc6513 msgid ":meth:`Document.get_page_xobjects`" msgstr "" #: ../../document.rst:65 9ce6ba28bcd84aa2a35ce24bb1699f48 msgid "PDF only: list of XObjects referenced by a page" msgstr "PDFのみ:ページで参照されるXObjectのリスト" #: ../../document.rst:66 b597ff3290d34f83bf1b564ee7d148f8 msgid ":meth:`Document.get_sigflags`" msgstr "" #: ../../document.rst:66 16ae9c3a7a1e428283fdbab18375d352 msgid "PDF only: determine signature state" msgstr "PDFのみ:署名状態を確認" #: ../../document.rst:67 87689643a05c46b4868a2969cda519ea msgid ":meth:`Document.get_toc`" msgstr "" #: ../../document.rst:67 031806a18b7d4bc0a5ca012eda1b7dbb msgid "extract the table of contents" msgstr "目次を抽出" #: ../../document.rst:68 5cfc41d652204ddc955125491bc8ba44 msgid ":meth:`Document.get_xml_metadata`" msgstr "" #: ../../document.rst:68 08d4b18bcfad4ff28f56780ac161ad6d msgid "PDF only: read the XML metadata" msgstr "PDFのみ:XMLメタデータを読み込む" #: ../../document.rst:69 ff2b33d4bb2c42f4bb77426a3e22dbd7 msgid ":meth:`Document.has_annots`" msgstr "" #: ../../document.rst:69 1e8a505220e24e65a8c808697aa64afa msgid "PDF only: check if PDF contains any annots" msgstr "PDFのみ:PDFに注釈が含まれているかを確認" #: ../../document.rst:70 38f7a0c4a98d4ecb90798f4830568061 msgid ":meth:`Document.has_links`" msgstr "" #: ../../document.rst:70 948d1a0444544a568098d8f5abcbe626 msgid "PDF only: check if PDF contains any links" msgstr "PDFのみ:PDFにリンクが含まれているかを確認" #: ../../document.rst:71 d1ce6cf6cce1457caabc424ad112e57e msgid ":meth:`Document.insert_page`" msgstr "" #: ../../document.rst:71 fff75002fe13475b84fc3f18e1ff8ada msgid "PDF only: insert a new page" msgstr "PDFのみ:新しいページを挿入" #: ../../document.rst:72 cf8bb81eaa8a48ea9d5a1fbdc1a7ab5a msgid ":meth:`Document.insert_pdf`" msgstr "" #: ../../document.rst:72 289d2e5d58fe42a1a42bcf72bf0d6ff8 msgid "PDF only: insert pages from another PDF" msgstr "PDFのみ:別のPDFからページを挿入" #: ../../document.rst:73 8cd752947d534369a28e538b9fb6853c msgid ":meth:`Document.insert_file`" msgstr "" #: ../../document.rst:73 5cc1ad88bf844c96bf15f6586fd84cb8 msgid "PDF only: insert pages from arbitrary document" msgstr "PDFのみ:任意のドキュメントからページを挿入" #: ../../document.rst:74 8178801a98ca4bfca4dc9b6ad47ba89f msgid ":meth:`Document.journal_can_do`" msgstr "" #: ../../document.rst:74 2c867cd421094f95bc050a133eafad70 msgid "PDF only: which journal actions are possible" msgstr "PDFのみ:どのジャーナルアクションが可能か" #: ../../document.rst:75 283b597442494a8ba9ae9b5bec8bd8fa msgid ":meth:`Document.journal_enable`" msgstr "" #: ../../document.rst:75 8416ce80179c432d8919be5ce1cb0af6 msgid "PDF only: enables journalling for the document" msgstr "PDFのみ:ドキュメントのジャーナルを有効にする" #: ../../document.rst:76 6b953871829946af9c2773facdc83609 msgid ":meth:`Document.journal_load`" msgstr "" #: ../../document.rst:76 180edecda8984b7cb87a6274ea19f89a msgid "PDF only: load journal from a file" msgstr "PDFのみ:ファイルからジャーナルを読み込む" #: ../../document.rst:77 8391be9d1b0441a0910e17782c0b15ef msgid ":meth:`Document.journal_op_name`" msgstr "" #: ../../document.rst:77 a817a795918345018097f192480ce45b msgid "PDF only: return name of a journalling step" msgstr "PDFのみ:ジャーナルステップの名前を返す" #: ../../document.rst:78 bdb35edbe9394a7fb719c39e4a98e434 msgid ":meth:`Document.journal_position`" msgstr "" #: ../../document.rst:78 22c8acf5b55d4901a0706583047f98ac msgid "PDF only: return journalling status" msgstr "PDFのみ:ジャーナリングステータスを返す" #: ../../document.rst:79 bfb92de11a49415b9a637a6bdd41a08a msgid ":meth:`Document.journal_redo`" msgstr "" #: ../../document.rst:79 941f312fd6dc434bb3e7bb22b43982f9 msgid "PDF only: redo current operation" msgstr "PDFのみ:現在の操作をやり直す" #: ../../document.rst:80 e39c415d7d064a2ebd5d1597dbd8837e msgid ":meth:`Document.journal_save`" msgstr "" #: ../../document.rst:80 b584d240bee04b9d8dbaa84d5f8ace78 msgid "PDF only: save journal to a file" msgstr "PDFのみ:ジャーナルをファイルに保存" #: ../../document.rst:81 377ee634b1b64808a581ac868f85eae3 msgid ":meth:`Document.journal_start_op`" msgstr "" #: ../../document.rst:81 a0ca366002234f6886d132221ae925fc msgid "PDF only: start an \"operation\" giving it a name" msgstr "PDFのみ:名前を付けて「操作」を開始" #: ../../document.rst:82 10f762396c4f489d8414e1f85d21c394 msgid ":meth:`Document.journal_stop_op`" msgstr "" #: ../../document.rst:82 ba97728a122047fd83681c7e71538f60 msgid "PDF only: end current operation" msgstr "PDFのみ:現在の操作を終了" #: ../../document.rst:83 84244b3958754e2f8e60e088d4e9eaf8 msgid ":meth:`Document.journal_undo`" msgstr "" #: ../../document.rst:83 ac3708bf674842c5802292badc7ce153 msgid "PDF only: undo current operation" msgstr "PDFのみ:現在の操作を元に戻す" #: ../../document.rst:84 e59cb5b39d03491fb5bae5b59bbfcb28 msgid ":meth:`Document.layer_ui_configs`" msgstr "" #: ../../document.rst:84 d9375c2112274868896c4d42fc331428 msgid "PDF only: list of optional content intents" msgstr "PDFのみ:オプションコンテンツインテントのリスト" #: ../../document.rst:85 407287d007564aa49ddd7d761d16a854 msgid ":meth:`Document.layout`" msgstr "" #: ../../document.rst:85 24b905752b8f4103b44d7a072952a14d msgid "re-paginate the document (if supported)" msgstr "ドキュメントを再ページ化(サポートされている場合)" #: ../../document.rst:86 05540cbb5a6844d2b0066a9329eec704 msgid ":meth:`Document.load_page`" msgstr "" #: ../../document.rst:86 d027aa3f5e7f40449d955369ac59be65 msgid "read a page" msgstr "ページを読み込む" #: ../../document.rst:87 0f4a3571b20e46c8a8b0a056ca69d9c4 msgid ":meth:`Document.make_bookmark`" msgstr "" #: ../../document.rst:87 3b3bccdfd1ea485b9725001d0321b5c5 msgid "create a page pointer in reflowable documents" msgstr "リフローアブルドキュメント内でページポインタを作成" #: ../../document.rst:88 41b1ca13914b4f2c945a7fed504d9517 msgid ":meth:`Document.move_page`" msgstr "" #: ../../document.rst:88 00c89823b1274ff99f648f5b2c87ef02 msgid "PDF only: move a page to different location in doc" msgstr "PDFのみ:ページをドキュメント内の異なる場所に移動" #: ../../document.rst:89 e84ed54f2d154b439faeaab883f5e93b msgid ":meth:`Document.need_appearances`" msgstr "" #: ../../document.rst:89 676fd03bdf7e409b984fe0faa6d88a76 msgid "PDF only: get/set `/NeedAppearances` property" msgstr "PDFのみ: `/NeedAppearances` プロパティを取得/設定" #: ../../document.rst:90 669abfabfa6b490aae5c20a6028b2af7 msgid ":meth:`Document.new_page`" msgstr "" #: ../../document.rst:90 8535930473244385bd64d7584523da86 msgid "PDF only: insert a new empty page" msgstr "PDFのみ:新しい空白ページを挿入" #: ../../document.rst:91 8706fe76caf44c4a9380d5fc92e71903 msgid ":meth:`Document.next_location`" msgstr "" #: ../../document.rst:91 da98e11be3fc4193abf54b8f9d212634 msgid "return (chapter, pno) of following page" msgstr "次のページの(章、pno)" #: ../../document.rst:92 22873ddadc3b468c8092ae45a23efe56 msgid ":meth:`Document.outline_xref`" msgstr "" #: ../../document.rst:92 939075b4724544878a76f87d8dd1283e msgid "PDF only: :data:`xref` a TOC item" msgstr "PDFのみ:TOCアイテムを :data:`xref` " #: ../../document.rst:93 6722c38d0d78497091278cbd1e7b0d6b msgid ":meth:`Document.page_cropbox`" msgstr "" #: ../../document.rst:93 04b54737e5ca450ca0f3e1483639382d msgid "PDF only: the unrotated page rectangle" msgstr "PDFのみ:回転していないページの矩形" #: ../../document.rst:94 af8716cd59ac46be87f21422bc3f8c5e msgid ":meth:`Document.page_xref`" msgstr "" #: ../../document.rst:94 caf5f921388245b5b5f9b49940c056a7 msgid "PDF only: :data:`xref` of a page number" msgstr "PDFのみ:ページ番号の :data:`xref`" #: ../../document.rst:95 571b7ea1b2ed4a0da1e2203deda7aa8d msgid ":meth:`Document.pages`" msgstr "" #: ../../document.rst:95 278ecce412fc4bc58337a84b851ec028 msgid "iterator over a page range" msgstr "ページ範囲のイテレータ" #: ../../document.rst:96 b85d12a3953342a89d8ffe83eb92ebf9 msgid ":meth:`Document.pdf_catalog`" msgstr "" #: ../../document.rst:96 14e5593718754a4da76d72a4bd33e7bd msgid "PDF only: :data:`xref` of catalog (root)" msgstr "PDFのみ:カタログ(ルート)の :data:`xref` " #: ../../document.rst:97 c11a1743ca684d3ca89d53ff36f33438 msgid ":meth:`Document.pdf_trailer`" msgstr "" #: ../../document.rst:97 8108cc2e14de4c0c948f8ea439c4819c msgid "PDF only: trailer source" msgstr "PDFのみ:トレイラーソース" #: ../../document.rst:98 b323bdef35c64155905c4cc4403eac19 msgid ":meth:`Document.prev_location`" msgstr "" #: ../../document.rst:98 7617a1f4aac44dddbcc6f92b8d6c45c0 msgid "return (chapter, pno) of preceding page" msgstr "前のページの(章、pno)を返す" #: ../../document.rst:99 dedcbf0566f74df9aad30be8105ef527 #, fuzzy msgid ":meth:`Document.rewrite_images`" msgstr ":meth:`Document.make_bookmark` によって作成されたもの。" #: ../../document.rst:99 974b6b3159ed459e8e279788df4cced8 msgid "PDF only: rewrite / extra compression for images" msgstr "" #: ../../document.rst:100 d2f820953f0446d8be040f143bfd61fb #, fuzzy msgid ":meth:`Document.recolor`" msgstr ":meth:`Document.make_bookmark` によって作成されたもの。" #: ../../document.rst:100 feaa2f0d59f5474facff3305163251d5 msgid "PDF only: execute :meth:`Page.recolor` for all pages" msgstr "" #: ../../document.rst:101 51ab18b8dc104059b4b26a3cc37ee5a2 msgid ":meth:`Document.reload_page`" msgstr "" #: ../../document.rst:101 82cadc34466a4036abf146722491a023 msgid "PDF only: provide a new copy of a page" msgstr "PDFのみ:ページの新しいコピーを提供" #: ../../document.rst:102 ba53f93a3acc4fbd883b60252e16bf2d msgid ":meth:`Document.resolve_names`" msgstr "" #: ../../document.rst:102 ea55d63d05fa4c9b897eac4f3ec3a2e4 msgid "PDF only: Convert destination names into a Python dict" msgstr "PDFのみ: ページの目的地名をPythonの辞書に変換します" #: ../../document.rst:103 1f12d96d086840e0b6a9c584969fe937 msgid ":meth:`Document.save`" msgstr "" #: ../../document.rst:103 bcb05fe7cc084d47a2a47419224e8e50 msgid "PDF only: save the document" msgstr "PDFのみ:ドキュメントを保存" #: ../../document.rst:104 c17d570731634e2899a9fef7b19f17b8 msgid ":meth:`Document.saveIncr`" msgstr "" #: ../../document.rst:104 c0269e939b344fd597a6956b62bbf2bb msgid "PDF only: save the document incrementally" msgstr "PDFのみ:ドキュメントを増分保存" #: ../../document.rst:105 96f92a2b46f64f5d93f97b5e38e2e0a7 msgid ":meth:`Document.scrub`" msgstr "" #: ../../document.rst:105 1ded1c45911c40bb88b0e8789286f7a1 msgid "PDF only: remove sensitive data" msgstr "PDFのみ:機密データを削除" #: ../../document.rst:106 f6dacc40814f47b2a61ebd3fef801051 msgid ":meth:`Document.search_page_for`" msgstr "" #: ../../document.rst:106 f416a3e245d2413e9b92e1ac94a34eb9 msgid "search for a string on a page" msgstr "ページ上で文字列を検索" #: ../../document.rst:107 5b7fa0d81fc6489fb3aa22c2f9532987 msgid ":meth:`Document.select`" msgstr "" #: ../../document.rst:107 1b7f3ad42e3748a9bc0b1c819ebfb37f msgid "PDF only: select a subset of pages" msgstr "PDFのみ:ページのサブセットを選択" #: ../../document.rst:108 a1bef9a0f9aa4faf97bc5a4d7dd2c439 msgid ":meth:`Document.set_layer_ui_config`" msgstr "" #: ../../document.rst:108 4cabc4e8de1547b6933c5571b6715a17 msgid "PDF only: set OCG visibility temporarily" msgstr "PDFのみ:一時的にOCGの表示を設定" #: ../../document.rst:109 8f9c6e7f590c4b078b22910ae021833f msgid ":meth:`Document.set_layer`" msgstr "" #: ../../document.rst:109 cccc69e7410e4bb695682ffd1ad32d9f msgid "PDF only: mass changing OCG states" msgstr "PDFのみ:OCGステータスを一括変更" #: ../../document.rst:110 05d50371618b43b4aa923361a11eb0b5 msgid ":meth:`Document.set_markinfo`" msgstr "" #: ../../document.rst:110 a7ac2c7a68e546a49bd24c64b96a58e6 msgid "PDF only: set the MarkInfo values" msgstr "PDFのみ:MarkInfoの値を設定" #: ../../document.rst:111 b936b94e1de847abaf79d0a2b034e2bc msgid ":meth:`Document.set_metadata`" msgstr "" #: ../../document.rst:111 ab7be95036d144ae96c077e8c019ae15 msgid "PDF only: set the metadata" msgstr "PDFのみ:メタデータを設定" #: ../../document.rst:112 e1375d72fe6846d9a08e10a4ee9927c7 msgid ":meth:`Document.set_oc`" msgstr "" #: ../../document.rst:112 f3c50c202d7c4cdf837fb18d8b5c40cf msgid "PDF only: attach OCG/OCMD to image / form xobject" msgstr "PDFのみ:画像/フォームオブジェクトにOCG/OCMDを添付" #: ../../document.rst:113 2fdc13211d934a72829f8f6851b833e5 msgid ":meth:`Document.set_ocmd`" msgstr "" #: ../../document.rst:113 77f29139986644ce953f3f1afce1e36c msgid "PDF only: create or update an :data:`OCMD`" msgstr "PDFのみ::data:`OCMD` を作成または更新" #: ../../document.rst:114 56b1be1913b8456b8af7a92efb5bce6c msgid ":meth:`Document.set_page_labels`" msgstr "" #: ../../document.rst:114 e2ee4ffee5244f369f11d507a9b056ac msgid "PDF only: add/update page label definitions" msgstr "PDFのみ:ページラベルの定義を追加/更新" #: ../../document.rst:115 2a236deda376461d8e02dd777aa86a45 msgid ":meth:`Document.set_pagemode`" msgstr "" #: ../../document.rst:115 11e3ef0ce8e7442c849b83550cdd06e9 msgid "PDF only: set the PageMode" msgstr "PDFのみ:PageModeを設定" #: ../../document.rst:116 32bd955e107e410b89537cae1c991d61 msgid ":meth:`Document.set_pagelayout`" msgstr "" #: ../../document.rst:116 4a6c5debab1643529562d2e5e7f9ec92 msgid "PDF only: set the PageLayout" msgstr "PDFのみ:PageLayoutを設定" #: ../../document.rst:117 2144e914bdaf45a399949c3c3df56bb5 msgid ":meth:`Document.set_toc_item`" msgstr "" #: ../../document.rst:117 c03b6a76e34d4c29b288cefc04600f0d msgid "PDF only: change a single TOC item" msgstr "PDFのみ:単一のTOCアイテムを変更" #: ../../document.rst:118 f8fd3e681d2e40dbbd45e3b30913de56 msgid ":meth:`Document.set_toc`" msgstr "" #: ../../document.rst:118 c25e27e0effa448d8988947b633e20cb msgid "PDF only: set the table of contents (TOC)" msgstr "PDFのみ:目次(TOC)を設定" #: ../../document.rst:119 a304c7f00f824dd88396f97ef442c347 msgid ":meth:`Document.set_xml_metadata`" msgstr "" #: ../../document.rst:119 e2419cc26cce4233b4a8273cac482f57 msgid "PDF only: create or update document XML metadata" msgstr "PDFのみ:ドキュメントXMLメタデータを作成または更新" #: ../../document.rst:120 2e11620ea9d6476e9a56a93b2c3c2d5d msgid ":meth:`Document.subset_fonts`" msgstr "" #: ../../document.rst:120 ae59a4fbc18b440eb2a7542d14a4c882 msgid "PDF only: create font subsets" msgstr "PDFのみ:フォントのサブセットを作成" #: ../../document.rst:121 85fa8be173614f9395fad32a48d9021b msgid ":meth:`Document.switch_layer`" msgstr "" #: ../../document.rst:121 e2bf17afb8eb44fb8d394c7da1b04185 msgid "PDF only: activate OC configuration" msgstr "PDFのみ:OC設定をアクティブ化" #: ../../document.rst:122 7cf8c2ba034d430383e1bbf0dfe7f8e5 msgid ":meth:`Document.tobytes`" msgstr "" #: ../../document.rst:122 96ef34ce12fa4117920b6d9a451bfec0 msgid "PDF only: writes document to memory" msgstr "PDFのみ:ドキュメントをメモリに書き込む" #: ../../document.rst:123 9c18cc7be02846ceabcc47cb305f4e32 msgid ":meth:`Document.xref_copy`" msgstr "" #: ../../document.rst:123 1d344c6f485149d08e8cbcb30f14bbfd msgid "PDF only: copy a PDF dictionary to another :data:`xref`" msgstr "PDFのみ:PDF辞書を別の :data:`xref` にコピー" #: ../../document.rst:124 d40fcf719f7745d0988864bbd78a0702 msgid ":meth:`Document.xref_get_key`" msgstr "" #: ../../document.rst:124 73c52ddd3eee43a0a4ee02fd0c0654c6 msgid "PDF only: get the value of a dictionary key" msgstr "PDFのみ:辞書キーの値を取得" #: ../../document.rst:125 573343d13a364c9c8d257a1d98a89f3e msgid ":meth:`Document.xref_get_keys`" msgstr "" #: ../../document.rst:125 81c53f9f870f4f59a618391c6a2cb5c4 msgid "PDF only: list the keys of object at :data:`xref`" msgstr "PDFのみ: :data:`xref` のオブジェクトのキーをリスト" #: ../../document.rst:126 76398d72d880411cb46bd73eda703503 msgid ":meth:`Document.xref_object`" msgstr "" #: ../../document.rst:126 53a6e32b9e6b411ebcf5c8e3f096bd6c msgid "PDF only: get the definition source of :data:`xref`" msgstr "PDFのみ::data:`xref` の定義ソースを取得" #: ../../document.rst:127 e66235038073450c9f5a839095cac4c4 msgid ":meth:`Document.xref_set_key`" msgstr "" #: ../../document.rst:127 8204850e62a846f88fbffa42e2637b9a msgid "PDF only: set the value of a dictionary key" msgstr "PDFのみ:辞書キーの値を設定" #: ../../document.rst:128 fd30d01999014bbab567b38ddb4353f0 msgid ":meth:`Document.xref_stream_raw`" msgstr "" #: ../../document.rst:128 99ccc2453ba946e7831daec6b7581cf6 msgid "PDF only: raw stream source at :data:`xref`" msgstr "PDFのみ: :data:`xref` での生のストリームソース" #: ../../document.rst:129 413b3807f32f45a580cca989305c9008 msgid ":meth:`Document.xref_xml_metadata`" msgstr "" #: ../../document.rst:129 fe64670c8c334c77b851161354240171 msgid "PDF only: :data:`xref` of XML metadata" msgstr "PDFのみ: XMLメタデータの :data:`xref` " #: ../../document.rst:130 9db7fc2a6be446c9a0d597777ccb3db5 msgid ":attr:`Document.chapter_count`" msgstr "" #: ../../document.rst:130 d81d64b31cb94d3caeca06bd43e1e31e msgid "number of chapters" msgstr "章の数" #: ../../document.rst:131 88fa80583a8148bdb519161be5facabe msgid ":attr:`Document.FormFonts`" msgstr "" #: ../../document.rst:131 822a58355d084a57bf43f78079ad7109 msgid "PDF only: list of global widget fonts" msgstr "PDFのみ:グローバルウィジェットフォントのリスト" #: ../../document.rst:132 3187d844634044e2978d4d650d2b453e msgid ":attr:`Document.is_closed`" msgstr "" #: ../../document.rst:132 58a7a1c8d488427daf9b1a3fd1b0baa1 msgid "has document been closed?" msgstr "ドキュメントが閉じられていますか?" #: ../../document.rst:133 c6f2bfcdd3db47b9ae0572f8c6b52068 msgid ":attr:`Document.is_dirty`" msgstr "" #: ../../document.rst:133 c18fd15219484228bbb05b979d2fe93a msgid "PDF only: has document been changed yet?" msgstr "PDFのみ:ドキュメントは変更されましたか?" #: ../../document.rst:134 c0b6d32bf1e4495dbf4add91153500f6 msgid ":attr:`Document.is_encrypted`" msgstr "" #: ../../document.rst:134 8d7f114a51b14761b0bad0ab267c341c msgid "document (still) encrypted?" msgstr "ドキュメントは(まだ)暗号化されていますか?" #: ../../document.rst:135 1d1dc29fc5324c8b9c4c46188293b390 msgid ":attr:`Document.is_fast_webaccess`" msgstr "" #: ../../document.rst:135 e076fbc4f4f4419f8dfdbbc78e750bc2 msgid "is PDF linearized?" msgstr "PDFは線形化されていますか?" #: ../../document.rst:136 4c5d509be68646a2a5e6d9288e486e9d msgid ":attr:`Document.is_form_pdf`" msgstr "" #: ../../document.rst:136 7587e6c5fa74464484f04d42b82a8154 msgid "is this a Form PDF?" msgstr "これはフォームPDFですか?" #: ../../document.rst:137 fc1951f5f9b644eca1bf32692e0a1084 msgid ":attr:`Document.is_pdf`" msgstr "" #: ../../document.rst:137 6744e037129540b5a068f48e079dd435 msgid "is this a PDF?" msgstr "これはPDFですか?" #: ../../document.rst:138 03fdede084af4116b4d1587c067ff1f9 msgid ":attr:`Document.is_reflowable`" msgstr "" #: ../../document.rst:138 4a6c359253dd4c9690d177ea6a3b6683 msgid "is this a reflowable document?" msgstr "これはリフローアブルドキュメントですか?" #: ../../document.rst:139 26433c11990f4f1e902b967ec62f9520 msgid ":attr:`Document.is_repaired`" msgstr "" #: ../../document.rst:139 3c658c42265747b7b521caba0b46b998 msgid "PDF only: has this PDF been repaired during open?" msgstr "PDFのみ:このPDFは開いている間に修復されましたか?" #: ../../document.rst:140 cb53e80ca0614de784a45e404b379a60 msgid ":attr:`Document.last_location`" msgstr "" #: ../../document.rst:140 b7ace66466d54470b61071e9bfce414a msgid "(chapter, pno) of last page" msgstr "最後のページの(章、pno)" #: ../../document.rst:141 d4fd8a51760b4c4a964822cf87c4fd5b msgid ":attr:`Document.metadata`" msgstr "" #: ../../document.rst:141 e49fe7d5415b4ea0aa5ff965dea0a4c2 msgid "metadata" msgstr "メタデータ" #: ../../document.rst:142 b1eb281747194e0c9dc37769e5a35996 msgid ":attr:`Document.markinfo`" msgstr "" #: ../../document.rst:142 5c53ed8e5b3a43f790eb41430cf74c00 msgid "PDF MarkInfo value" msgstr "PDF MarkInfoの値" #: ../../document.rst:143 28f8419fd8854bc281aa1a7973a0d651 msgid ":attr:`Document.name`" msgstr "" #: ../../document.rst:143 c074932b6df14c2a9bbac171d00a72e1 msgid "filename of document" msgstr "ドキュメントのファイル名" #: ../../document.rst:144 c143ec8f77d7403ba2f5e950ada44f9f msgid ":attr:`Document.needs_pass`" msgstr "" #: ../../document.rst:144 3a653b354e264d5ab111c00c2150d5ce msgid "require password to access data?" msgstr "データにアクセスするにはパスワードが必要ですか?" #: ../../document.rst:145 57c337795d3b41af8567072e6b7cf577 msgid ":attr:`Document.outline`" msgstr "" #: ../../document.rst:145 4c478e059e5b4ac0ac83ee75ae7da76b msgid "first `Outline` item" msgstr "最初のアウトラインアイテム" #: ../../document.rst:146 396a4b645ae04c80b5961baa2e075796 msgid ":attr:`Document.page_count`" msgstr "" #: ../../document.rst:146 67b13af7113547a8918fa5f210dcfaeb msgid "number of pages" msgstr "ページ数" #: ../../document.rst:147 cd51b0df05524051bca654f008981df0 msgid ":attr:`Document.permissions`" msgstr "" #: ../../document.rst:147 f33c48f888124f82af9dc413e5f9a50e msgid "permissions to access the document" msgstr "ドキュメントへのアクセス権限" #: ../../document.rst:148 0868038137794381a564152619e1814b msgid ":attr:`Document.pagemode`" msgstr "" #: ../../document.rst:148 783f323a456349b186450d63549da121 msgid "PDF PageMode value" msgstr "PDF PageModeの値" #: ../../document.rst:149 032d2ee20d6542c4975ad6c7e2f75522 msgid ":attr:`Document.pagelayout`" msgstr "" #: ../../document.rst:149 d9816800d017496f8603c2fca0b2e1d0 msgid "PDF PageLayout value" msgstr "PDF PageLayoutの値" #: ../../document.rst:150 cf17ce8d51c043f3a964384ca0a92c53 msgid ":attr:`Document.version_count`" msgstr "" #: ../../document.rst:150 646aa6db9c8b4351b27593bdfaf5f24c msgid "PDF count of versions" msgstr "PDFバージョンの数" #: ../../document.rst:153 8f58511508294d49bd7a7f950c9bd7c9 msgid "**Class API**" msgstr "**クラスAPI**" #: ../../document.rst:174 b482340231f44738bb9cf3c571f4f7d5 msgid "Create a ``Document`` object." msgstr "``Document`` オブジェクトを作成します。" #: ../../document.rst:176 1c55311b5fa64850a06598e2a8ce9a7c msgid "With default parameters, a **new empty PDF** document will be created." msgstr "デフォルトのパラメータを使用すると、**新しい空の PDF** ドキュメントが作成されます。" #: ../../document.rst:177 22c55c2d255f491f89be960f4babb5e5 msgid "If ``stream`` is given, then the document is created from memory." msgstr "``stream`` が指定された場合、ドキュメントはメモリから作成されます。" #: ../../document.rst:178 3a8f75233dd54040a52ad9ae44d26e74 msgid "" "If ``stream`` is `None`, then a document is created from the file given " "by ``filename``." msgstr "" "*stream* が `None` の場合、*filename* " "で指定されたファイルからドキュメントが作成されます。そのタイプは拡張子から推測されます。これは *filetype* によって上書きできます。" #: ../../document.rst 00a908e8a7684c1db0a3b35d910dfc89 #: 035c82154d7945aeaedacdae5ef9e83e 0494f5c7dd3e4dbdad753d8fc418426a #: 053524db9ab3421685fe89d78c566686 09e2f20f6eb4448a8af6859f0c972be3 #: 1164be645ddb4224a7d1dfbaf1cd5aae 11a4366dcede41cfaa7fdd36496c01f8 #: 134ee532dfa449f7a4ae06f57cf5988e 13b2e4a1b9744b59bf530b2f115364c0 #: 242606a542a04a0eb4db1492072bbbd1 26c165f89a5f499eb2bad0cdc07423df #: 28a91b3ddd5446e6ac630c63f80bc46c 2d988720b730480abd51f3485f33b9dd #: 2dc2f4b45060421cb1b0e7609a77cf95 36c8dc94af7341e0bdd08b5127d8485c #: 38acd225df3c4b4ca9c150e5d7033af0 3d87ac16734548f390215976b31c8c04 #: 3ef1c3fc9e334d3fb17e329f068ea72c 409cb3c2f05441b9be706339b72b0f8b #: 448429be618e43a0b10ba1ae0e5d7e88 45ae45d35fe74d62b719166a69e7064d #: 45bce8087950479e8fa7477db3a20711 530ff5d58e3a4d9e98c9aeb8c5605bdb #: 551a6935861b439098d9d062611f616a 58261b2fcc5c49f5933bcfdab369ef17 #: 5a5aea508b954bb49e513cf02243ce16 5ac5beffb52646b18b7348ac1b2737e7 #: 5ea82374068c4ab4b571bb6daa9be348 6414b2f2a6ac4b7ba788941cca287706 #: 6a5b8d3dc8bf40e29ded3ec3e9ffc38b 6c98f98bb31f4c98ae8a19bf33683ff0 #: 6f1d6803f6944c3eb09805a162627403 6f37c861b8b84191948d358812e43a6a #: 73823030d66d461c9de9c71a08b04c67 7423014684c24e4e94f2ed1856e30e86 #: 766ac26fd7d04013a82d44a6359f02e4 7a58704d8b8c46fa9d2a7e06b609b5e6 #: 7c1441be492648c6868dc599cbcf5290 7d00af6b27284bc49da99cf2abcd1c4a #: 7f44721ca2974b3390c251bd6d32cb0d 8645eb3d5aff4b538c51ae5de766f320 #: 8cf10f5e5765410c89421d4efc29c2bb 8faa136e57734811b95284b118993d56 #: 9098706c0a9241599811b31b5e16c768 99d0a9c7f22d43fd91b94d3c9d440d40 #: 9af405444dc145959d9744d4fca8d186 9c7eefa6c1ab43fb9581311c53f3dbae #: 9cd2f9315b7e4cf6b879188ba6e88ad3 9e5092bbf1e14cdba4a8622d40c8e74a #: a542a56d8f1347c6bbbeb1c6edbd40a1 a72dfd60198e40ae9582c427e0a70e8a #: ac4cc19f3f184b118dc2bb188462d316 ac57ebf36eac4d7eb5338b7d3e1d2a38 #: af376c9284994378ba44d7d738372d08 b294f327f5df461a865037b3521e9b64 #: b34e803114f74c439be67a2ea91fa82c b38308ff71d54e1f94cc7c713b830e63 #: b8c7e0cb4b5c4e28b7cd299e01fc5c13 c37ef0bd30d84df79116ba9247cfb66c #: c8b4346f33e5443fbb32425aeaac3976 cb94891111504901bb93c32cc492a56e #: cc075b040dc84fd79ab823949da8569a cc70b1049ca94aae8a5ed47bbc2731b1 #: cc8c8e6cb09e446dbd6c913800d9e92d cd44b293d5944613acbb4ebf13982f69 #: de44007b099b4574b6ba370e8062081d e91161bf404a4c1aa6938f7206969d75 #: e92666d7cb144f5aa9320e4172973126 ecb58c0295154bcba79da2c6bb14ecd0 #: f5e2748d98ca490ba49440b716ce1557 f6ab3d9b4a4c4173b419ce4f678343f3 #: f9bc09fc5ea34227a7114500e5ce81a6 fa33f17ae9614356bbae44d1f3ec88ff #: fd852a1fe1934034b07fecc82f20016f msgid "Parameters" msgstr "パラメータ" #: ../../document.rst:180 58d96afc6c3f4041817e26ee41843ed2 msgid "" "A UTF-8 string or ``pathlib.Path`` object containing a file path. The " "document type is always determined from the file content. The " "``filetype`` parameter is ignored, except when content inspection was " "unsuccessful. This is regularly the case for plain text types like " "\"txt\", \"html\", \"xml\" etc. with a wrong or missing file extension." msgstr ""ファイルパスを含むUTF-8文字列または ``pathlib.Path`` オブジェクトです。" "ドキュメントタイプは常にファイルの内容から判定されます。" "``filetype`` パラメータは、内容の検査が失敗した場合を除いて無視されます。" "これは、誤った、または欠落したファイル拡張子を持つ " "\"txt\"、\"html\"、\"xml\" などのプレーンテキストタイプでよくあるケースです。"" #: ../../document.rst:182 42a021002ca24463805b8c682c3ef247 msgid "" "A memory area containing file data. The document type is always detected " "from the data content. The ``filetype`` parameter is ignored, except when" " content inspection was unsuccessful. This is regularly the case for " "plain text types like \"txt\", \"html\", \"xml\" etc." msgstr ""ファイルデータを含むメモリ領域です。ドキュメントタイプは常にデータの内容から検出されます。" "``filetype`` パラメータは、内容の検査が失敗した場合を除いて無視されます。" "これは、\"txt\"、\"html\"、\"xml\" などのプレーンテキストタイプでよくあるケースです。"" #: ../../document.rst:184 df0bacd926f548f7993192643669e3da msgid "" "A string specifying the type of document. This is only ever needed when " "file content inspection fails. Text types like \"txt\", \"html\", \"xml\"" " etc. cannot be disambiguated by their content. When such files are " "provided in memory or being provided with the wrong file extension, this " "parameter **must** be used." msgstr ""ドキュメントのタイプを指定する文字列です。これは、ファイル内容の検査が失敗した場合にのみ必要です。" "\"txt\"、\"html\"、\"xml\" などのテキストタイプは、その内容によって識別することができません。" "このようなファイルがメモリ内で提供される場合、または誤ったファイル拡張子で提供される場合、" "このパラメータを **必ず** 使用してください。"" #: ../../document.rst:186 78759e58f1034e9b8808547679e5f0c7 msgid "" "a rectangle specifying the desired page size. This parameter is only " "meaningful for documents with a variable page layout (\"reflowable\" " "documents), like e-books or HTML, and ignored otherwise. If specified, it" " must be a non-empty, finite rectangle with top-left coordinates (0, 0). " "Together with parameter :data:`fontsize`, each page will be accordingly " "laid out and hence also determine the number of pages." msgstr "" "希望のページサイズを指定する矩形。このパラメータは可変ページレイアウト(\"reflowable\" ドキュメント)を持つドキュメント(電子書籍や" " HTML のようなもの)にのみ意味があり、それ以外の場合は無視されます。指定される場合、非空で有限な矩形で、左上座標 (0, 0) " "を持っていなければなりません。*fontsize* パラメータと一緒に、各ページのレイアウトが適切に行われ、したがってページ数も決定されます。" #: ../../document.rst:188 a39ff59bcd5b443e8be15251425208dd msgid "" "may used together with ``height`` as an alternative to ``rect`` to " "specify layout information." msgstr "レイアウト情報を指定するための ``rect`` の代替として、 ``height`` と一緒に使用できます。" #: ../../document.rst:190 5850f945318e4c5ba3ad88d7be9ed8f7 msgid "" "may used together with ``width`` as an alternative to ``rect`` to specify" " layout information." msgstr "レイアウト情報を指定するための ``rect`` の代替として、 ``width`` と一緒に使用できます。" #: ../../document.rst:192 a2fc132738884e6f835292f70dbf813b msgid "" "the default :data:`fontsize` for reflowable document types. This " "parameter is ignored if none of the parameters ``rect`` or ``width`` and " "``height`` are specified. Will be used to calculate the page layout." msgstr "" "可変ページドキュメントタイプのデフォルト :data:`fontsize`。 ``rect`` または ``width`` と " "``height`` のいずれのパラメータも指定されていない場合、このパラメータは無視されます。ページレイアウトを計算するために使用されます。" #: ../../document.rst 31cdc47b32794a798531bbe848c5bda9 #: 8c8d6154dfd44d2ba07f8f96a6d9efca msgid "Raises" msgstr "" #: ../../document.rst:194 93b67db706e5441b96d643f164ce062f msgid "if the *type* of any parameter does not conform." msgstr "任意のパラメータの *型* が準拠していない場合。" #: ../../document.rst:195 42762fcf592649558e1963103f6dc8a7 msgid "" "if the file / path cannot be found. Re-implemented as subclass of " "`RuntimeError`." msgstr "ファイル/パスが見つからない場合。`RuntimeError` のサブクラスとして再実装されました。" #: ../../document.rst:196 2057576b00c94522986d094e8c68c1df msgid "" "if the file / path is empty or the `bytes` object in memory has zero " "length. A subclass of `FileDataError` and `RuntimeError`." msgstr "" "ファイル/パスが空であるか、メモリ内の `bytes` オブジェクトの長さがゼロの場合。`FileDataError` および " "`RuntimeError` のサブクラス。" #: ../../document.rst:197 7af323bd72ba4aeab2300ae9ce1c8deb msgid "if an unknown file type is explicitly specified." msgstr "明示的に未知のファイルタイプが指定された場合。" #: ../../document.rst:198 18d265e2b9244cc3abe76c5bbd2278b0 msgid "" "if the document has an invalid structure for the given type -- or is no " "file at all (but e.g. a folder). A subclass of `RuntimeError`." msgstr "" "ドキュメントが指定されたタイプに対して無効な構造を持っているか、ファイルではない場合(たとえば、フォルダの場合)。`RuntimeError` " "のサブクラス。" #: ../../document.rst 047c76e2fca94ff59ddfc0ba555820e2 #: 05f5daa98f00493bbb7a374f27f0a4b2 0659f08fa83e47a5955522391fa15698 #: 06edaf8239974c938d93dc80fa34d7b3 07f23348a83747a994bfc38292cb6817 #: 158edb1f340741378949ce4bab7d1208 192965113ee04caf8146575bc393c6b2 #: 2059d856b5964cc6a0bf7b8f3fda5404 22190b4c653441329a53fd9cd6af3bb8 #: 226eb33d228e44ddb55b37be48020765 24bc92cfaa3940289ca3ea8cd27d3106 #: 2dafdb9211e64d488d5e9593226ca06e 312853a1c43e4fe0a603faa0c4dceabc #: 31ab2b887428472a8ad5bd876a2c0fa3 3ecac14ada7f4ac787def38bf6a8f6cf #: 3f9435a31fca4d4d8cbb170875d2a3a4 464a3d0819674be3a513b02da8c87f09 #: 4c3f4194da5c4dea946bb543c410e000 556c0e94fdbc48f7ad1c45b988d89c4b #: 57359910ea7448e7a17fd9dedd43b13f 57bff51834564091b9d1b4055ff2a4e2 #: 6056f1e956114601907e8db93075c69d 64ecbf4b3b474f7eb72622284e2cb7ba #: 66279346c97044d48e845dc1660bd20c 729ef3cc086d42e98982d5116d01854d #: 760161a30c3e4264b6add40c459ecd55 779098b76b7e497ea7d0ac5ff5f230ba #: 7807cc54e173424c98cd91c0e09a81fe 7ae314f6b0e24da3a92ce747b3bbcf11 #: 882d32145fa2437186746febf7ff6b9e 8dd9a3cf674448ce866dfa99e2966320 #: 977bcac8f3714ed9bc2f7a27dce3d310 9988c1213e394ff0839023541b3cda02 #: acbfc888b60d461b8e34b1893ba6857b ad784150a80c454cb020cf1b36616ada #: addfabd60db741858e920a4caf7bee46 aff867c7df6c43feb44be7a1705c3c90 #: b532e1af2f86421292f40080c67d8130 ce1aa2bb29194111b35b8883f494fbbb #: cfed3fbff8a046ed885355b399d4a2ab ebbe17e44f874fdd8ecbc146d1756273 #: ec39975fff364d138618b3f0a03d7f7c f01df95655be4d7ba337b69dc87134d0 #: faa22c65030b43fabbb90aae7cc4bcbb fb61cf4fd04246d88877968bcd325279 msgid "Returns" msgstr "" #: ../../document.rst:200 cf78e0bdd8b34963964a9914c2b152e3 msgid "" "A document object. If the document cannot be created, an exception is " "raised in the above sequence. Note that PyMuPDF-specific exceptions, " "`FileNotFoundError`, `EmptyFileError` and `FileDataError` are intercepted" " if you check for `RuntimeError`. In case of problems you can see more " "detail in the internal messages store: " "`print(pymupdf.TOOLS.mupdf_warnings())` (which will be emptied by this " "call, but you can also prevent this -- consult " ":meth:`Tools.mupdf_warnings`)." msgstr "" #: ../../document.rst:200 a8c942677a9c4be198f8b855f9a7aa87 msgid "" "A document object. If the document cannot be created, an exception is " "raised in the above sequence. Note that PyMuPDF-specific exceptions, " "`FileNotFoundError`, `EmptyFileError` and `FileDataError` are intercepted" " if you check for `RuntimeError`." msgstr "" "ドキュメントオブジェクト。ドキュメントを作成できない場合、上記の順序で例外が発生します。PyMuPDF固有の例外、`FileNotFoundError`" " 、`EmptyFileError` 、および `FileDataError` は、`RuntimeError` " "をチェックする場合にキャッチされます。" #: ../../document.rst:202 e37b3dcfa1ef4bb18a5147e0847b1947 msgid "" "In case of problems you can see more detail in the internal messages " "store: `print(pymupdf.TOOLS.mupdf_warnings())` (which will be emptied by " "this call, but you can also prevent this -- consult " ":meth:`Tools.mupdf_warnings`)." msgstr "" "問題が発生した場合、内部メッセージストアで詳細を確認できます: `print(pymupdf.TOOLS.mupdf_warnings())` " "(この呼び出しによって空にされますが、これを防ぐこともできます - :meth:`Tools.mupdf_warnings` " "を参照してください)。" #: ../../document.rst:204 2b66040c852944bf8054bbb5fc40f830 msgid "Overview of possible forms, note: `open` is a synonym of `Document`::" msgstr "可能なフォームの概要、注: `open` は `Document` の同義語です::" #: ../../document.rst:221 64bcc08b1e204f36b85a92e3bf4a7b7b msgid "" "Raster images with a wrong (but supported) file extension **are no " "problem**. MuPDF will determine the correct image type when file " "**content** is actually accessed and will process it without complaint." msgstr "" "サポートされているが正しくないファイル拡張子を持つラスター画像は **問題ありません** 。MuPDFは、ファイルの実際の **内容** " "がアクセスされると正しい画像タイプを判断し、何もクレームをつけずに処理します。" #: ../../document.rst:223 f9c50ee3ebf24470b38de4cdc1f54b1b msgid "" "The Document class can be also be used as a **context manager**. Exiting " "the content manager will close the document automatically." msgstr "Document クラスは **コンテキストマネージャ** としても使用できます。終了時に、ドキュメントは自動的に閉じられます。" #: ../../document.rst:239 ../../document.rst:249 ../../document.rst:309 #: ../../document.rst:355 1730d717878941ef892b30c483eca126 #: 483dca214c8e48079d2e4c46ba3235ca 4d05d842450e4edfae325ef65d2b7611 #: f30d1bf6555e43a49b37fc613c1508b0 msgid "New in v1.18.4" msgstr "v1.18.4 で新規追加" #: ../../document.rst:241 eba6c4b1e61146a6bb640a3f95719819 msgid "" "Return the cross reference number of an :data:`OCG` or :data:`OCMD` " "attached to an image or form xobject." msgstr "画像またはフォームXObjectに添付された :data:`OCG` または :data:`OCMD` のクロスリファレンス番号を返します。" #: ../../document.rst:243 ad2e8305cca245ccbb0fb3c0b6258d90 msgid "" "the :data:`xref` of an image or form xobject. Valid such cross reference " "numbers are returned by :meth:`Document.get_page_images`, resp. " ":meth:`Document.get_page_xobjects`. For invalid numbers, an exception is " "raised." msgstr "" "画像またはフォームXObjectの :data:`xref` " "。有効なクロスリファレンス番号は、:meth:`Document.get_page_images` または " ":meth:`Document.get_page_xobjects` で返されます。無効な番号の場合、例外が発生します。" #: ../../document.rst 0500953c20e7437cb07eb1e5b5ab6d95 #: 0a34e8c806934adbb39a562cec45ed00 0dbcdc6042ab41719e7bfb23d45e9498 #: 0f529499a28c45e689047cb279bef176 2dfb2fc75f3c4ae48c9621d951c8b20d #: 34e50adf35b049d59f94366d6a1c4d01 3c8c31137eed41449dd23adac7aa0431 #: 4b2ccda028124833b98c4b8d75dc5796 4bef2068106e4e12b153e5f9c3d0a73f #: 553755100d5e4a9fbdac0009e6aab03b 613035964f614edeaf5c9e07ebae1838 #: 6ef8b75ae6c942cb8bab3048fece0e1c 7f12d638e7764df0b3b1b81088afcdad #: 80b0f09950a4445fa028f7bff7e85366 80f84520db924d0398f865a7c6875a5f #: 821c42fa24fe4ff68ef126f5150071ab 8a85efe68f114c0eae3355efc6be9ed9 #: 90fd0a7b1fd84565868c7a4915335e92 910331f87ce84bedb176f82e21061663 #: ab6d6004faef490596417bcdad04ff0e ab9ee70f563b4f58b630bd00db9096cc #: b1fb8a32cfbf4a3185cc6a0b9dffa6f0 b35706daab7e445e88f47d8377413f7f #: ba9ffa28e36f4e13bbd25d4f25a464a1 bfdee673d70a4b918589e416740c1b9c #: cbc5f629858c4424b7ee4ec850a7588b cd443890b968437eae8ea9cc73288cec #: d1a86fcdf8044a5cae21c2c3e71a8a30 d211bea9230d4be78a69c08250062eca #: e5405416c793476395b89cc26926e4a6 e810c1ec77c24b9b983b6168bc72c737 #: e9ad8885d4414821ab5dda6ccb064634 f51ea798020a41dfa00ef5586e64de2a #: f8a557a2ff2a48ecbece73e853f0a03b fc5ab7c5392b43dfb5212c6091f15304 #: fef16f5342014574b4c13ceed01202b0 msgid "Return type" msgstr "戻り値の型" #: ../../document.rst:245 c041477b58714e209412601d6ad826df msgid "" "the cross reference number of an optional contents object or zero if " "there is none." msgstr "オプションコンテンツオブジェクトのクロスリファレンス番号、または存在しない場合はゼロ。" #: ../../document.rst:251 c8de893dbc234e21bc29025c8fced233 msgid "" "If :data:`xref` represents an image or form xobject, set or remove the " "cross reference number *ocxref* of an optional contents object." msgstr "" ":data:`xref` が画像またはフォームXObjectを表す場合、オプションコンテンツオブジェクトのクロスリファレンス番号 *ocxref*" " を設定または削除します。" #: ../../document.rst:253 6267c33679a84edbad42cf549b96a4d7 msgid "" "the :data:`xref` of an image or form xobject [#f5]_. Valid such cross " "reference numbers are returned by :meth:`Document.get_page_images`, resp." " :meth:`Document.get_page_xobjects`. For invalid numbers, an exception is" " raised." msgstr "" "画像またはフォームXObjectの :data:`xref` " "[#f5]_。有効なクロスリファレンス番号は、:meth:`Document.get_page_images` または " ":meth:`Document.get_page_xobjects` で返されます。無効な番号の場合、例外が発生します。" #: ../../document.rst:254 dafcd054da864b7bac355ee5b787c2db msgid "" "the :data:`xref` number of an :data:`OCG` / :data:`OCMD`. If not zero, an" " invalid reference raises an exception. If zero, any OC reference is " "removed." msgstr "" ":data:`OCG` / :data:`OCMD` の :data:`xref` " "番号。ゼロでない場合、無効な参照は例外を発生させます。ゼロの場合、任意のOC参照が削除されます。" #: ../../document.rst:259 ../../document.rst:269 ../../document.rst:280 #: ../../document.rst:292 ../../document.rst:366 ../../document.rst:378 #: ../../document.rst:400 ../../document.rst:418 ../../document.rst:434 #: 23926cee6be044648a5c37b816d143bd 5cb2942c0bd2436aa86c4ef9fe4aeb7c #: 89fe4090f50d42499290ad8b8c5d9d27 8aab2fbbb4b740cc93f678bbf28f5d89 #: bbf66277dd1d49b8aa08f5333630c6aa bfee650f7a0840288662be53901e0e16 #: d64e06f1af29426e832fa442c29fae08 e6c3241b846345b49e2c2654f71724b5 #: ec6c47d3bc2e4eeb91c14aba11424529 msgid "New in v1.18.3" msgstr "v1.18.3 で新規追加" #: ../../document.rst:261 4a50ac946de94468b0d17ce0c5cd0bfd msgid "" "Show optional layer configurations. There always is a standard one, which" " is not included in the response." msgstr "オプションのレイヤー構成を表示します。常に標準のものが存在し、それは応答に含まれていません。" #: ../../document.rst:271 62a7c759e42d4b04873f1b12d3184db4 msgid "" "Add an optional content configuration. Layers serve as a collection of ON" " / OFF states for optional content groups and allow fast visibility " "switches between different views on the same document." msgstr "" "オプションのコンテンツ構成を追加します。レイヤーはオプションコンテンツグループのON / " "OFFの状態のコレクションとして機能し、同じドキュメントの異なるビュー間での高速な表示切り替えを可能にします。" #: ../../document.rst:273 0407f1ddb2e2486d857a6ecfee7bdd01 msgid "arbitrary name." msgstr "任意の名前。" #: ../../document.rst:274 78e5e16c7cde40f587fa378470778e67 msgid "(optional) creating software." msgstr "(オプション)作成ソフトウェア。" #: ../../document.rst:275 141b82fff5454e1bb16c1ad6b039bbed msgid "" "a sequence of OCG :data:`xref` numbers which should be set to ON when " "this layer gets activated. All OCGs not listed here will be set to OFF." msgstr "" "このレイヤーがアクティブになったときにONに設定されるOCG :data:`xref` " "番号のシーケンス。ここでリストされていないすべてのOCGはOFFに設定されます。" #: ../../document.rst:282 f4c042d87e1840a2843af4d4117001eb msgid "" "Switch to a document view as defined by the optional layer's " "configuration number. This is temporary, except if established as " "default." msgstr "オプションレイヤーの構成番号によって定義されたドキュメントビューに切り替えます。これは一時的なものであり、デフォルトとして確立されていない限り、一時的なものです。" #: ../../document.rst:284 c5e86d78dd054fe59d48bfdfd027505f msgid "config number as returned by :meth:`Document.layer_configs`." msgstr ":meth:`Document.layer_configs` によって返される構成番号。" #: ../../document.rst:285 12da226f47384fb9856ab8e3539b8f7f msgid "make this the default configuration." msgstr "これをデフォルト構成にします。" #: ../../document.rst:287 a0359149d06f41c3a0c31aa7fd513161 msgid "" "Activates the ON / OFF states of OCGs as defined in the identified layer." " If ``as_default=True``, then additionally all layers, including the " "standard one, are merged and the result is written back to the standard " "layer, and **all optional layers are deleted**." msgstr "" "識別されたレイヤーで定義されたOCGのON / OFFの状態をアクティブにします。 ``as_default=True`` " "の場合、追加で、標準のレイヤーを含むすべてのレイヤーがマージされ、結果が標準レイヤーに書き込まれ、 " "**すべてのオプションレイヤーが削除されます** 。" #: ../../document.rst:294 019d0c5001d94da99732a3ea85edb766 msgid "" "Add an optional content group. An OCG is the most important unit of " "information to determine object visibility. For a PDF, in order to be " "regarded as having optional content, at least one OCG must exist." msgstr "オプションコンテンツグループを追加します。OCGはオブジェクトの表示を決定するための最も重要な情報単位です。PDFでは、オプションコンテンツとして扱われるためには、少なくとも1つのOCGが存在する必要があります。" #: ../../document.rst:296 df98d756b4024732b2403d8409bb80d0 msgid "arbitrary name. Will show up in supporting PDF viewers." msgstr "任意の名前。サポートするPDFビューアに表示されます。" #: ../../document.rst:297 645459e390354faea10340dc61b7b599 msgid "layer configuration number. Default -1 is the standard configuration." msgstr "レイヤー構成番号。デフォルトは-1で、標準構成です。" #: ../../document.rst:298 f6fa2faa541148c5accbe497d973571b msgid "standard visibility status for objects pointing to this OCG." msgstr "このOCGを指すオブジェクトの標準の表示状態。" #: ../../document.rst:299 40453f0b3a0b40219a2f25b7ebc97193 msgid "" "a string or list of strings declaring the visibility intents. There are " "two PDF standard values to choose from: \"View\" and \"Design\". Default " "is \"View\". Correct **spelling is important**." msgstr "" "表示意図を宣言する文字列または文字列のリスト。PDF標準の2つの値から選択できます: \"View\" と \"Design\"。デフォルトは " "\"View\" です。 **正確なスペルが重要です** 。" #: ../../document.rst:300 5c48545ceb124bb5a9377cf6d70d146f msgid "" "another influencer for OCG visibility. This will become part of the OCG's" " `/Usage` key. There are two PDF standard values to choose from: " "\"Artwork\" and \"Technical\". Default is \"Artwork\". Please only change" " when required." msgstr "" "OCGの表示に影響を与えるもう一つの要因。これはOCGの `/Usage` キーの一部になります。PDF標準の2つの値から選択できます: " "\"Artwork\" と \"Technical\"。デフォルトは \"Artwork\" です。必要な場合にのみ変更してください。" #: ../../document.rst:302 747d12bc0ae0484c9865443714401394 msgid "" ":data:`xref` of the created OCG. Use as entry for `oc` parameter in " "supporting objects." msgstr "作成されたOCGの :data:`xref` 。サポートオブジェクトの `oc` パラメータのエントリとして使用します。" #: ../../document.rst:304 e6da50b60736424ab6212f1f73d1e613 msgid "" "Multiple OCGs with identical parameters may be created. This will not " "cause problems. Garbage option 3 of :meth:`Document.save` will get rid of" " any duplicates." msgstr "" "同一のパラメータを持つ複数のOCGを作成することができます。これは問題を引き起こしません。:meth:`Document.save` " "のゴミオプション3を使用すれば、重複を削除できます。" #: ../../document.rst:311 af571053832447268949688f1f4dfb77 msgid "" "Create or update an :data:`OCMD`, **Optional Content Membership " "Dictionary.**" msgstr ":data:`OCMD` ( **Optional Content Membership Dictionary** )を作成または更新します。" #: ../../document.rst:313 176f6da4c473440c9136b9f539104722 msgid ":data:`xref` of the OCMD to be updated, or 0 for a new OCMD." msgstr "更新するOCMDの :data:`xref` 、または新しいOCMDの場合は0" #: ../../document.rst:314 c62679a99da644e8b4803a0c9d329a9a msgid "a sequence of :data:`xref` numbers of existing :data:`OCG` PDF objects." msgstr "既存の :data:`OCG` PDFオブジェクトの :data:`xref` 番号のシーケンス。" #: ../../document.rst:315 4b77e6d94ae7432085d1e1936f946ec6 msgid "" "one of \"AnyOn\" (default), \"AnyOff\", \"AllOn\", \"AllOff\" (mixed or " "lower case)." msgstr "\"AnyOn\"(デフォルト)、\"AnyOff\"、\"AllOn\"、\"AllOff\"のいずれか。大文字小文字は区別されません。" #: ../../document.rst:316 52aa1d09e9274734ae9c2082f3543182 msgid "" "a \"visibility expression\". This is a list of arbitrarily nested other " "lists -- see explanation below. Use as an alternative to the combination " "*ocgs* / *policy* if you need to formulate more complex conditions." msgstr "" "\"表示条件式\"。これは他のリストを任意に入れ子にしたリストです - 説明は以下を参照してください。より複雑な条件を定式化する必要がある場合、 " "*ocgs* / *policy* の組み合わせの代替として使用します。" #: ../../document.rst:318 82c5e6b9f0df4f9e8364caf4e1030f20 msgid "" ":data:`xref` of the OCMD. Use as `oc=xref` parameter in supporting " "objects, and respectively in :meth:`Document.set_oc` or " ":meth:`Annot.set_oc`." msgstr "" "OCMDの :data:`xref` 。サポートオブジェクトの `oc=xref` " "パラメータとして使用し、:meth:`Document.set_oc` または :meth:`Annot.set_oc` にもそれぞれ使用します。" #: ../../document.rst:322 ff4a88e9bc164073a711f1c9e12ff4e5 msgid "" "Like an OCG, an OCMD has a visibility state ON or OFF, and it can be used" " like an OCG. In contrast to an OCG, the OCMD state is determined by " "evaluating the state of one or more OCGs via special forms of **boolean " "expressions.** If the expression evaluates to true, the OCMD state is ON " "and OFF for false." msgstr "" "OCGと同様に、OCMDには表示状態ONまたはOFFがあり、OCGのように使用できます。OCGとは異なり、OCMDの状態は **ブール式** " "の特別な形式を使用して1つ以上のOCGの状態を評価することによって決定されます。式がtrueに評価される場合、OCMDの状態はONで、falseに評価される場合はOFFです。" #: ../../document.rst:324 7624a64d7d344afcb6b9c711969255fd msgid "There are two ways to formulate OCMD visibility:" msgstr "OCMDの表示を定式化する方法は2つあります:" #: ../../document.rst:326 f286a0292bdc4233bb5cae6692a86360 msgid "" "Use the combination of *ocgs* and *policy*: The *policy* value is " "interpreted as follows:" msgstr "*ocgs* と *policy* の組み合わせを使用する: *policy* の値は次のように解釈されます:" #: ../../document.rst:328 cd5febb83dd14249b5c74b772683ca78 msgid "AnyOn -- (default) true if at least one OCG is ON." msgstr "(デフォルト) 少なくとも1つのOCGがONの場合、true。" #: ../../document.rst:329 d198b9b66f374b60b940b079312cd963 msgid "AnyOff -- true if at least one OCG is OFF." msgstr "少なくとも1つのOCGがOFFの場合、true。" #: ../../document.rst:330 075a921c145249f5b1eca9f6602422ba msgid "AllOn -- true if all OCGs are ON." msgstr "すべてのOCGがONの場合、true。" #: ../../document.rst:331 fa6c2c43aba44d159e35b8f57e646e0c msgid "AllOff -- true if all OCGs are OFF." msgstr "すべてのOCGがOFFの場合、true。" #: ../../document.rst:333 06df4aa95eb7403f92d354cdafc71cc9 msgid "" "Suppose you want two PDF objects be displayed exactly one at a time (if " "one is ON, then the other one must be OFF):" msgstr "2つのPDFオブジェクトを、必ず1つずつ表示するようにしたい場合(1つがONの場合、他の1つはOFFにする必要があります):" #: ../../document.rst:335 65c7260ce3b54ff484d2f1642d17fc89 msgid "" "Solution: use an **OCG** for object 1 and an **OCMD** for object 2. " "Create the OCMD via `set_ocmd(ocgs=[xref], policy=\"AllOff\")`, with the " ":data:`xref` of the OCG." msgstr "" "解決策: オブジェクト1用のOCGとオブジェクト2用のOCMDを使用します。 OCMDは `set_ocmd(ocgs=[xref], " "policy=\"AllOff\")` を使用して作成し、OCGの :data:`xref` を指定します。" #: ../../document.rst:337 daf6a22c4b2a43d6a4bab99eff6c02c3 msgid "" "Use the **visibility expression** *ve*: This is a list of two or more " "items. The **first item** is a logical keyword: one of the strings " "**\"and\"**, **\"or\"**, or **\"not\"**. The **second** and all " "subsequent items must either be an integer or another list. An integer " "must be the :data:`xref` number of an OCG. A list must again have at " "least two items starting with one of the boolean keywords. This syntax is" " a bit awkward, but quite powerful:" msgstr "" "**表示条件式** *ve* を使用する: これは2つ以上のアイテムから成るリストです。 **最初のアイテム** は論理キーワードで、文字列 " "**\"and\"** 、**\"or\"** 、または **\"not\"** " "のいずれかです。2番目以降のアイテムは整数または別のリストである必要があります。整数はOCGの :data:`xref` " "番号でなければなりません。リストは再び少なくとも2つのアイテムから始まり、ブールキーワードのいずれかで始まる必要があります。この構文はやや厄介ですが、非常に強力です:" #: ../../document.rst:339 3542e922141d45e9bcd5d64b3ad00ead msgid "Each list must start with a logical keyword." msgstr "各リストは論理キーワードで始まる必要があります。" #: ../../document.rst:340 fa6c94f45a68492895b165d5688053b2 msgid "" "If the keyword is a **\"not\"**, then the list must have exactly two " "items. If it is **\"and\"** or **\"or\"**, any number of other items may " "follow." msgstr "" "キーワードが **\"not\"** の場合、リストは正確に2つのアイテムを持たなければなりません。 **\"and\"** または " "**\"or\"** の場合、その後にいくつでも他のアイテムが続くことができます。" #: ../../document.rst:341 2d88da6745cb40e5afe68d8a712a15df msgid "" "Items following the logical keyword may be either integers or again a " "list. An *integer* must be the xref of an OCG. A *list* must conform to " "the previous rules." msgstr "" "論理キーワードの後に続くアイテムは、整数または再びリストである必要があります。 *整数* はOCGのxref番号でなければなりません。 *リスト*" " は前述のルールに従う必要があります。" #: ../../document.rst:343 d786a59eab5449a5ad1c6130e01c2bca msgid "**Examples:**" msgstr "**例:** " #: ../../document.rst:345 32e37d05f4b94a2c9f8a2241e144216c msgid "" "`set_ocmd(ve=[\"or\", 4, [\"not\", 5], [\"and\", 6, 7]])`. This delivers " "ON if the following is true: **\"4 is ON, or 5 is OFF, or 6 and 7 are " "both ON\"**." msgstr "" "`set_ocmd(ve=[\"or\", 4, [\"not\", 5], [\"and\", 6, 7]])` " "。これは次の条件がtrueの場合にONを返します: **\"4がON、または5がOFF、または6と7が両方ON** \"。" #: ../../document.rst:346 8bff1ec6e8a545a19fcf60c341c39b3f msgid "" "`set_ocmd(ve=[\"not\", xref])`. This has the same effect as the OCMD " "example created under 1." msgstr "`set_ocmd(ve=[\"not\", xref])` 。これは1で作成されたOCMDの例と同じ効果があります。" #: ../../document.rst:348 bb5ab99cc5154c058bd6c6c21d77efdb msgid "" "For more details and examples see page 224 of :ref:`AdobeManual`. Also do" " have a look at example scripts `here `_." msgstr "" "詳細と例については、 :ref:`AdobeManual` の224ページを参照してください。また、`こちら " "`_ の例のスクリプトもご覧いただけます。" #: ../../document.rst:350 710f05e9b696464fa3f0137f62c2204b msgid "" "Visibility expressions, `/VE`, are part of PDF specification version 1.6." " So not all PDF viewers / readers may already support this feature and " "hence will react in some standard way for those cases." msgstr "" "表示条件式 `/VE` " "はPDF仕様バージョン1.6の一部です。したがって、すべてのPDFビューア/リーダーがすでにこの機能をサポートしているわけではなく" #: ../../document.rst:357 fad572b38ee64c15b7ffc0ca037efa59 msgid "Retrieve the definition of an :data:`OCMD`." msgstr ":data:`OCMD` の定義を取得します。" #: ../../document.rst:359 3a57bb52cf234bbeaa0eef4f2d589d31 msgid "the :data:`xref` of the OCMD." msgstr ":data:`xref` (int)- OCMDのxref。" #: ../../document.rst:361 8beef4ef63b642df94ebb105bec160d8 msgid "a dictionary with the keys :data:`xref`, *ocgs*, *policy* and *ve*." msgstr ":data:`xref` 、*ocgs* 、*policy*、*ve* のキーを持つ辞書" #: ../../document.rst:368 e2155a3ac05040b9add64191e6b9e0ff msgid "" "List of optional content groups by status in the specified configuration." " This is a dictionary with lists of cross reference numbers for OCGs that" " occur in the arrays `/ON`, `/OFF` or in some radio button group " "(`/RBGroups`)." msgstr "" "指定された構成内のステータス別オプションコンテンツグループのリスト。これは、OCGsのクロスリファレンス番号のリストを持つ辞書で、`/ON` " "、`/OFF` 、またはラジオボタングループ (`/RBGroups`) のいずれかに出現するOCGsに対応しています。" #: ../../document.rst:370 5c4df35639784744a466356b3362cbc6 msgid "the configuration layer (default is the standard config layer)." msgstr "構成レイヤー(デフォルトは標準の構成レイヤー)。" #: ../../document.rst:380 2f281f33088346b08c527ae42e6f1c4e msgid "Changed in v1.22.5: Support list of *locked* OCGs." msgstr "バージョン1.22.5で変更: *ロックされた* OCGのリストをサポート。" #: ../../document.rst:382 e1b37420106d4246a034d0a858461ca2 msgid "" "Mass status changes of optional content groups. **Permanently** sets the " "status of OCGs." msgstr "オプションコンテンツグループの大量ステータス変更。OCGのステータスを **永続的に** 設定します。" #: ../../document.rst:384 a2e67c4937b043b797822f7cd599b808 msgid "desired configuration layer, choose -1 for the default one." msgstr "希望の構成レイヤー、デフォルトのものには-1を選択します。" #: ../../document.rst:385 a5d626582a0c4adeac28522f8e23f533 msgid "" "list of :data:`xref` of OCGs to set ON. Replaces previous values. An " "empty list will cause no OCG being set to ON anymore. Should be specified" " if `basestate=\"ON\"` is used." msgstr "" "ONに設定するOCGの :data:`xref` " "のリスト。以前の値を置換します。空のリストはもうOCGをONに設定しなくなります。`basestate=\"ON\"` " "が使用される場合は指定する必要があります。" #: ../../document.rst:386 b105d154868648c0a78aa7ddeab0e341 msgid "" "list of :data:`xref` of OCGs to set OFF. Replaces previous values. An " "empty list will cause no OCG being set to OFF anymore. Should be " "specified if `basestate=\"OFF\"` is used." msgstr "" "OFFに設定するOCGの :data:`xref` のリスト。以前の値を置換します。空のリストはもうOCGをOFFに設定しなくなります。 " "`basestate=\"OFF\"` が使用される場合は指定する必要があります。" #: ../../document.rst:387 00ee5fd0e019474a870809b586d7a8dc msgid "" "state of OCGs that are not mentioned in *on* or *off*. Possible values " "are \"ON\", \"OFF\" or \"Unchanged\". Upper / lower case possible." msgstr "" "*on* または *off* " "で言及されていないOCGの状態。可能な値は「ON」、「OFF」または「Unchanged」です。大文字/小文字を区別できます。" #: ../../document.rst:388 00be43e01f734962a6706a02e112feb2 msgid "" "a list of lists. Replaces previous values. Each sublist should contain " "two or more OCG xrefs. OCGs in the same sublist are handled like buttons " "in a radio button group: setting one to ON automatically sets all other " "group members to OFF." msgstr "" "リストのリスト。以前の値を置換します。各サブリストには2つ以上のOCG " "xrefを含める必要があります。同じサブリスト内のOCGはラジオボタングループ内のボタンのように処理され、1つをONに設定すると他のすべてのグループメンバーがOFFに設定されます。" #: ../../document.rst:389 fa0a09aca08c40b1b90f36b23146c355 msgid "a list of OCG xref number that cannot be changed by the user interface." msgstr "ユーザーインターフェースで変更できないOCG xref番号のリスト。" #: ../../document.rst:391 e1c4e0490d9940e1883ad98f81859df8 msgid "Values `None` will not change the corresponding PDF array." msgstr "値 `None` は対応するPDF配列を変更しません。" #: ../../document.rst:402 6b83e49681b24a10b144d4a9e4acc01d msgid "" "Details of all optional content groups. This is a dictionary of " "dictionaries like this (key is the OCG's :data:`xref`):" msgstr "オプションコンテンツグループの詳細情報。これは次のような辞書の辞書です(キーはOCGの :data:`xref` です):" #: ../../document.rst:420 36edc40743fe4afb943bac223003f082 msgid "" "Show the visibility status of optional content that is modifiable by the " "user interface of supporting PDF viewers." msgstr "サポートするPDFビューアのユーザーインターフェースで変更可能なオプションコンテンツの表示状態を表示します。" #: ../../document.rst:422 75b0b7f00565469eb5c15de91d146e92 msgid "" "Only reports items contained in the currently selected layer " "configuration." msgstr "現在選択されているレイヤー設定に含まれるアイテムのみを報告します。" #: ../../document.rst:429 34d23ea600964ffa9e171337ddac9bef msgid "The meaning of the dictionary keys is as follows:" msgstr "辞書のキーの意味は次の通りです:" #: ../../document.rst:425 a6f590d8251a4781a92016be8710b113 msgid "*depth:* item's nesting level in the `/Order` array" msgstr "*depth:* `/Order` 配列内のアイテムのネストレベル" #: ../../document.rst:426 f6a9c537d38e4cdb89490b8d63d75c4b msgid "*locked:* true if cannot be changed via user interfaces" msgstr "*locked:* ユーザーインターフェースを介して変更できない場合はtrue" #: ../../document.rst:427 208b1ca352e74127bda9ca8a9983cbe6 msgid "*number:* running sequence number" msgstr "*number:* 連続するシーケンス番号" #: ../../document.rst:428 ab611eafc0ae4bbfb5cfc33ec4c9f161 msgid "*on:* item state" msgstr "*on:* アイテムの状態" #: ../../document.rst:429 6fd780d71a13487ca690fbfc3311d4bd msgid "*text:* text string or name field of the originating OCG" msgstr "*text:* 元のOCGのテキスト文字列または名前フィールド" #: ../../document.rst:430 286752141da0452e9dff2a920379fecb msgid "" "*type:* one of \"label\" (set by a text string), \"checkbox\" (set by a " "single OCG) or \"radiobox\" (set by a set of connected OCGs)" msgstr "" "*type:* \"label\"(テキスト文字列によって設定)、\"checkbox\"(単一のOCGによって設定)、または " "\"radiobox\"(接続されたOCGのセットによって設定)のいずれか" #: ../../document.rst:436 623754e00b3f43feaccf231803da154d msgid "" "Modify OC visibility status of content groups. This is analog to what " "supporting PDF viewers would offer." msgstr "コンテンツグループのOC表示状態を変更します。これは、サポートするPDFビューアが提供するものと同様です。" #: ../../document.rst:438 7a68db8cb2cb477680821155ce320684 msgid "" "Please note that visibility is **not** a property stored with the OCG. It" " is not even information necessarily present in the PDF document at all. " "Instead, the current visibility is **temporarily** set using the user " "interface of some supporting PDF consumer software. The same type of " "functionality is offered by this method." msgstr "" "表示状態はOCGとして保存されるプロパティ **ではない** " "ことに注意してください。それはPDFドキュメントに必ずしも存在しない情報でもありません。代わりに、現在の表示状態はサポートするPDF消費者ソフトウェアのユーザーインターフェースを使用して**一時的に**" " 設定されます。このメソッドでも同じタイプの機能が提供されます。" #: ../../document.rst:440 81a92011a9ea497fb7600465d2f7249c msgid "To make **permanent** changes, use :meth:`Document.set_layer`." msgstr "**永続的な** 変更を行うには、:meth:`Document.set_layer` を使用してください。" #: ../../document.rst:442 995bfe639a02475fbeeb37b8f6e73e95 msgid "" "either the sequence number of the item in list " ":meth:`Document.layer_configs` or the \"text\" of one of these items." msgstr ":meth:`Document.layer_configs` リストのアイテムのシーケンス番号またはこれらのアイテムの「テキスト」。" #: ../../document.rst:443 775f2c9f68934b7098b0531a61f3e3a1 msgid "" "`PDF_OC_ON` = set on (default), `PDF_OC_TOGGLE` = toggle on/off, " "`PDF_OC_OFF` = set off." msgstr "" "`PDF_OC_ON` = ONに設定(デフォルト)、`PDF_OC_TOGGLE` = ON/OFFを切り替え、`PDF_OC_OFF` = " "OFFに設定。" #: ../../document.rst:448 27be24636736454f8669d2bf32f5850e msgid "" "Decrypts the document with the string *password*. If successful, document" " data can be accessed. For PDF documents, the \"owner\" and the \"user\" " "have different privileges, and hence different passwords may exist for " "these authorization levels. The method will automatically establish the " "appropriate (owner or user) access rights for the provided password." msgstr "" "文字列の *パスワード* " "でドキュメントを複合化します。成功した場合、ドキュメントデータにアクセスできます。PDFドキュメントの場合、「オーナー」および「ユーザー」には異なる特権があり、したがってこれらの認証レベルに異なるパスワードが存在する可能性があります。このメソッドは提供されたパスワードに適切な(オーナーまたはユーザー)アクセス権を自動的に確立します。" #: ../../document.rst:450 85327273191345d7a0064b7bfa2198b3 msgid "owner or user password." msgstr "オーナーまたはユーザーパスワード。" #: ../../document.rst:453 9c5364f7fc154375a06079af2df92681 msgid "" "a positive value if successful, zero otherwise (the string does not match" " either password). If positive, the indicator " ":attr:`Document.is_encrypted` is set to ``False``. **Positive** return " "codes carry the following information detail: * 1 => authenticated, but " "the PDF has neither owner nor user passwords. * 2 => authenticated with " "the **user** password. * 4 => authenticated with the **owner** password. " "* 6 => authenticated and both passwords are equal -- probably a rare " "situation. .. note:: The document may be protected by an owner, but " "**not** by a user password. Detect this situation via " "`doc.authenticate(\"\") == 2`. This allows opening and reading the " "document without authentication, but, depending on the " ":attr:`Document.permissions` value, other actions may be prohibited. " "PyMuPDF (like MuPDF) in this case **ignores those restrictions**. So, -- " "in contrast to any PDF viewers -- you can for example extract text and " "add or modify content, even if the respective permission flags " "`PDF_PERM_COPY`, `PDF_PERM_MODIFY`, `PDF_PERM_ANNOTATE`, etc. are set " "off! It is your responsibility building a legally compliant application " "where applicable." msgstr "" #: ../../document.rst:453 08583032eafa41b7ac9b194f3bda03fa msgid "" "a positive value if successful, zero otherwise (the string does not match" " either password). If positive, the indicator " ":attr:`Document.is_encrypted` is set to ``False``. **Positive** return " "codes carry the following information detail:" msgstr "" "成功した場合は正の値、それ以外はゼロです(文字列がどちらのパスワードとも一致しない場合)。正の戻り値がある場合、インジケータ " ":attr:`Document.is_encrypted` は ``False`` に設定されます。**正の** " "戻り値コードには、次の情報の詳細が含まれています:" #: ../../document.rst:455 91f0bb6a692a4682a4c34c71ee148f1e msgid "1 => authenticated, but the PDF has neither owner nor user passwords." msgstr "1 => 認証済み、ただしPDFにはオーナーまたはユーザーパスワードがありません。" #: ../../document.rst:456 ba4f57095e824261b0a64d65bc13465d msgid "2 => authenticated with the **user** password." msgstr "2 => **ユーザー** パスワードで認証済み。" #: ../../document.rst:457 bfb7a0beede248c8a99fea4df83c1674 msgid "4 => authenticated with the **owner** password." msgstr "4 => **オーナー** パスワードで認証済み。" #: ../../document.rst:458 b8eaae626e8f42f29a0612cb9c166585 msgid "" "6 => authenticated and both passwords are equal -- probably a rare " "situation." msgstr "6 => 認証済みで両方のパスワードが等しい-おそらくまれな状況" #: ../../document.rst:462 73fc6cf7a70b4ed7b17c292f3bc63fa7 msgid "" "The document may be protected by an owner, but **not** by a user " "password. Detect this situation via `doc.authenticate(\"\") == 2`. This " "allows opening and reading the document without authentication, but, " "depending on the :attr:`Document.permissions` value, other actions may be" " prohibited. PyMuPDF (like MuPDF) in this case **ignores those " "restrictions**. So, -- in contrast to any PDF viewers -- you can for " "example extract text and add or modify content, even if the respective " "permission flags `PDF_PERM_COPY`, `PDF_PERM_MODIFY`, `PDF_PERM_ANNOTATE`," " etc. are set off! It is your responsibility building a legally compliant" " application where applicable." msgstr "" "ドキュメントはオーナーによって保護されている場合でも、ユーザーパスワードによって保護 **されていない** " "場合があります。この状況は、`doc.authenticate(\"\") == 2` " "を使用して検出できます。これにより、認証なしでドキュメントを開いて読むことができますが、:attr:`Document.permissions` " "値に応じて、他のアクションが制限される場合があります。この場合、PyMuPDF(MuPDFと同様)はこれらの **制限を無視します** " "。したがって、`PDF_PERM_COPY` 、`PDF_PERM_MODIFY` 、`PDF_PERM_ANNOTATE` " "などの対応する許可フラグがオフに設定されていても、テキストを抽出したり、コンテンツを追加または変更したりすることができます!該当する場合、法的に適合するアプリケーションを構築する責任があります。" #: ../../document.rst:466 119ec5a546d0492cbc3d44a94c5c6e67 msgid "New in v 1.18.6" msgstr "バージョン 1.18.6 での新機能" #: ../../document.rst:468 71cef20992634be89bc64e392ac17031 msgid "" "PDF only: Return a list of page numbers that have the specified label -- " "note that labels may not be unique in a PDF. This implies a sequential " "search through **all page numbers** to compare their labels." msgstr "" "PDF のみ:指定されたラベルを持つページ番号のリストを返します。ラベルは PDF " "では一意でないことがあることに注意してください。これは、**すべてのページ番号** を逐次検索してそのラベルを比較することを意味します。" #: ../../document.rst:470 a2a599a9359442d8b21007f88a6371db msgid "Implementation detail -- pages are **not loaded** for this purpose." msgstr "実装の詳細 - この目的でページは **読み込まれません** 。" #: ../../document.rst:472 946caeaeaaec48838a6a321dc1963727 msgid "the label to look for, e.g. \"vii\" (Roman number 7)." msgstr "検索対象のラベル、例: \"vii\"(ローマ数字 7)。" #: ../../document.rst:473 76acb3f67de149159a5b95ff30cb08b6 msgid "" "stop after first hit. Useful e.g. if labelling is known to be unique, or " "there are many pages, etc. The default will check every page number." msgstr "最初の一致で停止します。ラベリングが一意であることがわかっている場合や、多くのページがある場合などに便利です。デフォルトではすべてのページ番号をチェックします。" #: ../../document.rst:475 9adccc3fc8054990ad6014e9041d93de msgid "" "list of page numbers that have this label. Empty if none found, no labels" " defined, etc." msgstr "このラベルを持つページ番号のリスト。見つからない場合やラベルが定義されていない場合などは空です。" #: ../../document.rst:480 ../../document.rst:843 ../../document.rst:864 #: ../../document.rst:1897 ../../document.rst:1921 #: 05910086455448f18e257168cd8e2a36 14ada1583e2942948f2bb1e6134d7866 #: 3450b554a2e0411eacdd819c036cccc2 80adb24663644aa28fa9a11528256936 #: 92afdec41f4a4a328c24a25cbcd0b7a6 msgid "New in v1.18.7" msgstr "バージョン 1.18.7 での新機能" #: ../../document.rst:482 743daa378cfe4792ad9fa83a2909eb8d msgid "" "PDF only: Extract the list of page label definitions. Typically used for " "modifications before feeding it into :meth:`Document.set_page_labels`." msgstr "" "PDF のみ:ページラベルの定義のリストを抽出します。通常は :meth:`Document.set_page_labels` " "に渡す前の変更に使用されます。" #: ../../document.rst:484 0f5d97b8193a461b8fe7e04b712adae9 msgid "a list of dictionaries as defined in :meth:`Document.set_page_labels`." msgstr ":meth:`Document.set_page_labels` で定義されたように辞書のリスト。" #: ../../document.rst:488 244cbe336b1e4cddb8491c05e5ec5b15 msgid "New in v1.18.6" msgstr "バージョン 1.18.6 での新機能" #: ../../document.rst:490 470a1bc4f0404283b7358f77bc840a9d msgid "PDF only: Add or update the page label definitions of the PDF." msgstr "PDF のみ:PDF のページラベルの定義を追加または更新します。" #: ../../document.rst:492 d0c5ec05dc0f4ba5a381635a4cf3c93b msgid "" "a list of dictionaries. Each dictionary defines a label building rule and" " a 0-based \"start\" page number. That start page is the first for which " "the label definition is valid. Each dictionary has up to 4 items and " "looks like `{'startpage': int, 'prefix': str, 'style': str, " "'firstpagenum': int}` and has the following items. - `startpage`: (int) " "the first page number (0-based) to apply the label rule. This key **must " "be present**. The rule is applied to all subsequent pages until either " "end of document or superseded by the rule with the next larger page " "number. - `prefix`: (str) an arbitrary string to start the label with, " "e.g. \"A-\". Default is \"\". - `style`: (str) the numbering style. " "Available are \"D\" (decimal), \"r\"/\"R\" (Roman numbers, lower / upper " "case), and \"a\"/\"A\" (lower / upper case alphabetical numbering: \"a\" " "through \"z\", then \"aa\" through \"zz\", etc.). Default is \"\". If " "\"\", no numbering will take place and the pages in that range will " "receive the same label consisting of the `prefix` value. If prefix is " "also omitted, then the label will be \"\". - `firstpagenum`: (int) start " "numbering with this value. Default is 1, smaller values are ignored." msgstr "" #: ../../document.rst:492 0fab77fbe73e4149aa809d1d7d83d4ce msgid "" "a list of dictionaries. Each dictionary defines a label building rule and" " a 0-based \"start\" page number. That start page is the first for which " "the label definition is valid. Each dictionary has up to 4 items and " "looks like `{'startpage': int, 'prefix': str, 'style': str, " "'firstpagenum': int}` and has the following items." msgstr "" "辞書のリスト。各辞書はラベル構築ルールと 0 ベースの \"start\" " "ページ番号を定義します。その開始ページはラベル定義が有効になる最初のページです。各辞書は最大 4 つの項目を持ち、 `{'startpage': " "int, 'prefix': str, 'style': str, 'firstpagenum': int}` という形式で、次の項目を持ちます。" #: ../../document.rst:494 7eeface47e22458b9ccd093d60a289a2 msgid "" "`startpage`: (int) the first page number (0-based) to apply the label " "rule. This key **must be present**. The rule is applied to all subsequent" " pages until either end of document or superseded by the rule with the " "next larger page number." msgstr "" "`startpage` :(int)ラベルルールを適用する最初のページ番号(0 ベース)。このキーは **存在する必要があります** " "。ルールはドキュメントの終端に達するか、次の大きなページ番号を持つルールに置き換えられるまで、すべての後続ページに適用されます。" #: ../../document.rst:495 74fd610222f54117be5ff8aa62d5e852 msgid "" "`prefix`: (str) an arbitrary string to start the label with, e.g. \"A-\"." " Default is \"\"." msgstr "`prefix` :(str)ラベルの先頭に付ける任意の文字列、例: \"A-\"。デフォルトは \"\" です。" #: ../../document.rst:496 27261aba29414162837b13ebf37bfbb9 msgid "" "`style`: (str) the numbering style. Available are \"D\" (decimal), " "\"r\"/\"R\" (Roman numbers, lower / upper case), and \"a\"/\"A\" (lower /" " upper case alphabetical numbering: \"a\" through \"z\", then \"aa\" " "through \"zz\", etc.). Default is \"\". If \"\", no numbering will take " "place and the pages in that range will receive the same label consisting " "of the `prefix` value. If prefix is also omitted, then the label will be " "\"\"." msgstr "" "style:(str)番号付けのスタイル。使用できるのは \"D\"(10 進数)、\"r\"/\"R\"(ローマ数字、小文字/大文字)、および " "\"a\"/\"A\"(小文字/大文字のアルファベット番号: \"a\" から \"z\"、次に \"aa\" から \"zz\" " "など)。デフォルトは \"\" です。 \"\" " "の場合、番号付けは行われず、その範囲のページはプレフィックス値から成る同じラベルを受け取ります。`prefix` も省略された場合、ラベルは " "\"\" になります。" #: ../../document.rst:497 3ceaa9f717194b72bdd2f7f205217200 msgid "" "`firstpagenum`: (int) start numbering with this value. Default is 1, " "smaller values are ignored." msgstr "`firstpagenum` :(int)この値から番号付けを開始します。デフォルトは 1 で、小さい値は無視されます。" #: ../../document.rst:499 2afd6593eaf0423e8afcd6635c826754 msgid "For example::" msgstr "例::" #: ../../document.rst:504 040ded0fb2be4e5cbeadc76208560d19 msgid "" "will generate the labels \"A-10\", \"A-11\", \"A-12\", \"A-13\", \"1\", " "\"2\", \"3\", ... for pages 6, 7 and so on until end of document. Pages 0" " through 5 will have the label \"\"." msgstr "" "次のラベルを生成します: \"A-10\"、\"A-11\"、\"A-12\"、\"A-13\"、\"1\"、\"2\"、\"3\"、... " "ページ 6、7、など、ドキュメントの終了まで続きます。ページ 0 から 5 まではラベル \"A-\" が付きます。" #: ../../document.rst:509 ../../document.rst:523 #: 0aa8b9c83c1b41719f9cbd43feabcdf8 846b39d637a5466f8c256fcfce4f4571 msgid "New in v.1.17.3" msgstr "バージョン 1.17.3 での新機能" #: ../../document.rst:511 12e98a99804a4723ac02582721c5a896 msgid "" "Return a page pointer in a reflowable document. After re-layouting the " "document, the result of this method can be used to find the new location " "of the page." msgstr "リフロータブルなドキュメント内のページポインターを返します。ドキュメントの再レイアウト後、このメソッドの結果はページの新しい位置を見つけるために使用できます。" #: ../../document.rst:513 c31102cafa52492ca638735d028e8d7f msgid "Do not confuse with items of a table of contents, TOC." msgstr "目次の項目とは混同しないでください。" #: ../../document.rst:515 9ffd70204ee543ffa134b90dad39f75a msgid "page location. Must be a valid *(chapter, pno)*." msgstr "ページの位置。有効なものである必要があります *(章、ページ番号)* 。" #: ../../document.rst:518 c028fcff4f6a4c409c5bd4f2c7094af3 msgid "" "a long integer in pointer format. To be used for finding the new location" " of the page after re-layouting the document. Do not touch or re-assign." msgstr "ポインターフォーマットの長整数。ドキュメントの再レイアウト後のページの新しい位置を見つけるために使用されます。変更しないでください。" #: ../../document.rst:525 aae59f9b08ae4ed7b02b7f7a2dd7a991 msgid "Return the new page location after re-layouting the document." msgstr "ドキュメントの再レイアウト後の新しいページの位置を返します。" #: ../../document.rst:527 a8da17fc210f4a43a9d2b4ceb3185c5f msgid "created by :meth:`Document.make_bookmark`." msgstr ":meth:`Document.make_bookmark` によって作成されたもの。" #: ../../document.rst:530 1d07a10894004002a21058fdfeac44af msgid "the new (chapter, pno) of the page." msgstr "ページの新しい(章、ページ番号)。" #: ../../document.rst:535 ../../document.rst:547 ../../document.rst:558 #: 61c1413e338345c9ab33c2b1c5f9decc 6a5cad42e88f4f499c7181e080b1f971 #: 946e1b36b28b4432a39b16f8c68d62e0 msgid "New in v.1.17.0" msgstr "バージョン 1.17.0 での新機能" #: ../../document.rst:537 c8b174e76e7b434db43abd0893095ba8 msgid "Return the number of pages of a chapter." msgstr "章のページ数を返します。" #: ../../document.rst:539 967dfc416734482196f7a8ffa7d45bd4 msgid "the 0-based chapter number." msgstr "0 ベースの章番号。" #: ../../document.rst:542 2a83ec2d4ea54b1897eeb50f82566adc msgid "" "number of pages in chapter. Relevant only for document types with chapter" " support (EPUB currently)." msgstr "章内のページ数。章のサポートを持つドキュメントタイプに関連します(現在は EPUB のみ)。" #: ../../document.rst:549 162f24578e6749c8ada15b85d4be6bea msgid "Return the location of the following page." msgstr "次のページの位置を返します。" #: ../../document.rst:551 ../../document.rst:562 #: 76dcbeac58be4a63aa5feb22ccbcc31e b635038017484753aa510b172311664a msgid "" "the current page id. This must be a tuple *(chapter, pno)* identifying an" " existing page." msgstr "現在のページ ID。これは既存のページを識別するタプル *(章、ページ番号)* である必要があります。" #: ../../document.rst:553 077a38466aeb4464b21c75847fc03419 msgid "" "The tuple of the following page, i.e. either *(chapter, pno + 1)* or " "*(chapter + 1, 0)*, **or** the empty tuple *()* if the argument was the " "last page. Relevant only for document types with chapter support (EPUB " "currently)." msgstr "" "次のページのタプル、つまり *(章、ページ番号 + 1)* または *(章 + 1、0)* 、**または** " "引数が最後のページである場合は空のタプル *()* 。章のサポートを持つドキュメントタイプに関連します(現在は EPUB のみ)。" #: ../../document.rst:560 540ac91bacd24f2184f90373daac0a7e msgid "Return the locator of the preceding page." msgstr "前のページの位置を返します。" #: ../../document.rst:564 bec578e6b61c4cc9b0f254bbcb0f48b7 msgid "" "The tuple of the preceding page, i.e. either *(chapter, pno - 1)* or the " "last page of the preceding chapter, **or** the empty tuple *()* if the " "argument was the first page. Relevant only for document types with " "chapter support (EPUB currently)." msgstr "" "前のページのタプル、つまり *(章、ページ番号 - 1)* **または** 前の章の最後のページ、または引数が最初のページである場合は空のタプル " "*()* 。章のサポートを持つドキュメントタイプに関連します(現在は EPUB のみ)。" #: ../../document.rst:569 68dfefa5502f425289fc497e0d9c6238 msgid "" "Changed in v1.17.0: For document types supporting a so-called \"chapter " "structure\" (like EPUB), pages can also be loaded via the combination of " "chapter number and relative page number, instead of the absolute page " "number. This should **significantly speed up access** for large " "documents." msgstr "" "バージョン 1.17.0 で変更: \"章の構造\" " "をサポートするドキュメントタイプ(例:EPUB)の場合、絶対ページ番号の代わりに章番号と相対ページ番号の組み合わせを使用してページをロードすることもできます。これにより、大きなドキュメントへの" " **アクセスが大幅に高速化される** はずです。" #: ../../document.rst:571 e7a2e814cced49258d2f9b21245d2ce6 msgid "" "Create a :ref:`Page` object for further processing (like rendering, text " "searching, etc.)." msgstr "さらなる処理(レンダリング、テキスト検索など)のための :ref:`Page` オブジェクトを作成します。" #: ../../document.rst:573 ac4b297778cb465a83c732f4f6565380 msgid "" "*(Changed in v1.17.0)* Either a 0-based page number, or a tuple " "*(chapter, pno)*. For an **integer**, any `-∞ < page_id < page_count` is " "acceptable. While page_id is negative, :attr:`page_count` will be added " "to it. For example: to load the last page, you can use " "*doc.load_page(-1)*. After this you have page.number = doc.page_count - " "1. For a tuple, *chapter* must be in range " ":attr:`Document.chapter_count`, and *pno* must be in range " ":meth:`Document.chapter_page_count` of that chapter. Both values are " "0-based. Using this notation, :attr:`Page.number` will equal the given " "tuple. Relevant only for document types with chapter support (EPUB " "currently)." msgstr "" #: ../../document.rst:573 b9bae2aee5bb433692e4d9ced23afc6b msgid "*(Changed in v1.17.0)*" msgstr "*(バージョン 1.17.0 で変更)*" #: ../../document.rst:575 17221ad920ec4edda2e3f56e1ee986a5 msgid "" "Either a 0-based page number, or a tuple *(chapter, pno)*. For an " "**integer**, any `-∞ < page_id < page_count` is acceptable. While page_id" " is negative, :attr:`page_count` will be added to it. For example: to " "load the last page, you can use *doc.load_page(-1)*. After this you have " "page.number = doc.page_count - 1." msgstr "" "0ベースのページ番号またはタプル *(章、ページ番号)* のいずれか。**整数** の場合、`-∞ < page_id < page_count`" " が許容されます。`page_id` が負の場合、 :attr:`page_count` " "が追加されます。たとえば、最後のページを読み込むには、*doc.load_page(-1)* を使用できます。これにより、 " "`page.number = doc.page_count - 1` となります。" #: ../../document.rst:577 039ea62786ac4483a2ff851942f8e61e msgid "" "For a tuple, *chapter* must be in range :attr:`Document.chapter_count`, " "and *pno* must be in range :meth:`Document.chapter_page_count` of that " "chapter. Both values are 0-based. Using this notation, " ":attr:`Page.number` will equal the given tuple. Relevant only for " "document types with chapter support (EPUB currently)." msgstr "" "タプルの場合、*chapter* は :attr:`Document.chapter_count` の範囲内になければならず、*ページ番号* " "はその章の :meth:`Document.chapter_page_count` " "の範囲内になければなりません。両方の値は0から始まります。この表記法を使用すると、:attr:`Page.number` " "は指定されたタプルに等しくなります。章のサポートを持つドキュメントタイプに関連します(現在は EPUB のみ)。" #: ../../document.rst:579 ../../document.rst:683 ../../document.rst:1452 #: 0006a5a1428c489b85ee1ef72f368b66 1abd4533c839432f8b762c82cf15dc63 #: 78a10b5d4c74403ab6e8fb90b05f6cc0 msgid ":ref:`Page`" msgstr "" #: ../../document.rst:583 d4516954d08e43daae3d737a83243151 msgid "" "Documents also follow the Python sequence protocol with page numbers as " "indices: *doc.load_page(n) == doc[n]*." msgstr "" "ドキュメントはページ番号をインデックスとするPythonのシーケンスプロトコルに従います:indices: *doc.load_page(n) " "== doc[n]* 。" #: ../../document.rst:585 caf16253efc94349815ad78668652297 msgid "" "For **absolute page numbers** only, expressions like *\"for page in doc: " "...\"* and *\"for page in reversed(doc): ...\"* will successively yield " "the document's pages. Refer to :meth:`Document.pages` which allows " "processing pages as with slicing." msgstr "" "**絶対ページ番号** の場合、式 *\"for page in doc: …\"* および *\"for page in " "reversed(doc): …\"* は文書のページを順次生成します。スライシングのようにページを処理できる " ":meth:`Document.pages` を参照してください。" #: ../../document.rst:587 4eec9f75b1a648e5954520327f163582 msgid "" "You can also use index notation with the new chapter-based page " "identification: use *page = doc[(5, 2)]* to load the third page of the " "sixth chapter." msgstr "" "新しい章ベースのページ識別にもインデックス表記を使用できます: *page = doc[(5, 2)]* として、 " "6番目の章の3番目のページを読み込むことができます。" #: ../../document.rst:589 d88b05b23ebe48cdbc81a8716291829e msgid "" "To maintain a consistent API, for document types not supporting a chapter" " structure (like PDFs), :attr:`Document.chapter_count` is 1, and pages " "can also be loaded via tuples *(0, pno)*. See this [#f3]_ footnote for " "comments on performance improvements." msgstr "" "一貫性のあるAPIを維持するため、章の構造をサポートしていないドキュメントタイプ(PDFなど)の場合、:attr:`Document.chapter_count`" " は1であり、ページはタプル *(0、pno)* を使用しても読み込むことができます。パフォーマンスの改善に関するコメントについては、この " "[#f3]_ の注釈を参照してください。" #: ../../document.rst:594 5877b0a8ee034827a6486e55a27c1721 msgid "" "PDF only: Walk through all images and rewrite them according to the " "specified parameters. This is useful for reducing file size, changing " "image formats, or converting color spaces." msgstr "" #: ../../document.rst:596 1894640743d14d81939992952b89a89f msgid "" "The typical usage is extra compression of images for significantly " "reducing the file size of the PDF. When setting quality and the dpi " "parameters to positive values and accepting defaults for the rest, the " "following will happen:" msgstr "" #: ../../document.rst:598 3a74a4a4263048e1bfc0579a97bb35b8 msgid "" "Lossy and lossless images will be rewritten as JPEG images " "(FZ_RECOMPRESS_JPEG) as far as technically possible." msgstr "" #: ../../document.rst:600 01a553ed3bbe401db8ad3152294f8695 msgid "" "Bitonal (monochrome) images will be rewritten in FAX format " "(FZ_RECOMPRESS_FAX)." msgstr "" #: ../../document.rst:602 38e8687fa2994142bc5da75bec6d83e2 msgid "Subsampling method is **FZ_SUBSAMPLE_AVERAGE** (see below)." msgstr "" #: ../../document.rst:604 79b3413d2429401d99ae3a43030056f6 msgid "" "target DPI value for the resampled images. Ignored if `dpi_threshold` is " "`None`, otherwise must be less than `dpi_threshold` and positive." msgstr "" #: ../../document.rst:606 41d9689ed361448fbcb5a13023c76806 msgid "" "If None (the default) no resampling takes place. Otherwise images with a " "DPI value larger than this will be resampled to `dpi_target` (which must " "be less than `dpi_threshold`)." msgstr "" #: ../../document.rst:608 29da9ea4d0af4d69a22f61ffa363e949 msgid "" "desired target JPEG quality, a value between 0 and 100. 0 means no " "quality change, 100 means best quality." msgstr "" #: ../../document.rst:610 1aa75d1dd8f3426d8dcb2ebb3b2e4c90 msgid "include lossy image types (e.g. JPEG)." msgstr "" #: ../../document.rst:612 9697131e0d414bb4933c23e702734b4d msgid "include lossless image types (e.g. PNG)." msgstr "" #: ../../document.rst:614 0c8117c9cafd459880a5aec4cc9d974d msgid "include black-and-white images (e.g. FAX)." msgstr "" #: ../../document.rst:616 21bb122962844205b76401ccbbb01a30 msgid "include colored images." msgstr "" #: ../../document.rst:618 2eb49df120b7429296a9281ccd362ad8 msgid "include grayscale images." msgstr "" #: ../../document.rst:620 b54e5d5881bd40679b8c78f0b46f72ec msgid "" "if True, the PDF will be converted to grayscale by executing " ":meth:`Document.recolor` before all image processing. Please note that " "this will also change text and vector graphics to grayscale -- not just " "the images." msgstr "" #: ../../document.rst:622 3afbe56d4eae4bf291351d87ea284a07 msgid "" "This parameter is intended for expert users. Except ``set_to_gray``, all " "other parameters are ignored. It must be an object prepared in the " "following way: ``options = pymupdf.mupdf.PdfImageRewriterOptions()``. " "Then attributes of this object can be set to achieve fine-grained " "control. Following are the adjustable attributes of the ``options`` " "object and their default (do nothing) values." msgstr "" #: ../../document.rst:652 226b700f0609456da42369d0a574ec09 msgid "" "The ``*_recompress_method`` attributes may be one of the values " "**FZ_RECOMPRESS_NEVER (0), FZ_RECOMPRESS_SAME (1), FZ_RECOMPRESS_LOSSLESS" " (2), FZ_RECOMPRESS_JPEG (3), FZ_RECOMPRESS_J2K (4), FZ_RECOMPRESS_FAX " "(5)**. Value FZ_RECOMPRESS_NEVER will skip this image type altogether and" " FZ_RECOMPRESS_SAME will not change the type. The other values will " "execute type conversions (as far as technically possible)." msgstr "" #: ../../document.rst:654 28345897c04e47cb8bd7b419a399e52e msgid "" "The ``*_quality`` values are strings of integers from \"0\" to \"100\" or" " ``None``." msgstr "" #: ../../document.rst:656 431fb82d92d144e39a7eb33de4cee3d5 msgid "" "The ``*_subsample_method`` attributes are either **FZ_SUBSAMPLE_AVERAGE " "(0)** or **FZ_SUBSAMPLE_BICUBIC (1)** and refer to how a pixel value is " "derived from its neighboring pixels during subsampling. For some " "background see `this Wikipedia article about bicubic interpolation " "`_." msgstr "" #: ../../document.rst:658 a5582d3eeef04969839b567872912234 msgid "" "Attributes ``*_subsample_threshold`` excludes images from subsampling " "which have a lower DPI. Participating images will be subsampled to the " "DPI values given by the ``*_subsample_to`` values. Values of 0 mean that " "no subsampling will take place." msgstr "" #: ../../document.rst:660 c5e4028872844f00bd7eb9ce4c910e75 msgid "" "The ``*_subsample_threshold`` values should be chosen notably larger than" " the ``*_subsample_to`` values to ensure that there are enough size " "savings. After all, every subsampling inevitably incurs quality losses." msgstr "" #: ../../document.rst:662 4021cd52c00c475ca2229590caeff58a msgid "An example for a good choice is ``threshold=100`` and ``to=72``." msgstr "" #: ../../document.rst:667 62fadb98a46e4b6ab9224f097849e731 msgid "" "PDF only: Change the color component counts for all object types text, " "images and vector graphics for all pages." msgstr "" #: ../../document.rst:669 fac366c35c4f430489dc4d0814e4349d msgid "" "desired color space indicated by the number of color components: 1 = " "DeviceGRAY, 3 = DeviceRGB, 4 = DeviceCMYK." msgstr "" #: ../../document.rst:671 baaefdcc658142cfb2d0d72964381651 msgid "" "The typical use case is 1 (DeviceGRAY) which converts the PDF to " "grayscale." msgstr "" #: ../../document.rst:676 b3feb6280dce4bb68a6d09f67ad179e5 msgid "New in v1.16.10" msgstr "バージョン 1.16.10 での新機能" #: ../../document.rst:678 e20ca78781fd4ff7a8ed580599a1ec63 msgid "" "PDF only: Provide a new copy of a page after finishing and updating all " "pending changes." msgstr "PDF のみ:保留中のすべての変更を終了および更新した後、ページの新しいコピーを提供します。" #: ../../document.rst:680 d63490fa56354fc49d5d536ea547ebe1 msgid "page object." msgstr "ページオブジェクト。" #: ../../document.rst:685 f33b5c1ccafd4b1c975285d4daf5b37d msgid "" "a new copy of the same page. All pending updates (e.g. to annotations or " "widgets) will be finalized and a fresh copy of the page will be loaded. " ".. note:: In a typical use case, a page :ref:`Pixmap` should be taken " "after annotations / widgets have been added or changed. To force all " "those changes being reflected in the page structure, this method re-" "instates a fresh copy while keeping the object hierarchy \"document -> " "page -> annotations/widgets\" intact." msgstr "" #: ../../document.rst:685 5e83a01c5a4f43609931c09d2cd5bf4e msgid "" "a new copy of the same page. All pending updates (e.g. to annotations or " "widgets) will be finalized and a fresh copy of the page will be loaded." msgstr "同じページの新しいコピー。すべての保留中の更新(注釈やウィジェットなど)が確定し、ページの新しいコピーが読み込まれます。" #: ../../document.rst:687 aa9f1f86225a4ad39148e534ef4be453 msgid "" "In a typical use case, a page :ref:`Pixmap` should be taken after " "annotations / widgets have been added or changed. To force all those " "changes being reflected in the page structure, this method re-instates a " "fresh copy while keeping the object hierarchy \"document -> page -> " "annotations/widgets\" intact." msgstr "" "典型的なユースケースでは、注釈やウィジェットが追加または変更された後にページの :ref:`Pixmap` " "を取得する必要があります。これらの変更がページ構造に反映されるようにするために、このメソッドは \"document -> page -> " "annotations/widgets\" のオブジェクト階層を保持したまま、新しいコピーを再設定します。" #: ../../document.rst:692 e255e70994eb4eea840af29512883ee8 msgid "PDF only: Convert destination names into a Python dict." msgstr "PDFのみ: ページの目的地名をPythonの辞書に変換します" #: ../../document.rst:694 e3317825d1b84d09a0976e4563a7d1e8 msgid "" "A dictionary with the following layout: * *key*: (str) the name. * " "*value*: (dict) with the following layout: * \"page\": target page " "number (0-based). If no page number found -1. * \"to\": (x, y) target" " point on page. Currently in PDF coordinates, i.e. point (0,0) is " "the bottom-left of the page. * \"zoom\": (float) the zoom factor." " * \"dest\": (str) only present if the target location on the page " "has not been provided as \"/XYZ\" or if no page number was found. " "Examples:: { '__bookmark_1': {'page': 0, 'to': (0.0, 541.0)," " 'zoom': 0.0}, '__bookmark_2': {'page': 0, 'to': (0.0, 481.45), " "'zoom': 0.0}, } or:: { " "'21154a7c20684ceb91f9c9adc3b677c40': {'page': -1, 'dest': '/XYZ 15.75 " "1486 0'}, ... }" msgstr "" #: ../../document.rst:695 d974d89343f748ec8a5cc27429f3e94d msgid "A dictionary with the following layout:" msgstr "以下のキーを持つ辞書:" #: ../../document.rst:697 f4ac483d1fc042b18a323b154eb5a4f2 msgid "*key*: (str) the name." msgstr "キー: (str) 名前" #: ../../document.rst:703 333b90d0cade45ef8d3c12111bba5ae8 msgid "*value*: (dict) with the following layout:" msgstr "以下のキーを持つ辞書:" #: ../../document.rst:699 1299456f72ed4127a7574602814bfe6f msgid "\"page\": target page number (0-based). If no page number found -1." msgstr "\"page\": 対象のページ番号(0から始まる)。ページ番号が見つからない場合は-1。" #: ../../document.rst:700 7e4c618113094b25b9edc3ad8396e7bf msgid "" "\"to\": (x, y) target point on page. Currently in PDF coordinates, i.e. " "point (0,0) is the bottom-left of the page." msgstr "\"to\": (x, y) ページ上のターゲットポイント。現在はPDF座標であり、つまり点(0,0)がページの左下になります。" #: ../../document.rst:702 cfa4c5d417154aa5a6c373ee783adb27 msgid "\"zoom\": (float) the zoom factor." msgstr "\"zoom\": ターゲットページ上のズームファクター(float)。" #: ../../document.rst:703 37cf95d00aae40aaba647f6bc7c9e566 msgid "" "\"dest\": (str) only present if the target location on the page has not " "been provided as \"/XYZ\" or if no page number was found." msgstr "\"dest\": (str) \"/XYZ\" としてターゲット位置が指定されていない場合や、ページ番号が見つからない場合にのみ存在します。" #: ../../document.rst:705 4171adc015d64c7c9d92bebe575448f8 msgid "Examples::" msgstr "例::" #: ../../document.rst:712 d7fb5dcb203748afb273aac0c2a9a100 msgid "or::" msgstr "または:" #: ../../document.rst:719 a874c7048ebb4429a74d36e9cd9d1ca5 msgid "" "All names found in the catalog under keys \"/Dests\" and \"/Names/Dests\"" " are included." msgstr "キー \"/Dests\" および \"/Names/Dests\" の下でカタログ内に見つかるすべての名前が含まれます。" #: ../../document.rst:722 51b104ce68654b67ab928f76dddb73f1 msgid "New in v1.23.6" msgstr "v1.23.6で新登場" #: ../../document.rst:727 ../../document.rst:737 ../../document.rst:1166 #: ../../document.rst:1176 ../../document.rst:1188 #: 00ae9907f6a54b55baab674cf76aed28 2415dd9f180a4b7382a3d9297719fed0 #: 27ca4d25a0534901a9ec78d94dced53f a3a52436d0f141078ff75591bac0f5bf #: d5f1f55ab01a49bca5f15494ce1880e5 msgid "New in v1.17.7" msgstr "バージョン 1.17.7 での新機能" #: ../../document.rst:729 abe5b967ce1c41568bb16dd577d6a71e msgid "" "PDF only: Return the unrotated page rectangle -- **without loading the " "page** (via :meth:`Document.load_page`). This is meant for internal " "purpose requiring best possible performance." msgstr "" "PDF のみ:ページを読み込まずに(:meth:`Document.load_page` " "を介さずに)、回転を無視してページの長方形を返します。これは、最高のパフォーマンスを必要とする内部目的のために使用されます。" #: ../../document.rst:731 ../../document.rst:741 #: 87245fe71e5749bbb5fdd8323971d38a 9aa5f7f4352646a6874011b4413b9eb2 msgid "0-based page number." msgstr "0から始まるページ番号。" #: ../../document.rst:733 8ae5e02a100d4c57be33964251202070 msgid ":ref:`Rect` of the page like :meth:`Page.rect`, but ignoring any rotation." msgstr ":meth:`Page.rect` のようなページの :ref:`Rect` ですが、回転を無視します。" #: ../../document.rst:739 afe91f4bac4e4f20b4d11da8c7b6a121 msgid "" "PDF only: Return the :data:`xref` of the page -- **without loading the " "page** (via :meth:`Document.load_page`). This is meant for internal " "purpose requiring best possible performance." msgstr "" "PDF のみ: **ページを読み込まずに** (:meth:`Document.load_page` を介さずに)、ページの " ":data:`xref` を返します。これは、最高のパフォーマンスを必要とする内部目的のために使用されます。" #: ../../document.rst:743 e13e841034c54a368597cae910b0bd41 msgid ":data:`xref` of the page like :attr:`Page.xref`." msgstr ":attr:`Page.xref` のようなページの :data:`xref` 。" #: ../../document.rst:747 9212f6c6b841428ea6bd7592d5586fb1 msgid "New in v1.16.4" msgstr "バージョン 1.16.4 での新機能" #: ../../document.rst:749 17449b4eba2f4041965b2d8d7fb19b83 msgid "" "A generator for a range of pages. Parameters have the same meaning as in " "the built-in function *range()*. Intended for expressions of the form " "*\"for page in doc.pages(start, stop, step): ...\"*." msgstr "" "一連のページのためのジェネレーター。パラメーターの意味は組み込みの *range()* 関数と同じです。 *\"for page in " "doc.pages(start, stop, step): …\"* の形式の式に使用することを意図しています。" #: ../../document.rst:751 775c0864ae46420c9c3f515b377a7e2e msgid "" "start iteration with this page number. Default is zero, allowed values " "are `-∞ < start < page_count`. While this is negative, :attr:`page_count`" " is added **before** starting the iteration." msgstr "" "このページ番号から反復を開始します。デフォルトはゼロで、許容値は `-∞ < start < page_count` " "です。負の値の間は反復を開始する **前に** :attr:`page_count` が追加されます。" #: ../../document.rst:752 99edc914fc1f455b97fabaf836e1ebbf msgid "" "stop iteration at this page number. Default is :attr:`page_count`, " "possible are `-∞ < stop <= page_count`. Larger values are **silently " "replaced** by the default. Negative values will cyclically emit the pages" " in reversed order. As with the built-in *range()*, this is the first " "page **not** returned." msgstr "" "このページ番号で反復を停止します。デフォルトは :attr:`page_count` で、可能な値は `-∞ < stop <= " "page_count` です。大きな値はデフォルトで **静かに置き換えられます** 。負の値は逆順でページを循環的に生成します。組み込みの " "*range()* 関数と同様に、これは **返されない** 最初のページです。" #: ../../document.rst:753 94a16241b73e479a8fb39b6e7ecdf23b msgid "" "stepping value. Defaults are 1 if start < stop and -1 if start > stop. " "Zero is not allowed." msgstr "ステップ値。start < stop の場合はデフォルトで1、start > stop の場合は-1です。ゼロは許可されていません。" #: ../../document.rst:755 a7bd93c5ab5640fd8a828ca438a31865 msgid "" "a generator iterator over the document's pages. Some examples: * " "\"doc.pages()\" emits all pages. * \"doc.pages(4, 9, 2)\" emits pages 4, " "6, 8. * \"doc.pages(0, None, 2)\" emits all pages with even numbers. * " "\"doc.pages(-2)\" emits the last two pages. * \"doc.pages(-1, -1)\" emits" " all pages in reversed order. * \"doc.pages(-1, -10)\" always emits 10 " "pages in reversed order, starting with the last page -- **repeatedly** if" " the document has less than 10 pages. So for a 4-page document the " "following page numbers are emitted: 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, " "3." msgstr "" #: ../../document.rst:755 cc92b04eb37d4654ac39f335cb55af6e msgid "a generator iterator over the document's pages. Some examples:" msgstr "ドキュメントのページに対するジェネレーターイテレーターです。いくつかの例:" #: ../../document.rst:757 2aee4283e6af403382105fb2889ef17e msgid "\"doc.pages()\" emits all pages." msgstr "\"doc.pages()\" はすべてのページを生成します。" #: ../../document.rst:758 56483ad2fcb04e8ab0aec6fd11cb6e1f msgid "\"doc.pages(4, 9, 2)\" emits pages 4, 6, 8." msgstr "\"doc.pages(4, 9, 2)\" はページ4、6、8を生成します。" #: ../../document.rst:759 5cd6a791eadb403db8d65526627bdb2d msgid "\"doc.pages(0, None, 2)\" emits all pages with even numbers." msgstr "\"doc.pages(0, None, 2)\" はすべての偶数ページを生成します。" #: ../../document.rst:760 20d5d59f55454cbf886fcc21995dad97 msgid "\"doc.pages(-2)\" emits the last two pages." msgstr "\"doc.pages(-2)\" は最後の2ページを生成します。" #: ../../document.rst:761 591d03692b724c96b7a6d853e1e12b95 msgid "\"doc.pages(-1, -1)\" emits all pages in reversed order." msgstr "\"doc.pages(-1, -1)\" は逆の順序ですべてのページを生成します。" #: ../../document.rst:762 630fb05a54d244e7b9f565ba6c0792b3 msgid "" "\"doc.pages(-1, -10)\" always emits 10 pages in reversed order, starting " "with the last page -- **repeatedly** if the document has less than 10 " "pages. So for a 4-page document the following page numbers are emitted: " "3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3." msgstr "" "\"doc.pages(-1, -10)\" は常に逆の順序で10ページを生成し、最後のページから始まり、ドキュメントが10ページ未満の場合は " "**繰り返し** 生成します。したがって、4ページのドキュメントの場合、次のページ番号が生成されます: " "3、2、1、0、3、2、1、0、3、2、1、0、3。" #: ../../document.rst:771 0fa355e484264f9abb37a38413d80d59 msgid "" "Create a PDF version of the current document and write it to memory. " "**All document types** are supported. The parameters have the same " "meaning as in :meth:`insert_pdf`. In essence, you can restrict the " "conversion to a page subset, specify page rotation, and revert page " "sequence." msgstr "" "現在のドキュメントのPDFバージョンを作成し、メモリに書き込みます。**すべてのドキュメントタイプ** がサポートされています。パラメータは " ":meth:`insert_pdf` と同じ意味を持ちます。 " "基本的に、ページのサブセットに変換を制限し、ページの回転を指定し、ページの順序を逆にすることができます。" #: ../../document.rst:773 f660af86d92b44218c359971345422f9 msgid "first page to copy (0-based). Default is first page." msgstr "コピーする最初のページ(0ベース)。デフォルトは最初のページです。" #: ../../document.rst:775 3d05e54e25ec4883ba7e2f21584ced49 msgid "last page to copy (0-based). Default is last page." msgstr "コピーする最後のページ(0ベース)。デフォルトは最後のページです。" #: ../../document.rst:777 e908fe6a3ae046c19144a9205411192b msgid "" "rotation angle. Default is 0 (no rotation). Should be *n * 90* with an " "integer n (not checked)." msgstr "回転角度。デフォルトは0度(回転なし)です。整数n(チェックされていない)で *n * 90* である必要があります。" #: ../../document.rst:780 85de97fa9e5449bc9293fe03eef6116f msgid "" "a Python *bytes* object containing a PDF file image. It is created by " "internally using `tobytes(garbage=4, deflate=True)`. See :meth:`tobytes`." " You can output it directly to disk or open it as a PDF. Here are some " "examples:: >>> # convert an XPS file to PDF >>> xps = " "pymupdf.open(\"some.xps\") >>> pdfbytes = xps.convert_to_pdf() >>> >>> # " "either do this --> >>> pdf = pymupdf.open(\"pdf\", pdfbytes) >>> " "pdf.save(\"some.pdf\") >>> >>> # or this --> >>> pdfout = " "open(\"some.pdf\", \"wb\") >>> pdfout.tobytes(pdfbytes) >>> " "pdfout.close() >>> # copy image files to PDF pages >>> # each page will " "have image dimensions >>> doc = pymupdf.open() # new " "PDF >>> imglist = [ ... image file names ...] # e.g. a directory listing " ">>> for img in imglist: imgdoc=pymupdf.open(img) # open" " image as a document pdfbytes=imgdoc.convert_to_pdf() # make a " "1-page PDF of it imgpdf=pymupdf.open(\"pdf\", pdfbytes) " "doc.insert_pdf(imgpdf) # insert the image PDF >>> " "doc.save(\"allmyimages.pdf\")" msgstr "" #: ../../document.rst:780 20b5ab52b58544c4999de0b6274f05b2 msgid "" "a Python *bytes* object containing a PDF file image. It is created by " "internally using `tobytes(garbage=4, deflate=True)`. See :meth:`tobytes`." " You can output it directly to disk or open it as a PDF. Here are some " "examples::" msgstr "" "PDFファイルイメージを含むPythonの *bytes* オブジェクト。内部的に `tobytes(garbage=4, " "deflate=True)` を使用して作成されます。:meth:`tobytes` " "を参照してください。これを直接ディスクに出力するか、PDFとして開くことができます。以下にいくつかの例を示します::" #: ../../document.rst:806 d8485f88d433407bb0cd60e194f20727 msgid "" "The method uses the same logic as the *mutool convert* CLI. This works " "very well in most cases -- however, beware of the following limitations." msgstr "" "このメソッドは、*mutool convert* " "CLIと同じロジックを使用しています。これはほとんどの場合非常にうまく機能しますが、以下の制限に注意してください。" #: ../../document.rst:808 357cacd34cd642f39b1da1f75056dc90 msgid "" "Image files: perfect, no issues detected. However, image transparency is " "ignored. If you need that (like for a watermark), use " ":meth:`Page.insert_image` instead. Otherwise, this method is recommended " "for its much better performance." msgstr "" "画像ファイル: 完璧で、問題は検出されません。ただし、画像の透明度は無視されます。透明度が必要な場合(ウォーターマークなど)、代わりに " ":meth:`Page.insert_image` " "を使用してください。それ以外の場合、このメソッドははるかに優れたパフォーマンスのために推奨されます。" #: ../../document.rst:809 06b36e92e8d645b7bc68371b93dbc572 msgid "" "XPS: appearance very good. Links work fine, outlines (bookmarks) are " "lost, but can easily be recovered [#f2]_." msgstr "XPS: 外観は非常に良好です。リンクは正常に機能し、アウトライン(ブックマーク)は失われますが、簡単に回復できます [#f2]_。" #: ../../document.rst:810 8d7b046661b24660b15edfc764b15786 msgid "EPUB, CBZ, FB2: similar to XPS." msgstr "EPUB、CBZ、FB2: XPSと類似しています。" #: ../../document.rst:811 78e1835be7ce41eaa08865503b86c38c msgid "" "SVG: medium. Roughly comparable to `svglib " "`_." msgstr "SVG: 中程度です。おおよそ `svglib `_ と比較できます。" #: ../../document.rst:815 55fb4e92b6f84d06b5b5c8aec273b3e2 msgid "Creates a table of contents (TOC) out of the document's outline chain." msgstr "ドキュメントのアウトラインチェーンから目次(TOC)を作成します。" #: ../../document.rst:817 3c16d727444c4c31980289c39d4e07b3 msgid "" "Indicates whether a simple or a detailed TOC is required. If ``False``, " "each item of the list also contains a dictionary with :ref:`linkDest` " "details for each outline entry." msgstr "" "簡単なTOCまたは詳細なTOCが必要かを示す値です。``False`` の場合、リストの各アイテムにはアウトラインエントリごとの " ":ref:`linkDest` の詳細を含む辞書も含まれます。" #: ../../document.rst:821 e45ac6b1b63f4d28b26628339a2251b7 msgid "" "a list of lists. Each entry has the form *[lvl, title, page, dest]*. Its " "entries have the following meanings: * *lvl* -- hierarchy level " "(positive *int*). The first entry is always 1. Entries in a row are " "either **equal**, **increase** by 1, or **decrease** by any number. * " "*title* -- title (*str*) * *page* -- 1-based source page number (*int*). " "`-1` if no destination or outside document. * *dest* -- (*dict*) included" " only if *simple=False*. Contains details of the TOC item as follows: " "- kind: destination kind, see :ref:`linkDest Kinds`. - file: filename " "if kind is :data:`LINK_GOTOR` or :data:`LINK_LAUNCH`. - page: target " "page, 0-based, :data:`LINK_GOTOR` or :data:`LINK_GOTO` only. - to: " "position on target page (:ref:`Point`). - zoom: (float) zoom factor on " "target page. - xref: :data:`xref` of the item (0 if no PDF). - color:" " item color in PDF RGB format `(red, green, blue)`, or omitted (always " "omitted if no PDF). - bold: true if bold item text or omitted. PDF " "only. - italic: true if italic item text, or omitted. PDF only. - " "collapse: true if sub-items are folded, or omitted. PDF only. - " "nameddest: target name if kind=4. PDF only. (New in 1.23.7.)" msgstr "" #: ../../document.rst:821 1f4b3e4744174653ae693109208dc49e msgid "" "a list of lists. Each entry has the form *[lvl, title, page, dest]*. Its " "entries have the following meanings:" msgstr "リストのリスト。各エントリは次の形式を持っています: *[lvl, title, page, dest]* 。そのエントリは次の意味を持っています:" #: ../../document.rst:823 e192fb552d1c4616a8fb7a8144812e58 msgid "" "*lvl* -- hierarchy level (positive *int*). The first entry is always 1. " "Entries in a row are either **equal**, **increase** by 1, or **decrease**" " by any number." msgstr "" "*lvl* – 階層レベル(正の整数)。最初のエントリは常に1です。行内のエントリは **等しい** か、1ずつ **増加** または任意の数で " "**減少** します。" #: ../../document.rst:824 29ecc17d35fa4115831c070fb3dc3da6 msgid "*title* -- title (*str*)" msgstr "*title* – タイトル(*str*)" #: ../../document.rst:825 b5a9d59ce8954429a123261cd1e5e2ce msgid "" "*page* -- 1-based source page number (*int*). `-1` if no destination or " "outside document." msgstr "*page* – 1から始まるページ番号(*int*)。`-1` の場合、宛先なしまたはドキュメント外。" #: ../../document.rst:826 1ed7122c8921425fa82f34ab81b0e14a msgid "" "*dest* -- (*dict*) included only if *simple=False*. Contains details of " "the TOC item as follows:" msgstr "*dest* – (*dict*) *simple=False* の場合のみ含まれます。TOCアイテムの詳細が以下のように含まれます:" #: ../../document.rst:828 18fd10a0fe68426b8268f99befab8ea5 msgid "kind: destination kind, see :ref:`linkDest Kinds`." msgstr "kind: 宛先の種類、:ref:`linkDest Kinds` を参照。" #: ../../document.rst:829 aeeca928a4f149d4b22d0f844cb317ce msgid "file: filename if kind is :data:`LINK_GOTOR` or :data:`LINK_LAUNCH`." msgstr "file: `kind` が :data:`LINK_GOTOR` または :data:`LINK_LAUNCH` の場合のファイル名。" #: ../../document.rst:830 21331bc906fb47aa9693dfe714690418 msgid "page: target page, 0-based, :data:`LINK_GOTOR` or :data:`LINK_GOTO` only." msgstr "page: ターゲットページ、0ベース、:data:`LINK_GOTOR` または :data:`LINK_GOTO` の場合のみ。" #: ../../document.rst:831 129a6492e95f4d6b9235c8566486f1cd msgid "to: position on target page (:ref:`Point`)." msgstr "to: ターゲットページ上の位置 (:ref:`Point`)。" #: ../../document.rst:832 1760adf4a8fe4f5d916c06a0718c0b3c msgid "zoom: (float) zoom factor on target page." msgstr "zoom: ターゲットページ上のズームファクター(float)。" #: ../../document.rst:833 b72db90d2fd5463883c5566c8d708676 msgid "xref: :data:`xref` of the item (0 if no PDF)." msgstr "xref: アイテムの :data:`xref` (PDFがない場合は0)。" #: ../../document.rst:834 ef52959e5a364bbdbede8eba835399d0 msgid "" "color: item color in PDF RGB format `(red, green, blue)`, or omitted " "(always omitted if no PDF)." msgstr "color: PDF RGB形式 `(red, green, blue)` のアイテムカラー、または省略(PDFがない場合は常に省略)。" #: ../../document.rst:835 c6abd3655b1041c49d660425bdda3b9d msgid "bold: true if bold item text or omitted. PDF only." msgstr "bold: アイテムテキストが太字の場合、または省略。PDFのみ。" #: ../../document.rst:836 790bd5ed794d4267aa960bc8d4ea5458 msgid "italic: true if italic item text, or omitted. PDF only." msgstr "italic: アイテムテキストがイタリックの場合、または省略。PDFのみ。" #: ../../document.rst:837 7a972813f0bc46f2aec437108637c21c msgid "collapse: true if sub-items are folded, or omitted. PDF only." msgstr "collapse: サブアイテムが折りたたまれている場合、または省略。PDFのみ。" #: ../../document.rst:838 0a4c3b65b69e40f2bc742b0f74fa774e msgid "nameddest: target name if kind=4. PDF only. (New in 1.23.7.)" msgstr "" #: ../../document.rst:845 a5836c5cdff0458b8bee0e893e323504 msgid "" "PDF only: Return the PDF dictionary keys of the :data:`dictionary` object" " provided by its xref number." msgstr "PDFのみ: xref番号で提供される :data:`dictionary` オブジェクトのPDF辞書キーを返します。" #: ../../document.rst:847 05b0b53203ac4aa9b0d24d401d355137 msgid "" "the :data:`xref`. *(Changed in v1.18.10)* Use `-1` to access the special " "dictionary \"PDF trailer\"." msgstr ":data:`xref` 。 *(v1.18.10で変更)* \"PDF trailer\" としてアクセスするには `-1` を使用します。" #: ../../document.rst:849 608982aaeb9c4e0483f619e22304399f msgid "" "a tuple of dictionary keys present in object :data:`xref`. Examples: >>>" " from pprint import pprint >>> import pymupdf >>> " "doc=pymupdf.open(\"pymupdf.pdf\") >>> xref = doc.page_xref(0) # xref of " "page 0 >>> pprint(doc.xref_get_keys(xref)) # primary level keys of a " "page ('Type', 'Contents', 'Resources', 'MediaBox', 'Parent') >>> " "pprint(doc.xref_get_keys(-1)) # primary level keys of the trailer " "('Type', 'Index', 'Size', 'W', 'Root', 'Info', 'ID', 'Length', 'Filter') " ">>>" msgstr "" #: ../../document.rst:849 df215624f145490e82a53931b1a144ba msgid "a tuple of dictionary keys present in object :data:`xref`. Examples:" msgstr ":data:`xref` オブジェクトに存在する辞書キーのタプル。例:" #: ../../document.rst:866 6575211909ea416eb59abe9e9d74b18a msgid "" "PDF only: Return type and value of a PDF dictionary key of a " ":data:`dictionary` object given by its xref." msgstr "PDFのみ: xrefによって提供される :data:`dictionary` オブジェクトのPDF辞書キーの戻り値の型と値を返します。" #: ../../document.rst:868 e72020a16f2c46d9b9c110390a8ef3b8 msgid "" "the :data:`xref`. *Changed in v1.18.10:* Use `-1` to access the special " "dictionary \"PDF trailer\"." msgstr ":data:`xref` 。*v1.18.10で変更:* 特別な辞書 \"PDF trailer\" にアクセスするには `-1` を使用します。" #: ../../document.rst:870 15710a8605c242738c9d34bc9295c2a8 msgid "" "the desired PDF key. Must **exactly** match (case-sensitive) one of the " "keys contained in :meth:`Document.xref_get_keys`." msgstr "" "望ましいPDFキー。:meth:`Document.xref_get_keys` " "に含まれるキーのいずれかと厳密に一致する必要があります(大文字と小文字を区別します)。" #: ../../document.rst:874 1d8b5b14cc604c8097524b1e8ce3bd1a msgid "" "A tuple (type, value) of strings, where type is one of \"xref\", " "\"array\", \"dict\", \"int\", \"float\", \"null\", \"bool\", \"name\", " "\"string\" or \"unknown\" (should not occur). Independent of \"type\", " "the value of the key is **always** formatted as a string -- see the " "following example -- and (almost always) a faithful reflection of what is" " stored in the PDF. In most cases, the format of the value string also " "gives a clue about the key type:" msgstr "" "文字列のタプル(type、value)、ここでtypeは次のいずれかです: " "\"xref\"、\"array\"、\"dict\"、\"int\"、\"float\"、\"null\"、\"bool\"、\"name\"、\"string\"" " または \"unknown\"(発生しないはず)。\"type\" に関係なく、キーの値は **常に** 文字列としてフォーマットされます – " "以下の例を参照 – " "そして(ほとんどの場合)PDFに格納されている内容の忠実な反映です。ほとんどの場合、値文字列のフォーマットもキーのタイプについてのヒントを提供します:" #: ../../document.rst:876 f3a754b526724add862cf709d3e6a80f msgid "A \"name\" always starts with a \"/\" slash." msgstr "\"name\" は常に \"/\" スラッシュで始まります。" #: ../../document.rst:877 156bcb3e4be0431a950ef8733fb4726f msgid "An \"xref\" always ends with \" 0 R\"." msgstr "\"xref\" は常に \" 0 R\" で終わります。" #: ../../document.rst:878 028b075a7b6743b4992177c05b64dd3c msgid "An \"array\" is always enclosed in \"[...]\" brackets." msgstr "\"array\" は常に \"[...]\" 角括弧で囲まれています。" #: ../../document.rst:879 498042f7ba7941f489e490897176da71 msgid "A \"dict\" is always enclosed in \"<<...>>\" brackets." msgstr "\"dict\" は常に \"<<...>>\" 角括弧で囲まれています。" #: ../../document.rst:880 9a602b09b09445b8ab3a85710d4daff4 msgid "" "A \"bool\", resp. \"null\" always equal either \"true\", \"false\", resp." " \"null\"." msgstr "\"bool\" または \"null\" は常に \"true\"、\"false\" または \"null\" のいずれかです。" #: ../../document.rst:881 3599f60a08a442d2a3fe36a99d5cbfbe msgid "" "\"float\" and \"int\" are represented by their string format -- and are " "thus not always distinguishable." msgstr "\"float\" と \"int\" は文字列形式で表され、したがって常に区別できるわけではありません。" #: ../../document.rst:882 178b674795594e1d8c179336c614b1c2 msgid "" "A \"string\" is converted to UTF-8 and may therefore deviate from what is" " stored in the PDF. For example, the PDF key \"Author\" may have a value " "of \"\" in the " "file, but the method will return `('string', 'Jorj X. McKie')`." msgstr "" "\"string\" はUTF-8に変換され、したがってPDFに格納されている内容と異なる場合があります。たとえば、PDFキー " "\"Author\" はファイル内で " "\"FEFF004A006F0072006A00200058002E0020004D0063004B00690065\" " "という値を持つかもしれませんが、このメソッドは `('string', 'Jorj X. McKie')` を返します。" #: ../../document.rst:911 5ec6251f88fd4c9a8f9aa0c0de4ef793 msgid "New in v1.18.7, changed in v 1.18.13" msgstr "バージョン1.18.7で新規追加、バージョン1.18.13で変更されました。" #: ../../document.rst:912 277a8925b1254249865a344d4e15ce92 msgid "Changed in v1.19.4: remove a key \"physically\" if set to \"null\"." msgstr "バージョン1.19.4で変更: \"null\" に設定された場合、キーを \"物理的に\" 削除します。" #: ../../document.rst:914 3800031db9924e0b93e21a204f5abfd2 msgid "" "PDF only: Set (add, update, delete) the value of a PDF key for the " ":data:`dictionary` object given by its xref." msgstr "PDFのみ: xrefによって提供される :data:`dictionary` オブジェクトのPDFキーの値を設定(追加、更新、削除)します。" #: ../../document.rst:916 87400e3bfd904856bd104cdc238c25ef msgid "" "This is an expert function: if you do not know what you are doing, there " "is a high risk to render (parts of) the PDF unusable. Please do consult " ":ref:`AdobeManual` about object specification formats (page 18) and the " "structure of special dictionary types like page objects." msgstr "" "これはエキスパート向けの機能です。何をしているのかわからない場合、PDFの(一部の)使用不能の高いリスクがあります。PDFオブジェクト仕様フォーマット(ページ18)やページオブジェクトなどの特別な辞書タイプの構造については" " :ref:`AdobeManual` を参照してください。" #: ../../document.rst:918 249156cd0aa4484c824c8bd971c5f55d msgid "" "the :data:`xref`. *Changed in v1.18.13:* To update the PDF trailer, " "specify -1." msgstr ":data:`xref` 。バージョン1.18.13で変更: PDFトレーラーを更新する場合、-1を指定します。" #: ../../document.rst:919 defb25fd803549ecbd76352234501833 msgid "" "the desired PDF key (without leading \"/\"). Must not be empty. Any valid" " PDF key -- whether already present in the object (which will be " "overwritten) -- or new. It is possible to use PDF path notation like " "`\"Resources/ExtGState\"` -- which sets the value for key " "`\"/ExtGState\"` as a sub-object of `\"/Resources\"`." msgstr "" "望ましいPDFキー(先頭の \"/\" " "なし)。空であってはいけません。既にオブジェクト内に存在するかどうかに関係なく、新しいPDFキーでも構いません。PDFパス表記 " "(`\"Resources/ExtGState\"` のような)を使用して、`\"/Resources\"` のサブオブジェクトとしてキー " "`\"/ExtGState\"` の値を設定することも可能です。" #: ../../document.rst:920 90eda3333fa54a88ba8598e27bdc720a msgid "" "the value for the key. It must be a non-empty string and, depending on " "the desired PDF object type, the following rules must be observed. There " "is some syntax checking, but **no type checking** and no checking if it " "makes sense PDF-wise, i.e. **no semantics checking**. Upper / lower case " "is important!" msgstr "キーの値。空でない文字列である必要があり、望ましいPDFオブジェクトのタイプに応じて以下のルールを守る必要があります。一部の構文チェックは行われますが、型チェックやPDFとして意味があるかどうかのチェックは行われません。大文字と小文字の区別が重要です!" #: ../../document.rst:922 a7fd503efdb34cf08f1886ee7162fb2f msgid "" "*:data:`xref`* -- must be provided as `\"nnn 0 R\"` with a valid " ":data:`xref` number nnn of the PDF. The suffix \"`0 R`\" is required to " "be recognizable as an xref by PDF applications." msgstr "" "*:data:`xref`* – 有効なPDFのxref番号nnnを持つ `\"nnn 0 R\"` として提供される必要があります。サフィックス" " \"`0 R`\" はPDFアプリケーションによって :data:`xref` として認識されるため必要です。" #: ../../document.rst:923 80568ddddb28424aafbeb4bfb8629262 msgid "" "**array** -- a string like `\"[a b c d e f]\"`. The brackets are " "required. Array items must be separated by at least one space (not commas" " like in Python). An empty array `\"[]\"` is possible and *equivalent* to" " removing the key. Array items may be any PDF objects, like dictionaries," " xrefs, other arrays, etc. Like in Python, array items may be of " "different types." msgstr "" "**array** – `\"[a b c d e f]\"` " "のような文字列。角括弧が必要です。配列の要素は少なくとも1つのスペースで区切られている必要があります(Pythonのようなカンマではありません)。空の配列" " `\"[]\"` も可能で、キーを削除することと *同等* " "です。配列のアイテムは、辞書、xref、他の配列など、PDFオブジェクトである必要があります。Pythonと同様に、配列のアイテムは異なるタイプである場合があります。" #: ../../document.rst:924 8776c9b8b4a24c0591f8ceec49ed2dca msgid "" "**dict** -- a string like `\"<< ... >>\"`. The brackets are required and " "must enclose a valid PDF dictionary definition. The empty dictionary " "`\"<<>>\"` is possible and *equivalent* to removing the key." msgstr "" "**dict** – `\"<< ... >>\"` のような文字列。角括弧が必要で、有効なPDF辞書定義を囲む必要があります。空の辞書 " "`\"<<>>\"` も可能で、キーを削除することと *同等* です。" #: ../../document.rst:925 e8b31a1d2c3a4878a02465e970ff484d msgid "**int** -- an integer formatted **as a string**." msgstr "**int** – **文字列として** フォーマットされた整数。" #: ../../document.rst:926 4efb1d2d1f8248bd9c93bdbed526f048 msgid "" "**float** -- a float formatted **as a string**. Scientific notation (with" " exponents) is **not allowed by PDF**." msgstr "**float** – 文字列としてフォーマットされた浮動小数点数。科学的表記法(指数を含む)は **PDFでは許可されていません** 。" #: ../../document.rst:927 28ad2273e2b04ec1a4e28b1e8627be22 msgid "" "**null** -- the string `\"null\"`. This is the PDF equivalent to Python's" " `None` and causes the key to be ignored -- however not necessarily " "removed, resp. removed on saves with garbage collection. *Changed in " "v1.19.4:* If the key is no path hierarchy (i.e. contains no slash \"/\")," " then it will be completely removed." msgstr "" "**null** – 文字列 `\"null\"`。これはPythonの `None` " "に相当し、キーを無視させますが、必ずしも削除されるわけではありません。ガベージコレクションを伴う保存時に削除される場合があります。*バージョン1.19.4で変更:*" " キーがパス階層でない場合(つまりスラッシュ \"/\" を含まない場合)、それは完全に削除されます。" #: ../../document.rst:928 adabb0e0f0ed4a6681b1296c1502547a msgid "**bool** -- one of the strings `\"true\"` or `\"false\"`." msgstr "**bool** – `\"true\"` または `\"false\"` のいずれかの文字列。" #: ../../document.rst:929 1594ca312d7f48acbc4d82268247f9ee msgid "" "**name** -- a valid PDF name with a leading slash like this: " "`\"/PageLayout\"`. See page 16 of the :ref:`AdobeManual`." msgstr "" "**name** – `\"/PageLayout\"` のように先頭にスラッシュを持つ有効なPDF名。:ref:`AdobeManual` " "のページ16を参照してください。" #: ../../document.rst:930 28a5e09473bf4296a58a3ec3460e12be msgid "" "**string** -- a valid PDF string. **All PDF strings must be enclosed by " "brackets**. Denote the empty string as `\"()\"`. Depending on its " "content, the possible brackets are" msgstr "" "**string** – 有効なPDF文字列。 **すべてのPDF文字列は角括弧で囲まれている必要があります** 。空の文字列は `\"()\"`" " として表記されます。内容に応じて、可能な角括弧は次の通りです。" #: ../../document.rst:932 bf4426b2937d496185dc5ca3086d1560 msgid "" "\"(...)\" for ASCII-only text. Reserved PDF characters must be backslash-" "escaped and non-ASCII characters must be provided as 3-digit backslash-" "escaped octals -- including leading zeros. Example: 12 = 0x0C must be " "encoded as `\\014`." msgstr "" "\"(…)\":ASCIIのテキストの場合。予約されたPDF文字はバックスラッシュでエスケープし、非ASCII文字は先頭にゼロパディングされた3桁のバックスラッシュエスケープの8進数で提供する必要があります。例:" " 12 = 0x0C は `\\014` としてエンコードする必要があります。" #: ../../document.rst:933 b3138023eeab42d8976d82ae328a48e7 msgid "" "\"<...>\" for hex-encoded text. Every character must be represented by " "two hex-digits (lower or upper case)." msgstr "\"<…>\":16進数でエンコードされたテキストの場合。各文字は2桁の16進数で表されなければなりません(大文字または小文字)。" #: ../../document.rst:935 04514ffed9104a3f82cba27d60dae539 msgid "" "If in doubt, we **strongly recommend** to use :meth:`get_pdf_str`! This " "function automatically generates the right brackets, escapes, and overall" " format. It will for example do conversions like these:" msgstr "" "疑念がある場合は、:meth:`get_pdf_str` " "の使用を**強くお勧めします**!この関数は自動的に適切な角括弧、エスケープ、および全体のフォーマットを生成します。たとえば、次のような変換を行います。" #: ../../document.rst:947 e157d6a6ebb44a58a5382b3125619640 msgid "" "Creates a pixmap from page *pno* (zero-based). Invokes " ":meth:`Page.get_pixmap`." msgstr "*pno* (ゼロベース)のページからピクスマップを作成します。:meth:`Page.get_pixmap` を呼び出します。" #: ../../document.rst:949 bb646c2e759e4d2bbee44f4ad97ec08e msgid "All parameters except `pno` are *keyword-only.*" msgstr "`pno` 以外のすべてのパラメーターは *キーワード専用* です。" #: ../../document.rst:951 663b27e190f34a04a42b233cf48b0d2d msgid "page number, 0-based in `-∞ < pno < page_count`." msgstr "pno (int) – ページ番号、ゼロベース、`-∞ < pno < page_count`。" #: ../../document.rst:953 83e16eb54fbc471cbb9c5e21748734af msgid ":ref:`Pixmap`" msgstr "" #: ../../document.rst:957 4aaceb696b71426cac76aa4f65fadab7 msgid "New in v1.16.13" msgstr "バージョン1.16.13で新規追加" #: ../../document.rst:958 b4622be6eecf433d824b4e0092311b23 msgid "Changed in v1.18.11" msgstr "バージョン1.18.11で変更" #: ../../document.rst:960 a50d47a57f9a458cbdb6f4c19c9ecc2f msgid "PDF only: Return a list of all XObjects referenced by a page." msgstr "PDFのみ: ページによって参照されるすべてのXObjectのリストを返します。" #: ../../document.rst:962 ../../document.rst:977 ../../document.rst:1004 #: b512284cd0944db08267225142b30973 b7a9d1c1640a44e49194253e80f28940 #: bcc36ae910474f22b80c5aeb1e3cd296 msgid "page number, 0-based, `-∞ < pno < page_count`." msgstr "ページ番号、ゼロベース、`-∞ < pno < page_count`。" #: ../../document.rst:965 c4fd71139bd44bb8ada4e97a475737cd msgid "" "a list of (non-image) XObjects. These objects typically represent pages " "*embedded* (not copied) from other PDFs. For example, " ":meth:`Page.show_pdf_page` will create this type of object. An item of " "this list has the following layout: `(xref, name, invoker, bbox)`, where" " * *:data:`xref`* (*int*) is the XObject's :data:`xref`. * **name** " "(*str*) is the symbolic name to reference the XObject. * **invoker** " "(*int*) the :data:`xref` of the invoking XObject or zero if the page " "directly invokes it. * **bbox** (:ref:`Rect`) the boundary box of the " "XObject's location on the page **in untransformed coordinates**. To get " "actual, non-rotated page coordinates, multiply with the page's " "transformation matrix :attr:`Page.transformation_matrix`. *Changed in " "v.18.11:* the bbox is now formatted as :ref:`Rect`." msgstr "" #: ../../document.rst:965 21d6f7f8ef56493e8984e44eec7d841b msgid "" "a list of (non-image) XObjects. These objects typically represent pages " "*embedded* (not copied) from other PDFs. For example, " ":meth:`Page.show_pdf_page` will create this type of object. An item of " "this list has the following layout: `(xref, name, invoker, bbox)`, where" msgstr "" "(画像でない)XObjectのリスト。これらのオブジェクトは通常、他のPDFから **埋め込まれた** " "(コピーされていない)ページを表します。例えば、:meth:`Page.show_pdf_page` " "はこのタイプのオブジェクトを作成します。このリストのアイテムは以下のレイアウトを持っています:`(xref, name, invoker, " "bbox)`、ここで" #: ../../document.rst:967 d6f78447afef45d7a168cf13ab89fbcc msgid "*:data:`xref`* (*int*) is the XObject's :data:`xref`." msgstr "*:data:`xref`* (*int*) はXObjectの :data:`xref` です。" #: ../../document.rst:968 2f42c8f85790488dbce62e7093baa9c5 msgid "**name** (*str*) is the symbolic name to reference the XObject." msgstr "**name** (*str*) はXObjectを参照するための象徴的な名前です。" #: ../../document.rst:969 2355cf43667b42aaae40b91b5a5937b9 msgid "" "**invoker** (*int*) the :data:`xref` of the invoking XObject or zero if " "the page directly invokes it." msgstr "" "**invoker** (*int*) は、ページがそれを直接呼び出す場合はゼロ、それ以外の場合は呼び出し元XObjectの " ":data:`xref` です。" #: ../../document.rst:970 ce656f07b3d3474ba08d6e123b8117c4 msgid "" "**bbox** (:ref:`Rect`) the boundary box of the XObject's location on the " "page **in untransformed coordinates**. To get actual, non-rotated page " "coordinates, multiply with the page's transformation matrix " ":attr:`Page.transformation_matrix`. *Changed in v.18.11:* the bbox is now" " formatted as :ref:`Rect`." msgstr "" "**bbox** (:ref:`Rect`) はXObjectのページ上の位置の境界ボックスで、**変換されていない座標で** " "表されます。実際の、回転していないページ座標を取得するには、ページの変換行列 :attr:`Page.transformation_matrix`" " を掛けてください。*バージョン1.18.11で変更:* **bbox** は今や :ref:`Rect` としてフォーマットされています。" #: ../../document.rst:975 6fe8a93907b94d18969a4b9ab14c4359 msgid "" "PDF only: Return a list of all images (directly or indirectly) referenced" " by the page." msgstr "PDFのみ: ページによって参照されるすべての画像(直接または間接的に)のリストを返します。" #: ../../document.rst:978 9f4e6fd3f1e04b22a5a95840ab1550ff msgid "" "whether to also include the referencer's :data:`xref` (which is zero if " "this is the page)." msgstr "このページがそのページ自体の場合、参照元の :data:`xref` も含めるかどうか(これがページの場合はゼロ)。" #: ../../document.rst:982 4efb3fbf341f42098699c1b7689ee45c msgid "" "a list of images **referenced** by this page. Each item looks like: " "`(xref, smask, width, height, bpc, colorspace, alt_colorspace, name, " "filter, referencer)` * ``xref`` (*int*) is the image object number *" " ``smask`` (*int*) is the object number of its soft-mask image * " "``width`` (*int*) is the image width * ``height`` (*int*) is the image " "height * ``bpc`` (*int*) denotes the number of bits per component " "(normally 8) * ``colorspace`` (*str*) a string naming the colorspace " "(like **DeviceRGB**) * ``alt_colorspace`` (*str*) is any alternate " "colorspace depending on the value of **colorspace** * ``name`` (*str*) " "is the symbolic name by which the image is referenced * ``filter`` " "(*str*) is the decode filter of the image (:ref:`AdobeManual`, pp. 22)." " * ``referencer`` (*int*) the :data:`xref` of the referencer. Zero if " "directly referenced by the page. Only present if *full=True*." msgstr "" #: ../../document.rst:982 8f9928f663504d3d9168282aed83e5cc #, fuzzy msgid "a list of images **referenced** by this page. Each item looks like:" msgstr "このページで **参照されている** 画像のリスト。各アイテムは以下のようになります:" #: ../../document.rst:984 00f4ef107d1c4db385603c6339a76099 msgid "" "`(xref, smask, width, height, bpc, colorspace, alt_colorspace, name, " "filter, referencer)`" msgstr "" #: ../../document.rst:986 3d896dcb29714890a22bfb1f0ffc4a34 #, fuzzy msgid "``xref`` (*int*) is the image object number" msgstr "*:data:`xref`* (*int*) は画像オブジェクトの番号です" #: ../../document.rst:987 9acc8321d4094ed1b2397b95f2886d22 #, fuzzy msgid "``smask`` (*int*) is the object number of its soft-mask image" msgstr "**smask** (*int*) はそのソフトマスク画像のオブジェクト番号です" #: ../../document.rst:988 0f53d4a9d9074947a83aab2d9a176cb1 #, fuzzy msgid "``width`` (*int*) is the image width" msgstr "*width* (*int*) 画像の幅" #: ../../document.rst:989 35c2acc0727549249953c971d8917290 #, fuzzy msgid "``height`` (*int*) is the image height" msgstr "*height* (*int*) 画像の高さ" #: ../../document.rst:990 7413ba2b65df40ec96a73858402002a4 #, fuzzy msgid "``bpc`` (*int*) denotes the number of bits per component (normally 8)" msgstr "**bpc** (*int*) はコンポーネントごとのビット数を示します(通常は8)" #: ../../document.rst:991 b43082aeae534bf3af1fdd913d40e5b1 #, fuzzy msgid "``colorspace`` (*str*) a string naming the colorspace (like **DeviceRGB**)" msgstr "**colorspace** (*str*) は色空間の名前を示す文字列です( **DeviceRGB** など)" #: ../../document.rst:992 029549b0601a446da7e5e1b15bdc3f5d #, fuzzy msgid "" "``alt_colorspace`` (*str*) is any alternate colorspace depending on the " "value of **colorspace**" msgstr "**alt. colorspace** (*str*) は **colorspace** の値に依存する代替の色空間です" #: ../../document.rst:993 e2137f9fc6d845d4b63d058fc6cd19d3 #, fuzzy msgid "``name`` (*str*) is the symbolic name by which the image is referenced" msgstr "**name** (*str*) は画像が参照される際の象徴的な名前です" #: ../../document.rst:994 6676261a491d4bc4b0e9543f4d842080 #, fuzzy msgid "" "``filter`` (*str*) is the decode filter of the image (:ref:`AdobeManual`," " pp. 22)." msgstr "**filter** (*str*) は画像のデコードフィルタです(:ref:`AdobeManual`、pp. 22)。" #: ../../document.rst:995 d92b9e1700fd4c62854642a1f6dde89c #, fuzzy msgid "" "``referencer`` (*int*) the :data:`xref` of the referencer. Zero if " "directly referenced by the page. Only present if *full=True*." msgstr "" "**referencer** (*int*) は参照元の :data:`xref` です。直接ページから参照されている場合はゼロ。 " "*full=True* の場合のみ存在します" #: ../../document.rst:997 c07f09a4315a4410bcdfa4e0e35c5613 msgid "" "In general, this is not the list of images that are **actually " "displayed**. This method only parses several PDF objects to collect " "references to embedded images. It does not analyse the page's " ":data:`contents`, where all the actual image display commands are " "defined. To get this information, please use :meth:`Page.get_image_info`." " Also have a look at the discussion in section :ref:`textpagedict`." msgstr "" "一般的に、これは **実際に表示されている** " "画像のリストではありません。このメソッドは埋め込まれた画像への参照を収集するためにいくつかのPDFオブジェクトのみを解析します。実際の画像表示コマンドが定義されているページの内容は解析しません。この情報を取得するには、:meth:`Page.get_image_info`" " を使用してください。また、:ref:`textpagedict` のセクションでの議論もご覧ください。" #: ../../document.rst:1002 50688d36bbf24221a9c4c9d2d3383083 #, fuzzy msgid "" "PDF only: Return a list of all fonts (directly or indirectly) referenced " "by the page object definition." msgstr "PDFのみ: ページによって参照されるすべてのフォント(直接または間接的に)のリストを返します。" #: ../../document.rst:1005 0f887570532b4208be1fe1b83d43adbc msgid "" "whether to also include the referencer's :data:`xref`. If ``True``, the " "returned items are one entry longer. Use this option if you need to know," " whether the page directly references the font. In this case the last " "entry is 0. If the font is referenced by an `/XObject` of the page, you " "will find its :data:`xref` here." msgstr "" "参照元の :data:`xref` も含めるかどうか。``True`` " "の場合、返されるアイテムは1つ多くなります。ページがフォントを直接参照しているかどうかを知る必要がある場合は、このオプションを使用します。この場合、最後のエントリは0です。フォントがページの" " `/XObject` によって参照される場合、その :data:`xref` をここで見つけることができます。" #: ../../document.rst:1009 b483bbc3f4c244c6acc8c409b25f1dd5 msgid "" "a list of fonts referenced by the object definition of the page. Each " "entry looks like: `(xref, ext, type, basefont, name, encoding, " "referencer)` * ``xref`` (*int*) is the font object number (may be " "zero if the PDF uses one of the builtin fonts directly) * ``ext`` " "(*str*) font file extension (e.g. \"ttf\", see :ref:`FontExtensions`)" " * ``type`` (*str*) is the font type (like \"Type1\" or \"TrueType\" " "etc.) * ``basefont`` (*str*) is the base font name, * ``name`` " "(*str*) is the symbolic name, by which the font is referenced * " "``encoding`` (*str*) the font's character encoding if different from its " "built-in encoding (:ref:`AdobeManual`, p. 254): * ``referencer`` " "(*int* optional) the :data:`xref` of the referencer. Zero if directly " "referenced by the page, otherwise the xref of an XObject. Only present if" " *full=True*." msgstr "" #: ../../document.rst:1009 58bcdadb2ba8444d931f586e64adae5e #, fuzzy msgid "" "a list of fonts referenced by the object definition of the page. Each " "entry looks like:" msgstr "このページで参照されているフォントのリスト。各エントリは以下のようになります:" #: ../../document.rst:1011 4a04236fee1f48d1a11fcb7b3892c541 msgid "`(xref, ext, type, basefont, name, encoding, referencer)`" msgstr "" #: ../../document.rst:1013 82b62283f3904f859c1cfc7fd913aa3a #, fuzzy msgid "" "``xref`` (*int*) is the font object number (may be zero if the PDF uses " "one of the builtin fonts directly)" msgstr "" "*:data:`xref`* (*int*) " "はフォントオブジェクト番号です(PDFが組み込みフォントを直接使用している場合、ゼロになることがあります)" #: ../../document.rst:1014 b281d41a2a104abc96fb433a1ccf6917 #, fuzzy msgid "" "``ext`` (*str*) font file extension (e.g. \"ttf\", see " ":ref:`FontExtensions`)" msgstr "**ext** (*str*) フォントファイルの拡張子(例: \"ttf\"、:ref:`FontExtensions` を参照)" #: ../../document.rst:1015 a3da8b4719364cddb5b13b0530926e71 #, fuzzy msgid "``type`` (*str*) is the font type (like \"Type1\" or \"TrueType\" etc.)" msgstr "**type** (*str*) フォントの種類(\"Type1\"や\"TrueType\"など)" #: ../../document.rst:1016 a967a9a698a54fc6b11d779661ce60f1 #, fuzzy msgid "``basefont`` (*str*) is the base font name," msgstr "**basefont** (*str*) ベースフォント名" #: ../../document.rst:1017 614bd868a5294452b00f8986ef84424a #, fuzzy msgid "``name`` (*str*) is the symbolic name, by which the font is referenced" msgstr "**name** (*str*) フォントが参照される象徴的な名前" #: ../../document.rst:1018 76630068ae7f4e588fb71e0a5e8fda81 #, fuzzy msgid "" "``encoding`` (*str*) the font's character encoding if different from its " "built-in encoding (:ref:`AdobeManual`, p. 254):" msgstr "" "**encoding** (*str*) " "フォントの文字エンコーディング。組み込みエンコーディングと異なる場合(:ref:`AdobeManual`、p. 254を参照):" #: ../../document.rst:1019 d9bbbba29f0d49179ac6534d71492729 #, fuzzy msgid "" "``referencer`` (*int* optional) the :data:`xref` of the referencer. Zero " "if directly referenced by the page, otherwise the xref of an XObject. " "Only present if *full=True*." msgstr "" "**referencer** (*int*、オプション) 参照元のxref。ページから直接参照されている場合は0、それ以外の場合はXObjectの" " :data:`xref` です。 *full=True* の場合のみ存在します。" #: ../../document.rst:1021 0754eb9f62d34168ad17f5bc693e308d msgid "Example::" msgstr "例::" #: ../../document.rst:1034 bf4929ce53d44735a61082c4227b290d msgid "" "This list has no duplicate entries: the combination of :data:`xref`, " "*name* and *referencer* is unique." msgstr "このリストには重複するエントリはありません::data:`xref` 、*name* 、および *referencer* の組み合わせは一意です。" #: ../../document.rst:1035 1b9423c83bd84bdfbc55c57f23bc2164 #, fuzzy msgid "" "In general, this is a true superset of the fonts actually in use by this " "page. The PDF creator may e.g. have specified some global list, of which " "each page make only partial use." msgstr "一般的に、これはこのページで実際に使用されているフォントのスーパーセットです。PDF作成者は、各ページが部分的にしか使用しない、グローバルリストを指定したかもしれません。" #: ../../document.rst:1036 9b8712ad035b4ee5af594a3e164f7d0b msgid "" "Be aware that font names returned by some variants of " ":meth:`Page.get_text` (respectively :ref:`TextPage` methods) need not " "(exactly) equal the base font name shown here. Reasons for any " "differences include:" msgstr "" #: ../../document.rst:1038 9e3187a8049f43a8ab6ba7659956a13b msgid "" "This method always shows any subset prefixes (the pattern ``ABCDEF+``), " "whereas text extractions do not do this by default." msgstr "" #: ../../document.rst:1039 0abee5e9efcf4f259b19dbbf3c112ac9 msgid "" "Text extractions use the base library to access the font name, which has " "a length cap of 31 bytes and generally interrogates the font file binary " "to access the name. Method ``get_page_fonts()`` however looks at the PDF " "definition source." msgstr "" #: ../../document.rst:1040 ceff7473261d4ef0af2e8cd13f8a1f2b msgid "" "Text extractions work for all supported document types in exactly the " "same way -- not just for PDFs. Consequently they do not contain PDF-" "specifics." msgstr "" #: ../../document.rst:1044 b8db4c274c904f3e8d043eaf8c4fa329 msgid "" "Extracts the text of a page given its page number *pno* (zero-based). " "Invokes :meth:`Page.get_text`." msgstr "ページ番号 *pno* (0から始まる)を指定して、ページのテキストを抽出します。:meth:`Page.get_text` を呼び出します。" #: ../../document.rst:1046 ab0bf8a80bdf468dae5fcab8e58d513e msgid "page number, 0-based, any value `-∞ < pno < page_count`." msgstr "ページ番号、0から始まる、任意の値 `-∞ < pno < page_count`。" #: ../../document.rst:1048 27bf81508d0b4d2c934168e49148ac1b msgid "For other parameter refer to the page method." msgstr "その他のパラメータについては、ページのメソッドを参照してください。" #: ../../document.rst:1060 881bca230ae54f04b7233142e165e1fc msgid "" "Re-paginate (\"reflow\") the document based on the given page dimension " "and fontsize. This only affects some document types like e-books and " "HTML. Ignored if not supported. Supported documents have ``True`` in " "property :attr:`is_reflowable`." msgstr "" "与えられたページの寸法とフォントサイズに基づいて、ドキュメントを再ページ割り(\"リフロー\")します。これは電子書籍やHTMLなどの一部のドキュメントタイプにのみ影響します。サポートされていない場合は無視されます。サポートされているドキュメントには" " :attr:`is_reflowable` プロパティで ``True`` が設定されています。" #: ../../document.rst:1062 b4368178fd834f7cba473e3683f57587 msgid "desired page size. Must be finite, not empty and start at point (0, 0)." msgstr "望ましいページサイズ。有限で、空でなく、ポイント(0, 0)で始まる必要があります。" #: ../../document.rst:1063 ff2a60554e4c4e2a812c93fbdb80be62 #, fuzzy msgid "use it together with ``height`` as alternative to ``rect``." msgstr "*rect* との代替として、*height* と一緒に使用します。" #: ../../document.rst:1064 0ba8b89ec07f4191990fb69a81e9d18e #, fuzzy msgid "use it together with ``width`` as alternative to ``rect``." msgstr "*rect* との代替として、*width* と一緒に使用します。" #: ../../document.rst:1065 9073142bb51c42689875626b7abe5c25 msgid "the desired default fontsize." msgstr "望ましいデフォルトのフォントサイズ。" #: ../../document.rst:1069 a01cabf5e69f408980b2a61a12447312 msgid "" "PDF only: Keeps only those pages of the document whose numbers occur in " "the list. Empty sequences or elements outside `range(doc.page_count)` " "will cause a *ValueError*. For more details see remarks at the bottom or " "this chapter." msgstr "" "PDFのみ:ドキュメントのページ番号がリストに含まれるページのみ保持します。空のシーケンスまたは範囲外の要素 " "`range(doc.page_count)` は *ValueError* " "を引き起こします。詳細については、この章の最後の注釈を参照してください。" #: ../../document.rst:1071 b811b2733b5a4543a065fd5bef0c2d19 msgid "" "The sequence (see :ref:`SequenceTypes`) of page numbers (zero-based) to " "be included. Pages not in the sequence will be deleted (from memory) and " "become unavailable until the document is reopened. **Page numbers can " "occur multiple times and in any order:** the resulting document will " "reflect the sequence exactly as specified." msgstr "" "(:ref:`SequenceTypes`) – " "ページ番号(0から始まる)のシーケンス(PyMuPDFで引数として使用する場合はPythonシーケンスを使用)を含めるためのもの。シーケンス内に含まれていないページは(メモリから)削除され、ドキュメントが再オープンされるまで利用できなくなります。**ページ番号は複数回発生し、任意の順序で発生できます:**" " 結果のドキュメントは指定された正確なシーケンスを反映します。" #: ../../document.rst:1075 a0e792f0e7504785a8c3f46ae77381a0 msgid "" "Page numbers in the sequence need not be unique nor be in any particular " "order. This makes the method a versatile utility to e.g. select only the " "even or the odd pages or meeting some other criteria and so forth." msgstr "シーケンス内のページ番号は一意である必要も、特定の順序である必要もありません。これにより、この方法は、例えば偶数のページだけを選択したり、奇数のページだけを選択したり、その他の基準を満たしたりするなど、多目的に使用できます。" #: ../../document.rst:1077 a835fa5157904b5ab455cb2eb91f202c msgid "" "On a technical level, the method will always create a new " ":data:`pagetree`." msgstr "技術的なレベルでは、この方法は常に新しい :data:`pagetree` を作成します。" #: ../../document.rst:1079 ccc5be5dc4ae4ec0b2ef3ca6f735a437 msgid "" "When dealing with only a few pages, methods :meth:`copy_page`, " ":meth:`move_page`, :meth:`delete_page` are easier to use. In fact, they " "are also **much faster** -- by at least one order of magnitude when the " "document has many pages." msgstr "" "数ページしか扱わない場合、methods :meth:`copy_page` " "、:meth:`move_page`、:meth:`delete_page` " "を使用する方が簡単です。実際、これらの方法は、文書に多くのページがある場合でも、少なくとも1桁のオーダーで **高速です** 。" #: ../../document.rst:1084 6ea57c9287dc40f394387af6be79301e msgid "" "PDF only: Sets or updates the metadata of the document as specified in " "*m*, a Python dictionary." msgstr "PDFのみ: *m* で指定されたPythonの辞書と同じキーを持つ辞書を設定または更新します。" #: ../../document.rst:1086 8f5fd7f7e37241278a248b6dfdf47633 msgid "" "A dictionary with the same keys as *metadata* (see below). All keys are " "optional. A PDF's format and encryption method cannot be set or changed " "and will be ignored. If any value should not contain data, do not specify" " its key or set the value to `None`. If you use *{}* all metadata " "information will be cleared to the string *\"none\"*. If you want to " "selectively change only some values, modify a copy of *doc.metadata* and " "use it as the argument. Arbitrary unicode values are possible if " "specified as UTF-8-encoded." msgstr "" "*metadata* " "(以下参照)と同じキーを持つ辞書。すべてのキーはオプションです。PDFのフォーマットと暗号化方法は設定または変更できないため、無視されます。データを含めないべき値がある場合、そのキーを指定しないか、値を" " `None` に設定しないでください。*{}* を使用すると、すべてのメタデータ情報が文字列 *\"none\"* " "にクリアされます。一部の値のみを選択的に変更したい場合は、*doc.metadata* " "のコピーを変更して引数として使用してください。UTF-8でエンコードされた場合、任意のUnicode値が指定可能です。" #: ../../document.rst:1088 378dd664bfff4b00a333924796f6afa1 msgid "" "*(Changed in v1.18.4)* Empty values or \"none\" are no longer written, " "but completely omitted." msgstr "*(v1.18.4で変更)* 空の値または \"none\" は書き込まれなくなり、完全に省略されます。" #: ../../document.rst:1092 7defc5da9e384a81910c8e57c5c08c9b msgid "PDF only: Get the document XML metadata." msgstr "PDFのみ:ドキュメントのXMLメタデータを取得します。" #: ../../document.rst:1095 022fd903a25f47d892ec5c148aa9731c msgid "XML metadata of the document. Empty string if not present or not a PDF." msgstr "ドキュメントのXMLメタデータ。存在しない場合やPDFでない場合は空の文字列。" #: ../../document.rst:1099 3bc746006bd14cad95bbd71e15614ea4 msgid "PDF only: Sets or updates XML metadata of the document." msgstr "PDFのみ:ドキュメントのXMLメタデータを設定または更新します。" #: ../../document.rst:1101 815c87ed354f45afb5034d3fa4df2b7a msgid "" "the new XML metadata. Should be XML syntax, however no checking is done " "by this method and any string is accepted." msgstr "xml(str)–新しいXMLメタデータ。XML構文である必要がありますが、このメソッドではチェックされず、任意の文字列が受け入れられます。" #: ../../document.rst:1106 ../../document.rst:1115 ../../document.rst:1124 #: ../../document.rst:2062 ../../document.rst:2070 ../../document.rst:2078 #: ../../document.rst:2086 ../../document.rst:2094 #: 4956c403ef204b3a9535793528deea60 54acf2c9d3094866ada7757386c3c700 #: 697a878d761047fb8f538a6c5d2b112d 897bf7c435d6499494abe2b762aa7625 #: d481448871f2481096ebf5ba1c5cd890 e1271d18b89947ae8490b4cecbcc4277 #: e7a671ebea5446029fd0019bf910f05a fc68fc012f1e4cbcbcf1e4f9c9adbca6 msgid "New in v1.22.2" msgstr "v1.22.2で新登場" #: ../../document.rst:1108 6095a410473445d68dd1082d0e3598f9 msgid "PDF only: Set the `/PageLayout`." msgstr "PDFのみ:`/PageLayout` を設定します。" #: ../../document.rst:1110 b8d4a1a8ad4c46a6bb4dc931bfb281a2 msgid "" "one of the strings \"SinglePage\", \"OneColumn\", \"TwoColumnLeft\", " "\"TwoColumnRight\", \"TwoPageLeft\", \"TwoPageRight\". Lower case is " "supported." msgstr "以下の文字列のいずれか、\"SinglePage\"、\"OneColumn\"、\"TwoColumnLeft\"、\"TwoColumnRight\"、\"TwoPageLeft\"、\"TwoPageRight\"。小文字もサポートされています。" #: ../../document.rst:1117 83135c81dcbb41e49d6872b76d675476 msgid "PDF only: Set the `/PageMode`." msgstr "PDFのみ:`/PageMode` を設定します。" #: ../../document.rst:1119 361f59248bed437f82de57b9c0cff394 msgid "" "one of the strings \"UseNone\", \"UseOutlines\", \"UseThumbs\", " "\"FullScreen\", \"UseOC\", \"UseAttachments\". Lower case is supported." msgstr "以下の文字列のいずれか、\"UseNone\"、\"UseOutlines\"、\"UseThumbs\"、\"FullScreen\"、\"UseOC\"、\"UseAttachments\"。小文字もサポートされています。" #: ../../document.rst:1126 484c93332c134d25b3c8e46c7153b12a msgid "PDF only: Set the `/MarkInfo` values." msgstr "PDFのみ:`/MarkInfo` の値を設定します。" #: ../../document.rst:1128 a217e06c6a7c47e1a6fe64aeadf09de5 msgid "" "a dictionary like this one: `{\"Marked\": False, \"UserProperties\": " "False, \"Suspects\": False}`. This dictionary contains information about " "the usage of Tagged PDF conventions. For details please see the `PDF " "specifications `_." msgstr "" "次のような辞書:`{\"Marked\": False, \"UserProperties\": False, \"Suspects\": " "False}`。この辞書にはタグ付きPDF規則の使用に関する情報が含まれています。詳細については `PDF仕様 " "`_ を参照してください。" #: ../../document.rst:1133 1a3785bb335b40d5b5f05f19d59dc55f msgid "" "PDF only: Replaces the **complete current outline** tree (table of " "contents) with the one provided as the argument. After successful " "execution, the new outline tree can be accessed as usual via " ":meth:`Document.get_toc` or via :attr:`Document.outline`. Like with other" " output-oriented methods, changes become permanent only via :meth:`save` " "(incremental save supported). Internally, this method consists of the " "following two steps. For a demonstration see example below." msgstr "" "PDFのみ:提供された引数で **現在のアウトラインツリー(目次)全体** を置き換えます。成功した実行後、新しいアウトラインツリーは通常通り D" " :meth:`Document.get_toc` または :attr:`Document.outline` " "を使用してアクセスできます。他の出力指向のメソッドと同様に、変更は :meth:`save` " "(増分保存対応)を介してのみ永続的になります。内部的には、このメソッドは次の2つのステップで構成されています。デモンストレーションについては以下の例を参照してください。" #: ../../document.rst:1135 fab5fac64dd3452580cdcccdd7303f00 msgid "Step 1 deletes all existing bookmarks." msgstr "ステップ1:すべての既存のブックマークを削除します。" #: ../../document.rst:1137 3e9734d29cee4dd182cbcc2cfd77a07c msgid "Step 2 creates a new TOC from the entries contained in *toc*." msgstr "ステップ2:*toc* に含まれるエントリを使用して新しいTOCを作成します。" #: ../../document.rst:1139 1e6897bee93b42f48e1da50ac920665c msgid "" "A list / tuple with **all bookmark entries** that should form the new " "table of contents. Output variants of :meth:`get_toc` are acceptable. To " "completely remove the table of contents specify an empty sequence or " "None. Each item must be a list with the following format. * [lvl, title," " page [, dest]] where - **lvl** is the hierarchy level (int > 0) of " "the item, which **must be 1** for the first item and at most 1 larger " "than the previous one. - **title** (str) is the title to be displayed." " It is assumed to be UTF-8-encoded (relevant for multibyte code points " "only). - **page** (int) is the target page number **(attention: " "1-based)**. Must be in valid range if positive. Set it to -1 if there is " "no target, or the target is external. - **dest** (optional) is a " "dictionary or a number. If a number, it will be interpreted as the " "desired height (in points) this entry should point to on the page. Use a " "dictionary (like the one given as output by `get_toc(False)`) for a " "detailed control of the bookmark's properties, see " ":meth:`Document.get_toc` for a description." msgstr "" #: ../../document.rst:1141 fe3a1323fbad4254982338ebfe8c989f msgid "" "A list / tuple with **all bookmark entries** that should form the new " "table of contents. Output variants of :meth:`get_toc` are acceptable. To " "completely remove the table of contents specify an empty sequence or " "None. Each item must be a list with the following format." msgstr "" "新しい目次を形成するための **すべてのブックマークエントリ** を含むリスト/タプル。:meth:`get_toc` " "の出力バリエーションが許容されます。目次を完全に削除するには、空のシーケンスまたはNoneを指定してください。各アイテムは、次の形式である必要があります。" #: ../../document.rst:1143 85509f224b1249c4b5b63690222e9eb0 msgid "[lvl, title, page [, dest]] where" msgstr "[lvl, title, page [, dest]] ここで" #: ../../document.rst:1145 690744393f344093958f9ddfa8f135c0 msgid "" "**lvl** is the hierarchy level (int > 0) of the item, which **must be 1**" " for the first item and at most 1 larger than the previous one." msgstr "**lvl** はアイテムの階層レベル(int > 0)で、最初のアイテムの場合は1で、前のアイテムより最大1大きくする必要があります。" #: ../../document.rst:1147 0e0033a874d3456abc5787e7192d318d msgid "" "**title** (str) is the title to be displayed. It is assumed to be " "UTF-8-encoded (relevant for multibyte code points only)." msgstr "" "**title** " "(str)は表示されるタイトルです。UTF-8でエンコードされていると仮定されています(マルチバイトコードポイントの場合に関連します)。" #: ../../document.rst:1149 4803db27502949be9cae49f68a00c3c4 msgid "" "**page** (int) is the target page number **(attention: 1-based)**. Must " "be in valid range if positive. Set it to -1 if there is no target, or the" " target is external." msgstr "" "**page**(int)は対象のページ番号です **(注意:1から始まります)** " "。正の場合、有効な範囲内になければなりません。対象がない場合、または対象が外部の場合は-1に設定します。" #: ../../document.rst:1151 de6ec335a2dc463b9619f7d960d55fd8 msgid "" "**dest** (optional) is a dictionary or a number. If a number, it will be " "interpreted as the desired height (in points) this entry should point to " "on the page. Use a dictionary (like the one given as output by " "`get_toc(False)`) for a detailed control of the bookmark's properties, " "see :meth:`Document.get_toc` for a description." msgstr "" "**dest** " "(オプション)は辞書または数値です。数値の場合、このエントリがページ上で指し示すべき目標の高さ(ポイント単位)と解釈されます。詳細なブックマークのプロパティを制御するには(`get_toc(False)`" " によって出力されるものと同様の辞書を使用してください)、:meth:`Document.get_toc` の説明を参照してください。" #: ../../document.rst:1153 4b2509feab4d42c1896479cb753f319a msgid "" "*(new in v1.16.9)* controls the hierarchy level beyond which outline " "entries should initially show up collapsed. The default 1 will hence only" " display level 1, higher levels must be unfolded using the PDF viewer. To" " unfold everything, specify either a large integer, 0 or None." msgstr "" "*(v1.16.9で新規追加)* " "アウトラインエントリが初めて折りたたまれて表示される階層レベルを制御します。デフォルトの1はレベル1のみを表示し、より高いレベルはPDFビューアを使用して展開する必要があります。すべてを展開するには、大きな整数、0、またはNoneを指定してください。" #: ../../document.rst:1156 2e9ef17d9ad7433caf717d11a0bef04d msgid "the number of inserted, resp. deleted items." msgstr "挿入されたアイテム、または削除されたアイテムの数。" #: ../../document.rst:1158 cc6b2a61bf8745ad9a685a8bdb934307 msgid "" "Changed in v1.23.8: Destination 'to' coordinates should now be in the " "same coordinate system as those returned by `get_toc()` (internally they " "are now transformed with `page.cropbox` and `page.rotation_matrix`). So " "for example `set_toc(get_toc())` now gives unchanged destination 'to' " "coordinates." msgstr "" "1.23.8 で変更されました: デスティネーションの 'to' 座標は、現在 `get_toc()` で返される座標系と同じ座標系であるべきです" " (内部的には `page.cropbox` と `page.rotation_matrix` で変換されます)。したがって、例えば " "`set_toc(get_toc())` は、変更されていない 'to' 座標を与えます。" #: ../../document.rst:1168 69ead51269304dd6b951d0f68345cb21 msgid "" "PDF only: Return the :data:`xref` of the outline item. This is mainly " "used for internal purposes." msgstr "PDFのみ:アウトラインアイテムの :data:`xref` を返します。これは主に内部用途で使用されます。" #: ../../document.rst:1170 ac5515f1060a4f2f8cfea8c5de047f36 #, fuzzy msgid "index of the item in list :meth:`Document.get_toc`." msgstr ":meth:`Document.get_toc` のリスト内のアイテムのインデックス。" #: ../../document.rst:1172 968f01ffca3d4358afb5662a933cd835 msgid ":data:`xref`." msgstr "" #: ../../document.rst:1177 34e33888ad8a4b238bbf919bd98c86cd msgid "" "Changed in v1.18.14: no longer remove the item's text, but show it " "grayed-out." msgstr "v1.18.14で変更: アイテムのテキストを削除しなくなり、灰色で表示されます。" #: ../../document.rst:1179 dd42c42f2ed74d9f9c635912f3d908da msgid "" "PDF only: Remove this TOC item. This is a high-speed method, which " "**disables** the respective item, but leaves the overall TOC structure " "intact. Physically, the item still exists in the TOC tree, but is shown " "grayed-out and will no longer point to any destination." msgstr "" "PDFのみ: この目次アイテムを削除します。これは高速なメソッドで、該当するアイテムを **無効にします** " "が、全体の目次構造はそのままです。物理的には、アイテムはまだ目次ツリーに存在しますが、灰色で表示され、もはやどの宛先も指し示しません。" #: ../../document.rst:1181 14518935bf6542a1909828b5acc5bb9d msgid "" "This also implies that you can reassign the item to a new destination " "using :meth:`Document.set_toc_item`, when required." msgstr "" "これはまた、必要な場合に:meth:`Document.set_toc_item` " "を使用してアイテムを新しい宛先に再割り当てできることを意味します。" #: ../../document.rst:1183 22d9b55991c34bb6b5b50464e9d3ede0 msgid "the index of the item in list :meth:`Document.get_toc`." msgstr ":meth:`Document.get_toc` のリスト内のアイテムのインデックス。" #: ../../document.rst:1189 f97ad420e8f2448d89a3942f5f4ecdde msgid "Changed in v1.18.6" msgstr "v1.18.6で変更" #: ../../document.rst:1191 f37714c941aa4caab4557723d10633c7 msgid "" "PDF only: Changes the TOC item identified by its index. Change the item " "**title**, **destination**, **appearance** (color, bold, italic) or " "collapsing sub-items -- or to remove the item altogether." msgstr "" "PDFのみ: インデックスによって識別されるTOCアイテムを変更します。アイテムの **タイトル** 、**宛先** 、 **外観** " "(色、太字、イタリック)を変更したり、サブアイテムを折りたたんだり、アイテムを完全に削除したりするために使用します。" #: ../../document.rst:1193 28fc5be05b3a4afa92b7a5f95bbf478b msgid "" "Use this method if you need specific changes for selected entries only " "and want to avoid replacing the complete TOC. This is beneficial " "especially when dealing with large table of contents." msgstr "選択したエントリに対して特定の変更が必要で、完全なTOCを置き換えたくない場合にこのメソッドを使用します。大きな目次を扱う場合に特に便利です。" #: ../../document.rst:1195 288fc512c31544d3be554d8f5cce5cb9 msgid "the index of the entry in the list created by :meth:`Document.get_toc`." msgstr ":meth:`Document.get_toc` によって作成されたリスト内のエントリのインデックス。" #: ../../document.rst:1196 a16b6cc4ad6a49e496bc2541ff752cfd msgid "" "the new destination. A dictionary like the last entry of an item in " "`doc.get_toc(False)`. Using this as a template is recommended. When " "given, **all other parameters are ignored** -- except title." msgstr "" "新しい宛先。`doc.get_toc(False)` のアイテムの最後のエントリのような辞書を使用することが推奨されます。指定された場合、他の " "**すべてのパラメータは無視されます** - タイトル以外。" #: ../../document.rst:1197 8d519eb7f6f84aa586f6894b855ec1b4 msgid "" "the link kind, see :ref:`linkDest Kinds`. If :data:`LINK_NONE`, then all " "remaining parameter will be ignored, and the TOC item will be removed -- " "same as :meth:`Document.del_toc_item`. If None, then only the title is " "modified and the remaining parameters are ignored. All other values will " "lead to making a new destination dictionary using the subsequent " "arguments." msgstr "" "リンクの種類、:ref:`linkDest Kinds` を参照してください。:data:`LINK_NONE` " "の場合、残りのパラメータはすべて無視され、TOCアイテムは削除されます - :meth:`Document.del_toc_item` " "と同じです。Noneの場合、タイトルのみが変更され、残りのパラメータは無視されます。それ以外の値は、後続の引数を使用して新しい宛先辞書を作成します。" #: ../../document.rst:1198 23d121f44ba448deb820d78571787db2 msgid "" "the 1-based page number, i.e. a value 1 <= pno <= doc.page_count. " "Required for LINK_GOTO." msgstr "1から始まるページ番号、つまり1 <= pno <= doc.page_count。LINK_GOTOの場合に必要です。" #: ../../document.rst:1199 32c7c87f9e8e403ab8146f49e7a37529 msgid "the URL text. Required for LINK_URI." msgstr "URLのテキスト。LINK_URIの場合に必要です。" #: ../../document.rst:1200 43fcbce5ce9847278bc2628a403f4e40 msgid "the desired new title. None if no change." msgstr "新しいタイトル。変更しない場合はNone。" #: ../../document.rst:1201 6840fbdc207c43779b48e2f8df7435b6 msgid "" "(optional) points to a coordinate on the target page. Relevant for " "LINK_GOTO. If omitted, a point near the page's top is chosen." msgstr "(オプション)対象ページ上の座標を指定します。LINK_GOTOの場合に関連します。省略された場合、ページの上部近くのポイントが選択されます。" #: ../../document.rst:1202 7c940e27b57c48529e5d3e8ff0325a69 msgid "required for LINK_GOTOR and LINK_LAUNCH." msgstr "LINK_GOTORおよびLINK_LAUNCHに必要です。" #: ../../document.rst:1203 132587a96eb44d79895a5275d7a58ec9 msgid "use this zoom factor when showing the target page." msgstr "対象ページを表示する際にこのズームファクターを使用します。" #: ../../document.rst:1205 51f0afa8fe36446da6457ee40177e6ac msgid "**Example use:** Change the TOC of the SWIG manual to achieve this:" msgstr "**使用例:** SWIGマニュアルのTOCを変更して、次のことを達成します:" #: ../../document.rst:1207 89691e2e24d042b7afaa252f2404e728 msgid "" "Collapse everything below top level and show the chapter on Python " "support in red, bold and italic::" msgstr "トップレベル以下をすべて折りたたみ、Pythonサポートの章を赤色で太字かつイタリックで表示::" #: ../../document.rst:1224 cb071d795eef4051859facdf9c2c7f83 msgid "" "In the previous example, we have changed only 42 of the 1240 TOC items of" " the file." msgstr "前の例では、ファイルの1240のTOCアイテムのうち、わずか42のみを変更しました。" #: ../../document.rst:1228 4b6c6cb7b0cd41fe85e5ecb9dfbff8ec msgid "" "PDF only: Convert annotations and / or widgets to become permanent parts " "of the pages. The PDF **will be changed** by this method. If `widgets` is" " `True`, the document will also no longer be a \"Form PDF\"." msgstr "" "PDF のみ: 注釈やウィジェットをページの永続的な部分に変換します。このメソッドによって PDF **は変更されます**。 `widgets` " "が `True` の場合、ドキュメントは「フォーム PDF」ではなくなります。" #: ../../document.rst:1230 b1618c1259c44d298694a1fdd071bea7 msgid "" "All pages will look the same, but will no longer have annotations, " "respectively fields. The visible parts will be converted to standard " "text, vector graphics or images as required." msgstr "すべてのページが同じように見えますが、注釈またはフィールドがなくなります。必要に応じて、表示される部分は標準のテキスト、ベクトルグラフィックス、または画像に変換されます。" #: ../../document.rst:1232 4e629c4362f5458dacd2bb2f00dc9a42 msgid "" "The method may thus be a viable **alternative for PDF-to-PDF " "conversions** using :meth:`Document.convert_to_pdf`." msgstr "" "このメソッドは、:meth:`Document.convert_to_pdf` を使用して PDF を PDF " "に変換する際の代替手段として有効な選択肢です。" #: ../../document.rst:1234 eac5b3e2fdae4934a3324c3826cb5be0 msgid "" "Please consider that annotations are complex objects and may consist of " "more data \"underneath\" their visual appearance. Examples are \"Text\" " "and \"FileAttachment\" annotations. When \"baking in\" annotations / " "widgets with this method, all this underlying information (attached " "files, comments, associated PopUp annotations, etc.) will be lost and be " "removed on next garbage collection." msgstr "" "注釈は複雑なオブジェクトであり、視覚的な外観の下にさらに多くのデータが存在する場合があります。例としては、\"Text\" や " "\"FileAttachment\" " "の注釈が挙げられます。このメソッドで注釈やウィジェットを組み込む際には、この下部情報(添付ファイル、コメント、関連するポップアップ注釈など)がすべて失われ、次のガベージコレクション時に削除されます。" #: ../../document.rst:1236 8a23bab53bf14c8aa574e2e600474bcd #, fuzzy msgid "" "Use this feature for instance for :meth:`Page.show_pdf_page` (which " "supports neither annotations nor widgets) when the source pages should " "look exactly the same in the target." msgstr "" "たとえば、 :meth:`Document.insert_pdf` (ウィジェットのコピーをサポートしていない)や " ":meth:`Page.show_pdf_page` " "(注釈やウィジェットをサポートしていない)などのメソッドで、ソースページがターゲットで完全に同じように見えるようにする場合にこの機能を使用します。" #: ../../document.rst:1239 a39cbfa8407c4df6af1eb80d30cb91ff msgid "convert annotations." msgstr "注釈を変換するかどうか。" #: ../../document.rst:1240 45f21baaa61b4e06b77104c6c6735089 msgid "" "convert fields / widgets. After execution, the document will no longer be" " a \"Form PDF\"." msgstr "フィールド / ウィジェットを変換します。実行後、ドキュメントはもはや「フォーム PDF」ではありません。" #: ../../document.rst:1245 6cddb53c70e64e57b442090c1f2207d2 msgid "New in v1.16.0" msgstr "v1.16.0で新規追加" #: ../../document.rst:1247 fa1fdbe516594d0d98a0d538a5555317 msgid "" "Check whether the document can be saved incrementally. Use it to choose " "the right option without encountering exceptions." msgstr "ドキュメントを増分保存できるかどうかを確認します。例外を発生させずに正しいオプションを選択するために使用します。" #: ../../document.rst:1251 34130af2a2be4418bd86e36c3ebe8d5a msgid "New in v1.16.14" msgstr "v1.16.14で新規追加" #: ../../document.rst:1253 d9e7b0b6be0e4bb98d2275cf4c18136d msgid "" "PDF only: Remove potentially sensitive data from the PDF. This function " "is inspired by the similar \"Sanitize\" function in Adobe Acrobat " "products. The process is configurable by a number of options." msgstr "" "PDFのみ:PDFから潜在的に機密性の高いデータを削除します。この関数はAdobe " "Acrobat製品の類似の「Sanitize」機能にインスパイアを受けたものです。プロセスはさまざまなオプションで設定可能です。" #: ../../document.rst:1255 122850b369374792b6f0ff12b94fc87b msgid "Search for 'FileAttachment' annotations and remove the file content." msgstr "'FileAttachment' 注釈を検索してファイルコンテンツを削除します。" #: ../../document.rst:1256 e8f4d3ec34634deeb615c44f546d61d3 msgid "" "Remove any comments from page painting sources. If this option is set to " "``False``, then this is also done for *hidden_text* and *redactions*." msgstr "" "ページ描画ソースからコメントを削除します。このオプションが ``False`` に設定されている場合、*hidden_text* と " "*redactions* に対しても同様の処理が行われます。" #: ../../document.rst:1257 6919e0d4f13c46b1ade6ed30abaf7ef7 msgid "Remove embedded files." msgstr "埋め込みファイルを削除します。" #: ../../document.rst:1258 7e5564f6654a4449bb1bad2f78316f86 msgid "Remove OCRed text and invisible text [#f7]_." msgstr "OCRedテキストと不可視テキストを削除します [#f7]_。" #: ../../document.rst:1259 fd5111edbec040ae8e77d30b21c503a4 msgid "Remove JavaScript sources." msgstr "JavaScriptソースを削除します。" #: ../../document.rst:1260 7054ef539ad641c2bf57e166ebbd4952 msgid "Remove PDF standard metadata." msgstr "PDF標準のメタデータを削除します。" #: ../../document.rst:1261 8f65baf5ab154d0b992eefec509ce93e msgid "Apply redaction annotations." msgstr "レダクション注釈を適用します。" #: ../../document.rst:1262 f7f0f74a02e9491988b1dc2a0587aaae msgid "" "how to handle images if applying redactions. One of 0 (ignore), 1 (blank " "out overlaps) or 2 (remove)." msgstr "レダクションを適用する場合の画像の処理方法。0(無視)、1(オーバーラップをブランク化)、または2(削除)のいずれかです。" #: ../../document.rst:1263 a65be763835e4d588b701873d968784e msgid "Remove all links." msgstr "すべてのリンクを削除します。" #: ../../document.rst:1264 9931675e2d0040f7a193eb79f2ee2884 msgid "Reset all form fields to their defaults." msgstr "すべてのフォームフィールドをデフォルトにリセットします。" #: ../../document.rst:1265 5f0d45da4d9f4c71b72ef46e91b342fd msgid "Remove all responses from all annotations." msgstr "すべての注釈からすべての応答を削除します。" #: ../../document.rst:1266 3253836eaaec4b2ca87df3b3b95f015a msgid "Remove thumbnail images from pages." msgstr "ページからサムネイル画像を削除します。" #: ../../document.rst:1267 73179141037a4f01b4e064b767ebb9a8 msgid "Remove XML metadata." msgstr "XMLメタデータを削除します。" #: ../../document.rst:1272 ../../document.rst:1349 #: 46784658632a419388980eb13c1041a1 da6e920ba12d438988b9655f9fac67c5 msgid "Changed in v1.18.7" msgstr "v1.18.7で変更" #: ../../document.rst:1273 ../../document.rst:1350 #: 12262e65b5664f109f47051864977083 56c375b6fe6a4791bf227b919ad7e097 msgid "Changed in v1.19.0" msgstr "v1.19.0で変更" #: ../../document.rst:1274 ../../document.rst:1351 #: 5260dc902fd9499b8410a0aaa18efdd9 b9acb7ade9fc4b05939e79ad1d0d7a94 #, fuzzy msgid "Changed in v1.24.1" msgstr "v1.14.12で変更" #: ../../document.rst:1276 bc516f2e012c4878bd37006c7e9e88b0 msgid "PDF only: Saves the document in its **current state**." msgstr "PDFのみ:ドキュメントの **現在の状態** を保存します。" #: ../../document.rst:1278 ce7de6ce58a34138ace194aa363ea3c0 msgid "" "The file path, `pathlib.Path` or file object to save to. A file object " "must have been created before via `open(...)` or `io.BytesIO()`. Choosing" " `io.BytesIO()` is similar to :meth:`Document.tobytes` below, which " "equals the `getvalue()` output of an internally created `io.BytesIO()`." msgstr "" "保存先のファイルパス、`pathlib.Path` 、またはファイルオブジェクト。ファイルオブジェクトは `open(...)` または " "`io.BytesIO()` を介して事前に作成されている必要があります。`io.BytesIO()` を選択することは、以下の " ":meth:`Document.tobytes` と同等で、内部で作成された `io.BytesIO()` の `getvalue()` " "出力に等しいです。" #: ../../document.rst:1280 aa801ed2c60e4edc9a6b9a636ce2c7ce msgid "" "Do garbage collection. Positive values exclude \"incremental\". * 0 = " "none * 1 = remove unused (unreferenced) objects. * 2 = in addition to 1, " "compact the :data:`xref` table. * 3 = in addition to 2, merge duplicate " "objects. * 4 = in addition to 3, check :data:`stream` objects for " "duplication. This may be slow because such data are typically large." msgstr "" #: ../../document.rst:1280 98a9fdc676634ec3b02acc9b22deea8a msgid "Do garbage collection. Positive values exclude \"incremental\"." msgstr "ガベージコレクションを実行します。正の値は「増分」を除外します。" #: ../../document.rst:1282 ../../document.rst:1300 #: 01264ad0b1f348908fb979dacacd82dd a59c0bd122c043e99f85c56dbb619e23 msgid "0 = none" msgstr "0 = なし" #: ../../document.rst:1283 c584c994c62c47b6bb2d9c9eec495a25 msgid "1 = remove unused (unreferenced) objects." msgstr "1 = 未使用(参照されていない)オブジェクトを削除します。" #: ../../document.rst:1284 90892bbc3ba948e49451a75bd88e5ec1 msgid "2 = in addition to 1, compact the :data:`xref` table." msgstr "2 = 1に加えて、:data:`xref` テーブルを最適化します。" #: ../../document.rst:1285 441ba00255e545c58a3c0873eb9b5b75 msgid "3 = in addition to 2, merge duplicate objects." msgstr "3 = 2に加えて、重複したオブジェクトを統合します。" #: ../../document.rst:1286 da68f0ef05be4518b693fe96dcf63799 msgid "" "4 = in addition to 3, check :data:`stream` objects for duplication. This " "may be slow because such data are typically large." msgstr "4 = 3に加えて、ストリームオブジェクトの重複をチェックします。これは、そのようなデータが通常大きいため、遅い場合があります。" #: ../../document.rst:1288 87ab7b3d94364600a46fd3583338cf33 msgid "" "Clean and sanitize content streams [#f1]_. Corresponds to \"mutool clean " "-sc\"." msgstr "コンテンツストリームをクリーンアップおよびサニタイズします [#f1]_。これは「mutool clean -sc」に対応します。" #: ../../document.rst:1290 307368cf4bae4dd3a31a1c6dba695999 msgid "Deflate (compress) uncompressed streams." msgstr "未圧縮のストリームをデフレート(圧縮)します。" #: ../../document.rst:1291 074aa683f32949a09fd3b5218932b9d2 msgid "*(new in v1.18.3)* Deflate (compress) uncompressed image streams [#f4]_." msgstr "*(v1.18.3で新規追加)* 未圧縮の画像ストリームをデフレート(圧縮)します [#f4]_。" #: ../../document.rst:1292 f47d59f8289a4a0b8f6227e131941c9e msgid "" "*(new in v1.18.3)* Deflate (compress) uncompressed fontfile streams " "[#f4]_." msgstr "(v1.18.3で新規追加)未圧縮のフォントファイルストリームをデフレート(圧縮)します [#f4]_。" #: ../../document.rst:1294 98dd2b4baaf142159a443d2deb715b9b msgid "" "Only save changes to the PDF. Excludes \"garbage\" and \"linear\". Can " "only be used if *outfile* is a string or a `pathlib.Path` and equal to " ":attr:`Document.name`. Cannot be used for files that are decrypted or " "repaired and also in some other cases. To be sure, check " ":meth:`Document.can_save_incrementally`. If this is false, saving to a " "new file is required." msgstr "" "PDFへの変更を保存します。 \"garbage\" および \"linear\" を除外します。*outfile* が文字列または " "`pathlib.Path` であり、:attr:`Document.name` " "に等しい場合にのみ使用できます。復号化または修復されたファイルおよび一部の他の場合には使用できません。確実にするために、:meth:`Document.can_save_incrementally`" " を確認してください。これがFalseの場合、新しいファイルに保存する必要があります。" #: ../../document.rst:1296 b7d42cf66e264b78b3aaa3cee4468fa6 msgid "convert binary data to ASCII." msgstr "バイナリデータをASCIIに変換します。" #: ../../document.rst:1298 005ca024523d404887a1514b77c99675 msgid "" "Decompress objects. Generates versions that can be better read by some " "other programs and will lead to larger files. * 0 = none * 1 = images * " "2 = fonts * 255 = all" msgstr "" #: ../../document.rst:1298 2bb773df27374e8880b5a9762601b294 msgid "" "Decompress objects. Generates versions that can be better read by some " "other programs and will lead to larger files." msgstr "オブジェクトを展開します。他のプログラムにより読みやすいバージョンを生成し、ファイルサイズが大きくなります。" #: ../../document.rst:1301 4c34dc68468f45819bd8a5140a26fc7d msgid "1 = images" msgstr "1 = 画像" #: ../../document.rst:1302 9b54dc5c6dee40a8ac7fda271235a869 msgid "2 = fonts" msgstr "2 = フォント" #: ../../document.rst:1303 7559171a73a04f818f09a84c49f541b8 msgid "255 = all" msgstr "255 = すべて" #: ../../document.rst:1305 4b275a55b310440cbc6bed0da1fcc137 #, fuzzy msgid "" "Save a linearised version of the document. This option creates a file " "format for improved performance for Internet access. Excludes " "\"incremental\" and \"use_objstms\"." msgstr "" "ドキュメントの線形バージョンを保存します。このオプションは、インターネットアクセスのパフォーマンス向上のためのファイル形式を作成します。 " "\"増分\" を除外します。" #: ../../document.rst:1307 8d34e1be34a6456583de08a964b06ffe msgid "" "Prettify the document source for better readability. PDF objects will be " "reformatted to look like the default output of " ":meth:`Document.xref_object`." msgstr "" "ドキュメントソースを見やすく整形します。PDFオブジェクトは、:meth:`Document.xref_object` " "のデフォルト出力のように再フォーマットされます。" #: ../../document.rst:1309 6c8fa6521582483489eafa899e3a7b5e msgid "" "Suppress the update of the file's `/ID` field. If the file happens to " "have no such field at all, also suppress creation of a new one. Default " "is `False`, so every save will lead to an updated file identification." msgstr "" "ファイルの `/ID` フィールドの更新を抑制します。 " "ファイルにそのようなフィールドがまったくない場合、新しいフィールドの作成も抑制します。デフォルトは `False` " "で、各保存でファイル識別情報が更新されます。" #: ../../document.rst:1311 2abbbdfe20de45a989cb6206cb2a676c msgid "" "*(new in v1.16.0)* Set the desired permission levels. See " ":ref:`PermissionCodes` for possible values. Default is granting all." msgstr "" "(v1.16.0で新規追加)希望の権限レベルを設定します。可能な値については :ref:`PermissionCodes` " "を参照してください。デフォルトはすべてを許可します。" #: ../../document.rst:1313 8026bd5ba1c04716af36a27cfb56c0f3 msgid "" "*(new in v1.16.0)* set the desired encryption method. See " ":ref:`EncryptionMethods` for possible values." msgstr "" "*(v1.16.0で新規追加)* 希望の暗号化メソッドを設定します。可能な値については :ref:`EncryptionMethods` " "を参照してください。" #: ../../document.rst:1315 973dde478560485086c44526497bacd5 msgid "" "*(new in v1.16.0)* set the document's owner password. *(Changed in " "v1.18.3)* If not provided, the user password is taken if provided. The " "string length must not exceed 40 characters." msgstr "" "*(v1.16.0で新規追加)* ドキュメントの所有者パスワードを設定します。 (v1.18.3で変更) " "指定しない場合、ユーザーパスワードが提供された場合にユーザーパスワードが使用されます。文字列の長さは40文字を超えてはいけません。" #: ../../document.rst:1317 3c2c2b927a9448bfb0a16d0db2c915e4 msgid "" "*(new in v1.16.0)* set the document's user password. The string length " "must not exceed 40 characters." msgstr "(v1.16.0で新規追加)ドキュメントのユーザーパスワードを設定します。文字列の長さは40文字を超えてはいけません。" #: ../../document.rst:1319 7fee682328a94e6288a75978a7630ce1 msgid "" "*(new in v1.24.0)* compression option that converts eligible PDF object " "definitions to information that is stored in some other object's " ":data:`stream` data. Depending on the `deflate` parameter value, the " "converted object definitions will be compressed -- which can lead to very" " significant file size reductions." msgstr "" "*(v1.24.0で新機能)* 可変化PDFオブジェクト定義を他のオブジェクトの :data:`stream` " "データに格納される情報に変換する圧縮オプションです。`deflate` " "パラメータの値に応じて、変換されたオブジェクト定義が圧縮されます。これにより、ファイルサイズが非常に大幅に削減される可能性があります。" #: ../../document.rst:1321 8ffaa1fceb4f4e34a5b8891e046c1ee3 msgid "" "The method does not check, whether a file of that name already exists, " "will hence not ask for confirmation, and overwrite the file. It is your " "responsibility as a programmer to handle this." msgstr "このメソッドは、その名前のファイルがすでに存在するかどうかをチェックしません。したがって、確認を求めずにファイルを上書きします。これについては、プログラマーとしての責任があります。" #: ../../document.rst:1325 be3ee913b5004b3d9517106841ba688a msgid "**File size reduction**" msgstr "**ファイルサイズの削減**" #: ../../document.rst:1327 1bf790168b284a5d9aaaf7d91cc13bbc #, fuzzy msgid "" "1. Use the save options like `garbage=3|4, deflate=True, " "use_objstms=True|1`. Do not touch the default values `expand=False|0, " "clean=False|0, incremental=False|0, linear=False|0`. This is a " "\"lossless\" file size reduction. There is a convenience version of this " "method with these values set by default, :meth:`Document.ez_save` -- " "please see below." msgstr "" "オプションとして、`garbage=3|4, deflate=True, use_objstms=True|1`. " "デフォルト値に触れないでください。 `expand=False|0, clean=False|0, incremental=False|0` " "は変更しないでください。これは「非破壊的」なファイルサイズの削減です。これらの値がデフォルトで設定されたメソッドの簡易版もあります。 " ":meth:`Document.ez_save()` をご覧ください。" #: ../../document.rst:1330 3d1ee9059bd24a83a6aaae8687200458 msgid "" "\"Lossy\" file size reduction in essence must give up something with " "respect to images, like (a) remove all images (b) replace images by their" " grayscale versions (c) reduce image resolutions. Find examples in the " "`PyMuPDF Utilities \"replace-image\" folder `_." msgstr "" "本質的に「損失のある」ファイルサイズの削減は、画像に関して何かを犠牲にする必要があります。例えば、(a) すべての画像を削除する、(b) " "画像をグレースケールに置換する、(c) 画像の解像度を低下させるなどの方法があります。`PyMuPDF Utilities \"replace-" "image\" folder `_ に例があります。" #: ../../document.rst:1334 805878d8902f44539b76f7fba424c58d msgid "New in v1.18.11" msgstr "v1.18.11で新規追加" #: ../../document.rst:1336 fb2bc3ab13bc4cbdb9cdeedc4a300457 msgid "" "PDF only: The same as :meth:`Document.save` but with changed defaults " "`deflate=True, garbage=3, use_objstms=1`." msgstr "" "PDFのみ::meth:`Document.save` と同じですが、デフォルト値が `deflate=True, garbage=3, " "use_objstms=1` に変更されています。" #: ../../document.rst:1340 4ca43c0eb0764d4d86c7783d00292313 #, fuzzy msgid "" "PDF only: saves the document incrementally. This is a convenience " "abbreviation for ``doc.save(doc.name, incremental=True, " "encryption=PDF_ENCRYPT_KEEP)``." msgstr "" "PDFのみ:ドキュメントを増分的に保存します。これは、 *doc.save(doc.name, incremental=True, " "encryption=PDF_ENCRYPT_KEEP)* の簡略表記です。" #: ../../document.rst:1344 3722cd78e2724185aa38db282136d51f msgid "" "Saving incrementally may be required if the document contains verified " "signatures which would be invalidated by saving to a new file." msgstr "増分保存が必要な場合、ドキュメントに確認済みの署名が含まれている場合、新しいファイルに保存することによって無効になる可能性があります。" #: ../../document.rst:1353 abab584e13af432a87536b0dd1525b25 msgid "" "PDF only: Writes the **current content of the document** to a bytes " "object instead of to a file. Obviously, you should be wary about memory " "requirements. The meanings of the parameters exactly equal those in " ":meth:`save`. Chapter :ref:`FAQ` contains an example for using this " "method as a pre-processor to `pdfrw " "`_." msgstr "" "PDFのみ: **ドキュメントの現在のコンテンツ** " "をファイルではなくバイトオブジェクトに書き込みます。明らかに、メモリ要件に注意する必要があります。パラメータの意味は :meth:`save` " "とまったく同じです。チャプター :ref:`FAQ` には、このメソッドを `pdfrw " "`_ の前処理として使用する例が含まれています。" #: ../../document.rst:1355 0d08d4531d0547afa8dd2711eb5fb49a msgid "*(Changed in v1.16.0)* for extended encryption support." msgstr "*(v1.16.0で変更)* 拡張暗号サポート用。" #: ../../document.rst:1358 6de0cf28802e42058ca66973d5ee0b8c msgid "a bytes object containing the complete document." msgstr "ドキュメント全体を含むbytesオブジェクト。" #: ../../document.rst:1362 0274353b276b45c697447eefc6c5af10 msgid "" "Search for \"text\" on page number \"pno\". Works exactly like the " "corresponding :meth:`Page.search_for`. Any integer `-∞ < pno < " "page_count` is acceptable." msgstr "" "\"pno\" ページ上で \"text\" を検索します。対応する :meth:`Page.search_for` " "とまったく同じ方法で機能します。整数 `-∞ < pno < page_count` ならどのような値でも受け入れられます。" #: ../../document.rst:1380 8f33a8224c6b4cd698ee597a13d325b1 #, fuzzy msgid "" "PDF only: Copy the page range **[from_page, to_page]** (including both) " "of PDF document *docsrc* into the current one. Inserts will start with " "page number *start_at*. Value -1 indicates default values. All pages thus" " copied will be rotated as specified. Links, annotations and widgets can " "be excluded in the target, see below. All page numbers are 0-based." msgstr "" "PDFのみ:PDFドキュメント *docsrc* のページ範囲 **[from_page、to_page]** " "(両方を含む)を現在のドキュメントにコピーします。挿入はページ番号 *start_at* " "から開始します。値-1はデフォルト値を示します。したがって、コピーされるすべてのページは指定されたように回転します。リンクと注釈は対象から除外することができます(以下参照)。すべてのページ番号は0から始まります。" #: ../../document.rst:1382 5c1428d40caa43a5a10f4b77f20b3e69 msgid "" "An opened PDF *Document* which must not be the current document. However," " it may refer to the same underlying file." msgstr "現在のドキュメントではない、開かれたPDF *ドキュメント* 。ただし、同じ基盤ファイルを参照する場合があります。" #: ../../document.rst:1385 07b6f53e82724a5ab67dd0b79067fa1e msgid "First page number in *docsrc*. Default is zero." msgstr "*docsrc* 内の最初のページ番号。デフォルトはゼロです。" #: ../../document.rst:1387 fea37107f5404d54996345114e37441b msgid "Last page number in *docsrc* to copy. Defaults to last page." msgstr "コピーする *docsrc* 内の最後のページ番号。デフォルトは最終ページです。" #: ../../document.rst:1389 524d0fb0b9814e21962ad50b5f471743 msgid "" "First copied page, will become page number *start_at* in the target. " "Default -1 appends the page range to the end. If zero, the page range " "will be inserted before current first page." msgstr "" "コピーされる最初のページ、対象のページ番号 *start_at* " "になります。デフォルト-1はページ範囲を末尾に追加します。ゼロの場合、ページ範囲は現在の最初のページの前に挿入されます。" #: ../../document.rst:1391 4c91282a041f4252be3ddf0b31888ef6 msgid "" "All copied pages will be rotated by the provided value (degrees, integer " "multiple of 90)." msgstr "コピーされるすべてのページは、指定された値(度数、90の整数倍)で回転します。" #: ../../document.rst:1393 d336910ac6904a34ad264c74f9a12eb0 msgid "" "Choose whether (internal and external) links should be included in the " "copy. Default is `True`. *Named* links (:data:`LINK_NAMED`) and internal " "links to outside the copied page range are **always excluded**." msgstr "" "(内部および外部) リンクをコピーに含めるかどうかを選択します。デフォルトは ``True`` です。コピー対象外のコピー範囲外の内部リンクは " "**常に除外されます** 。" #: ../../document.rst:1395 a02aff5f97f748429af6f525e52152d3 #, fuzzy msgid "choose whether annotations should be included in the copy." msgstr "*(v1.16.1で新規追加)* 注釈をコピーに含めるかどうかを選択します。 フォームフィールドはコピーできません。" #: ../../document.rst:1397 b94bf24da9974674ace2e3acc4991939 msgid "" "choose whether annotations should be included in the copy. If `True` and " "at least one of the source pages contains form fields, the target PDF " "will be turned into a Form PDF (if not already being one)." msgstr "" #: ../../document.rst:1399 291ec7b0d4b64883aba67c7050c566bf msgid "" "*(New in version 1.25.5)* Choose how to handle duplicate root field names" " in the source pages. This parameter is ignored if `widgets=False`. " "Default is ``False`` which will add unifying strings to the name of those" " source root fields which have a duplicate in the target. For instance, " "if \"name\" already occurs in the target, the source widget's name will " "be changed to \"name [text]\" with a suitably chosen string \"text\". If" " ``True``, root fields with duplicate names in source and target will be " "converted to so-called \"Kids\" of a \"Parent\" object (which lists all " "kid widgets in a PDF array). This will effectively turn those kids into " "instances of the \"same\" widget: if e.g. one of the kids is changed, " "then all its instances will automatically inherit this change -- no " "matter on which page they happen to be displayed." msgstr "" #: ../../document.rst:1399 78659c3b81a3457a9ea0a009a43d5632 msgid "" "*(New in version 1.25.5)* Choose how to handle duplicate root field names" " in the source pages. This parameter is ignored if `widgets=False`." msgstr "" #: ../../document.rst:1401 690ea9568fba4c748332acfea9bf268d msgid "" "Default is ``False`` which will add unifying strings to the name of those" " source root fields which have a duplicate in the target. For instance, " "if \"name\" already occurs in the target, the source widget's name will " "be changed to \"name [text]\" with a suitably chosen string \"text\"." msgstr "" #: ../../document.rst:1403 207b76f69b4b43b8abf32aaed907a586 msgid "" "If ``True``, root fields with duplicate names in source and target will " "be converted to so-called \"Kids\" of a \"Parent\" object (which lists " "all kid widgets in a PDF array). This will effectively turn those kids " "into instances of the \"same\" widget: if e.g. one of the kids is " "changed, then all its instances will automatically inherit this change --" " no matter on which page they happen to be displayed." msgstr "" #: ../../document.rst:1405 8d9fefec8ad44d23b3c63e2ae6a7a00f msgid "" "*(new in v1.17.7)* specify an interval size greater zero to see progress " "messages on `sys.stdout`. After each interval, a message like `Inserted " "30 of 47 pages.` will be printed." msgstr "" "*(v1.17.7で新規追加)* `sys.stdout` " "で進捗メッセージを表示するための大きなゼロより大きい間隔を指定します。各間隔後、`Inserted 30 of 47 pages.` " "のようなメッセージが印刷されます。" #: ../../document.rst:1407 d77922d1b37a405687f51453c41a5a42 msgid "" "*(new in v1.18.0)* controls whether the list of already copied objects " "should be **dropped** after this method, default ``True``. Set it to 0 " "except for the last one of multiple insertions from the same source PDF. " "This saves target file size and speeds up execution considerably." msgstr "" "*(v1.18.0で新規追加)* このメソッドの後にすでにコピーされたオブジェクトのリストを **削除する** かどうかを制御します。デフォルトは" " ``True`` " "です。同じソースPDFからの複数の挿入の最後以外は、0に設定します。これにより、対象ファイルのサイズが節約され、実行が大幅に高速化されます。" #: ../../document.rst:1411 56b4354a86094489a6bf9bde208dc994 msgid "" "This is a page-based method. Document-level information of source " "documents is therefore mostly ignored. Examples include Optional Content," " Embedded Files, `StructureElem`, table of contents, page labels, " "metadata, named destinations (and other named entries) and some more." msgstr "" #: ../../document.rst:1413 5a07fe3f9eea4d2fae962abdd3b1a7ff msgid "" "If `from_page > to_page`, pages will be **copied in reverse order**. If " "`0 <= from_page == to_page`, then one page will be copied." msgstr "" "`from_page > to_page` の場合、ページは **逆の順序でコピーされます** 。`0 <= from_page == " "to_page` の場合、1ページがコピーされます。" #: ../../document.rst:1415 dc1395aabeda4fbcabbf2f13c6749c77 msgid "" "`docsrc` TOC entries **will not be copied**. It is easy however, to " "recover a table of contents for the resulting document. Look at the " "examples below and at program `join.py `_ in the " "*examples* directory: it can join PDF documents and at the same time " "piece together respective parts of the tables of contents." msgstr "" "*docsrc* のTOCエントリは **コピーされません** " "。ただし、結果のドキュメントの目次を復元することは簡単です。以下の例と、*examples* ディレクトリのプログラム `join.py " "`_ " "を参照してください:これはPDFドキュメントを結合し、同時に対応する目次の部分を組み立てることができます。" #: ../../document.rst:1432 45174efe8b574e39bd0fee7fda1c588a msgid "New in v1.22.0" msgstr "v1.22.0で新規追加" #: ../../document.rst:1434 cd44330e994a49b99c61e25595eb7c0b msgid "" "PDF only: Add an arbitrary supported document to the current PDF. Opens " "\"infile\" as a document, converts it to a PDF and then invokes " ":meth:`Document.insert_pdf`. Parameters are the same as for that method. " "Among other things, this features an easy way to append images as full " "pages to an output PDF." msgstr "" "PDFのみ:任意のサポートされているドキュメントを現在のPDFに追加します。 \"infile\" " "をドキュメントとして開き、PDFに変換し、:meth:`Document.insert_pdf` " "を呼び出します。パラメータはそのメソッドと同じです。他のことの中で、これには画像を出力PDFに完全なページとして追加する簡単な方法が含まれています。" #: ../../document.rst:1436 e33a6fdc9cda41afbf2acefddf2174a3 msgid "" "the input document to insert. May be a filename specification as is valid" " for creating a :ref:`Document` or a :ref:`Pixmap`." msgstr "" "挿入する入力ドキュメント。:ref:`Document` を作成する際に有効なファイル名の指定または :ref:`Pixmap` " "である可能性があります。" #: ../../document.rst:1445 43f27667e5fa455e8b6be14bbed94320 msgid "PDF only: Insert an empty page." msgstr "PDFのみ:空のページを挿入します。" #: ../../document.rst:1447 760c94fa936d413985a6348d9a97a2fa #, fuzzy msgid "" "page number index (zero-indexed) at which to insert page. Special values " "-1 and *doc.page_count* insert **after** the last page." msgstr "" "新しいページを挿入する前のページ番号。`1 < pno <= page_count` である必要があります。特別な値-1および " "*doc.page_count* は最後のページの後に挿入します。" #: ../../document.rst:1449 9c2a0e62a39a43d19cf8bc37207291e7 msgid "page width." msgstr "ページの幅。" #: ../../document.rst:1450 4a2e0f95cd75496fb7ca0aa473e0434a msgid "page height." msgstr "ページの高さ。" #: ../../document.rst:1453 0bd2d3396b664c20a387f310baf3c618 msgid "" "the created page object. Be aware that the page numbers of pages after " "the inserted one will have changed after method execution. For the same " "reason, **all existing page objects will be invalidated.** Using them " "will lead to exceptions." msgstr "" #: ../../document.rst:1465 e582e4a0e898429a8087c9237aea9caf msgid "" "PDF only: Insert a new page and insert some text. Convenience function " "which combines :meth:`Document.new_page` and (parts of) " ":meth:`Page.insert_text`." msgstr "" "PDFのみ:新しいページを挿入し、テキストを挿入します。:meth:`Document.new_page` と " ":meth:`Page.insert_text` の一部を組み合わせた便利な関数です。" #: ../../document.rst:1467 05fc5d62cf1442ef87870b03bf4656e6 #, fuzzy msgid "" "page number index (zero-indexed) at which to insert page. Special values " "-1 and `doc.page_count` insert **after** the last page. Changed in " "v1.14.12 This is now a positional parameter" msgstr "" "**挿入する前** のページ番号(0ベース)を指定します。範囲 `range(-1, doc.page_count + 1)` " "内である必要があります。特別な値-1および `doc.page_count` は最後のページの **後** に挿入します。" #: ../../document.rst:1467 93c42f35dfc74d969baf39f16e854b2c #, fuzzy msgid "" "page number index (zero-indexed) at which to insert page. Special values " "-1 and `doc.page_count` insert **after** the last page." msgstr "" "**挿入する前** のページ番号(0ベース)を指定します。範囲 `range(-1, doc.page_count + 1)` " "内である必要があります。特別な値-1および `doc.page_count` は最後のページの **後** に挿入します。" #: ../../document.rst:1470 b97cd8599f7b49db97a3779b3b40e27a msgid "Changed in v1.14.12" msgstr "v1.14.12で変更" #: ../../document.rst:1470 f6d15d624bcd4485930085e83cc129ac msgid "This is now a positional parameter" msgstr "これは今ポジションパラメータです" #: ../../document.rst:1472 cf6bb035b54e4fcdad814450ae34dcef msgid "For the other parameters, please consult the aforementioned methods." msgstr "その他のパラメータについては、前述のメソッドをご参照ください。" #: ../../document.rst:1475 62dbaf5e5aea49478a003ee16008856d msgid "" "the result of :meth:`Page.insert_text` (number of successfully inserted " "lines)." msgstr ":meth:`Page.insert_text` の結果(正常に挿入された行数)。" #: ../../document.rst:1479 587c560e526a416f9adba46d934431cd #, fuzzy msgid "" "PDF only: Delete a page given by its 0-based number in `-∞ < pno < " "page_count`." msgstr "PDFのみ:0ベースの番号で指定されたページを削除します。`-∞ < pno < page_count - 1` です。" #: ../../document.rst:1481 ../../document.rst:1488 #: 2de6c5ed33694928b05b3af60acc735b 5e0e19b1164a4922a5c4de39dadf8d94 msgid "Changed in v1.18.14: support Python's `del` statement." msgstr "v1.18.14で変更:Pythonの `del` 文をサポート。" #: ../../document.rst:1483 b53db2a971f54e8fa8fe54fc059f0ece msgid "" "the page to be deleted. Negative number count backwards from the end of " "the document (like with indices). Default is the last page." msgstr "削除するページ。負の数は文書の末尾から逆に数えます(インデックスと同様)。デフォルトは最後のページです。" #: ../../document.rst:1487 f663c7417d0c4717918bc0edbdaa19f6 msgid "Changed in v1.18.13: more flexibility specifying pages to delete." msgstr "v1.18.13 で変更されました: 削除するページを指定する柔軟性が向上しました。" #: ../../document.rst:1490 5a7de5dc80b84affad561bc4fedaf80b msgid "PDF only: Delete multiple pages given as 0-based numbers." msgstr "PDF のみ: 0 ベースの番号として指定された複数のページを削除します。" #: ../../document.rst:1494 875c5dde7ff14ca9aa7522c71259f94c msgid "" "**Format 1:** Use keywords. Represents the old format. A contiguous range" " of pages is removed." msgstr "**フォーマット 1:** キーワードを使用します。古いフォーマットを表します。連続したページ範囲が削除されます。" #: ../../document.rst:1493 6b7772a6ff3f4a2db6d2dcb99fded671 msgid "\"from_page\": first page to delete. Zero if omitted." msgstr "\"from_page\": 削除する最初のページ。省略された場合はゼロです。" #: ../../document.rst:1494 0e5c6f821d7044d5ac7c0e6f5ed7f64b msgid "" "\"to_page\": last page to delete. Last page in document if omitted. Must " "not be less then \"from_page\"." msgstr "" "\"to_page\": 削除する最後のページ。省略された場合はドキュメント内の最後のページです。\"from_page\" " "より小さくしてはいけません。" #: ../../document.rst:1496 e8904441ed83424eb87fa87a6a684b2a msgid "" "**Format 2:** Two page numbers as positional parameters. Handled like " "Format 1." msgstr "**フォーマット 2:** 位置パラメータとしての2つのページ番号。フォーマット 1 と同様に処理されます。" #: ../../document.rst:1498 163ec2bcd7934971b9000245d8e3d209 msgid "" "**Format 3:** One positional integer parameter. Equivalent to " ":meth:`Page.delete_page`." msgstr "**フォーマット 3:** 1 つの位置パラメータの整数。:meth:`Page.delete_page` に相当します。" #: ../../document.rst:1500 ac9b0d2bb525429d8ac5afe495854517 msgid "" "**Format 4:** One positional parameter of type *list*, *tuple* or " "*range()* of page numbers. The items of this sequence may be in any order" " and may contain duplicates." msgstr "" "**フォーマット 4:** ページ番号のリスト、*タプル*、または *range()* " "の1つの位置パラメータ。このシーケンスのアイテムは任意の順序であり、重複していてもかまいません。" #: ../../document.rst:1502 2e8e4f3f1ff24632b93215697d0a2594 msgid "" "**Format 5:** *(New in v1.18.14)* Using the Python `del` statement and " "index / slice notation is now possible." msgstr "" "**フォーマット 5:** *(v1.18.14 で新規)* Python の `del` ステートメントとインデックス / " "スライス表記を使用することができます。" #: ../../document.rst:1506 be52d2bac85f42c8a561522fc5dc7694 msgid "" "*(Changed in v1.14.17, optimized in v1.17.7)* In an effort to maintain a " "valid PDF structure, this method and :meth:`delete_page` will also " "deactivate items in the table of contents which point to deleted pages. " "\"Deactivation\" here means, that the bookmark will point to nowhere and " "the title will be shown grayed-out by supporting PDF viewers. The overall" " TOC structure is left intact." msgstr "" "*(v1.14.17 で変更, v1.17.7 で最適化)* 有効な PDF 構造を維持するために、このメソッドと " ":meth:`delete_page` は、削除されたページを指す目次のアイテムも無効化します。ここでの \"無効化\" " "とは、ブックマークがどこを指しているのか分からなくなり、サポートされている PDF " "ビューアによってタイトルがグレーアウト表示されることを意味します。全体の目次構造は維持されます。" #: ../../document.rst:1508 2ea9db623ee644ce851f517b21468bbc msgid "" "It will also remove any **links on remaining pages** which point to a " "deleted one. This action may have an extended response time for documents" " with many pages." msgstr "" "また、削除されたページを指す **残りのページ上のリンク** " "も削除されます。これにより、多くのページを持つドキュメントでは拡張された応答時間が発生する可能性があります。" #: ../../document.rst:1510 9e268616509345318e19407e7f4fce54 msgid "Following examples will all delete pages 500 through 519:" msgstr "以下の例はすべて、ページ500から519を削除します:" #: ../../document.rst:1512 8554875e1e58416180c485b06d4698b6 msgid "`doc.delete_pages(500, 519)`" msgstr "" #: ../../document.rst:1513 1c822f9af13441608441afe5bf0640dd msgid "`doc.delete_pages(from_page=500, to_page=519)`" msgstr "" #: ../../document.rst:1514 e46ee2d732134660b9a9f857991dabce msgid "`doc.delete_pages((500, 501, 502, ... , 519))`" msgstr "" #: ../../document.rst:1515 b30e293c5c9640ba9f5d8f3875607c97 msgid "`doc.delete_pages(range(500, 520))`" msgstr "" #: ../../document.rst:1516 1e369b51a48c4110bfb776a7c91dac36 msgid "`del doc[500:520]`" msgstr "" #: ../../document.rst:1517 33382327b14c40309cb885c892db74dc msgid "`del doc[(500, 501, 502, ... , 519)]`" msgstr "" #: ../../document.rst:1518 835883ce222348f1939be4af90e88154 msgid "`del doc[range(500, 520)]`" msgstr "" #: ../../document.rst:1520 65e4760990f848c7a684989dd067afbd msgid "" "For the :ref:`AdobeManual` the above takes about 0.6 seconds, because the" " remaining 1290 pages must be cleaned from invalid links." msgstr "" ":ref:`AdobeManual` " "では、上記の操作に約0.6秒かかります。なぜなら、残りの1290ページから無効なリンクを削除する必要があるからです。" #: ../../document.rst:1522 7af3a67223f04f44835189f49959825d msgid "" "In general, the performance of this method is dependent on the number of " "remaining pages -- **not** on the number of deleted pages: in the above " "example, **deleting all pages except** those 20, will need much less " "time." msgstr "" "一般的に、このメソッドのパフォーマンスは残りのページの数に依存します - 削除されたページの数には依存 **しません** " "。上記の例では、20個のページ **以外のすべてのページを削除する** 場合、はるかに少ない時間がかかります。" #: ../../document.rst:1527 652ee83c146f452098f4379a8c73047a msgid "PDF only: Copy a page reference within the document." msgstr "PDF のみ: ドキュメント内でページの参照をコピーします。" #: ../../document.rst:1529 ac1cce6e9936446eb35a3ffe8ca915d1 msgid "the page to be copied. Must be in range `0 <= pno < page_count`." msgstr "コピーするページ。範囲は `0 <= pno < page_count` である必要があります。" #: ../../document.rst:1531 ../../document.rst:1543 #: c41b90dc8ef640408f1a617a2e0fc519 ca3166610784468cbc085259ba27a3ea msgid "" "the page number in front of which to copy. The default inserts **after** " "the last page." msgstr "コピーする位置の前のページ番号。デフォルトでは最後のページの **後** に挿入されます。" #: ../../document.rst:1533 8468fc8b63444047b7a1fe75547cd1fd msgid "" "Only a new **reference** to the page object will be created -- not a new " "page object, all copied pages will have identical attribute values, " "including the :attr:`Page.xref`. This implies that any changes to one of " "these copies will appear on all of them." msgstr "" "ページオブジェクトへの新しい **参照** のみが作成されます - " "新しいページオブジェクトは作成されません。すべてのコピーされたページは、:attr:`Page.xref` " "を含む属性値が同じになります。これは、これらのコピーの1つに対する変更がすべてのコピーに反映されることを意味します。" #: ../../document.rst:1537 d97170af740a4e5fbd5d5be2e8c4c008 msgid "New in v1.14.17" msgstr "v1.14.17 で新規" #: ../../document.rst:1539 e5bfe27961644509afa6eb237a7aaa90 msgid "PDF only: Make a full copy (duplicate) of a page." msgstr "PDF のみ: ページの完全なコピー(複製)を作成します。" #: ../../document.rst:1541 bb27bf35370f4350896c2af762ffb1bc msgid "the page to be duplicated. Must be in range `0 <= pno < page_count`." msgstr "複製するページ。範囲は `0 <= pno < page_count` である必要があります。" #: ../../document.rst:1547 f703ba87ea974305a4c30425ca1ff9b9 msgid "" "In contrast to :meth:`copy_page`, this method creates a new page object " "(with a new :data:`xref`), which can be changed independently from the " "original." msgstr "" ":meth:`copy_page` とは異なり、このメソッドは新しいページオブジェクト(新しい :data:`xref` " "を持つ)を作成します。これは元のページから独立して変更できます。" #: ../../document.rst:1549 07e3b642c6b94e9e8f52daa72f74a907 msgid "" "Any Popup and \"IRT\" (\"in response to\") annotations are **not copied**" " to avoid potentially incorrect situations." msgstr "ポップアップと \"IRT\"(\"応答先\")注釈は、潜在的に誤った状況を回避するために **コピーされません** 。" #: ../../document.rst:1553 43ec556cbc38492c8049b8372e53daac msgid "PDF only: Move (copy and then delete original) a page within the document." msgstr "PDF のみ: ドキュメント内でページを移動します(コピーしてから元のページを削除)。" #: ../../document.rst:1555 b044a8f7a7af40788e9d81537eb619ad msgid "the page to be moved. Must be in range `0 <= pno < page_count`." msgstr "移動するページ。範囲は `0 <= pno < page_count` である必要があります。" #: ../../document.rst:1557 946f21ee475c42878bf3b1dae84f7d69 msgid "" "the page number in front of which to insert the moved page. The default " "moves **after** the last page." msgstr "移動したページの前に挿入するページ番号。デフォルトでは最後のページの **後** に移動します。" #: ../../document.rst:1562 e8d7a9d259534c618a11baa88ffeb3fc msgid "New in v1.17.4" msgstr "v1.17.4 で新規" #: ../../document.rst:1564 8b3171a1d9a142c9a9c030fe8d31c8d2 msgid "" "PDF only: Get or set the */NeedAppearances* property of Form PDFs. Quote:" " *\"(Optional) A flag specifying whether to construct appearance streams " "and appearance dictionaries for all widget annotations in the document " "... Default value: false.\"* This may help controlling the behavior of " "some readers / viewers." msgstr "" "PDF のみ: Form PDF の */NeedAppearances* プロパティを取得または設定します。引用: " "*\"(オプション)ドキュメント内のすべてのウィジェット注釈の外観ストリームと外観辞書を構築するかどうかを指定するフラグ...デフォルト値: " "false\"* 。これは一部のリーダー/ビューアの動作を制御するのに役立つかもしれません。" #: ../../document.rst:1566 21bdc7002b114b8794f1a0a9c6ee76a5 msgid "" "set the property to this value. If omitted or `None`, inquire the current" " value." msgstr "プロパティをこの値に設定します。省略された場合または `None` の場合、現在の値を問い合わせます。" #: ../../document.rst:1569 78f9700e38dd443e9f73a91fda3dc450 msgid "" "* None: not a Form PDF, or property not defined. * True / False: the " "value of the property (either just set or existing for inquiries). Has no" " effect if no Form PDF." msgstr "" #: ../../document.rst:1570 c0025670860c42d5bd1c8f5c34a6dad6 msgid "None: not a Form PDF, or property not defined." msgstr "None: フォーム PDF ではないか、プロパティが定義されていない。" #: ../../document.rst:1571 eb06f30be4434520bda89c558742261d msgid "" "True / False: the value of the property (either just set or existing for " "inquiries). Has no effect if no Form PDF." msgstr "True / False: プロパティの値(設定されたばかりまたは問い合わせ用に存在する)。フォーム PDF がない場合は影響しません。" #: ../../document.rst:1577 75e79125f8c7472cb0a19ed8e1458e1a msgid "" "PDF only: Return whether the document contains signature fields. This is " "an optional PDF property: if not present (return value -1), no " "conclusions can be drawn -- the PDF creator may just not have bothered " "using it." msgstr "" "PDF のみ: ドキュメントに署名フィールドが含まれているかどうかを返します。これはオプションの PDF プロパティです。存在しない場合(返り値 " "-1)、結論を導くことはできません - PDF の作成者は単にそれを使用しなかった可能性があります。" #: ../../document.rst:1580 9a14234501f54034bb1bf739d64a15fa msgid "" "* -1: not a Form PDF / no signature fields recorded / no *SigFlags* " "found. * 1: at least one signature field exists. * 3: contains " "signatures that may be invalidated if the file is saved (written) in a " "way that alters its previous contents, as opposed to an incremental " "update." msgstr "" #: ../../document.rst:1581 9bad9283ef584aa2b078c83f7d777b63 msgid "-1: not a Form PDF / no signature fields recorded / no *SigFlags* found." msgstr "-1: フォーム PDF でない / 署名フィールドが記録されていない / *SigFlags* が見つからない。" #: ../../document.rst:1582 deabde5552354d23bc0241dce237b354 msgid "1: at least one signature field exists." msgstr "1: 少なくとも1つの署名フィールドが存在します。" #: ../../document.rst:1583 af34d2d341994de4b3f79434d0d6027a msgid "" "3: contains signatures that may be invalidated if the file is saved " "(written) in a way that alters its previous contents, as opposed to an " "incremental update." msgstr "3: ファイルが前の内容を変更する方法で保存(書き込み)されると、署名が無効になる可能性のある署名が含まれています。これは増分更新とは対照的です。" #: ../../document.rst:1592 04fdb7d7d7c84095a3494d40af0b5926 msgid "" "Changed in v1.14.16: The sequence of positional parameters \"name\" and " "\"buffer\" has been changed to comply with the call pattern of other " "functions." msgstr "" "v1.14.16 で変更されました: 位置パラメータ \"name\" と \"buffer\" " "の順序が他の関数の呼び出しパターンに従うように変更されました。" #: ../../document.rst:1594 fcd3db75809240cc8f190dd9a00289d2 msgid "" "PDF only: Embed a new file. All string parameters except the name may be " "unicode (in previous versions, only ASCII worked correctly). File " "contents will be compressed (where beneficial)." msgstr "" "PDF のみ: 新しいファイルを埋め込みます。名前以外のすべての文字列パラメータは Unicode である場合があります(以前のバージョンでは " "ASCII しか正しく動作しませんでした)。ファイルの内容は(有益な場合に)圧縮されます。" #: ../../document.rst:1596 2cea88e56a044b0c8bad08e9a205ccde msgid "entry identifier, **must not already exist**." msgstr "エントリの識別子、**すでに存在しない必要** があります。" #: ../../document.rst:1597 b4cb313585c3435fa169abd1fa4d1619 msgid "" "file contents. *(Changed in v1.14.13)* *io.BytesIO* is now also " "supported." msgstr "" #: ../../document.rst:1597 4280d1c050654a94a34238d69e159094 msgid "file contents." msgstr "ファイルの内容。" #: ../../document.rst:1599 ../../document.rst:1673 #: 31a1f516458f40c39c3f700e4ef89de4 b0eb6859ed644497bc3e05f9f73434b3 msgid "*(Changed in v1.14.13)* *io.BytesIO* is now also supported." msgstr "*(v1.14.13 で変更)* *io.BytesIO* もサポートされるようになりました。" #: ../../document.rst:1601 ac97d3204a544f86b77d976c92acbf7b msgid "optional filename. Documentation only, will be set to *name* if `None`." msgstr "オプションのファイル名。ドキュメンテーション専用で、`None` の場合は *name* に設定されます。" #: ../../document.rst:1602 a5690203a4ba480eb382e82deceb9895 msgid "" "optional unicode filename. Documentation only, will be set to *filename* " "if `None`." msgstr "オプションのUnicodeファイル名。ドキュメンテーション専用で、`None` の場合は *filename* に設定されます。" #: ../../document.rst:1603 6d4f198ba29348218b4fe50cccdefa1f msgid "optional description. Documentation only, will be set to *name* if `None`." msgstr "オプションの説明。ドキュメンテーション専用で、`None` の場合は *name* に設定されます。" #: ../../document.rst:1606 7b71f66a34ea47e9a71e7fe5e7d64fa0 msgid "" "*(Changed in v1.18.13)* The method now returns the :data:`xref` of the " "inserted file. In addition, the file object now will be automatically " "given the PDF keys `/CreationDate` and `/ModDate` based on the current " "date-time." msgstr "" "*(v1.18.13 で変更)* このメソッドは挿入されたファイルの :data:`xref` " "も返すようになりました。さらに、ファイルオブジェクトには現在の日時に基づいて自動的に PDF キー `/CreationDate` および " "`/ModDate` が設定されるようになりました。" #: ../../document.rst:1611 207a6bc78c654390b4b1f2cf463dd50f msgid "" "Changed in v1.14.16: This is now a method. In previous versions, this was" " a property." msgstr "v1.14.16 で変更されました: これは現在のメソッドです。以前のバージョンではプロパティでした。" #: ../../document.rst:1613 0cb7ff09b67448ac9cd78cb7b0b7efb7 msgid "PDF only: Return the number of embedded files." msgstr "PDF のみ: 埋め込まれたファイルの数を返します。" #: ../../document.rst:1617 005666a2614842c9b4353f5f802b6c55 msgid "" "PDF only: Retrieve the content of embedded file by its entry number or " "name. If the document is not a PDF, or entry cannot be found, an " "exception is raised." msgstr "" "PDF のみ: エントリ番号または名前によって埋め込まれたファイルの内容を取得します。ドキュメントが PDF " "でない場合、またはエントリが見つからない場合、例外が発生します。" #: ../../document.rst:1619 ../../document.rst:1639 ../../document.rst:1670 #: 869875aa0dfe44808e52deebefea1de1 b13cd4114f2545a9be72cfc74d7c87be #: bf32473089a3483e8ddc9dac22d37916 msgid "index or name of entry. An integer must be in `range(embfile_count())`." msgstr "エントリのインデックスまたは名前。整数は範囲内である必要があります `range(embfile_count())`。" #: ../../document.rst:1625 e338d280c75b4573b622feabbe710c57 msgid "Changed in v1.14.16: Items can now be deleted by index, too." msgstr "v1.14.16 で変更されました: インデックスによってアイテムを削除できるようになりました。" #: ../../document.rst:1627 333fc09a48dc4e96be1d0d96576eccba msgid "" "PDF only: Remove an entry from `/EmbeddedFiles`. As always, physical " "deletion of the embedded file content (and file space regain) will occur " "only when the document is saved to a new file with a suitable garbage " "option." msgstr "" "PDF のみ: `/EmbeddedFiles` " "からエントリを削除します。いつものように、適切なガベージオプションを使用して新しいファイルに保存すると、埋め込まれたファイルの内容の物理的な削除(およびファイルスペースの回復)が行われます。" #: ../../document.rst:1629 eee9b150efa74ebb95b8d065ce663d9e msgid "index or name of entry." msgstr "エントリのインデックスまたは名前。" #: ../../document.rst:1631 8c4ab8c1f77e4c2985abe3c93f92b10d msgid "" "When specifying an entry name, this function will only **delete the first" " item** with that name. Be aware that PDFs not created with PyMuPDF may " "contain duplicate names. So you may want to take appropriate precautions." msgstr "" "エントリ名を指定する場合、この関数はその名前を持つ **最初のアイテムのみを削除します** 。PyMuPDF で作成された PDF 以外の PDF" " には重複する名前が含まれている可能性があるため、適切な注意を払う必要があるかもしれません。" #: ../../document.rst:1635 ce3e3fdc43df49f29497bf219a55ffb7 msgid "Changed in v1.18.13" msgstr "v1.18.13 で変更されました" #: ../../document.rst:1637 66294342e3bd417fa3d25391a8d4394d msgid "" "PDF only: Retrieve information of an embedded file given by its number or" " by its name." msgstr "PDF のみ: 埋め込まれたファイルの情報を取得します。エントリ番号または名前によって指定されたファイルの情報を取得します。" #: ../../document.rst:1642 d938771d7b2e410ebbe66f3bffdc3111 msgid "" "a dictionary with the following keys: * ``name`` -- (*str*) name under " "which this entry is stored * ``filename`` -- (*str*) filename * " "``ufilename`` -- (*unicode*) filename * ``description`` -- (*str*) " "description * ``size`` -- (*int*) original file size * ``length`` -- " "(*int*) compressed file length * ``creationDate`` -- (*str*) date-time of" " item creation in PDF format * ``modDate`` -- (*str*) date-time of last " "change in PDF format * ``collection`` -- (*int*) :data:`xref` of the " "associated PDF portfolio item if any, else zero. * ``checksum`` -- " "(*str*) a hashcode of the stored file content as a hexadecimal string. " "Should be MD5 according to PDF specifications, but be prepared to see " "other hashing algorithms." msgstr "" #: ../../document.rst:1642 ab305172c9934b6d9c00eb5ed6e4649a msgid "a dictionary with the following keys:" msgstr "以下のキーを持つ辞書:" #: ../../document.rst:1644 b7a076e5859b4bcab80e34541859d7ca msgid "``name`` -- (*str*) name under which this entry is stored" msgstr "``name`` – (*str*) このエントリが格納されている名前" #: ../../document.rst:1645 121172b7332143a8b549ef30f4bd5bb1 msgid "``filename`` -- (*str*) filename" msgstr "``filename`` – (*str*) ファイル名" #: ../../document.rst:1646 89fd41822ad34573a7b952b2fd4303ac msgid "``ufilename`` -- (*unicode*) filename" msgstr "``ufilename`` – (*unicode*) Unicode ファイル名" #: ../../document.rst:1647 437589e818d74dc3aa02750c07e6aff9 msgid "``description`` -- (*str*) description" msgstr "``description`` – (*str*) 説明" #: ../../document.rst:1648 8bf22226e6b946ba8904a12c9047c6db msgid "``size`` -- (*int*) original file size" msgstr "``size`` – (*int*) 元のファイルサイズ" #: ../../document.rst:1649 aac50a010de4434abbf736335b328344 msgid "``length`` -- (*int*) compressed file length" msgstr "``length`` – (*int*) 圧縮ファイルの長さ" #: ../../document.rst:1650 e79e7816a4a14e959f1d7ae2ce4e4ee3 msgid "``creationDate`` -- (*str*) date-time of item creation in PDF format" msgstr "``creationDate`` – (*str*) PDF 形式のアイテム作成の日時" #: ../../document.rst:1651 d29662d08223403686e394f5d5d4de79 msgid "``modDate`` -- (*str*) date-time of last change in PDF format" msgstr "``modDate`` – (*str*) PDF 形式の最終変更の日時" #: ../../document.rst:1652 69752e18d0a54012a9dbebd7a2a8eded msgid "" "``collection`` -- (*int*) :data:`xref` of the associated PDF portfolio " "item if any, else zero." msgstr "``collection`` – (*int*) 関連する PDF ポートフォリオアイテムの :data:`xref`(あれば)、それ以外はゼロ。" #: ../../document.rst:1653 870473bef4414d4a9f160c797a395163 msgid "" "``checksum`` -- (*str*) a hashcode of the stored file content as a " "hexadecimal string. Should be MD5 according to PDF specifications, but be" " prepared to see other hashing algorithms." msgstr "" "``checksum`` – (*str*) 16進数の文字列として格納されたファイルコンテンツのハッシュコード。PDF 仕様に従えば MD5 " "であるべきですが、他のハッシュアルゴリズムも見る可能性があるので、準備しておいてください。" #: ../../document.rst:1657 b293ff432c4943c7b13c527f6ae85be2 msgid "" "PDF only: Return a list of embedded file names. The sequence of the names" " equals the physical sequence in the document." msgstr "PDF のみ: 埋め込まれたファイルの名前のリストを返します。名前のシーケンスはドキュメント内の物理的なシーケンスと同じです。" #: ../../document.rst:1668 40d7ae2aac41481b8256423dedbe2570 msgid "" "PDF only: Change an embedded file given its entry number or name. All " "parameters are optional. Letting them default leads to a no-operation." msgstr "" "PDF のみ: " "エントリ番号または名前によって指定された埋め込まれたファイルを変更します。すべてのパラメータはオプションです。デフォルトで設定すると、操作は行われません。" #: ../../document.rst:1671 f59d2798159c472e8b861edc7cafc49e msgid "" "the new file content. *(Changed in v1.14.13)* *io.BytesIO* is now also " "supported." msgstr "新しいファイルの内容。*(v1.14.13 で変更)* *io.BytesIO* もサポートされるようになりました。" #: ../../document.rst:1671 cb03da4bee5c476891ce54c568329d5b msgid "the new file content." msgstr "新しいファイルの内容。" #: ../../document.rst:1675 5b7dac2348554f989d99d3971995632c msgid "the new filename." msgstr "新しいファイル名。" #: ../../document.rst:1676 cf4779ea31f6485baa24ba26f618ee73 msgid "the new unicode filename." msgstr "新しいUnicodeファイル名。" #: ../../document.rst:1677 0c0c1f586af547b3806f6c000e271d90 msgid "the new description." msgstr "新しい説明。" #: ../../document.rst:1679 0588e113557544cfa618e9fa05550f26 msgid "" "*(Changed in v1.18.13)* The method now returns the :data:`xref` of the " "file object." msgstr "*(v1.18.13 で変更)* このメソッドはファイルオブジェクトの :data:`xref` も返すようになりました。" #: ../../document.rst:1682 caacf7f8451042be88437cdd7ebf80f6 msgid "" "xref of the file object. Automatically, its `/ModDate` PDF key will be " "updated with the current date-time." msgstr "ファイルオブジェクトのxref。自動的に、`/ModDate` PDF キーが現在の日時で更新されます。" #: ../../document.rst:1687 c1612e02ab6e4aaa90882747a1695057 msgid "" "Release objects and space allocations associated with the document. If " "created from a file, also closes *filename* (releasing control to the " "OS). Explicitly closing a document is equivalent to deleting it, `del " "doc`, or assigning it to something else like `doc = None`." msgstr "" "文書に関連付けられたオブジェクトとスペースの割り当てを解放します。ファイルから作成された場合、ファイル名も閉じられ(OS " "に制御を解放)ます。文書を明示的に閉じることは、それを削除すること、`del doc` 、または `doc = None` " "のように別のものに割り当てることと同等です。" #: ../../document.rst:1691 ../../document.rst:1705 ../../document.rst:1712 #: ../../document.rst:1719 ../../document.rst:1730 ../../document.rst:1739 #: ../../document.rst:1888 2d1db6abe10b4b30a5fee4fc3150a1a2 #: 3696c9e47a5d4f279ca6e13ca9badc38 5dffd418b2484c78bff8e129dd0beda0 #: 90fec84dc6174a0e8a82750746e35157 c721b36a29cf4051bbf9e0ca82266951 #: c9d56f09885c4db3afad4b92d4bb30c5 d854778651b548139937059eb60c11db msgid "New in v1.16.8" msgstr "" #: ../../document.rst:1692 a23659b9ffbc469f9b1e6aeaf63329c8 msgid "Changed in v1.18.10" msgstr "v1.18.10 で変更" #: ../../document.rst:1694 8ef598a908184a068d803110e0727a3e msgid "PDF only: Return the definition source of a PDF object." msgstr "PDF のみ: PDF オブジェクトの定義ソースを返します。" #: ../../document.rst:1696 2f3c19c00a5c4c33880871794c2207c2 #, fuzzy msgid "" "the object's :data:`xref`. *Changed in v1.18.10:* A value of `-1` returns" " the PDF trailer source." msgstr "オブジェクトの :data`xref` 。*v1.18.10 で変更:* -1 の値は PDF トレーラーのソースを返します。" #: ../../document.rst:1697 d7825dd896e841a4946cd46633cc1cba msgid "whether to generate a compact output with no line breaks or spaces." msgstr "改行やスペースのないコンパクトな出力を生成するかどうか。" #: ../../document.rst:1698 4a2d6a2741b84dbbabd0ae4824b249b6 msgid "whether to ASCII-encode binary data." msgstr "バイナリデータを ASCII エンコードするかどうか。" #: ../../document.rst:1701 d289d49008164203be7390dad133165b msgid "The object definition source." msgstr "オブジェクトの定義ソース。" #: ../../document.rst:1707 33f4eb609f2e4a31bcedf6bbb15f807b msgid "" "PDF only: Return the :data:`xref` number of the PDF catalog (or root) " "object. Use that number with :meth:`Document.xref_object` to see its " "source." msgstr "" "PDF のみ: PDF カタログ(またはルート)オブジェクトの :data:`xref` 番号を返します。これを " ":meth:`Document.xref_object` で使用してそのソースを表示できます。" #: ../../document.rst:1714 25deae598bf0499b83ce312067283693 msgid "" "PDF only: Return the trailer source of the PDF, which is usually located" " at the PDF file's end. This is :meth:`Document.xref_object` with an " ":data:`xref` argument of -1." msgstr "" "PDF のみ: PDF のトレーラーソースを返します。通常、これは PDF ファイルの末尾にあります。これは " ":meth:`Document.xref_object` で :data:`xref` 引数が -1 の場合です。" #: ../../document.rst:1721 e4cb3087b0c64d3eb47f44d544152d83 msgid "" "PDF only: Return the **decompressed** contents of the :data:`xref` stream" " object." msgstr "PDF のみ: :data:`xref` ストリームオブジェクトの **解凍された** コンテンツを返します。" #: ../../document.rst:1723 ../../document.rst:1743 ../../document.rst:1762 #: bd1262c85c614c2d81fa5f15f512c739 e80e7230a803497aa97d368a20d6e190 #: f5b32eb85c0e4db8be3bb7ba4cea4d21 msgid ":data:`xref` number." msgstr ":data:`xref` 番号。" #: ../../document.rst:1726 c2333be86e844fc98605aa5bf81d198f msgid "the (decompressed) stream of the object." msgstr "(解凍された)オブジェクトのストリーム。" #: ../../document.rst:1732 283d3fc3dd6540698765de3addb1126c msgid "" "PDF only: Return the **unmodified** (esp. **not decompressed**) contents " "of the :data:`xref` stream object. Otherwise equal to " ":meth:`Document.xref_stream`." msgstr "" "PDF のみ: :data:`xref` ストリームオブジェクトの**変更前**(特に " "**解凍されていない**)コンテンツを返します。それ以外の点では :meth:`Document.xref_stream` と同等です。" #: ../../document.rst:1735 462546377c3c4cd4b1472360c095b7c1 msgid "the (original, unmodified) stream of the object." msgstr "(元の、変更前の)オブジェクトのストリーム。" #: ../../document.rst:1741 0b9b082e450d41eb9b314d3946b524a8 msgid "" "PDF only: Replace object definition of :data:`xref` with the provided " "string. The xref may also be new, in which case this instruction " "completes the object definition. If a page object is also given, its " "links and annotations will be reloaded afterwards." msgstr "" "PDF のみ: :data:`xref` のオブジェクト定義を提供された文字列で置き換えます。xref " "が新しい場合、この命令はオブジェクト定義を完成させます。ページオブジェクトも指定された場合、そのリンクと注釈が後で再ロードされ、リンクと/または注釈に関連する変更が反映されます。" #: ../../document.rst:1745 8933f62dde2645e88c680302e0737fdd msgid "a string containing a valid PDF object definition." msgstr "有効な PDF オブジェクト定義を含む文字列。" #: ../../document.rst:1747 a2630fd6e0d64414b7ad457df37269b0 msgid "" "a page object. If provided, indicates, that annotations of this page " "should be refreshed (reloaded) to reflect changes incurred with links and" " / or annotations." msgstr "ページオブジェクト。指定された場合、このページの注釈が変更を反映するために再ロードされることを示します。" #: ../../document.rst:1751 6e2ff3cc8ba1477faddb0b4a8c62a0c1 msgid "zero if successful, otherwise an exception will be raised." msgstr "成功した場合はゼロ、それ以外の場合は例外が発生します。" #: ../../document.rst:1756 59e3f67362e24cab9751cfb4f80bdaee msgid "New in v.1.16.8" msgstr "v1.16.8 で新規" #: ../../document.rst:1757 e613c9bdf9154e69bfdb4290b3db58b3 msgid "Changed in v1.19.2: added parameter \"compress\"" msgstr "v1.19.2 で変更: パラメータ \"compress\" を追加" #: ../../document.rst:1758 b5a2a17e15894322882de2242d8fd8d7 msgid "" "Changed in v1.19.6: deprecated parameter \"new\". Now confirms that the " "object is a PDF dictionary object." msgstr "" "v1.19.6 で変更: パラメータ \"new\" を非推奨にし、無視します。オブジェクトが PDF " "辞書オブジェクトであることを確認するようになりました。" #: ../../document.rst:1760 be549db0daac4457bfaa4bd7267ba26b msgid "" "Replace the stream of an object identified by :data:`xref`, which must be" " a PDF dictionary. If the object is no :data:`stream`, it will be turned " "into one. The function automatically performs a compress operation " "(\"deflate\") where beneficial." msgstr "" "xref で識別されるオブジェクトのストリームを置き換えます。:data:`xref` は PDF " "辞書である必要があります。オブジェクトがストリームでない場合、それをストリームに変換します。この関数は、有益な場合には自動的に圧縮操作(\"deflate\")を実行します。" #: ../../document.rst:1764 10fe63cbe0d341f3a69640433bd62174 msgid "" "the new content of the stream. *(Changed in v1.14.13:)* *io.BytesIO* " "objects are now also supported." msgstr "" #: ../../document.rst:1764 af4a5ac5fb2a4e098c781ed0b4edc120 msgid "the new content of the stream." msgstr "ストリームの新しい内容。" #: ../../document.rst:1766 8f1f5a91c7ab489dbcf4485406b77160 msgid "*(Changed in v1.14.13:)* *io.BytesIO* objects are now also supported." msgstr "*(v1.14.13 で変更:)* *io.BytesIO* オブジェクトもサポートされるようになりました。" #: ../../document.rst:1768 15ae756f4ecb41b288efbd1eb2c46b65 msgid "*deprecated* and ignored. Will be removed some time after v1.20.0." msgstr "*非推奨* で無視されます。v1.20.0 以降のある時点で削除されます。" #: ../../document.rst:1769 937c966669724ea086fc25ab2b60cdac msgid "" "whether to compress the inserted stream. If `True` (default), the stream " "will be inserted using `/FlateDecode` compression (if beneficial), " "otherwise the stream will inserted as is." msgstr "" "挿入されるストリームを圧縮するかどうか。`True` の場合(デフォルト)、ストリームは `/FlateDecode` " "圧縮を使用して挿入されます(有益な場合)、それ以外の場合はストリームはそのまま挿入されます。" #: ../../document.rst:1771 52d2cd2519ce458b821f982d7560f805 msgid "" "if :data:`xref` does not represent a PDF :data:`dict`. An empty " "dictionary ``<<>>`` is accepted. So if you just created the xref and want" " to give it a stream, first execute `doc.update_object(xref, \"<<>>\")`, " "and then insert the stream data with this method." msgstr "" ":data:`xref` が PDF 辞書を表していない場合。空の辞書 < は受け入れられます。したがって、xref " "を作成し、それにストリームを指定する場合は、まず `doc.update_object(xref, \"<<>>\")` " "を実行し、その後、このメソッドでストリームデータを挿入してください。" #: ../../document.rst:1773 cb6a6dc6a8254e4c8bb0f9c0590b4a57 msgid "" "The method is primarily (but not exclusively) intended to manipulate " "streams containing PDF operator syntax (see pp. 643 of the " ":ref:`AdobeManual`) as it is the case for e.g. page content streams." msgstr "" "このメソッドは主に(しかし排他的ではなく)PDFオペレータ構文を含むストリームを操作することを意図しています(:ref:`AdobeManual`" " の pp. 643 参照)。例えばページのコンテンツストリームのようにです。" #: ../../document.rst:1775 e6f22217dcf04f5ca0789618ccc4b6a1 msgid "" "If you update a contents stream, consider using save parameter " "*clean=True* to ensure consistency between PDF operator source and the " "object structure." msgstr "" "コンテンツストリームを更新する場合、PDFオペレータのソースとオブジェクト構造の間の整合性を確保するために save パラメータを " "*clean=True* で使用することを検討してください。" #: ../../document.rst:1777 9175289674fe42d58a6b6abdb5e16e51 msgid "" "Example: Let us assume that you no longer want a certain image appear on " "a page. This can be achieved by deleting the respective reference in its " "contents source(s) -- and indeed: the image will be gone after reloading " "the page. But the page's :data:`resources` object would still show the " "image as being referenced by the page. This save option will clean up any" " such mismatches." msgstr "" "例: ある画像をページに表示させたくないと仮定しましょう。これは、そのコンテンツソース内の該当する参照を削除することによって実現できます - " "そして実際には、ページを再読み込みした後、画像は消えてしまいます。ただし、ページの :data:`resources` " "は、まだその画像がページによって参照されていると表示されます。この保存オプションは、そのような不一致をクリーンアップします。" #: ../../document.rst:1782 d9275845ca0549f9810fe1c459229023 msgid "New in v1.19.5" msgstr "v1.19.5 で新規" #: ../../document.rst:1784 1978f66df0e74a988b853cc4459b38d0 #, fuzzy msgid "" "PDF Only: Make ``target`` xref an exact copy of ``source``. If ``source``" " is a :data:`stream`, then this data is also copied." msgstr "" "PDF のみ: *ターゲット* の xref をソースの正確なコピーにします。*ソース* が :data:`stream` " "の場合、これらのデータもコピーされます。" #: ../../document.rst:1786 ede3e57cd1a54c4dae2acc826a5ca8bf msgid "the source :data:`xref`. It must be an existing **dictionary** object." msgstr "ソースの :data:`xref`。既存の **辞書** オブジェクトである必要があります。" #: ../../document.rst:1787 a114c0a1e048457db2694da7e1b8a322 msgid "" "the target xref. Must be an existing **dictionary** object. If the xref " "has just been created, make sure to initialize it as a PDF dictionary " "with the minimum specification ``<<>>``." msgstr "" "ターゲットの :data:`xref`。既存の **辞書** オブジェクトである必要があります。xref が新たに作成されたばかりの場合、最小仕様" " ``<<>>`` を持つ PDF 辞書として初期化することを確認してください。" #: ../../document.rst:1788 59c3eb8299844c509459fa4e5a6ff3b1 msgid "" "an optional list of top-level keys in ``target``, that should not be " "removed in preparation of the copy process." msgstr "``target`` 内のトップレベルのキーを削除する準備段階で削除しない、オプションのキーリスト。" #: ../../document.rst:1792 1447fd7c08ef42a7ae90572fa47e3c80 msgid "This method has much in common with Python's *dict* method `copy()`." msgstr "このメソッドは、Python の *dict* メソッド `copy()` と多くの共通点があります。" #: ../../document.rst:1793 c332b30c15b841de889aa5834596e374 msgid "Both xref numbers must represent existing dictionaries." msgstr "両方の xref 番号は既存の辞書を表す必要があります。" #: ../../document.rst:1794 c4b2efbb94164cf0bb995217e6390c71 msgid "" "Before data is copied from *source*, all *target* dictionary keys are " "deleted. You can specify exceptions from this in the ``keep`` list. If " "*source* however has a same-named key, its value will still replace the " "target." msgstr "" "データがソースからコピーされる前に、すべての *ターゲット* 辞書のキーが削除されます。この削除からの例外を ``keep`` " "リストで指定できます。ただし、*ソース* に同じ名前のキーがある場合、その値はターゲットに置き換えられます。" #: ../../document.rst:1795 a83d35411e754766978f64291fb8cb50 msgid "" "If ``source`` is a :data:`stream` object, then these data will also be " "copied over, and ``target`` will be converted to a stream object." msgstr "" "``source`` が ``stream`` オブジェクトである場合、そのデータもコピーされ、``target`` は ``stream`` " "オブジェクトに変換されます。" #: ../../document.rst:1796 344e7a4ddcfb4ab89dcfcc2862bc8f8d msgid "" "A typical use case is to replace or remove an existing image without " "using redaction annotations. Example scripts can be seen `in this PyMuPDF" " Utilities example `_." msgstr "" "典型的な使用例は、赤塗り注釈を使用せずに既存の画像を置き換えたり削除したりすることです。例のスクリプトは `こちら " "`_ で確認できます。" #: ../../document.rst:1800 bb36292ec69e4f9b98c4ec88541612f9 msgid "" "PDF Only: Extract data and meta information of an image stored in the " "document. The output can directly be used to be stored as an image file, " "as input for PIL, :ref:`Pixmap` creation, etc. This method avoids using " "pixmaps wherever possible to present the image in its original format " "(e.g. as JPEG)." msgstr "" "PDF のみ: " "文書に格納された画像のデータとメタ情報を抽出します。出力は、画像ファイルとして保存するための直接的な使用、PIL、:ref:`Pixmap` " "の作成などに使用できます。このメソッドは、できる限りピクマップを使用せず、画像をその元の形式(例:JPEG " "として)で表示することを目的としています。" #: ../../document.rst:1802 78f689ab3d4340b284a59caa46718c80 msgid "" ":data:`xref` of an image object. If this is not in `range(1, " "doc.xref_length())`, or the object is no image or other errors occur, " "`None` is returned and no exception is raised." msgstr "" "画像オブジェクトの :data:`xref`。これが `range(1, doc.xref_length())` " "の範囲外であるか、オブジェクトが画像でないか、その他のエラーが発生した場合、 `None` が返され、例外は発生しません。" #: ../../document.rst:1805 6f94452f16664114839249285cdf2d94 msgid "" "a dictionary with the following keys * *ext* (*str*) image type (e.g. " "*'jpeg'*), usable as image file extension * *smask* (*int*) :data:`xref` " "number of a stencil (/SMask) image or zero * ``width`` (*int*) image " "width * ``height`` (*int*) image height * *colorspace* (*int*) the " "image's *colorspace.n* number. * *cs-name* (*str*) the image's " "*colorspace.name*. * *xres* (*int*) resolution in x direction. Please " "also see :data:`resolution`. * *yres* (*int*) resolution in y direction. " "Please also see :data:`resolution`. * *image* (*bytes*) image data, " "usable as image file content" msgstr "" #: ../../document.rst:1805 d87f3e046f2f4b23bc0807e8168812e2 msgid "a dictionary with the following keys" msgstr "以下のキーを持つ辞書" #: ../../document.rst:1807 ba7ba718761e492e8f662d09ddc95835 msgid "*ext* (*str*) image type (e.g. *'jpeg'*), usable as image file extension" msgstr "*ext* (*str*) 画像タイプ(例:*'jpeg'*)、画像ファイルの拡張子として使用可能" #: ../../document.rst:1808 9522a445d9c2447e81797f1553daa0ed msgid "*smask* (*int*) :data:`xref` number of a stencil (/SMask) image or zero" msgstr "*smask* (*int*) ステンシル(/SMask)画像の :data:`xref` 番号またはゼロ" #: ../../document.rst:1809 07061033da1b4b1888cc6d96246e3731 #, fuzzy msgid "``width`` (*int*) image width" msgstr "*width* (*int*) 画像の幅" #: ../../document.rst:1810 7a2ee3334e0b43b799cce3fa8a5067cf #, fuzzy msgid "``height`` (*int*) image height" msgstr "*height* (*int*) 画像の高さ" #: ../../document.rst:1811 674a1227dfb24764810f8a3c8e1d5115 msgid "*colorspace* (*int*) the image's *colorspace.n* number." msgstr "*colorspace* (*int*) 画像のカラースペースの数" #: ../../document.rst:1812 87b5931935934adaac549c6c0d2dae5c msgid "*cs-name* (*str*) the image's *colorspace.name*." msgstr "*cs-name* (*str*) 画像のカラースペースの名前" #: ../../document.rst:1813 d1cdc8cf4e38466bad4393a9edda8188 msgid "" "*xres* (*int*) resolution in x direction. Please also see " ":data:`resolution`." msgstr "*xres* (*int*) x 方向の解像度。:data:`resolution` も参照してください。" #: ../../document.rst:1814 41f36105a6ef458ca0d0efda56b787f7 msgid "" "*yres* (*int*) resolution in y direction. Please also see " ":data:`resolution`." msgstr "*yres* (*int*) y 方向の解像度。:data:`resolution` も参照してください。" #: ../../document.rst:1815 3b09fc2f822e4a66bcf89f5064888d20 msgid "*image* (*bytes*) image data, usable as image file content" msgstr "*image* (*bytes*) 画像データ、画像ファイルのコンテンツとして使用可能" #: ../../document.rst:1827 a2ca74b0d3fb44a6af4caf922486b13a msgid "" "There is a functional overlap with *pix = pymupdf.Pixmap(doc, xref)*, " "followed by a *pix.tobytes()*. Main differences are that extract_image, " "**(1)** does not always deliver PNG image formats, **(2)** is **very** " "much faster with non-PNG images, **(3)** usually results in much less " "disk storage for extracted images, **(4)** returns `None` in error cases " "(generates no exception). Look at the following example images within the" " same PDF." msgstr "" "*pix = pymupdf.Pixmap(doc, xref)* *に続いてpix.tobytes()* " "という機能的な重複があります。主な違いは、extract_imageは、**(1)** 必ずしもPNG画像形式を提供しない、 **(2)** " "PNG以外の画像では非常に高速である、 **(3)** 抽出された画像のディスクストレージが通常ははるかに少ない、 **(4)** " "エラーケースでは `None` を返す(例外を生成しない)という点です。同じPDF内の以下の例の画像を見てみましょう。" #: ../../document.rst:1829 ebb9a040a28642529996bc8a3d5e3341 msgid "xref 1268 is a PNG -- Comparable execution time and identical output::" msgstr "xref 1268 は PNG 形式です - 比較可能な実行時間と同じ出力::" #: ../../document.rst:1841 b4ad30db2af64226b788bc78cdbf2620 msgid "" "xref 1186 is a JPEG -- :meth:`Document.extract_image` is **many times " "faster** and produces a **much smaller** output (2.48 MB vs. 0.35 MB)::" msgstr "" "xref 1186 は JPEG です - :meth:`Document.extract_image` は " "**何倍も速く**、はるかに小さい出力を生成します(2.48 MB に対して 0.35 MB)::" #: ../../document.rst:1856 f238369b37934968ae4ada422517679c msgid "Changed in v1.19.4: return a dictionary if `named == True`." msgstr "v1.19.4 で変更: `named == True` の場合、辞書を返します。" #: ../../document.rst:1858 63b965c660cb48f599a8e3ef61279d03 msgid "" "PDF Only: Return an embedded font file's data and appropriate file " "extension. This can be used to store the font as an external file. The " "method does not throw exceptions (other than via checking for PDF and " "valid :data:`xref`)." msgstr "" "PDF のみ: " "埋め込まれたフォントファイルのデータと適切なファイル拡張子を返します。これを使用してフォントを外部ファイルとして保存することができます。このメソッドは例外をスローしません(PDF" " および有効な :data:`xref` のチェックを除く)。" #: ../../document.rst:1860 5868fff7a5c1434d8331e423b2da5b01 msgid "PDF object number of the font to extract." msgstr "抽出するフォントの PDF オブジェクト番号。" #: ../../document.rst:1861 e93cee0f89174e4bac856b0c26d404a5 msgid "" "only return font information, not the buffer. To be used for information-" "only purposes, avoids allocation of large buffer areas." msgstr "フォント情報のみを返し、バッファの割り当てを回避するために使用します。" #: ../../document.rst:1862 fa79f073e29f4634a730854470e90a80 msgid "" "If true, a dictionary with the following keys is returned: 'name' (font " "base name), 'ext' (font file extension), 'type' (font type), 'content' " "(font file content)." msgstr "" "`True` の場合、次のキーを持つ辞書が返されます: 'name'(フォントのベース名)、 'ext'(フォントファイルの拡張子)、 " "'type'(フォントのタイプ)、 'content'(フォントファイルの内容)。" #: ../../document.rst:1865 ab89baff11f24d95bf92e569980f0cfe #, fuzzy msgid "" "a tuple `(basename, ext, type, content)`, where *ext* is a 3-byte " "suggested file extension (*str*), *basename* is the font's name (*str*), " "*type* is the font's type (e.g. \"Type1\") and *content* is a bytes " "object containing the font file's content (or *b\"\"*). For possible " "extension values and their meaning see :ref:`FontExtensions`. Return " "details on error: * `(\"\", \"\", \"\", b\"\")` -- invalid xref or xref " "is not a (valid) font object. * `(basename, \"n/a\", \"Type1\", b\"\")` " "-- *basename* is not embedded and thus cannot be extracted. This is the " "case for e.g. the :ref:`Base-14-Fonts` and Type 3 fonts." msgstr "" "`(basename, ext, type, content)` のタプルで、ext " "は3バイトの推奨ファイル拡張子(*str*)で、*basename* はフォントの名前(*str*)で、*type* " "はフォントのタイプ(例:「Type1」)で、*content* はフォントファイルの内容を含むバイトオブジェクトです(または *b\"\"* " ")。可能な拡張子の値とその意味については :ref:`FontExtensions` を参照してください。エラー時の返り値の詳細:" #: ../../document.rst:1865 3b2b1686981b408f9b4ca383fc8e0886 msgid "" "a tuple `(basename, ext, type, content)`, where *ext* is a 3-byte " "suggested file extension (*str*), *basename* is the font's name (*str*), " "*type* is the font's type (e.g. \"Type1\") and *content* is a bytes " "object containing the font file's content (or *b\"\"*). For possible " "extension values and their meaning see :ref:`FontExtensions`. Return " "details on error:" msgstr "" "`(basename, ext, type, content)` のタプルで、ext " "は3バイトの推奨ファイル拡張子(*str*)で、*basename* はフォントの名前(*str*)で、*type* " "はフォントのタイプ(例:「Type1」)で、*content* はフォントファイルの内容を含むバイトオブジェクトです(または *b\"\"* " ")。可能な拡張子の値とその意味については :ref:`FontExtensions` を参照してください。エラー時の返り値の詳細:" #: ../../document.rst:1867 481c41a571e542b7a7aa786175062a42 msgid "" "`(\"\", \"\", \"\", b\"\")` -- invalid xref or xref is not a (valid) font" " object." msgstr "`(\"\", \"\", \"\", b\"\")` – 無効な xref または xref が(有効な)フォントオブジェクトではない場合。" #: ../../document.rst:1868 cb4b7c40a27e4f8d8952d515656acd8b msgid "" "`(basename, \"n/a\", \"Type1\", b\"\")` -- *basename* is not embedded and" " thus cannot be extracted. This is the case for e.g. the " ":ref:`Base-14-Fonts` and Type 3 fonts." msgstr "" "`(basename, \"n/a\", \"Type1\", b\"\")` – *basename* " "は埋め込まれておらず、したがって抽出できません。これは、例えば :ref:`Base-14-Fonts` フォントや Type 3 " "フォントの場合に該当します。" #: ../../document.rst:1870 41ac3a9a578a46a889335bb7b87bcaf6 msgid "Example:" msgstr "例:" #: ../../document.rst:1879 02cfca352adb406f958c62b5d22f6565 msgid "" "The basename is returned unchanged from the PDF. So it may contain " "characters (such as blanks) which may disqualify it as a filename for " "your operating system. Take appropriate action." msgstr "" "*ベースネーム* は PDF から変更されずに返されます。そのため、それには (空白などの) " "ファイル名として使用できない文字が含まれている可能性があります。適切な措置を取ってください。" #: ../../document.rst:1882 986fdf8314ca4329828c2ddb689dc2cd msgid "" "The returned *basename* in general is **not** the original file name, but" " it probably has some similarity." msgstr "通常、返される *ベースネーム* は元のファイル名ではなく、いくつかの類似性があるかもしれません。" #: ../../document.rst:1883 1a93938a9e004ef4a3f2d30cbd5711b6 msgid "" "If parameter `named == True`, a dictionary with the following keys is " "returned: `{'name': 'T1', 'ext': 'n/a', 'type': 'Type3', 'content': " "b''}`." msgstr "" "`named == True` の場合、次のキーを持つ辞書が返されます: `{'name': 'T1', 'ext': 'n/a', " "'type': 'Type3', 'content': b''}`。" #: ../../document.rst:1890 bf48f5599c0b4eba92b57c5c2878337f msgid "PDF only: Return the :data:`xref` of the document's XML metadata." msgstr "PDF のみ: ドキュメントの XML メタデータの :data:`xref` を返します。" #: ../../document.rst:1899 b15d00f9e287463e9d85fb59c132c2fb msgid "" "PDF only: Check whether there are links, resp. annotations anywhere in " "the document." msgstr "PDF のみ: ドキュメント内にリンクまたは注釈が存在するかどうかを確認します。" #: ../../document.rst:1901 a8ad087d8d95460885065c1393b39d3c msgid "" "``True`` / ``False``. As opposed to fields, which are also stored in a " "central place of a PDF document, the existence of links / annotations can" " only be detected by parsing each page. These methods are tuned to do " "this efficiently and will immediately return, if the answer is ``True`` " "for a page. For PDFs with many thousand pages however, an answer may take" " some time [#f6]_ if no link, resp. no annotation is found." msgstr "" "``True`` / ``False`` 。フィールドとは異なり、リンクや注釈の存在は PDF " "ドキュメントの中心的な場所に格納されているわけではなく、各ページを解析してのみ検出できます。これらのメソッドは効率的に実行するように調整されており、ページに対して" " ``True`` の回答がある場合、すぐに返されます。ただし、多くのページを持つ PDF " "の場合、リンクや注釈が見つからない場合、回答に時間がかかることがあります [#f6]_。" #: ../../document.rst:1906 e21fcef1343540d1a708042f4c0792a7 msgid "" "PDF only: Investigate eligible fonts for their use by text in the " "document. If a font is supported and a size reduction is possible, that " "font is replaced by a version with a subset of its characters." msgstr "" "PDF のみ: " "ドキュメント内のテキストによる使用を検討するための適格なフォントを調査します。サポートされているフォントで、サイズの削減が可能な場合、そのフォントは文字のサブセットを含むバージョンで置換されます。" #: ../../document.rst:1908 09503144287d4b18848ae8923ddfa67b msgid "Use this method immediately before saving the document." msgstr "このメソッドは、ドキュメントを保存する直前に使用します" #: ../../document.rst:1910 539a01e1c805488b9294c170eac3feac msgid "" "write various progress information to sysout. This currently only has an " "effect if `fallback` is `True`." msgstr "さまざまな進行状況情報を sysout に書き込みます。現在、これは `fallback` が `True` の場合にのみ効果があります。" #: ../../document.rst:1911 8981e0208a9f4e28b42ee5f66a328834 msgid "" "if `True` use the deprecated algorithm that makes use of package " "`fontTools `_ (which hence must be " "installed). If using the recommended value `False` (default), MuPDF's " "native function is used -- which is **very much faster** and can subset a" " broader range of font types. Package fontTools is not required then." msgstr "" "`True` の場合、非推奨のアルゴリズムを使用して、パッケージ `fontTools " "`_ を使用します(従って、fontTools " "がインストールされている必要があります)。推奨される値 `False` (デフォルト)を使用すると、MuPDF " "のネイティブ関数が使用されます。これは非常に高速で、より広範なフォントタイプをサブセット化できます。この場合、パッケージ fontTools " "は必要ありません。" #: ../../document.rst:1913 a15a1047f45b4352a716896e69d6a301 msgid "" "The greatest benefit can be achieved when creating new PDFs using large " "fonts like is typical for Asian scripts. When using the :ref:`Story` " "class or method :meth:`Page.insert_htmlbox`, multiple fonts may " "automatically be included -- without the programmer becoming aware of it." msgstr "" "最大の利点は、アジアのスクリプトに典型的な大きなフォントを使用して新しい PDF を作成する場合に得られます。 :ref:`Story` " "クラスまたはメソッド :meth:`Page.insert_htmlbox` " "を使用する場合、複数のフォントが自動的に含まれる場合がありますが、プログラマーが気付かない場合もあります。" #: ../../document.rst:1915 7fadfbd8f00548ec9586225f78483b9b msgid "" "In all these cases, the set of actually used unicodes mostly is very " "small compared to the number of glyphs available in the used fonts. Using" " this method can easily reduce the embedded font binaries by two orders " "of magnitude -- from several megabytes down to a low two-digit kilobyte " "amount." msgstr "" "これらのすべての場合、実際に使用される Unicode " "のセットは、使用されるフォントの使用可能なグリフの数に比べて非常に小さいことがほとんどです。このメソッドを使用すると、埋め込まれたフォントのバイナリを容易に2桁のキロバイト量にまで減らすことができます。" #: ../../document.rst:1917 866600d061f646dbb57bf75dabe4392e msgid "" "Creating font subsets leaves behind a large number of large, now unused " "PDF objects (\"ghosts\"). Therefore, make sure to compress and garbage-" "collect when saving the file. We recommend to use " ":meth:`Document.ez_save`." msgstr "" "フォントのサブセットを作成すると、多数の大きな、今は使用されていない PDF " "オブジェクト(「ゴースト」)が残ります。そのため、ファイルを保存する際に圧縮およびガベージコレクトを行ってください。:meth:`Document.ez_save`" " の使用をお勧めします。" #: ../../document.rst:1919 024990b74b30463dbc350e966d4356da msgid "|history_begin|" msgstr "" #: ../../document.rst:1922 513bd76513be4e288a19f6b96bbaa3ef msgid "Changed in v1.18.9" msgstr "v1.18.9で変更" #: ../../document.rst:1923 c85bdf00338b456db45d324b6c867387 msgid "Changed in v1.24.2 use native function of MuPDF." msgstr "v1.24.2 で変更され、MuPDF のネイティブ機能を使用するようになりました。" #: ../../document.rst:1925 3535b4d59fd44f9a83c2e71b62145fcd msgid "|history_end|" msgstr "" #: ../../document.rst:1930 ../../document.rst:1936 ../../document.rst:1943 #: ../../document.rst:1950 ../../document.rst:1959 ../../document.rst:1966 #: ../../document.rst:1975 ../../document.rst:1982 ../../document.rst:1989 #: ../../document.rst:1998 ../../document.rst:2007 #: 23c850b632f041fc84bbedf086e50e40 29d64060d52e41a994835f8172a847b0 #: 60d9d50b61334a3683c961e3a783127f 6b69181c8a7a4cfcaa51258244099614 #: 92ffa30293174c12bdea4b8d6057552d b587c518ff2b4b239282ddc410c7020a #: bda3066db65e4117823bef6cd27678a5 bf910fcc06ee45ccb89cd50ea75979e3 #: da2ebdf8956f483cb5f692d348eb4f5e dd484398c14a4d69b0296188557677a0 #: e1bd5bb69f054b608a0564f9de3951e3 msgid "New in v1.19.0" msgstr "v1.19.0 で新規追加" #: ../../document.rst:1932 e3b3225611884f5f8a13d93a5fa8fed2 msgid "" "PDF only: Enable journalling. Use this before you start logging " "operations." msgstr "PDF のみ: ジャーナリングを有効にします。ログ操作を開始する前にこれを使用します。" #: ../../document.rst:1938 8249cad73bec4dd3811b53fedbf3851b msgid "" "PDF only: Start journalling an *\"operation\"* identified by a string " "\"name\". Updates will fail for a journal-enabled PDF, if no operation " "has been started." msgstr "" "PDF のみ: 文字列 \"name\" で識別される *\"操作\"* のジャーナリングを開始します。ジャーナリングが有効な PDF " "に対しては、操作が開始されていない場合、更新が失敗します。" #: ../../document.rst:1945 704071b7f7704603a6810cce4ef29486 msgid "" "PDF only: Stop the current operation. The updates between start and stop " "of an operation belong to the same unit of work and will be undone / " "redone together." msgstr "PDF のみ: 現在の操作を停止します。操作の開始から終了までの間の更新は、同じユニットの作業に属し、一緒に元に戻される / やり直されます。" #: ../../document.rst:1952 8856cfd27a08421e8a3a415ac03757b5 msgid "" "PDF only: Return the numbers of the current operation and the total " "operation count." msgstr "PDF のみ: 現在の操作番号と総操作数を返します。" #: ../../document.rst:1954 7aef4dabfe7f42ee8e132777108552c3 msgid "" "a tuple `(step, steps)` containing the current operation number and the " "total number of operations in the journal. If **step** is 0, we are at " "the top of the journal. If **step** equals **steps**, we are at the " "bottom. Updating the PDF with anything other than undo or redo will " "automatically remove all journal entries after the current one and the " "new update will become the new last entry in the journal. The updates " "corresponding to the removed journal entries will be permanently lost." msgstr "" "ジャーナル内の現在の操作番号と総操作数を含むタプル `(step, steps)` が返されます。**step** が 0 " "の場合、ジャーナルの先頭にいることを示します。**step** が **steps** " "と等しい場合、ジャーナルの末尾にいることを示します。undo または redo 以外の何かで PDF " "を更新すると、現在のエントリ以降のすべてのジャーナルエントリが自動的に削除され、新しい更新がジャーナルの新しい最後のエントリになります。削除されたジャーナルエントリに対応する更新は永久に失われます。" #: ../../document.rst:1961 5804540e567442e986c965d58055649e msgid "PDF only: Return the name of operation number *step.*" msgstr "PDF のみ: 操作番号 *step* の操作名を返します。" #: ../../document.rst:1968 f0a5f14026814bc0838219dad0e6c78d msgid "" "PDF only: Show whether forward (\"redo\") and / or backward (\"undo\") " "executions are possible from the current journal position." msgstr "PDF のみ: 現在のジャーナル位置から前方(\"やり直し\")および後方(\"元に戻す\")の実行が可能かどうかを表示します。" #: ../../document.rst:1970 5066e32c51d74905ac1aaf5bb22faf52 msgid "" "a dictionary `{\"undo\": bool, \"redo\": bool}`. The respective method is" " available if its value is `True`." msgstr "`{\"undo\": bool, \"redo\": bool}` 形式の辞書。各メソッドはその値が `True` の場合に利用可能です。" #: ../../document.rst:1977 bca8256424854422903812de1880cf69 msgid "" "PDF only: Revert (undo) the current step in the journal. This moves " "towards the journal's top." msgstr "PDF のみ: ジャーナル内の現在のステップを元に戻します(元に戻す)。これにより、ジャーナルの先頭に向かって移動します。" #: ../../document.rst:1984 c840e9624cdb422484fa864d8235880f msgid "" "PDF only: Re-apply (redo) the current step in the journal. This moves " "towards the journal's bottom." msgstr "PDF のみ:現在のステップをジャーナルのボトムに戻して再適用します。" #: ../../document.rst:1991 58b8caa5be0c42e4ad1af76dfb16eb62 msgid "PDF only: Save the journal to a file." msgstr "PDF のみ:ジャーナルをファイルに保存します。" #: ../../document.rst:1993 64c4bc40fb8f405e9953e7eb030677d4 msgid "" "either a filename as string or a file object opened as \"wb\" (or an " "`io.BytesIO()` object)." msgstr "文字列としてのファイル名または \"wb\" で開かれたファイルオブジェクト (または `io.BytesIO()` オブジェクト)。" #: ../../document.rst:2000 b77b3dcb8b40499faf7067ff14e0ac3d msgid "" "PDF only: Load journal from a file. Enables journalling for the document." " If journalling is already enabled, an exception is raised." msgstr "" "PDF " "のみ:ファイルからジャーナルを読み込みます。ドキュメントのジャーナリングを有効にします。既にジャーナリングが有効になっている場合、例外が発生します。" #: ../../document.rst:2002 4961c34dc2e34a79bc11de4657129a91 msgid "" "the filename (str) of the journal or a file object opened as \"rb\" (or " "an `io.BytesIO()` object)." msgstr "ジャーナルのファイル名 (str) または \"rb\" で開かれたファイルオブジェクト (または `io.BytesIO()` オブジェクト)。" #: ../../document.rst:2009 b7d0c0f588064a908bf9eb652ed74157 msgid "" "PDF only: Saves a \"snapshot\" of the document. This is a PDF document " "with a special, incremental-save format compatible with journalling -- " "therefore no save options are available. Saving a snapshot is not " "possible for new documents." msgstr "" "PDF のみ:ドキュメントの「スナップショット」を保存します。これは、ジャーナリングと互換性のある特別なインクリメンタルセーブ形式を持つ PDF " "ドキュメントです。そのため、セーブオプションは利用できません。新しいドキュメントにはスナップショットを保存することはできません。" #: ../../document.rst:2011 2545bccc73fa4299b3e544581d325b2d msgid "" "This is a normal PDF document with no usage restrictions whatsoever. If " "it is not being changed in any way, it can be used together with its " "journal to undo / redo operations or continue updating." msgstr "" "これは通常の PDF " "ドキュメントで、制限はありません。何も変更されていない場合、そのスナップショットはジャーナルと共に操作を元に戻したり、やり直したり、更新を続けたりするために使用できます。" #: ../../document.rst:2016 e424a27e6b2643928977f3d6aa555cb3 msgid "" "Contains the first :ref:`Outline` entry of the document (or `None`). Can " "be used as a starting point to walk through all outline items. Accessing " "this property for encrypted, not authenticated documents will raise an " "*AttributeError*." msgstr "" "ドキュメントの最初のアウトラインエントリを含みます (または " "`None`)。すべてのアウトラインアイテムを歩く出発点として使用できます。暗号化された、認証されていないドキュメントに対してこのプロパティにアクセスすると、*AttributeError*" " が発生します。" #: ../../document.rst 1602273cc936401281de518030afe066 #: 16f29bf99132426f87c8a1a3a19e00e2 28f47def4ae34ebba8d1b7ed547bef39 #: 2d1462d16cab46708c2ea82e0c12389d 3042551ff76e414a8b0fbd0249e3dbc2 #: 32ae939840b646df97a2f59c6dbbb95d 37ba5b84daea4a13bd04359c6cd8f01d #: 610be889b0ed46b6b67b919761c5328c 7198eba9028c42ab86329761fdd6189d #: 7f3d268e33dc4d32ade745103b248f42 8757f1490fa24ef3a7e6900eece671f5 #: 8c9cfec8c566490b9639225e031a57fe a081d38bf1be4385a577bfc95efe4956 #: a15d802d6d3f4b57988cd8306eb4c8ef a4df564b9c0a486e84405a39b6299935 #: b1f9eacd35de4db691b1ed0287a78333 bb8e4f6e9b2c4e09abe1a99243658dca #: c4a68e2e7f19437b8849a9ffe38fbf3b cda3e67477524036890a97e0103ac73b #: ce0880d44e354062a461cde8ea9b8ecc f50c8eac8d5b46b989ee843ce5e55e52 msgid "type" msgstr "タイプ" #: ../../document.rst:2018 09f8caef7fbd48cd82a0924621d2a9e0 msgid ":ref:`Outline`" msgstr "" #: ../../document.rst:2022 f6902ea6d7c74e0e9df77ba8f44bc184 msgid "" "``False`` if document is still open. If closed, most other attributes and" " methods will have been deleted / disabled. In addition, :ref:`Page` " "objects referring to this document (i.e. created with " ":meth:`Document.load_page`) and their dependent objects will no longer be" " usable. For reference purposes, :attr:`Document.name` still exists and " "will contain the filename of the original document (if applicable)." msgstr "" "もし文書がまだ開いている場合は ``False`` " "です。閉じた場合、他のほとんどの属性やメソッドが削除されたり無効になります。また、この文書を参照する :ref:`Page` " "オブジェクト(すなわち :meth:`Document.load_page` " "で作成されたもの)とそれに依存するオブジェクトは利用できなくなります。参照用に、:attr:`Document.name` " "はまだ存在し、元の文書のファイル名が含まれます(該当する場合)。" #: ../../document.rst:2024 ../../document.rst:2030 ../../document.rst:2036 #: ../../document.rst:2050 ../../document.rst:2058 ../../document.rst:2066 #: ../../document.rst:2104 ../../document.rst:2110 #: 0cefab557d984344bfda0158a1f52684 394c1dd8d7534572ba79ebb0cccca67f #: 66e5ea720bed4a8db1dc0ce57284dd20 7727b1750813444ba91203426800b004 #: 7e8cf3312cff4ac48dce16a36311f52a aa51fa3df40249eaa4a1e1a0d5310e13 #: d9e029f9473442ebbb79145d3e00c7d3 f2ab1deb6ba9463aaa494cc84adb11ea msgid "bool" msgstr "" #: ../../document.rst:2028 be46ed59c726495784dfc24c6c0e257d msgid "" "``True`` if this is a PDF document and contains unsaved changes, else " "``False``." msgstr "これがPDFドキュメントであり、保存されていない変更が含まれている場合は ``True`` 、それ以外は ``False`` です。" #: ../../document.rst:2034 b53c8bd571224a64808858ec1262f49c msgid "``True`` if this is a PDF document, else ``False``." msgstr "これがPDFドキュメントである場合は ``True`` 、それ以外は ``False`` です。" #: ../../document.rst:2040 5b077860c7f84173a695652fa22ede87 msgid "" "``False`` if this is not a PDF or has no form fields, otherwise the " "number of root form fields (fields with no ancestors)." msgstr "" "これがPDFでないか、フォームフィールドが含まれていない場合は ``False`` " "であり、それ以外の場合はルートフォームフィールド(祖先のないフィールド)の数です。" #: ../../document.rst:2042 c94346686fa04426a6f4827511abb382 msgid "*(Changed in v1.16.4)* Returns the total number of (root) form fields." msgstr "*(v1.16.4で変更)* (ルート)フォームフィールドの合計数を返します。" #: ../../document.rst:2044 64d2a67af100488b8d2efa6e1883d02a msgid "bool,int" msgstr "" #: ../../document.rst:2048 c2a8e91d886f4dd39afa57c9e57ace12 msgid "" "``True`` if document has a variable page layout (like e-books or HTML). " "In this case you can set the desired page dimensions during document " "creation (open) or via method :meth:`layout`." msgstr "" "文書が可変ページレイアウト(電子書籍やHTMLのような)を持つ場合は ``True`` です。この場合、文書の作成(オープン)時または " ":meth:`layout` メソッドを使用して所望のページ寸法を設定できます。" #: ../../document.rst:2054 097934b832ba49788816a0be330fcc4d msgid "New in v1.18.2" msgstr "v1.18.2で新しく追加されました。" #: ../../document.rst:2056 a3953a101b3d436c889b977615129521 msgid "" "``True`` if PDF has been repaired during open (because of major structure" " issues). Always ``False`` for non-PDF documents. If true, more details " "have been stored in `TOOLS.mupdf_warnings()`, and " ":meth:`Document.can_save_incrementally` will return ``False``." msgstr "" "PDFがオープン時に修復された場合は ``True`` です(主要な構造上の問題のため)。非PDF文書の場合は常に ``False`` " "です。``True`` の場合、詳細は `TOOLS.mupdf_warnings()` " "に保存され、:meth:`Document.can_save_incrementally` は ``False`` を返します。" #: ../../document.rst:2064 2cce725fd9f3422f8aecbdee94679aea msgid "``True`` if PDF is in linearized format. ``False`` for non-PDF documents." msgstr "PDFが直線化形式である場合は ``True`` です。非PDF文書の場合はFalseです。" #: ../../document.rst:2072 f3bed56567f343e7be019a7113151958 msgid "" "A dictionary indicating the `/MarkInfo` value. If not specified, the " "empty dictionary is returned. If not a PDF, `None` is returned." msgstr "`/MarkInfo` の値を示す辞書です。指定されていない場合、空の辞書が返されます。PDFでない場合は `None` が返されます。" #: ../../document.rst:2074 ../../document.rst:2138 #: 4fac34bbddf141cc9db4746145385918 c43c67dc2942407d8e9945f28ce574e8 msgid "dict" msgstr "" #: ../../document.rst:2080 3c2381448f9746669bed68baf5d9bb53 msgid "" "A string containing the `/PageMode` value. If not specified, the default " "\"UseNone\" is returned. If not a PDF, `None` is returned." msgstr "" "`/PageMode` の値を含む文字列です。指定されていない場合、デフォルトの「UseNone」が返されます。PDFでない場合、`None` " "が返されます。" #: ../../document.rst:2082 ../../document.rst:2090 ../../document.rst:2144 #: 3be5c37120cd4a79b8474f458308b81a 531912d21abf43ce967a311e2f37dbb5 #: 68eeac57aeee49e799a0fb10f3ff10db msgid "str" msgstr "" #: ../../document.rst:2088 94d13e47f92c425ca9ceffd8061d5b3c msgid "" "A string containing the `/PageLayout` value. If not specified, the " "default \"SinglePage\" is returned. If not a PDF, `None` is returned." msgstr "" "`/PageLayout` " "の値を含む文字列です。指定されていない場合、デフォルトの「SinglePage」が返されます。PDFでない場合、`None` が返されます。" #: ../../document.rst:2096 376302c8e2864821a4ed3203d7970057 msgid "" "An integer counting the number of versions present in the document. Zero " "if not a PDF, otherwise the number of incremental saves plus one." msgstr "ドキュメント内に存在するバージョンの数をカウントする整数です。PDFでない場合、ゼロです。それ以外の場合、増分保存の数に1を加えたものです。" #: ../../document.rst:2098 ../../document.rst:2118 ../../document.rst:2150 #: ../../document.rst:2158 ../../document.rst:2166 #: 3ccae1d5a11a4795b4cb9fbb7abb90fb 551cfa067ca747078f3544b2b9a4c75d #: 6dc1779125fa4a5e89941961eedf2852 c694fc32adcc41ba87ad799a94b4e7e4 #: e3e8e1e7807b4796bdf0baacbe43920e msgid "int" msgstr "" #: ../../document.rst:2102 15c8db41a1944a7bbc1153ac5f6933af msgid "" "Indicates whether the document is password-protected against access. This" " indicator remains unchanged -- **even after the document has been " "authenticated**. Precludes incremental saves if true." msgstr "" "ドキュメントがアクセス制限のあるパスワードで保護されているかどうかを示します。この指示は、**ドキュメントが認証された後も** 変更されません。 " "`True` の場合、増分保存が不可能です。" #: ../../document.rst:2108 cfd83d7fc9914f1ea0b309e4421dafc9 msgid "" "This indicator initially equals :attr:`Document.needs_pass`. After " "successful authentication, it is set to ``False`` to reflect the " "situation." msgstr "" "この指示は、最初に :attr:`Document.needs_pass` と等しいです。認証が成功した後、状況を反映するために " "``False`` に設定されます。" #: ../../document.rst:2114 9694db51001240f19eb22fb0d5f7c271 msgid "" "Changed in v1.16.0: This is now an integer comprised of bit indicators. " "Was a dictionary previously." msgstr "" #: ../../document.rst:2116 1db1f23f8ebc4475b568658aa43f199a msgid "" "Contains the permissions to access the document. This is an integer " "containing bool values in respective bit positions. For example, if " "*doc.permissions & pymupdf.PDF_PERM_MODIFY > 0*, you may change the " "document. See :ref:`PermissionCodes` for details." msgstr "" "アクセス許可を示します。これは、対応するビット位置にbool値を含む整数です。例えば、*doc.permissions & " "pymupdf.PDF_PERM_MODIFY > 0* " "の場合、ドキュメントを変更できます。詳細については、:ref:`PermissionCodes` を参照してください。" #: ../../document.rst:2122 7962fdc44f174396b7e69eae4e54c130 msgid "" "Contains the document's meta data as a Python dictionary or `None` (if " "*is_encrypted=True* and *needPass=True*). Keys are *format*, " "*encryption*, *title*, *author*, *subject*, *keywords*, *creator*, " "*producer*, *creationDate*, *modDate*, *trapped*. All item values are " "strings or `None`." msgstr "" "文書のメタデータをPythonの辞書形式で含んでいます。ただし、*is_encrypted=True* かつ *needPass=True* " "の場合は `None` です。キーは " "*format*、*encryption*、*title*、*author*、*subject*、*keywords*、*creator*、*producer*、*creationDate*、*modDate*、*trapped*" " です。すべてのアイテムの値は文字列または `None` です。" #: ../../document.rst:2124 6cfc801351f94f7b861f48bb410d28c7 msgid "" "Except *format* and *encryption*, for PDF documents, the key names " "correspond in an obvious way to the PDF keys */Creator*, */Producer*, " "*/CreationDate*, */ModDate*, */Title*, */Author*, */Subject*, */Trapped* " "and */Keywords* respectively." msgstr "" "*format* と *encryption* を除いて、PDF 文書の場合、キー名は明らかな方法で PDF キー " "*/Creator*、*/Producer*、*/CreationDate*、*/ModDate*、*/Title*、*/Author*、*/Subject*、*/Trapped*、*/Keywords*" " に対応しています。" #: ../../document.rst:2126 f20bf71e53de47268b103331add7edf9 msgid "*format* contains the document format (e.g. 'PDF-1.6', 'XPS', 'EPUB')." msgstr "*format* には文書のフォーマット(例: 'PDF-1.6'、'XPS'、'EPUB')が含まれます。" #: ../../document.rst:2128 3efef9d77a4c425db7765bd868246cfe msgid "" "*encryption* either contains `None` (no encryption), or a string naming " "an encryption method (e.g. *'Standard V4 R4 128-bit RC4'*). Note that an " "encryption method may be specified **even if** *needs_pass=False*. In " "such cases not all permissions will probably have been granted. Check " ":attr:`Document.permissions` for details." msgstr "" "*encryption* には `None` (暗号化なし)または暗号化メソッドを示す文字列(例: *'Standard V4 R4 " "128-bit RC4'*) が含まれます。 *needs_pass=False* " "の場合でも暗号化メソッドが指定される場合があります。その場合、すべての権限が付与されていない可能性があります。詳細は " ":attr:`Document.permissions` を確認してください。" #: ../../document.rst:2130 9d90a31d5dc443e499dc24e80ac6a7fd msgid "" "If the date fields contain valid data (which need not be the case at " "all!), they are strings in the PDF-specific timestamp format " "\"D:\", where" msgstr "" "日付フィールドに有効なデータが含まれている場合(必ずしもそうである必要はありません!)、それらは PDF 固有のタイムスタンプ形式 " "\"D:\" の文字列です。" #: ../../document.rst:2132 20a10dd0049e479fb79845780b64734a msgid "" " is the 12 character ISO timestamp *YYYYMMDDhhmmss* (*YYYY* - year, " "*MM* - month, *DD* - day, *hh* - hour, *mm* - minute, *ss* - second), and" msgstr "" " は 12 文字の ISO タイムスタンプ YYYYMMDDhhmmss(*YYYY* - 年、*MM* - 月、*DD* - " "日、*hh* - 時、*mm* - 分、*ss* - 秒)であり、" #: ../../document.rst:2134 5da96c47c93747d58f34b49ac5ef58cd msgid "" " is a time zone value (time interval relative to GMT) containing a " "sign ('+' or '-'), the hour (*hh*), and the minute (*'mm'*, note the " "apostrophes!)." msgstr "" " は GMT に対する時刻間隔を示す符号('+' または " "'-')、時間(*hh*)、および分(*'mm'*、アポストロフィに注意!)を含むタイムゾーン値です。" #: ../../document.rst:2136 22d1786adac24570a27a1aae46488101 msgid "" "A Paraguayan value might hence look like *D:20150415131602-04'00'*, which" " corresponds to the timestamp April 15, 2015, at 1:16:02 pm local time " "Asuncion." msgstr "" "したがって、パラグアイの値は *D:20150415131602-04'00'* となり、これは Asuncion の現地時間で 2015 年 4" " 月 15 日午後 1 時 16 分 02 秒を表します。" #: ../../document.rst:2142 b0cf324cb8914ca695f619ae42bd9652 msgid "" "Contains the *filename* or *filetype* value with which *Document* was " "created." msgstr "*Document* が作成された *ファイル名* または *ファイルタイプ* の値を含みます。" #: ../../document.rst:2148 7f4ed0f5c41e456189313cbfc5952e49 msgid "" "Contains the number of pages of the document. May return 0 for documents " "with no pages. Function `len(doc)` will also deliver this result." msgstr "文書のページ数を含みます。ページがない文書の場合は 0 を返す場合があります。`len(doc)` 関数もこの結果を返します。" #: ../../document.rst:2154 ../../document.rst:2162 #: 73610f94f5a34127a2dda3a113913b25 c06566f44d3f4e20a91862264e4a1c99 msgid "New in v1.17.0" msgstr "v1.17.0 で新たに追加されました" #: ../../document.rst:2156 8cf8164c876c405e800d30202732e6f6 msgid "" "Contains the number of chapters in the document. Always at least 1. " "Relevant only for document types with chapter support (EPUB currently). " "Other documents will return 1." msgstr "" "文書の章の数を含みます。常に少なくとも 1 です。章のサポートがある文書タイプ(現在は EPUB のみ)にのみ関連します。その他の文書は 1 " "を返します。" #: ../../document.rst:2164 e5dfbd74ae114264bf5b918a7e215bda msgid "" "Contains (chapter, pno) of the document's last page. Relevant only for " "document types with chapter support (EPUB currently). Other documents " "will return `(0, page_count - 1)` and `(0, -1)` if it has no pages." msgstr "" "文書の最後のページの(章、pno)を含みます。章のサポートがある文書タイプ(現在は EPUB のみ)にのみ関連します。その他の文書は `(0, " "page_count - 1)` と `(0, -1)` を返します。" #: ../../document.rst:2170 6161488e20a3440a8af171ec632bfd3e msgid "" "A list of form field font names defined in the */AcroForm* object. `None`" " if not a PDF." msgstr "*/AcroForm* オブジェクトで定義されたフォームフィールドのフォント名のリストです。PDF でない場合は `None` です。" #: ../../document.rst:2172 ef0288df376442b1b18ffdc60b13aad3 msgid "list" msgstr "" #: ../../document.rst:2174 3cddcafda79b4acfa4346bad9396da59 msgid "" "For methods that change the structure of a PDF (:meth:`insert_pdf`, " ":meth:`select`, :meth:`copy_page`, :meth:`delete_page` and others), be " "aware that objects or properties in your program may have been " "invalidated or orphaned. Examples are :ref:`Page` objects and their " "children (links, annotations, widgets), variables holding old page " "counts, tables of content and the like. Remember to keep such variables " "up to date or delete orphaned objects. Also refer to " ":ref:`ReferenialIntegrity`." msgstr "" "PDFの構造を変更するメソッド " "(:meth:`insert_pdf`、:meth:`select`、:meth:`copy_page`、:meth:`delete_page` " "など)を使用する場合、プログラム内のオブジェクトやプロパティが無効化されたり孤立したりする可能性があることに注意してください。これには " ":ref:`Page` " "オブジェクトとその子要素(リンク、注釈、ウィジェット)、古いページ数を保持する変数、目次などが含まれます。このような変数を最新の情報に保つか、孤立したオブジェクトを削除することを忘れないでください。:ref:`ReferenialIntegrity`" " も参照してください。" #: ../../document.rst:2177 a2398cf6ad98476d944c903b70fee21b msgid ":meth:`set_metadata` Example" msgstr ":meth:`set_metadata` の例" #: ../../document.rst:2178 ddf7de671f964452acd94d777e10a07d msgid "" "Clear metadata information. If you do this out of privacy / data " "protection concerns, make sure you save the document as a new file with " "*garbage > 0*. Only then the old */Info* object will also be physically " "removed from the file. In this case, you may also want to clear any XML " "metadata inserted by several PDF editors:" msgstr "" "メタデータ情報をクリアします。プライバシー/データ保護の理由からこれを行う場合は、*ガベージ > 0* " "でドキュメントを新しいファイルとして保存してから古い */Info* " "オブジェクトもファイルから物理的に削除されることを確認してください。この場合、いくつかのPDFエディタによって挿入されたXMLメタデータもクリアすることを検討するかもしれません。" #: ../../document.rst:2196 642d2b67cd2f40c088b9ab627d5bcce7 msgid ":meth:`set_toc` Demonstration" msgstr ":meth:`set_toc` のデモンストレーション" #: ../../document.rst:2197 23344c44c0964dfd87e2ed6368dfe5f2 msgid "" "This shows how to modify or add a table of contents. Also have a look at " "`import.py `_ and `export.py " "`_ in the examples directory." msgstr "" "これは、目次を変更または追加する方法を示しています。また、examplesディレクトリにある `import.py " "`_ と `export.py `_ " "も参照してみてください。" #: ../../document.rst:2217 c5bd350315cb42bb9d44f2ed5f142cf7 msgid ":meth:`insert_pdf` Examples" msgstr ":meth:`insert_pdf` の例" #: ../../document.rst:2218 37f35aaa221e450b9c7923b3fb645393 msgid "**(1) Concatenate two documents including their TOCs:**" msgstr "**(1)2つの文書を連結して、それぞれの目次を含める:**" #: ../../document.rst:2230 19d9ac4c4ce54408a9ff1fc42b2ec3ab msgid "" "Obviously, similar ways can be found in more general situations. Just " "make sure that hierarchy levels in a row do not increase by more than " "one. Inserting dummy bookmarks before and after *toc2* segments would " "heal such cases. A ready-to-use GUI (wxPython) solution can be found in " "script `join.py `_ of the examples " "directory." msgstr "" "明らかに、より一般的な状況についても同様の方法が見つかるでしょう。連続するヒエラルキーレベルが1以上増加しないように注意してください。 " "**toc2** " "セグメントの前後にダミーのブックマークを挿入することで、そのような場合を修正できます。すぐに使用できるGUI(wxPython)の解決策は、examplesディレクトリのスクリプト" " `join.py `_ で見つけることができます。" #: ../../document.rst:2232 ec37bfa672424492b706bb55ae38792d msgid "**(2) More examples:**" msgstr "**(2)その他の例:**" #: ../../document.rst:2244 daa47d21176046b3b8cdcc9a15eff373 msgid "Other Examples" msgstr "他の例" #: ../../document.rst:2245 25b5f7ff173e4cbb974822ddf15bda53 msgid "**Extract all page-referenced images of a PDF into separate PNG files**::" msgstr "**PDF内のすべてのページ参照画像を個別のPNGファイルに抽出します**::" #: ../../document.rst:2260 9dcc333da1824dcb84886586cf37039d msgid "**Rotate all pages of a PDF:**" msgstr "**PDFのすべてのページを回転させます:**" #: ../../document.rst:2265 00e524b709ed425197a1390a21596acd msgid "Footnotes" msgstr "脚注" #: ../../document.rst:2266 a15a2e8120a74e39a05d411ee7c1c7d1 msgid "" "Content streams describe what (e.g. text or images) appears where and how" " on a page. PDF uses a specialized mini language similar to PostScript to" " do this (pp. 643 in :ref:`AdobeManual`), which gets interpreted when a " "page is loaded." msgstr "" "コンテンツストリームは、ページ上に何が表示され、どのように表示されるかを説明します。PDFは、ページが読み込まれると解釈される、PostScriptに似た専門のミニ言語を使用しています(:ref:`AdobeManual`" " のpp. 643)。" #: ../../document.rst:2268 ca3b618244bb41b19d1e10271e0d41c1 msgid "" "However, you **can** use :meth:`Document.get_toc` and " ":meth:`Page.get_links` (which are available for all document types) and " "copy this information over to the output PDF. See demo `convert.py " "`_." msgstr "" "ただし、:meth:`Document.get_toc` と :meth:`Page.get_links` " "(すべてのドキュメントタイプで利用可能)を使用して、この情報を出力PDFにコピーできます。デモ `convert.py " "`_ を参照してください。" #: ../../document.rst:2270 6f0e49f40f3b42b282cf974f985eacf7 msgid "" "For applicable (EPUB) document types, loading a page via its absolute " "number may result in layouting a large part of the document, before the " "page can be accessed. To avoid this performance impact, prefer chapter-" "based access. Use convenience methods and attributes " ":meth:`Document.next_location`, :meth:`Document.prev_location` and " ":attr:`Document.last_location` for maintaining a high level of coding " "efficiency." msgstr "" "該当する(EPUB)ドキュメントタイプの場合、絶対番号でページを読み込むと、ページにアクセスする前にドキュメントの大部分のレイアウトが発生する場合があります。このパフォーマンスへの影響を避けるために、章ベースのアクセスを優先します。:meth:`Document.prev_location`、:attr:`Document.last_location`、:attr:`Document.last_location`" " といった便利なメソッドや属性を使用して、高いコーディング効率を維持してください。" #: ../../document.rst:2272 7e142ce80a5a4b0a88149a89bca628b3 msgid "" "These parameters cause separate handling of stream categories: use it " "together with `expand` to restrict decompression to streams other than " "images / fontfiles." msgstr "" "これらのパラメータはストリームカテゴリの別々の処理を引き起こします:これらを `expand` " "と一緒に使用して、画像やフォントファイル以外のストリームの解凍を制限できます。" #: ../../document.rst:2274 03c1d89d03c1475593eabb3e4292b9a3 msgid "Examples for \"Form XObjects\" are created by :meth:`Page.show_pdf_page`." msgstr "「Form XObjects」の例は、:meth:`Page.show_pdf_page` によって作成されます。" #: ../../document.rst:2276 7a2f02a6696b4fbe97fb5959655cf631 msgid "" "For a ``False`` the **complete document** must be scanned. Both methods " "**do not load pages,** but only scan object definitions. This makes them " "at least 10 times faster than application-level loops (where total " "response time roughly equals the time for loading all pages). For the " ":ref:`AdobeManual` (756 pages) and the Pandas documentation (over 3070 " "pages) -- both have no annotations -- the method needs about 11 ms for " "the answer ``False``. So response times will probably become significant " "only well beyond this order of magnitude." msgstr "" "``False`` の場合、完全なドキュメントをスキャンする必要があります。ただし、これらのメソッドは " "**ページを読み込まず**、オブジェクト定義のみをスキャンします。これにより、アプリケーションレベルのループよりも少なくとも10倍高速になります(合計応答時間はすべてのページを読み込む時間とほぼ同じです)。:ref:`AdobeManual`(756ページ)とPandasのドキュメンテーション(3070ページ以上)の両方に注釈がない場合、このメソッドは" " ``False`` " "の回答に約11ミリ秒かかります。したがって、応答時間はおそらくこのオーダーオブマグニチュードをはるかに超えた範囲で初めて重要になる可能性があります。" #: ../../document.rst:2278 877071710b344f2f93ce93231f4a36a5 msgid "" "This only works under certain conditions. For example, if there is normal" " text covered by some image on top of it, then this is undetectable and " "the respective text is **not** removed. Similar is true for white text on" " white background, and so on." msgstr "" "これは特定の条件下でのみ機能します。たとえば、上に何らかの画像が覆っている通常のテキストがある場合、これは検出不可能で、該当するテキストは削除 " "**されません**。同様に、白い背景の白いテキストなども同様です。" #: ../../footer.rst:46 1a755c93e67b4ba193138e8e29cfc599 msgid "This documentation covers all versions up to |version|." msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" #~ msgid "" #~ "a list of lists. Each entry has" #~ " the form *[lvl, title, page, dest]*." #~ " Its entries have the following " #~ "meanings: * *lvl* -- hierarchy level" #~ " (positive *int*). The first entry is" #~ " always 1. Entries in a row are" #~ " either **equal**, **increase** by 1, " #~ "or **decrease** by any number. * " #~ "*title* -- title (*str*) * *page* " #~ "-- 1-based page number (*int*). If " #~ "`-1` either no destination or outside" #~ " document. * *dest* -- (*dict*) " #~ "included only if *simple=False*. Contains " #~ "details of the TOC item as " #~ "follows: - kind: destination kind, " #~ "see :ref:`linkDest Kinds`. - file: " #~ "filename if kind is :data:`LINK_GOTOR` " #~ "or :data:`LINK_LAUNCH`. - page: target " #~ "page, 0-based, :data:`LINK_GOTOR` or " #~ ":data:`LINK_GOTO` only. - to: position " #~ "on target page (:ref:`Point`). - zoom:" #~ " (float) zoom factor on target page." #~ " - xref: :data:`xref` of the item" #~ " (0 if no PDF). - color: item" #~ " color in PDF RGB format `(red, " #~ "green, blue)`, or omitted (always " #~ "omitted if no PDF). - bold: true" #~ " if bold item text or omitted. " #~ "PDF only. - italic: true if " #~ "italic item text, or omitted. PDF " #~ "only. - collapse: true if sub-" #~ "items are folded, or omitted. PDF " #~ "only." #~ msgstr "" #~ msgid "Only available in PyMuPDF's \"rebased\" implementation." #~ msgstr "" #~ msgid "arg int xref" #~ msgstr "" #~ msgid "arg bool info_only" #~ msgstr "" #~ msgid "arg bool named" #~ msgstr "" #~ msgid "rtype" #~ msgstr "" #~ msgid "tuple,dict" #~ msgstr "" #~ msgid "returns" #~ msgstr "" #~ msgid "New in v1.18.7, changed in v1.18.9" #~ msgstr "v1.18.7 で新規追加、v1.18.9 で変更" #~ msgid "" #~ "Package `fontTools `_" #~ " **must be installed**. It is " #~ "required for creating the font subsets." #~ " If not installed, the method raises" #~ " an `ImportError` exception." #~ msgstr "" #~ "`fontTools `_ パッケージが" #~ " **インストールされている必要があります**。フォントサブセットの作成に必要です。インストールされていない場合、メソッドは " #~ "`ImportError` 例外を発生させます。" #~ msgid "" #~ "Supported font types only include " #~ "embedded OTF, TTF and WOFF that " #~ "are **not already subsets**." #~ msgstr "" #~ "サポートされているフォントタイプには、埋め込まれた OTF、TTF、および WOFF " #~ "のみが含まれ、**すでにサブセットであるものは含まれません** 。" #~ msgid "" #~ "**Changed in v1.18.9:** A subset font" #~ " directly replaces its original -- " #~ "text remains untouched and **is not " #~ "rewritten.** It thus should retain all" #~ " its properties, like spacing, hiddenness," #~ " control by Optional Content, etc." #~ msgstr "" #~ "**v1.18.9** で変更: サブセットフォントはその元のフォントを直接置換します - " #~ "テキストは変更されず、**書き直されません**。したがって、スペーシング、非表示、オプションのコンテンツによる制御など、すべてのプロパティが保持されるはずです。" #~ msgid "" #~ "The greatest benefit can be achieved " #~ "when creating new PDFs using large " #~ "fonts like is typical for Asian " #~ "scripts. In these cases, the set " #~ "of actually used unicodes mostly is " #~ "small compared to the number of " #~ "glyphs in the font. Using this " #~ "feature can easily reduce the embedded" #~ " font binary by two orders of " #~ "magnitude -- from several megabytes to" #~ " a low two-digit kilobyte amount." #~ msgstr "" #~ "最大の利点は、アジアの文字に典型的な大きなフォントを使用して新しい PDF " #~ "を作成する場合に得られます。このような場合、実際に使用されているユニコードのセットは、フォント内のグリフの数と比較して非常に小さいことが多いです。この機能を使用すると、埋め込まれたフォントのバイナリサイズを容易に2桁のキロバイト単位にまで削減できます" #~ " - 数メガバイトから低二桁キロバイトの量にまで。" #~ msgid "" #~ "a list of images **referenced** by " #~ "this page. Each item looks like " #~ "`(xref, smask, width, height, bpc, " #~ "colorspace, alt. colorspace, name, filter, " #~ "referencer)` Where * *:data:`xref`* " #~ "(*int*) is the image object number " #~ "* **smask** (*int*) is the object " #~ "number of its soft-mask image *" #~ " **width** and **height** (*ints*) are " #~ "the image dimensions * **bpc** (*int*)" #~ " denotes the number of bits per " #~ "component (normally 8) * **colorspace** " #~ "(*str*) a string naming the colorspace" #~ " (like **DeviceRGB**) * **alt. " #~ "colorspace** (*str*) is any alternate " #~ "colorspace depending on the value of " #~ "**colorspace** * **name** (*str*) is " #~ "the symbolic name by which the " #~ "image is referenced * **filter** " #~ "(*str*) is the decode filter of " #~ "the image (:ref:`AdobeManual`, pp. 22). " #~ "* **referencer** (*int*) the :data:`xref` " #~ "of the referencer. Zero if directly " #~ "referenced by the page. Only present " #~ "if *full=True*." #~ msgstr "" #~ msgid "" #~ "`(xref, smask, width, height, bpc, " #~ "colorspace, alt. colorspace, name, filter, " #~ "referencer)`" #~ msgstr "" #~ msgid "**width** and **height** (*ints*) are the image dimensions" #~ msgstr "**width** と **height** (*int*)は画像の寸法です" #~ msgid "arg int idx: index of the item in list :meth:`Document.get_toc`." #~ msgstr "引数 int idx: :meth:`Document.get_toc` リスト内のアイテムのインデックス。" #~ msgid "" #~ "Changed in v1.19.3 - as a fix " #~ "to issue `#537 " #~ "`_, form " #~ "fields are always excluded." #~ msgstr "" #~ "v1.19.3で変更 - 問題# `#537 " #~ "`_ " #~ "の修正として、フォームフィールドは常に除外されます。" #~ msgid "" #~ "This is a page-based method. " #~ "Document-level information of source " #~ "documents is therefore ignored. Examples " #~ "include Optional Content, Embedded Files, " #~ "`StructureElem`, `AcroForm`, table of " #~ "contents, page labels, metadata, named " #~ "destinations (and other named entries) " #~ "and some more. As a consequence, " #~ "specifically, **Form Fields (widgets) can " #~ "never be copied** -- although they " #~ "seem to appear on pages only. Look" #~ " at :meth:`Document.bake` for converting a" #~ " source document if you need to " #~ "retain at least widget **appearances.**" #~ msgstr "" #~ "これはページベースのメソッドです。そのため、ソース文書のドキュメントレベルの情報は無視されます。例には、オプショナルコンテンツ、埋め込みファイル、" #~ " `StructureElem` 、 `AcroForm` " #~ "、目次、ページラベル、メタデータ、名前付き目的地(および他の名前付きエントリ)などがあります。その結果、具体的にはフォームフィールド(ウィジェット)はコピーできません。" #~ " - たとえそれらがページ上に表示されているように見える場合でも。ウィジェットの **外観** " #~ "を少なくとも保持する必要がある場合は、:meth:`Document.bake` をご覧ください。" #~ msgid "the created page object." #~ msgstr "作成されたページオブジェクト。" #~ msgid "" #~ "a dictionary with the following keys:" #~ " * *name* -- (*str*) name under " #~ "which this entry is stored * " #~ "*filename* -- (*str*) filename * " #~ "*ufilename* -- (*unicode*) filename * " #~ "*desc* -- (*str*) description * *size*" #~ " -- (*int*) original file size * " #~ "*length* -- (*int*) compressed file " #~ "length * *creationDate* -- *(New in " #~ "v1.18.13)* (*str*) date-time of item " #~ "creation in PDF format * *modDate* " #~ "-- *(New in v1.18.13)* (*str*) date-" #~ "time of last change in PDF format" #~ " * *collection* -- *(New in " #~ "v1.18.13)* (*int*) :data:`xref` of the " #~ "associated PDF portfolio item if any," #~ " else zero. * *checksum* -- *(New " #~ "in v1.18.13)* (*str*) a hashcode of " #~ "the stored file content as a " #~ "hexadecimal string. Should be MD5 " #~ "according to PDF specifications, but be" #~ " prepared to see other hashing " #~ "algorithms." #~ msgstr "" #~ msgid "New in v1.14.16" #~ msgstr "v1.14.16 で新規" #~ msgid "Discord logo" #~ msgstr "" #~ msgid "Changed in v1.14.13: support `io.BytesIO` for memory documents." #~ msgstr "v1.14.13 で変更: メモリドキュメント用に `io.BytesIO` をサポート。" #~ msgid "" #~ "Changed in v1.19.6: Clearer, shorter and" #~ " more consistent exception messages. File" #~ " type \"pdf\" is always assumed if" #~ " not specified. Empty files and " #~ "memory areas will always lead to " #~ "exceptions." #~ msgstr "" #~ "v1.19.6 で変更: " #~ "より明確で短く、一貫性のある例外メッセージ。ファイルタイプが指定されていない場合、常にファイルタイプ \"pdf\" " #~ "が仮定されます。空のファイルとメモリ領域は常に例外を発生させます。" #~ msgid "" #~ "If *stream* is given, then the " #~ "document is created from memory and, " #~ "if not a PDF, either *filename* or" #~ " *filetype* must indicate its type." #~ msgstr "" #~ "*stream* が指定されている場合、ドキュメントはメモリから作成され、PDF でない場合は " #~ "*filename* または *filetype* のいずれかがそのタイプを示さなければなりません。" #~ msgid "" #~ "A UTF-8 string or *pathlib* object " #~ "containing a file path. The document " #~ "type is inferred from the filename " #~ "extension. If not present or not " #~ "matching :ref:`a supported " #~ "type`, a PDF document is" #~ " assumed. For memory documents, this " #~ "argument may be used instead of " #~ "`filetype`, see below." #~ msgstr "" #~ "ファイルパスを含む UTF-8 文字列または *pathlib* " #~ "オブジェクト。ドキュメントのタイプはファイル名の拡張子から推測されます。存在しないか、:ref:`サポートされてい`" #~ " ないタイプに一致しない場合、PDF ドキュメントが仮定されます。メモリドキュメントの場合、`filetype` " #~ "の代わりにこの引数を使用できます。詳細は以下を参照してください。" #~ msgid "" #~ "A memory area containing a supported " #~ "document. If not a PDF, its type" #~ " **must** be specified by either " #~ "`filename` or `filetype`." #~ msgstr "" #~ "(bytes, bytearray, BytesIO) - " #~ ":ref:`サポートされている` ドキュメントを含むメモリ領域。PDF " #~ "でない場合、そのタイプは `filename` または `filetype` " #~ "のいずれかによって指定 **しなければなりません** 。" #~ msgid "" #~ "A string specifying the type of " #~ "document. This may be anything looking" #~ " like a filename (e.g. \"x.pdf\"), in" #~ " which case MuPDF uses the extension" #~ " to determine the type, or a " #~ "mime type like *application/pdf*. Just " #~ "using strings like \"pdf\" or \".pdf\"" #~ " will also work. May be omitted " #~ "for PDF documents, otherwise must match" #~ " :ref:`a supported document " #~ "type`." #~ msgstr "" #~ "ドキュメントのタイプを指定する文字列。ファイル名のように見えるもの(例: " #~ "\"x.pdf\")である必要があります。この場合、MuPDF " #~ "は拡張子を使用してタイプを判断します。*application/pdf* のような mime " #~ "タイプも使用できます。単に \"pdf\" または \".pdf\" " #~ "のような文字列を使用することもできます。PDF ドキュメントの場合、省略可能であり、それ以外の場合は " #~ ":ref:`サポートされている` ドキュメントタイプに一致しなければなりません。" #~ msgid "" #~ "Not all document types are checked " #~ "for valid formats already at open " #~ "time. Raster images for example will " #~ "raise exceptions only later, when trying" #~ " to access the content. Other types" #~ " (notably with non-binary content) " #~ "may also be opened (and sometimes " #~ "**accessed**) successfully -- sometimes even" #~ " when having invalid content for the" #~ " format:" #~ msgstr "" #~ "すべてのドキュメントタイプがオープン時に有効なフォーマットで確認されるわけではありません。例えば、ラスター画像はコンテンツにアクセスしようとした際に例外を発生させることがあります。他のタイプ(特にバイナリでないコンテンツを持つもの)は、有効なコンテンツを持たない場合でも成功してオープンされ(そして時に" #~ " **アクセスされる** こともあります):" #~ msgid "" #~ "HTM, HTML, XHTML: **always** opened, " #~ "`metadata[\"format\"]` is \"HTML5\", resp. " #~ "\"XHTML\"." #~ msgstr "" #~ "HTM、HTML、XHTML: **常に** オープンされ、 " #~ "`metadata[\"format\"]` は \"HTML5\" または " #~ "\"XHTML\" です。" #~ msgid "" #~ "XML, FB2: **always** opened, " #~ "`metadata[\"format\"]` is \"FictionBook2\"." #~ msgstr "XML、FB2: **常に** オープンされ、 `metadata[\"format\"]` は \"FictionBook2\" です。" #~ msgid "" #~ "PDF only: Change the color component " #~ "counts for all object types text, " #~ "image and vector graphics for all " #~ "pages." #~ msgstr "" #~ msgid "" #~ "a list of images **referenced** by " #~ "this page. Each item looks like " #~ "`(xref, smask, width, height, bpc, " #~ "colorspace, alt_colorspace, name, filter, " #~ "referencer)` Where * *:data:`xref`* " #~ "(*int*) is the image object number " #~ "* **smask** (*int*) is the object " #~ "number of its soft-mask image *" #~ " **width** (*int*) is the image width" #~ " * **height** (*int*) is the image" #~ " height * **bpc** (*int*) denotes " #~ "the number of bits per component " #~ "(normally 8) * **colorspace** (*str*) " #~ "a string naming the colorspace (like " #~ "**DeviceRGB**) * **alt_colorspace** (*str*) " #~ "is any alternate colorspace depending on" #~ " the value of **colorspace** * " #~ "**name** (*str*) is the symbolic name" #~ " by which the image is referenced" #~ " * **filter** (*str*) is the decode" #~ " filter of the image (:ref:`AdobeManual`," #~ " pp. 22). * **referencer** (*int*) " #~ "the :data:`xref` of the referencer. Zero" #~ " if directly referenced by the page." #~ " Only present if *full=True*." #~ msgstr "" #~ msgid "Where" #~ msgstr "ここで" #~ msgid "**(xref, ext, type, basefont, name, encoding, referencer)**," #~ msgstr "" #~ msgid "where" #~ msgstr "ここで" #~ msgid "" #~ "page number (0-based) **in front of " #~ "which** to insert. Must be in " #~ "`range(-1, doc.page_count + 1)`. Special " #~ "values -1 and `doc.page_count` insert " #~ "**after** the last page. Changed in " #~ "v1.14.12 This is now a positional " #~ "parameter" #~ msgstr "" #~ msgid "" #~ "a dictionary with the following keys" #~ " * *ext* (*str*) image type (e.g." #~ " *'jpeg'*), usable as image file " #~ "extension * *smask* (*int*) :data:`xref` " #~ "number of a stencil (/SMask) image " #~ "or zero * *width* (*int*) image " #~ "width * *height* (*int*) image height" #~ " * *colorspace* (*int*) the image's " #~ "*colorspace.n* number. * *cs-name* " #~ "(*str*) the image's *colorspace.name*. * " #~ "*xres* (*int*) resolution in x " #~ "direction. Please also see :data:`resolution`." #~ " * *yres* (*int*) resolution in y " #~ "direction. Please also see :data:`resolution`." #~ " * *image* (*bytes*) image data, " #~ "usable as image file content" #~ msgstr ""