{"id":19535642,"url":"https://github.com/miyako/4d-plugin-pdf2text-v2","last_synced_at":"2026-06-09T01:32:23.675Z","repository":{"id":43871292,"uuid":"216564825","full_name":"miyako/4d-plugin-PDF2TEXT-v2","owner":"miyako","description":"PDF text extractor based on libpoppler","archived":false,"fork":false,"pushed_at":"2024-08-27T04:51:17.000Z","size":263158,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"pdftoxml","last_synced_at":"2025-01-08T17:55:28.537Z","etag":null,"topics":["4d-plugin","pdf"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-21T12:40:04.000Z","updated_at":"2024-08-27T04:51:26.000Z","dependencies_parsed_at":"2025-01-08T18:03:20.935Z","dependency_job_id":null,"html_url":"https://github.com/miyako/4d-plugin-PDF2TEXT-v2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-PDF2TEXT-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-PDF2TEXT-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-PDF2TEXT-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-PDF2TEXT-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-plugin-PDF2TEXT-v2/tar.gz/refs/heads/pdftoxml","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788775,"owners_count":19857699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4d-plugin","pdf"],"created_at":"2024-11-11T02:19:25.787Z","updated_at":"2026-06-09T01:32:18.658Z","avatar_url":"https://github.com/miyako.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-17%2B-3E8B93)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm%20|%20win-64\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/4d-plugin-PDF2TEXT-v2)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-PDF2TEXT-v2/total)\n\n# 4d-plugin-PDF2TEXT-v2\nPDF text extractor based on [poppler](https://poppler.freedesktop.org).\n\nbased on poppler/utils/pdftohtml.cc `PDFDocFactory` API.\n\n### build notes on Windows\n\n* Use Visual Studio 2017 or later\n\n### build notes on macOS\n\n* `CLANG_CXX_LANGUAGE_STANDARD` = `c++14`\n* `CLANG_CXX_LIBRARY` = `libc++`\n\n## PDF to XML\n\n```4d\nxml:=PDF to XML(pdf;options)\n```\n\n|パラメーター|データ型|説明|\n|-|-|-|\n|pdf|BLOB||\n|options|Object||\n|options.firstPage|Number|`-f` このページから (`1`)|\n|options.lastPage|Number|`-l` このページまで (`0`)|\n|options.ownerPassword|Text|`-opw` オーナーパスワード|\n|options.userPassword|Text|`-upw` ユーザーパスワード|\n|options.scale|Number|`-zoom` 拡大率 (`.1.0`) `0.5`⇢`3.0`|\n|options.noRoundedCoordinates|Boolean|`-noroundcoord` 座標を丸めない (`true`)|\n|options.wordBreakThreshold|Number|`-wbt` わかち書きの閾値 (`1`)|\n|options.rawLineBreak|Boolean|`\u003cbr/\u003e`の代わりに`\\n`を出力する (`false`)|\n|options.lineBreakThreshold|Number|改行の閾値 (`0.7`)|\n|options.ignoreHorizontalAlign|Boolean|左揃えでなくても改行判定する (`false`)|\n|options.ignoreFont|Boolean|改行の場合はフォントの違いを無視する (`false`)|\n|options.ignoreBoldItalic|Boolean|`\u003cb\u003e` `\u003ci\u003e`タグを出力しない (`false`)|\n|xml|BLOB|エンコーディングは固定値 (`UTF-8`)|\n\n#### 常に有効なオプション\n\n* `-xml`\n* `-v`\n* `-q`\n* `-c`\n* `-hidden`\n* `-noframes`\n\n#### 常に無効なオプション\n\n* `-h`\n* `-p`\n* `-s`\n* `-i`\n* `-stdout`\n* `-nodrm`\n* `-fontfullname`\n* `-dataurls`\n* `-fmt`\n* `-noMerge`\n  \n### 論考\n\nPopplerはレンダリングエンジンであるので，テキストは論理的なブロックではなく，絶対値で返される。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-pdf2text-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-plugin-pdf2text-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-pdf2text-v2/lists"}