diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-document.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-document.md index fd808b71619129..c4dc2e9cd5600d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-document.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-document.md @@ -49,68 +49,68 @@ displayed_sidebar: docs - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- SVG フォーマットでのエクスポートの詳細については、[SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html) を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 Available only when the `wk mime html` format is used. | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](#wk-factur-x-object)). | -| wk files | files | PDF 書き出しのみ。 Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): google フォントの読み込みルールは何も追加されていません。
  • true: @import ルールを下記出されたファイルに追加します。 Useful if you want to use fonts that are not available by default on Windows or macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイル内で参照されます。
  • 注意: フォルダがすでに存在する場合、ファイルが書き出される前に中身が空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 PDF 書き出しのみ。 PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): google フォントの読み込みルールは何も追加されていません。
  • true: @import ルールを下記出されたファイルに追加します。 Windows または macOS 上でデフォルトでは利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトはfalse に設定されています。なぜなら、有効化された場合には、Google フォントがネイティブフォントを上書きしますが、一般的にネイティブフォントの方がブラウザでのレンダリングが良いからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは常にwk print 用に最適化されます(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` and `wk web page complete` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 ### wk files コレクション -wk files プロパティを使用すると、[PDF に添付つきで書き出すことができます](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures)。 このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: +wk files プロパティを使用すると、[PDF に添付つきで書き出すことができます](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures)。 このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: -| **プロパティ** | **型** | **Description** | -| ------------ | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 *data* プロパティが使用されている場合には必須(ただしFactur-X 書き出しの場合の最初のファイルを除く、この場合にはファイル名は自動的に"factur-x.xml" となっているため。詳細は以下参照) | -| description | Text | 任意。 オプション。 オプション。 省略時、Factur-X への最初の書き出しファイルのデフォルトの値は"Factur-X/ZUGFeRD Invoice" となり、それ以外の場合は空となります。 | -| mimeType | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, default value can usually be guessed from file extension; otherwise, "application/octet-stream" is used. 渡された場合、必ずISO mime タイプを使用するようにしてください。そうでない場合、書き出されたファイルは無効である場合があります。 | -| data | Text または Blob | *file* プロパティがない場合には必須。 | -| file | 4D.File オブジェクト | *data* プロパティがない場合には必須。それ以外の場合には使用されません。 | -| relationship | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, default value is "Data". オプション。 省略時、デフォルトの値は"Data" となります。 Factur-X の最初のファイルの取りうる値: BASIC、EN 16931 または EXTENDED プロファイルの場合: "Alternative"、"Source"または "Data" ("Alternative" はドイツの請求書にのみ使用されます)MINIMUM および BASIC WL プロファイルの場合: "Data" のみ。その他のプロファイルの場合: "Alternative"、"Source" または "Data" (国によって制約がある場合あり:他のプロファイルについての詳細な情報についてはプロファイルの指示書を参照してください。例えば、RECHNUNG プロファイルの場合は"Alternative" のみ使用可能です)その他の(ただしFactur-X invoice xml ファイルを除く)ファイルの場合 : "Alternative"、"Source"、"Data"、"Supplement" または "Unspecified"それ以外の値はエラーを生成します。 | +| **プロパティ** | **型** | **Description** | +| ------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| name | Text | ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 *data* プロパティが使用されている場合には必須(ただしFactur-X 書き出しの場合の最初のファイルを除く、この場合にはファイル名は自動的に"factur-x.xml" となっているため。詳細は以下参照) | +| description | Text | 任意。 省略時、Factur-X への最初の書き出しファイルのデフォルトの値は"Factur-X/ZUGFeRD Invoice" となり、それ以外の場合は空となります。 | +| mimeType | Text | 任意。 省略時、デフォルト値は通常ファイル拡張子から推測するができます。それ以外の場合には、"application/octet-stream" が使用されます。 渡された場合、必ずISO mime タイプを使用するようにしてください。そうでない場合、書き出されたファイルは無効である場合があります。 | +| data | Text または Blob | *file* プロパティがない場合には必須。 | +| file | 4D.File オブジェクト | *data* プロパティがない場合には必須。それ以外の場合には使用されません。 | +| relationship | Text | 任意。 省略時、デフォルト値は "Data" です。 Factur-X の最初のファイルの取りうる値: BASIC、EN 16931 または EXTENDED プロファイルの場合: "Alternative"、"Source"または "Data" ("Alternative" はドイツの請求書にのみ使用されます)MINIMUM および BASIC WL プロファイルの場合: "Data" のみ。その他のプロファイルの場合: "Alternative"、"Source" または "Data" (国によって制約がある場合あり:他のプロファイルについての詳細な情報についてはプロファイルの指示書を参照してください。例えば、RECHNUNG プロファイルの場合は"Alternative" のみ使用可能です)その他の(ただしFactur-X invoice xml ファイルを除く)ファイルの場合 : "Alternative"、"Source"、"Data"、"Supplement" または "Unspecified"それ以外の値はエラーを生成します。 | *option* 引数にも wk factur x プロパティが含まれている場合、 wk files コレクションの最初の要素はFactur-X (ZUGFeRD) invoice xml ファイルである必要があります(以下参照)。 @@ -124,12 +124,12 @@ PDF 添付はPDF/A-3 バージョンでのみサポートされています。 w wk factur x プロパティは、2つまでのプロパティを格納することのできるオブジェクトです: -| **プロパティ** | **型** | **Description** | -| --------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| profile | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, *profile* is determined from the provided xml file or text (which must use a standard profile). 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | -| version | Text | 任意。 オプション。 オプション。 デフォルト値は"1.0" | +| **プロパティ** | **型** | **Description** | +| --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| profile | Text | 任意。 省略時、 *profile* は提供されたXML ファイルまたはテキスト(標準のプロフィールを使用している必要があります)から決定されます。 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | +| version | Text | 任意。 デフォルト値は"1.0" | -### About Factur-X / ZUGFeRD PDF documents +### Factur-X / ZUGFeRD PDF ドキュメントについて *Factur-X / ZUGFeRD* はハイブリッドな電子請求書のための欧州の規格です(PDFはユーザー用、XML データは処理の自動化用)。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md index 55d8f60be555e8..a2e605f2b8b203 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md @@ -11,12 +11,12 @@ displayed_sidebar: docs
    -| 引数 | 型 | | 説明 | -| ----------- | --------------- | --------------------------- | ------------------------------------- | -| wpDoc | Object | → | 4D Write Pro 変数 | -| destination | Text, Blob | → | Variable to receive exported contents | -| format | Integer | → | Variable output format | -| option | Object, Integer | → | 書き出しのオプション | +| 引数 | 型 | | 説明 | +| ----------- | --------------- | --------------------------- | ----------------- | +| wpDoc | Object | → | 4D Write Pro 変数 | +| destination | Text, Blob | → | 書き出したコンテンツを受け取る引数 | +| format | Integer | → | 変数出力フォーマット | +| option | Object, Integer | → | 書き出しのオプション |
    @@ -27,12 +27,12 @@ displayed_sidebar: docs *wpDoc* 引数には、書き出したい4D Write Pro オブジェクトを渡します。 -In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: +*destination* 引数には、書き出した4D Write Pro オブジェクトを受け取る変数を渡します。 この変数の型は、*format* 引数で指定した書き出しフォーマットによって異なります: -- If you pass the native .4wp format or the .docx format, the variable will be of the Blob type, -- If you pass an HTML or SVG format, the variable will be of the Text type. +- ネイティブの.4wp フォーマットまたは.docx フォーマットを渡した場合、変数はBlob 型になります。 +- HTML またはSVG フォーマットを渡した場合、変数はテキスト型になります。 -In the *format* parameter, pass a constant from the *4D Write Pro Constants* theme to set the export format you want to use. Each format is related to a specific use. 以下のフォーマットがサポートされています: +*format* 引数には、使用したい書き出しフォーマットを設定する、*4D Write Pro 定数* テーマの定数を一つ渡します。 それぞれのフォーマットは特定の用法に関連します。 以下のフォーマットがサポートされています: | 定数 | 型 | 値 | 説明 | | ------------------- | ------- | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -41,67 +41,67 @@ In the *format* parameter, pass a constant from the *4D Write Pro Constants* the | wk mime html | Integer | 1 | 4D Write Proドキュメントは標準のMIME HTMLとして保存され、htmlドキュメントと画像はMIMEパーツとして埋め込まれます(base64でエンコードされます)。 式は計算され4D特有のタグやメソッドのリンクは除去されます。 埋め込みビューにアンカーされたテキストボックスのみが(divとして)書き出されます。 このフォーマットは コマンドを使用してHTML Eメールを送信するのに特に適しています。 | | wk pdf | Integer | 5 | .pdf 拡張子。 4D Write Pro ドキュメントはページビューモードに基づいてPDF フォーマットで保存されています。 PDF ドキュメントには以下のメタ情報が書き出されています: タイトル 作者 タイトル コンテンツ作成者 **注意**: 式は、ドキュメントが書き出されるときに自動的に値が計算されて固定化されます。メソッドへのリンクは**サポートされていません。** | | wk svg | Integer | 8 | 4D Write Pro ドキュメントのページはページビューモードに基づいてSVG フォマットで保存されます。 **注意:** SVG へと書き出す際は、一度に1ページしか書き出すことができません。 書き出すページを指定するにはwk page index を使用して下さい。 | -| wk web page html 4D | Integer | 3 | 4D Write Pro document is saved as HTML and includes 4D specific tags; each expression is inserted as a non-breaking space. Since this format is lossless, it is appropriate for storing purposes in a text field. | +| wk web page html 4D | Integer | 3 | 4D Write Pro ドキュメントはHTML として保存さんれ、4D 特有のタグが含まれます。それぞれの式はノンブレーキングスペースとして挿入されます。 このフォーマットはロスレスであるため、テキストフィールドへの保存目的に適しています。 | **注:** - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- When exporting to SVG format with this command, images are embedded in base64 format. -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- コマンドを使用してSVG フォーマットへと書き出す場合、画像はbase64 フォーマットでエンコーディングされます。 +- SVG フォーマットへの書き出しの詳細な情報については、 [SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html)を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 Available only when the `wk mime html` format is used. | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](./wp-export-document.md#wk-factur-x-object)). | -| wk files | files | PDF 書き出しのみ。 Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](./wp-export-document.md#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): google フォントの読み込みルールは何も追加されていません。
  • true: @import ルールを下記出されたファイルに追加します。 Useful if you want to use fonts that are not available by default on Windows or macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイル内で参照されます。
  • 注意: フォルダがすでに存在する場合、ファイルが書き出される前に中身が空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](./wp-export-document.md#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](./wp-export-document.md#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): google フォントの読み込みルールは何も追加されていません。
  • true: @import ルールを下記出されたファイルに追加します。 Windows または macOS 上でデフォルトでは利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトはfalse に設定されています。なぜなら、有効化された場合には、Google フォントがネイティブフォントを上書きしますが、一般的にネイティブフォントの方がブラウザでのレンダリングが良いからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは常にwk print 用に最適化されます(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | \- | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | \- | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 ## 例題 1 -You want to export the contents of the *myArea* 4D Write Pro object in MIME format and add "gmail.com" as the host domain: +*myArea* 4D Write Pro オブジェクトの中身をMIME フォーマットで書き出し、"gmail.com" をホストドメインとして追加したい場合を考えます: ```4d var $option;$export : Object @@ -113,10 +113,10 @@ You want to export the contents of the *myArea* 4D Write Pro object in MIME form ## 例題 2 -You want to send an email containing styled text, 4D references and images. You can use a 4D Write Pro area exported in MIME format and sent using SMTP: +スタイル付きテキスト、4D 参照および画像を格納したEメールを送信したい場合を考えます。 この場合、MIME フォーマットで書き出された4D Write Pro エリアを使用し、SMTP を使用して送信することができます: ```4d - // create the transporter + // transporter オブジェクトを作成 $server:=New object $server.host:="smtp.gmail.com" $server.port:=465 @@ -129,7 +129,7 @@ You want to send an email containing styled text, 4D references and images. You $mailTmp:=MAIL Convert from MIME($mime) - // add pictures (if any) + // ピクチャーを追加(あれば) If($mailTmp.attachments#Null) $email.attachments:=$mailTmp.attachments End if @@ -145,7 +145,7 @@ You want to send an email containing styled text, 4D references and images. You ## 例題 3 -To export the first page of a 4D Write Pro as SVG in a Text variable and hide the headers: +4D Write Pro の最初のページをテキスト変数内のSVG として書き出して、ヘッダーを非表示にしたい場合を考えます: ```4d var $options : Object diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md index 6561b1c3c5c433..82a8df346b7ac9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md @@ -49,53 +49,53 @@ displayed_sidebar: docs - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- SVG フォーマットへの書き出しの詳細な情報については、 [SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html)を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 PDF 書き出しのみ。 PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](#wk-factur-x-object) 参照)。 | -| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](#wk-files-collection) 参照)。 This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | `wk mime html` and `wk web page complete` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 PDF 書き出しのみ。 PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` and `wk web page complete` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 @@ -124,12 +124,12 @@ PDF 添付はPDF/A-3 バージョンでのみサポートされています。 w wk factur x プロパティは、2つまでのプロパティを格納することのできるオブジェクトです: -| **プロパティ** | **型** | **Description** | -| --------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| profile | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, *profile* is determined from the provided xml file or text (which must use a standard profile). 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | -| version | Text | 任意。 オプション。 オプション。 デフォルト値は"1.0" | +| **プロパティ** | **型** | **Description** | +| --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| profile | Text | 任意。 省略時、 *profile* は提供されたXML ファイルまたはテキスト(標準のプロフィールを使用している必要があります)から決定されます。 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | +| version | Text | 任意。 デフォルト値は"1.0" | -### About Factur-X / ZUGFeRD PDF documents +### Factur-X / ZUGFeRD PDF ドキュメントについて *Factur-X / ZUGFeRD* はハイブリッドな電子請求書のための欧州の規格です(PDFはユーザー用、XML データは処理の自動化用)。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md index 345b9b05890fde..7c9a7a3c73bb9f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md @@ -11,28 +11,28 @@ displayed_sidebar: docs
    -| 引数 | 型 | | 説明 | -| ----------- | --------------- | --------------------------- | ------------------------------------- | -| wpDoc | Object | → | 4D Write Pro 変数 | -| destination | Text, Blob | → | Variable to receive exported contents | -| format | Integer | → | Variable output format | -| option | Object, Integer | → | 書き出しのオプション | +| 引数 | 型 | | 説明 | +| ----------- | --------------- | --------------------------- | ----------------- | +| wpDoc | Object | → | 4D Write Pro 変数 | +| destination | Text, Blob | → | 書き出したコンテンツを受け取る引数 | +| format | Integer | → | 変数出力フォーマット | +| option | Object, Integer | → | 書き出しのオプション |
    ## 説明 -The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. +**WP EXPORT VARIABLE** コマンドは*wpDoc* 引数で指定した4D Write Pro オブジェクトを、 *destination* 引数で指定した4D 変数へ、 *format* 引数で指定したフォーマットで書き出します。 *wpDoc* 引数には、書き出したい4D Write Pro オブジェクトを渡します。 -In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: +*destination* 引数には、書き出した4D Write Pro オブジェクトを受け取る変数を渡します。 この変数の型は、*format* 引数で指定した書き出しフォーマットによって異なります: -- If you pass the native .4wp format or the .docx format, the variable will be of the Blob type, -- If you pass an HTML or SVG format, the variable will be of the Text type. +- ネイティブの.4wp フォーマットまたは.docx フォーマットを渡した場合、変数はBlob 型になります。 +- HTML またはSVG フォーマットを渡した場合、変数はテキスト型になります。 -In the *format* parameter, pass a constant from the *4D Write Pro Constants* theme to set the export format you want to use. Each format is related to a specific use. 以下のフォーマットがサポートされています: +*format* 引数には、使用したい書き出しフォーマットを設定する、*4D Write Pro 定数* テーマの定数を一つ渡します。 それぞれのフォーマットは特定の用法に関連します。 以下のフォーマットがサポートされています: | 定数 | 型 | 値 | 説明 | | ------------------- | ------- | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -41,67 +41,67 @@ In the *format* parameter, pass a constant from the *4D Write Pro Constants* the | wk mime html | Integer | 1 | 4D Write Proドキュメントは標準のMIME HTMLとして保存され、htmlドキュメントと画像はMIMEパーツとして埋め込まれます(base64でエンコードされます)。 式は計算され4D特有のタグやメソッドのリンクは除去されます。 埋め込みビューにアンカーされたテキストボックスのみが(divとして)書き出されます。 このフォーマットは コマンドを使用してHTML Eメールを送信するのに特に適しています。 | | wk pdf | Integer | 5 | .pdf 拡張子。 4D Write Pro ドキュメントはページビューモードに基づいてPDF フォーマットで保存されています。 PDF ドキュメントには以下のメタ情報が書き出されています: タイトル 作者 タイトル コンテンツ作成者 **注意**: 式は、ドキュメントが書き出されるときに自動的に値が計算されて固定化されます。メソッドへのリンクは**サポートされていません。** | | wk svg | Integer | 8 | 4D Write Pro ドキュメントのページはページビューモードに基づいてSVG フォマットで保存されます。 **注意:** SVG へと書き出す際は、一度に1ページしか書き出すことができません。 書き出すページを指定するにはwk page index を使用して下さい。 | -| wk web page html 4D | Integer | 3 | 4D Write Pro document is saved as HTML and includes 4D specific tags; each expression is inserted as a non-breaking space. Since this format is lossless, it is appropriate for storing purposes in a text field. | +| wk web page html 4D | Integer | 3 | 4D Write Pro ドキュメントはHTML として保存さんれ、4D 特有のタグが含まれます。それぞれの式はノンブレーキングスペースとして挿入されます。 このフォーマットはロスレスであるため、テキストフィールドへの保存目的に適しています。 | **注:** - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- When exporting to SVG format with this command, images are embedded in base64 format. -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- コマンドを使用してSVG フォーマットへと書き出す場合、画像はbase64 フォーマットでエンコーディングされます。 +- SVG フォーマットへの書き出しの詳細な情報については、 [SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html)を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](./wp-export-document.md#wk-factur-x-object)). | -| wk files | files | PDF 書き出しのみ。 Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](./wp-export-document.md#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](./wp-export-document.md#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](./wp-export-document.md#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | \- | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | \- | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 ## 例題 1 -You want to export the contents of the *myArea* 4D Write Pro object in MIME format and add "gmail.com" as the host domain: +*myArea* 4D Write Pro オブジェクトの中身をMIME フォーマットで書き出し、"gmail.com" をホストドメインとして追加したい場合を考えます: ```4d var $option;$export : Object @@ -113,10 +113,10 @@ You want to export the contents of the *myArea* 4D Write Pro object in MIME form ## 例題 2 -You want to send an email containing styled text, 4D references and images. You can use a 4D Write Pro area exported in MIME format and sent using SMTP: +スタイル付きテキスト、4D 参照および画像を格納したEメールを送信したい場合を考えます。 この場合、MIME フォーマットで書き出された4D Write Pro エリアを使用し、SMTP を使用して送信することができます: ```4d - // create the transporter + // transporter オブジェクトを作成 $server:=New object $server.host:="smtp.gmail.com" $server.port:=465 @@ -129,7 +129,7 @@ You want to send an email containing styled text, 4D references and images. You $mailTmp:=MAIL Convert from MIME($mime) - // add pictures (if any) + // ピクチャーを追加(あれば) If($mailTmp.attachments#Null) $email.attachments:=$mailTmp.attachments End if @@ -145,7 +145,7 @@ You want to send an email containing styled text, 4D references and images. You ## 例題 3 -To export the first page of a 4D Write Pro as SVG in a Text variable and hide the headers: +4D Write Pro の最初のページをテキスト変数内のSVG として書き出して、ヘッダーを非表示にしたい場合を考えます: ```4d var $options : Object diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md index 8b9d4d6078eba9..b2f562e43c37a4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md @@ -49,68 +49,68 @@ displayed_sidebar: docs - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- SVG フォーマットへの書き出しの詳細な情報については、 [SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html)を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 PDF 書き出しのみ。 PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](#wk-factur-x-object) 参照)。 | -| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](#wk-files-collection) 参照)。 This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 PDF 書き出しのみ。 PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` and `wk web page complete` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 ### wk files コレクション -wk files プロパティを使用すると、[PDF に添付つきで書き出すことができます](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures)。 このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: +wk files プロパティを使用すると、[PDF に添付つきで書き出すことができます](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures)。 このプロパティには、最終ドキュメントに埋め込まれるファイルを記述するオブジェクトのコレクションを格納する必要があります。 コレクション内のそれぞれのオブジェクトは以下のプロパティを格納することができます: -| **プロパティ** | **型** | **Description** | -| ------------ | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 *data* プロパティが使用されている場合には必須(ただしFactur-X 書き出しの場合の最初のファイルを除く、この場合にはファイル名は自動的に"factur-x.xml" となっているため。詳細は以下参照) | -| description | Text | 任意。 オプション。 オプション。 省略時、Factur-X への最初の書き出しファイルのデフォルトの値は"Factur-X/ZUGFeRD Invoice" となり、それ以外の場合は空となります。 | -| mimeType | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, default value can usually be guessed from file extension; otherwise, "application/octet-stream" is used. 渡された場合、必ずISO mime タイプを使用するようにしてください。そうでない場合、書き出されたファイルは無効である場合があります。 | -| data | Text または Blob | *file* プロパティがない場合には必須。 | -| file | 4D.File オブジェクト | *data* プロパティがない場合には必須。それ以外の場合には使用されません。 | -| relationship | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, default value is "Data". オプション。 省略時、デフォルトの値は"Data" となります。 Factur-X の最初のファイルの取りうる値: BASIC、EN 16931 または EXTENDED プロファイルの場合: "Alternative"、"Source"または "Data" ("Alternative" はドイツの請求書にのみ使用されます)MINIMUM および BASIC WL プロファイルの場合: "Data" のみ。その他のプロファイルの場合: "Alternative"、"Source" または "Data" (国によって制約がある場合あり:他のプロファイルについての詳細な情報についてはプロファイルの指示書を参照してください。例えば、RECHNUNG プロファイルの場合は"Alternative" のみ使用可能です)その他の(ただしFactur-X invoice xml ファイルを除く)ファイルの場合 : "Alternative"、"Source"、"Data"、"Supplement" または "Unspecified"それ以外の値はエラーを生成します。 | +| **プロパティ** | **型** | **Description** | +| ------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| name | Text | ファイル名。 *file* プロパティが使用されている場合には、デフォルトでは名前はファイル名が使用されるので、オプションとなります(必須ではありません)。 *data* プロパティが使用されている場合には必須(ただしFactur-X 書き出しの場合の最初のファイルを除く、この場合にはファイル名は自動的に"factur-x.xml" となっているため。詳細は以下参照) | +| description | Text | 任意。 省略時、Factur-X への最初の書き出しファイルのデフォルトの値は"Factur-X/ZUGFeRD Invoice" となり、それ以外の場合は空となります。 | +| mimeType | Text | 任意。 省略時、デフォルト値は通常ファイル拡張子から推測するができます。それ以外の場合には、"application/octet-stream" が使用されます。 渡された場合、必ずISO mime タイプを使用するようにしてください。そうでない場合、書き出されたファイルは無効である場合があります。 | +| data | Text または Blob | *file* プロパティがない場合には必須。 | +| file | 4D.File オブジェクト | *data* プロパティがない場合には必須。それ以外の場合には使用されません。 | +| relationship | Text | 任意。 省略時、デフォルト値は "Data" です。 Factur-X の最初のファイルの取りうる値: BASIC、EN 16931 または EXTENDED プロファイルの場合: "Alternative"、"Source"または "Data" ("Alternative" はドイツの請求書にのみ使用されます)MINIMUM および BASIC WL プロファイルの場合: "Data" のみ。その他のプロファイルの場合: "Alternative"、"Source" または "Data" (国によって制約がある場合あり:他のプロファイルについての詳細な情報についてはプロファイルの指示書を参照してください。例えば、RECHNUNG プロファイルの場合は"Alternative" のみ使用可能です)その他の(ただしFactur-X invoice xml ファイルを除く)ファイルの場合 : "Alternative"、"Source"、"Data"、"Supplement" または "Unspecified"それ以外の値はエラーを生成します。 | *option* 引数にも wk factur x プロパティが含まれている場合、 wk files コレクションの最初の要素はFactur-X (ZUGFeRD) invoice xml ファイルである必要があります(以下参照)。 @@ -124,12 +124,12 @@ PDF 添付はPDF/A-3 バージョンでのみサポートされています。 w wk factur x プロパティは、2つまでのプロパティを格納することのできるオブジェクトです: -| **プロパティ** | **型** | **Description** | -| --------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| profile | Text | 任意。 オプション。 任意。 任意。 任意。 任意。 If omitted, *profile* is determined from the provided xml file or text (which must use a standard profile). 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | -| version | Text | 任意。 オプション。 オプション。 デフォルト値は"1.0" | +| **プロパティ** | **型** | **Description** | +| --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| profile | Text | 任意。 省略時、 *profile* は提供されたXML ファイルまたはテキスト(標準のプロフィールを使用している必要があります)から決定されます。 渡された場合には、標準のプロファイル名以外の名前でも構いません(他のプロファイル、例えばRECHNUNG などを使用することも可能)。 **注意**: 標準のプロファイル名は以下のとおりです: MINIMUM、BASIC WL、BASIC、EN 16931 (別名 COMFORT でありこれはエイリアス)、EXTENDED | +| version | Text | 任意。 デフォルト値は"1.0" | -### About Factur-X / ZUGFeRD PDF documents +### Factur-X / ZUGFeRD PDF ドキュメントについて *Factur-X / ZUGFeRD* はハイブリッドな電子請求書のための欧州の規格です(PDFはユーザー用、XML データは処理の自動化用)。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 詳細な情報については [こちらのblog記事](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) を参照してください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md index cef6b0905aab90..bbb69011bb8820 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md @@ -11,28 +11,28 @@ displayed_sidebar: docs
    -| 引数 | 型 | | 説明 | -| ----------- | --------------- | --------------------------- | ------------------------------------- | -| wpDoc | Object | → | 4D Write Pro 変数 | -| destination | Text, Blob | → | Variable to receive exported contents | -| format | Integer | → | Variable output format | -| option | Object, Integer | → | 書き出しのオプション | +| 引数 | 型 | | 説明 | +| ----------- | --------------- | --------------------------- | ----------------- | +| wpDoc | Object | → | 4D Write Pro 変数 | +| destination | Text, Blob | → | 書き出したコンテンツを受け取る引数 | +| format | Integer | → | 変数出力フォーマット | +| option | Object, Integer | → | 書き出しのオプション |
    ## 説明 -The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. +**WP EXPORT VARIABLE** コマンドは*wpDoc* 引数で指定した4D Write Pro オブジェクトを、 *destination* 引数で指定した4D 変数へ、 *format* 引数で指定したフォーマットで書き出します。 *wpDoc* 引数には、書き出したい4D Write Pro オブジェクトを渡します。 -In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: +*destination* 引数には、書き出した4D Write Pro オブジェクトを受け取る変数を渡します。 この変数の型は、*format* 引数で指定した書き出しフォーマットによって異なります: -- If you pass the native .4wp format or the .docx format, the variable will be of the Blob type, -- If you pass an HTML or SVG format, the variable will be of the Text type. +- ネイティブの.4wp フォーマットまたは.docx フォーマットを渡した場合、変数はBlob 型になります。 +- HTML またはSVG フォーマットを渡した場合、変数はテキスト型になります。 -In the *format* parameter, pass a constant from the *4D Write Pro Constants* theme to set the export format you want to use. Each format is related to a specific use. 以下のフォーマットがサポートされています: +*format* 引数には、使用したい書き出しフォーマットを設定する、*4D Write Pro 定数* テーマの定数を一つ渡します。 それぞれのフォーマットは特定の用法に関連します。 以下のフォーマットがサポートされています: | 定数 | 型 | 値 | 説明 | | ------------------- | ------- | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -41,67 +41,67 @@ In the *format* parameter, pass a constant from the *4D Write Pro Constants* the | wk mime html | Integer | 1 | 4D Write Proドキュメントは標準のMIME HTMLとして保存され、htmlドキュメントと画像はMIMEパーツとして埋め込まれます(base64でエンコードされます)。 式は計算され4D特有のタグやメソッドのリンクは除去されます。 埋め込みビューにアンカーされたテキストボックスのみが(divとして)書き出されます。 このフォーマットは コマンドを使用してHTML Eメールを送信するのに特に適しています。 | | wk pdf | Integer | 5 | .pdf 拡張子。 4D Write Pro ドキュメントはページビューモードに基づいてPDF フォーマットで保存されています。 PDF ドキュメントには以下のメタ情報が書き出されています: タイトル 作者 タイトル コンテンツ作成者 **注意**: 式は、ドキュメントが書き出されるときに自動的に値が計算されて固定化されます。メソッドへのリンクは**サポートされていません。** | | wk svg | Integer | 8 | 4D Write Pro ドキュメントのページはページビューモードに基づいてSVG フォマットで保存されます。 **注意:** SVG へと書き出す際は、一度に1ページしか書き出すことができません。 書き出すページを指定するにはwk page index を使用して下さい。 | -| wk web page html 4D | Integer | 3 | 4D Write Pro document is saved as HTML and includes 4D specific tags; each expression is inserted as a non-breaking space. Since this format is lossless, it is appropriate for storing purposes in a text field. | +| wk web page html 4D | Integer | 3 | 4D Write Pro ドキュメントはHTML として保存さんれ、4D 特有のタグが含まれます。それぞれの式はノンブレーキングスペースとして挿入されます。 このフォーマットはロスレスであるため、テキストフィールドへの保存目的に適しています。 | **注:** - "4D 特有のタグ"とは、4Dネームスペースと4D CSSスタイルを含めた4D XHTMLのことです。 - 4D Write Pro ドキュメントフォーマットに関するより詳細な情報に関しては、[.4wp ドキュメントフォーマット](https://doc.4d.com/4Dv20/4D/20/Using-a-4D-Write-Pro-area.200-6229460.en.html#2895813)を参照してください。 - .docx フォーマットを使用する際の、既知の差異および非互換性の一覧を見るためには、[.docxフォーマットの読み込み/書き出し](https://doc.4d.com/4Dv20/4D/20/Importing-and-Exporting-in-docx-format.200-6229466.ja.html)を参照してください。 -- When exporting to SVG format with this command, images are embedded in base64 format. -- For more information on exporting to SVG format, see [Exporting to SVG format](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.en.html). +- コマンドを使用してSVG フォーマットへと書き出す場合、画像はbase64 フォーマットでエンコーディングされます。 +- SVG フォーマットへの書き出しの詳細な情報については、 [SVGフォーマットへの書き出し](https://doc.4d.com/4Dv20/4D/20/Exporting-to-SVG-format.200-6229468.ja.html)を参照してください。 ### option 引数 *option* 引数には、書き出されるドキュメントのプロパティを定義する値を格納している[オブジェクト](# "ネイティブな4D オブジェクトとして構築されたデータ") を渡します。 次のプロパティを利用することができます: 次のプロパティを利用することができます: 次のプロパティを利用することができます: -| 定数 | 値 | 説明 | -| ------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | -| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | PDF 書き出しのみ。 Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](./wp-export-document.md#wk-factur-x-object)). | -| wk files | files | PDF 書き出しのみ。 Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](./wp-export-document.md#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | -| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | -| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | -| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | -| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | -| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | -| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | -| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | -| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | -| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | -| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| 定数 | 値 | 説明 | +| ------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID ホストドメイン名: 生成されるCID URL に追加されるホストドメイン。'@' が区切り文字として含まれます。 wk mime html フォーマットが使用されている際にのみ使用可能です。 `wk mime html` フォーマットが使用されている際にのみ使用可能です。 | +| wk embedded pictures | embeddedPictures | SVG 書き出し専用。 [WP EXPORT DOCUMENT](wp-export-document.md) を呼び出した時、ピクチャーが書き出された.svg ファイル内に埋め込まれるかどうかを設定します。 取り得る値:
  • true (デフォルト): ピクチャーは書き出された.svg ファイルに埋め込まれます。
  • false: ピクチャーは書き出された.svg ファイルと同じ階層にある"filename\_images" というフォルダ内に書き出されます。この"filename" はファイル用にコマンドに渡された名前の拡張子を抜いたものです。 ピクチャーは埋め込まれませんが、.svg ファイルから参照されます。
  • 注意: フォルダが既に存在する場合、ファイルが書き出される前にそのフォルダは空にされます。 書き出されたページに画像が何もない場合、フォルダは削除されます。 | +| wk factur x | facturX | PDF 書き出しのみ。 値: "Factur-X (ZUGFeRD)" PDF 書き出しを設定するオブジェクト([wk factur x オブジェクト](./wp-export-document.md#wk-factur-x-object) 参照)。 | +| wk files | files | PDF 書き出しのみ。 値:生成されるドキュメントに埋め込まれるファイルを記述したオブジェクトのコレクション([wk files コレクション](./wp-export-document.md#wk-files-collection) 参照)。 PDF 添付はPDF/A-3 バージョンでのみサポートされています。`wk files` プロパティを渡す場合、"PDF/A-3" バージョンが自動的に使用されます(`wk pdfa version` 属性は無視されます)。 Factur-X PDF 書き出し(下記参照)の場合、コレクションの最初のオブジェクトにはFactur-X XML ファイルが格納されている必要があります。 | +| wk google fonts tag | googleFontsTag | SVG書き出し専用。 書き出されたSVG 内でのGoogle フォントの読み込みルールを設定します。 取り得る値:
  • false (デフォルト): Google フォントの読み込みルールは何も追加されません。
  • true: 書き出されたファイルに@import ルールを追加します。 Windows またはmacOS において利用できないフォントを使用したい場合に有用です。
  • **注意:** このプロパティはデフォルトではFalse に設定されています。なぜなら読み込まれたGoogle フォントはネイティブのフォントを上書きしますが、一般的にはネイティブのフォントはブラウザ上で綺麗にレンダリングされるからです。 | +| wk HTML pretty print | htmlPrettyPrint | HTML コードは読みやすいようにフォーマットされます。 | +| wk max picture DPI | maxPictureDPI | 画像を適切な解像度にリサンプリング(縮小)するのに使用されます。 Windows でのSVG 画像に対しては。ラスタライズに使用されます。 デフォルト値: 300 (for wk optimized for \= wk print 時) 192 (for wk optimized for \= wk screen 時) 取り得る最大値: 1440 | +| wk optimized for | optimizedFor | 書き出されたドキュメントを、その目的に応じてどのように最適化するかを定義します。 取り得る値:
  • `wk print` (`wk pdf` および `wk svg` のデフォルト値) ビットマップピクチャーは、`wk max picture DPI` で定義されたDPI または300 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出されるタイプに対してコーデックがサポートされていない場合にはPNG へと変換される可能性もあります。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または300 (Windows のみ)を使用してPNG へと変換されます。 ピクチャーに複数のフォーマットが含まれている場合、最適なフォーマットが使用されます(*例*: .jpg の代わりに.tiff など)。
  • `wk screen` (`wk web page complete` および `wk mime html` のデフォルト値)。 ビットマップは `wk max picture DPI` で定義されたDPI または192 (デフォルト値) を使用してダウンスケールされる可能性があり、また書き出しタイプに対してコーデックがサポートされていない場合にはJPG (透過部分のない画像) またはPNG (透過画像) へと変換されます。 ベクターのピクチャーは `wk max picture DPI` で定義されたDPI、または192 (Windows のみ)を使用してPNG へと変換されます。 画像に複数のフォーマットが含まれている場合、スクリーンレンダリング用のフォーマットが使用されます。
  • **注意:** `wk docx` フォーマットで書き出されたドキュメントは、常にwk print 用に最適化されています(wk optimized for オプションは無視されます)。 | +| wk page index | pageIndex | SVG書き出し専用。 SVG書き出し専用。 SVG フォーマットへと書き出すページのインデックス(デフォルトは1)。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 ページのインデックスは1から始まり、これはドキュメントの最初のページを指します。 **注意:** ページインデックスはページナンバリングとは異なるものです。 | +| wk pdfa version | pdfaVersion | PDF/A バージョンに適合したPDF を書き出します。 PDF/A のプロパティおよびバージョンの詳細については、[Wikipedia のPDF/A のページ](https://ja.wikipedia.org/wiki/PDF/A) を参照してください。 取り得る値:
  • `wk pdfa2`: "PDF/A-2" バージョンに書き出します。
  • `wk pdfa3`: "PDF/A-3" バージョンに書き出します。
  • **注意:** macOS 上では、プラットフォームの実装によっては`wk pdfa2` 定数はPDF/A-2 またはPDF/A-3 またはそれ以上のバージョンに書き出すことがあります。 また、`wk pdfa3` 定数は"*少なくとも* PDF/A-3へと書き出す"ということを意味します。 Windows 上では、出力されたPDF ファイルは常に指定されたバージョンと同じになります。 | +| wk recompute formulas | recomputeFormulas | 書き出し時にフォーミュラを再計算するかどうかを定義します。 取り得る値:
  • true - デフォルト値。 全てのフォーミュラは再度計算されます。
  • false- フォーミュラを再計算しません。
  • | +| wk visible background and anchored elements | visibleBackground | 背景画像/背景色、アンカーされた画像またはテキストボックス(ディスプレイ用では、ページビューモードまたは埋め込みビューモードでのみ表示されるエフェクト)を表示または書き出しをします。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible empty images | visibleEmptyImages | 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対してデフォルトの黒い四角形を表示または書き出しします。 取り得る値: True/False. 取り得る値: True/False. デフォルト値: True 値がFalse の場合、たとえ画像に境界線、幅、高さ、背景などが設定されてあっても空の画像要素は全く表示されないという点に注意して下さい。これはインライン画像のページレイアウトに影響する可能性があります。 | +| wk visible footers | visibleFooters | フッターを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False | +| wk visible headers | visibleHeaders | ヘッダーを表示または書き出しします(表示用においてはページビューモードでのみ表示されるエフェクトです)。 取り得る値: True/False 取り得る値: True/False 取り得る値: True/False | +| wk visible references | visibleReferences | ドキュメントに挿入されている4D 式を参照として表示または書き出しします。 取り得る値: True/False | +| wk whitespace | whitespace | `wk mime html` 書き出しフォーマットに対する"white-space" CSS 値を設定します。 [white-space CSS スタイル](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) は段落に対して適用されます。 取り得る値: "normal"、"nowrap"、 "pre"、 "pre-wrap" (デフォルト)、 "pre-line"、 "break-spaces" | 以下の表は*format* 引数の各フォーマットごとに利用可能な*option* 引数のオプションをあらわしています: -| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | -| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | -| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | -| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | -| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | -| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | -| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | -| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | -| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (default: "pre-wrap") | \- | \- | \- | +| | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | +| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | \- | +| wk embedded pictures | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk factur x | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk files | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk google fonts tag | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk HTML pretty print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: False) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk max picture DPI | \- | 常に300 | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 300) | +| wk optimized for | \- | always wk print | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk screen) | always wk print | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: wk print) | +| wk page index | \- | \- | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: 1) | +| wk pdfa version | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) | \- | \- | +| wk recompute formulas | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible background and anchored elements | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | 常にtrue | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible empty images | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible footers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible headers | \- | 常にtrue | 常にfalse | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: true) | +| wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: false) | +| wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (デフォルト: "pre-wrap") | \- | \- | \- | **互換性に関する注意:** *option* 引数に*倍長整数* 型の値を渡すことは互換性の理由からサポートされていますが、[オブジェクト型](# "ネイティブな4D オブジェクトとして構築されたデータ") 型の引数を渡すことが推奨されています。 ## 例題 1 -You want to export the contents of the *myArea* 4D Write Pro object in MIME format and add "gmail.com" as the host domain: +*myArea* 4D Write Pro オブジェクトの中身をMIME フォーマットで書き出し、"gmail.com" をホストドメインとして追加したい場合を考えます: ```4d var $option;$export : Object @@ -113,10 +113,10 @@ You want to export the contents of the *myArea* 4D Write Pro object in MIME form ## 例題 2 -You want to send an email containing styled text, 4D references and images. You can use a 4D Write Pro area exported in MIME format and sent using SMTP: +スタイル付きテキスト、4D 参照および画像を格納したEメールを送信したい場合を考えます。 この場合、MIME フォーマットで書き出された4D Write Pro エリアを使用し、SMTP を使用して送信することができます: ```4d - // create the transporter + // transporter オブジェクトを作成 $server:=New object $server.host:="smtp.gmail.com" $server.port:=465 @@ -129,7 +129,7 @@ You want to send an email containing styled text, 4D references and images. You $mailTmp:=MAIL Convert from MIME($mime) - // add pictures (if any) + // ピクチャーを追加(あれば) If($mailTmp.attachments#Null) $email.attachments:=$mailTmp.attachments End if @@ -145,7 +145,7 @@ You want to send an email containing styled text, 4D references and images. You ## 例題 3 -To export the first page of a 4D Write Pro as SVG in a Text variable and hide the headers: +4D Write Pro の最初のページをテキスト変数内のSVG として書き出して、ヘッダーを非表示にしたい場合を考えます: ```4d var $options : Object