メインコンテンツまでスキップ
バージョン: 次へ

Defining a 4D Write Pro area

Drag and Drop

ご自分の4D Write Proエリアでのドラッグ&ドロップ機能の設定をするためには、プロパティリストの"アクション"テーマ内にて適切なオプションを選択する必要があります:

4D Write Proエリアは、二つのドラッグ&ドロップモードをサポートします:

  • カスタムモード: "ドラッグ可"と"ドロップ可"のオプションのみチェックされています。
    このモードでは、テキストを選択し、移動させる事ができます。On Begin Drag Overイベントのオブジェクトメソッドが呼び出され、このカスタムモードを使用してドロップ時の挙動を定義する事ができます。
  • 自動モード: "ドラッグ可"、"ドロップ可"、そして"自動ドラッグ"と"自動ドロップ"のオプションがチェックされています。
    このモードでは、選択したテキストを移動または(Alt/Optionキーを押しながら)コピーすることができます。On Begin Drag Overイベントはトリガーされません。

注: "自動ドラッグ"と"自動ドロップ"のオプションしか選択していなかった場合、4D Write Proエリアには何の影響もありません。

View properties

ドキュメントビュープロパティは、4D Write Pro エリアのプロパティリストで直接設定可能です。これを使用することで4D Write Pro エリアにおいて4D Wrie Pro ドキュメントがデフォルトでどのように表示されるかを指定することができます。これらのプロパティを使って、例えば 4D Write Pro ドキュメントを印刷されるとおりに表示するか、それともブラウザーで見たときと同じように表示するかを設定することができます。同一のフォーム上で、同じ 4D Write Pro ドキュメントの異なるビューを表示させることも可能です。

注: ビュー設定はWP SET VIEW PROPERTIES および WP Get view properties コマンドを使用することで動的に管理することも可能です。

ドキュメントビューの設定は、4D Write Pro フォームオブジェクトのプロパティリストにおいて、アピアランステーマの項目で指定します:

  • 解像度: 4D Write Pro エリアの画面解像度を設定します。デフォルト値は 72 dpi (Mac OS) で、これはすべてのプラットフォームにおける 4D フォームの標準解像度です。この項目を自動に設定すると、Mac OS と Windows 間でドキュメントのレンダリングが異なることになります。特定の dpi 値を指定すると、両プラットフォームでのレンダリングを同じになります。

  • ズーム: 4D Write Pro エリアのコンテンツ表示に使用するズーム率を設定します。

  • ビューモード: フォームエリア内の 4D Write Pro ドキュメントの表示モードを設定します。次の値が提供されています:

    • ページ: もっとも完全といえるビューモードで、ページの枠、余白、改ページ、ヘッダー & フッターなどを含みます。詳細については ページビュー機能 を参照ください。
    • 下書き: 基本のドキュメントプロパティを含む下書きモードです。
    • 埋め込み: 埋め込みエリアに適切なビューモードです。余白や、ヘッダー & フッター、ページフレームなどは表示されません。
      このモードは Web に似た出力をするのに使用することもできます (この場合には、解像度を 96 dpi に設定のうえ、HTML WYSIWYG を表示オプションを有効にします)。

    注: ビューモードプロパティは画面上のレンダリングにのみ使用されます。印刷設定については、特定のレンダリングルールが自動的に適用されます (4D Write Pro ドキュメントの印刷 参照)。

  • ページ枠を表示: ページビューモードが "ページ" に設定されている場合に、ページのフレームを表示 / 非表示にします。

  • 参照を表示: ドキュメントに参照 として挿入された 4Dフォーミュラ(または式)をすべて表示します(フォーミュラの管理 参照)。このオプションがチェックされていない場合、4D フォーミュラは全て として表示されます。
    注意: フォーミュラ参照は 記号として表示することもできます(以下参照)。

  • ヘッダー / フッターを表示: ページビューモードが "ページ" に設定されている場合に、ページのヘッダー & フッターを表示 / 非表示にします。ヘッダー & フッターについての詳細は を参照ください。

  • 背景とアンカーされた要素を表示: ページの背景画像、背景色、アンカーされた画像およびテキストボックスを表示 / 非表示にします。

  • 非表示文字を表示: 非表示の文字を表示 / 非表示にします。

  • HTML WYSIWYG を表示: HTML WYSIWYG ビューを有効 / 無効にします。このビューでは、すべてのブラウザーに対応していない 4D Write Pro の属性が取り除かれます。

  • 水平ルーラーを表示: ルーラーを表示/非表示にします(デフォルトでは表示)。4D Write Proエリアでのルーラーについてのより詳細な情報については、ルーラーの管理 の章を参照してください。

  • 垂直 ルーラーを表示: ドキュメントがページモードの時の垂直ルーラーを表示 / 非表示にします。4D Write Pro エリアでのルーラーについての詳細な情報については、ルーラーの管理 の章を参照してください。

  • 空またはサポートされていない画像を表示: 読み込めない、あるいは計算できない画像(空の画像またはサポートされていないフォーマットの画像)に対して表示する黒い四角形を表示/非表示にします。詳細な情報については空のピクチャー の章を参照して下さい。

  • フォーミュラのソースを記号として表示: 4D式を参照として表示(上記参照)している場合、フォーミュラのソーステキストを 記号として表示します。フォーミュラを記号として表示することで、テンプレートのドキュメントをよりコンパクトに、よりwysiwyg にすることができます。

**互換性に関する注記:

  • 4D v15 R5 までのバージョンで作成された 4D Write Pro ドキュメントは、これらのプロパティはデフォルト値に設定されますが、例外として解像度のみ自動に設定されます。
  • 水平ルーラーは、4D v16 R2以降で作成されたデータベースについてはデフォルトで利用可能です。それ以前のバージョンから変換されたデータベースについては、このセッティングはデフォルトではチェックされていません。

コンテキストメニュー

4D Write Pro エリア内にてコンテキストメニュープロパティがチェックされている場合(4D Write Pro エリアを定義するを参照して下さい)、ランタイムでフォームが実行された時に、ユーザーは包括的なコンテキストメニューを使用することができます:

このメニューを通して、提供されているすべての4D Write Pro 機能へとアクセスすることができます。

ビューモードの選択

4D Write Proドキュメントは三種のページビューモードで表示することができます:

  • 下書き: 基本的なプロパティを持つ下書きモード
  • ページ (デフォルト): "印刷ビュー" モード
  • 埋め込み: 埋め込みエリアに最適なビューモードです。このモードでは余白、フッター、ヘッダー、カラム、ページフレーム等は表示されません。
    このモードはWeb風のビュー出力を作成するのにも使用できます (96 dpi解像度と HTML WYSIWYG オプションを選択した場合)。

ページビューモードはエリアポップアップメニューを使用することで設定が可能です:

注: ページビューモードはドキュメントには保存されません。

4Dフォームに埋め込まれたエリアについては、プロパティリストを使用してデフォルトのビューモードを設定することができます。この場合、ビューモードは 4D Write Proフォームオブジェクトのプロパティとして保存されます (より詳細な情報については、ビュープロパティの設定 の章を参照してください)。

標準アクション

4D Write Proエリアのユーザーインターフェースは、多様な標準アクションを使用して管理することができます。標準アクションは次のようなものに割り当てることが可能です:

  • メニューバーあるいはDynamic pop up menu コマンドを通して利用可能なメニューコマンド
  • ポップアップ・ドロップダウンリストや階層ポップアップメニューを通して利用可能なリスト項目
  • ボタン、チェックボックス
  • あるいはINVOKE ACTION コマンドによって実行

インターフェースオブジェクトに割り当てた場合、標準アクションはコンテキストに応じてオブジェクトの有効化/無効化を管理します。詳細な情報については標準アクション の章を参照してください。

4D Write Proエリアでは二種類のアクションが利用可能です:

  • 4D Write Pro 特有の、4D Write Proエリアに対してのみ使用可能なアクション
  • フォント、式、スペルチェック、編集アクションを含む、4D Write Proエリアと他の4Dエリアで使用可能なその他のアクション(標準アクション参照)。

4D Write Pro アクション

4D Write Proエリアでは以下の標準アクションが利用可能です。

注:

  • 自動メニュー/リストを表示するアクションは、メニューコマンド、ポップアップ/ドロップダウンリスト、あるいは階層ポップアップメニューオブジェクトにのみ割り当て可能です(サブメニュー 参照)。
  • チェックボックスと3Dチェックボックスはステータスアクション("section/differentFirstPage" あるいは "visibleHorizontalRuler"など)を割り当てて下さい。スリーステートオプションは標準のチェックボックスでのみサポートされます。
  • セクションのアクションステータスは、常にその選択されたセクションの実際のステータスと一致します(属性が親セクションあるいはデフォルト属性から継承される場合にはステータスが継承されます)。選択されたセクションのステータス(セクションに現在適用されているステータス)を反映する必要があるからです。しかしながら標準アクションを使用してセクション属性を変更した場合には、選択されたセクションの属性のみが上書きされます。
  • サブメニュー: 引数を渡さず、メニューコマンド、ポップアップ/ドロップダウンリスト、あるいは階層ポップアップメニューに割り当てて使用した場合、これらのアクションは自動サブメニュー/リストを表示します。例えば、"backgroundColor"アクションをメニューコマンドに割り当てた場合、このメニューコマンドをランタイムで選択するとBackground color サブメニュー項目が表示されます。"zoom"アクションを階層ポップアップメニューに割り当てた場合、このメニューには既定のズーム値の一覧が自動的に含まれます。これらのアクションはボタンに対しては割り当てられない点に注意してください。
  • showDialog: アクション名に"/showDialog " の文字列を追加することで、アクションに割り当てられた標準のダイアログボックスを表示します。例えば、"paragraph/styleSheet/showDialog"と入力することで新しいスタイルシート名を入力する入力ダイアログを開くことができます。
アクション名シンタックス割り当て可能オブジェクト詳細
anchorHorizontalAlign{image | textBox}/anchorHorizontalAlign?value={left | center | right}Image, Textbox, SubmenuDefines the horizontal alignment of the element, relative to the anchorOrigin for images/text boxes in page, or to the layout box for images/text box in embedded mode. This action will reset the horizontal offset to 0. (not enabled for inline images).
anchoring{image | textBox}/anchoringSubmenuDefault submenu with anchor settings actions for images or text boxes
anchorLayoutimage/anchorLayout?value={front | behind | wrapTopBottom | wrapSquareLeft | wrapSquareRight | wrapSquareLargest | wrapSquare | inline}

textBox/anchorLayout?value={front | behind | wrapTopBottom | wrapSquareLeft | wrapSquareRight | wrapSquareLargest | wrapSquare}
Image, Textbox, SubmenuDefines the anchor layout type for an image or a text box. Can be used to transform an inline image to an anchored image, or the reverse. Note: If an image is moved from an anchored mode to inline, the image is inserted at the beginning of the current selected text. "inline" value is not supported for text boxes
anchorOrigin{image | textBox}/anchorOrigin?value={paper-box | header-box | footer-box}Image, TextBox, SubmenuDefines the area relative to the absolute position of an anchored image or text box. If the element is relative to the header-box/footer-box which is not visible on a page, the element is not displayed. This action will reset horizontal and vertical offsets to 0. Page mode only, not enabled for inline images.
anchorPage{image | textBox}/anchorPage?value={all | current | currentSubSection}Image, TextBox, SubmenuDefines the page(s) where the selected image or text box is displayed (not enabled for inline images). Page mode only.
anchorSection{image | textBox}/anchorSection?value={all | current}Image, TextBox, SubmenuDefines the section(s) where the selected image or text box is displayed. (not enabled for inline images). Page mode only.
anchorVerticalAlign{image | textBox}/anchorVerticalAlign?value={top | center | bottom}Image, TextBox SubmenuDefines the vertical alignment of the image or text box, relative to the anchorOrgin for an image or text box in page, or to the layout box for an image or text box in embedded mode. This action will reset the vertical offset to 0 (not enabled for inline images). Note: See "verticalAlign" action for the vertical alignment inside the text box
avoidPageBreakInside{paragraph/}avoidPageBreakInsideParagraph
background{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundDocument, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuFor menu commands only. Default submenu for all background attributes.
backgroundClip{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundClip?value={paper-box | border-box | padding-box | content-box}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background clipping box (default target is paragraph). Paper-box targets document and section only.
backgroundColor{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundColor?value={<Css_color> | transparent}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, Submenu, showDialogChanges target background.
backgroundDisplayMode{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundDisplayMode?value=scaledToFit | truncated | truncatedCentered | proportional | proportionalCentered | replicated | replicatedCenteredDocument, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuSets the display mode of images used as background.
backgroundImage{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundImage?value=noneDocument, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, Submenu, showDialogClears target background image. (default target is paragraph)
backgroundOrigin{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundOrigin?value={paper-box | border-box | padding-box | content-box}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image origin box (default target is paragraph). Paper-box targets document and section only.
backgroundPositionH{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundPositionH?value={left | right | center}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image horizontal alignment (default target is paragraph). Ex: paragraph/backgroundPositionH?value=left
backgroundPositionV{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundPositionV?value={top | bottom | center}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image vertical alignment (default target is paragraph). Ex: paragraph/backgroundPositionV?value=top
backgroundRepeat{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundRepeat?value={no-repeat | repeat | repeat-x | repeat-y}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image repeat mode. (default target is paragraph)
backgroundSizeH{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}backgroundSizeH?value={<Css_length> | <Css_percentage> | auto | cover | contain}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image width (default target is paragraph). Ex: paragraph/backgroundSizeH?value=100%. section/backgroundSizeH?value=cover
backgroundSizeV{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell}/backgroundSizeV?value={<Css_length> | <Css_percentage> | auto}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target background image height (default target is paragraph). Ex: paragraph/backgroundSizeV?value=50%. Ex: section/backgroundSizeV?value=40pt
bookmarkbookmark?index=SubmenuSelects the Nth bookmark. Ex: bookmark?index=2 // selects the second bookmark
borderCollapseborderCollapseParagraphCollapses selected paragraph borders and interior margins.
borderColor{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}{inside | outside/}{borderColor | borderColorLeft | borderColorRight | borderColorTop | borderColorBottom | borderColorLeftRight | borderColorTopBottom}?value=<Css_color>Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, Submenu, showDialogChanges target border color (default target is paragraph). Ex: paragraph/borderColorLeft?value=green
borderRadius{doc | paragraph | image | textBox | section | header | footer/}borderRadius?value=<Css_length>Document, Paragraph, Image, TextBox, Section, Header, Footer, SubmenuChanges target border radius (default target is paragraph). Ex: paragraph/borderRadius?value=4pt
borders{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}{inside | outside/}bordersDocument, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuDefault submenu for target borders.
borderStyle{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}{inside | outside/}{borderStyle | borderStyleLeft | borderStyleRight | borderStyleTop | borderStyleBottom | borderStyleLeftRight | borderStyleTopBottom}?value={none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset}Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target border style (default target is paragraph). Ex: paragraph/borderStyleLeft?value=double. Ex: outside/borderStyle?value=solid //set selected paragraphs exterior borders to style solid. Ex: inside/borderStyle?value=none //remove selected paragraphs interior borders
borderWidth{doc | paragraph | image | textBox | section | header | footer | table | row | column | cell/}{inside | outside/}{borderWidth | borderWidthLeft | borderWidthRight | borderWidthTop | borderWidthBottom | borderWidthLeftRight | borderWidthTopBottom}?value=<Css_length>Document, Paragraph, Image, TextBox, Section, Header, Footer, Table, Row, Column, Cell, SubmenuChanges target border width (default target is paragraph). Ex: paragraph/borderWidthLeft?value=4pt
columnCount{section/}columnCount?value={1<=number<=20}Document, Section, SubmenuNumber of columns in the current document and/or section. (default target is doc) Ex: section/columnCount?value=3
columnRuleColor{section/}columnRuleColor?value={CSS color}Document, Section, Submenu, showDialogColor for the decorative line between document or section columns. Ex: columnRuleColor?value="#FFFFFF"
columnRuleStyle{section/}columnRuleStyle?value={none | dotted | dashed | solid | double | groove | ridge | inset | outset}Document, Section, SubmenuStyle for the decorative line between document or section columns. Ex: columnRuleStyle?value="solid"
columnRuleWidth{section/}columnRuleWidth?value={CSS length}Document, Section, SubmenuWidth of the decorative line between document or section columns. Ex: columnRuleWidth?value="2pt"
columns{section/}columnsDocument, Section, SubmenuOnly for a menu item: creates automatically a complete Columns sub-menu with all column actions sub-menus (except insertColumnBreak)
columnSpacing{section/}columnSpacing?value={CSS length}Document, Section, SubmenuSpace between two columns in the current document and/or section. Ex: columnSpacing?value="1cm"
deleteColumnsdeleteColumnsTableDeletes all selected columns.
deleteRowsdeleteRowsTableDeletes all selected rows.
deleteStyleSheet{paragraph | image/}deleteStyleSheet?index={1<= number <= number of target style sheets}Paragraph, Image, SubmenuRemoves the Nth stylesheet from the stored stylesheets for the selected target (default target is paragraph). Menu item name is replaced at runtime with style sheet name.
directiondirection?value={ltr | rtl}Paragraph, SubmenuParagraph direction.
displayFormulaAsSymboldisplayFormulaAsSymbolDocumentDisplays formula references as a # symbol. Can only be used when formulas are displayed as references.
docdocDocument, SubmenuDefault submenu for document body layout (embedded mode attributes or default attributes for sections – but for margin which is reserved for embedded mode only).
dpiModifies the dpi of the current view (independent of the document attribute wk dpi used internally for pixel conversion <-> points).SubmenuChange view dpi. Ex: dpi?value=72
emptyDatasource{table}/emptyDatasource?value={showDataRow | hideDataRow | showPlaceholderRow | hideTable }Table, SubmenuDefines how the table is displayed when its datasource is empty.
fontStyleWritefontStyleWriteSubmenuFor menu commands only. Displays default font styles submenu for 4D Write Pro.
fontSubscriptfontSubscriptToggles subscript font attribute.
fontSuperscriptfontSuperscriptToggles superscript font attribute.
footerfooterSubmenuDisplays the Footer submenu.
footer/removefooter/removeFooterRemoves the selected footer.
formulaHighlightformulaHighlight?value={values | references | always | never}Document, SubmenuFormula highlight mode for the document. Can be used with a dropdown menu or a button
formulaHighlightColorformulaHighlightColor?value=<Css_color>Document, Submenu,showDialogFormula highlight color for the document
formulaHighlightReferencesformulaHighlightReferencesDocumentToggles formula references highlighting. Can be used with a check box or a menu item
formulaHighlightValuesformulaHighlightValuesDocumentToggles formula values highlighting. Can be used with a check box or a menu item
headerheaderSubmenuDisplays the Header submenu.
header/removeheader/removeHeaderRemoves the selected header.
height{image | textBox | row}/height?value={<Css_length> | auto}Image, TextBox Row, SubmenuTarget height. Ex: image/height?value=50pt. For image/width, see width. Ex: row/height?value=12pt
headerRowCount{table/}headerRowCountTable, SubmenuSets the number of header rows in a table. Maximum is 5.
htmlWYSIWIGEnabledhtmlWYSIWIGEnabledDocumentToggles between html wysiwyg mode.
imageimageImage, SubmenuDisplays image layout submenu.
image/displayModeimage/displayMode?value=scaledToFit | truncated | truncatedCentered | proportional | proportionalCentered | replicated | replicatedCenteredImage, SubmenuSets the display mode of anchored and inline images. Ex: image/displayMode?value=scaledToFit
image/verticalAlignimage/verticalAlign?value={top | middle | bottom | baseline | super | sub}Image, SubmenuImage vertical alignment. Ex: image/verticalAlign?value=super
insertColumnBreakinsertColumnBreakParagraphInserts a column break at the selection.
insertColumnToTheLeftinsertColumnToTheLeftTableInserts a column to the left of the first selected column(s).
insertColumnToTheRightinsertColumnToTheRightTableInserts a column to the right of the last selected column(s).
insertContinuousSectionBreakinsertContinuousSectionBreakParagraphInserts a continuous section break at the selection.
insertImageinsertImageOpens a picture selection dialog box and inserts the selected picture (if any) as a character in the area.
insertPageBreakinsertPageBreakParagraphInserts a page break at the selection.
insertRowAboveinsertRowAboveTableInserts a row above the selected row(s).
insertRowBelowinsertRowBelowTableInserts a row below the selected row(s).
insertSectionBreakinsertSectionBreakParagraphInserts a section break at the selection.
insertSoftHypheninsertSoftHyphenInserts a soft hyphen at the cursor position.
insertTextBoxinsertTextBoxDocumentInserts a text box near the current selection, anchored to the first selected page (page mode).
keepWithNextkeepWithNextParagraphLinks a paragraph with the next so that they cannot be separated by automatic page or column breaks. If applied to the last paragraph of the last cell in a table, the last row of the table is linked to the following paragraph.
lineHeightlineHeight?value={<Css_length> | <Css_percentage>}Paragraph, SubmenuParagraph line height. Ex: lineHeight?value=120%
layer{image | textBox}/layerSubmenuDefault submenu with layering actions for images or text boxes
listStartNumberlistStartNumber?value={ (longint) | auto}Paragraph, SubmenuList start number. Ex: listStartNumber?value=10
listStyleImagelistStyleImage/showDialogParagraph, showDialogOpens a file dialog to choose a image to display as list style bullet; it will set also list style type to disc – style to be used if image is not found.
listStyleTypelistStyleType?value={none | disc | circle | square | hollow-square | diamond | club | decimal | decimal-leading- zero | lower-latin | lower-roman | upper-latin | upper-roman | lower-greek | decimal-greek | armenian | georgian | hebrew | hiragana | katakana | cjk-ideographic}Paragraph, SubmenuParagraph list style type.
margin{doc | paragraph | image | textBox | section | header | footer | table/}{inside | outside/}{margin | marginLeft | marginRight | marginTop | marginBottom | marginLeftRight | marginTopBottom}?value={<Css_length> | auto}Document, Paragraph, Image, Textbox, Section, Header, Footer, Table, SubmenuChanges target margin (default target is paragraph). Ex: margin?value=4pt //sets all paragraph margins to 4pt. Ex: outside/margin?value=4pt //set exterior paragraph margins to 4pt. Ex: doc/marginLeft?value=1cm //sets left margin to 1cm for the document as used in embedded mode. Ex: section/marginLeft?value=1cm //sets left margin to 1cm for the pages of the first selected section
merge{paragraph/}merge
cell/merge
Paragraph, CellUsed with paragraphs: merges paragraphs. Used with cells: merges the selected cells.
minHeight{paragraph | image/}minHeight?value=<Css_length>Paragraph, Image, SubmenuTarget min height (default target is paragraph). Ex: paragraph/minHeight?value=50pt
minWidth{paragraph | image/}minWidth?value=<Css_length>Paragraph, Image, SubmenuTarget min width (default target is paragraph). Ex: paragraph/minWidth?value=50pt
moveToBackmoveToBackImageMoves image to the back. (not enabled for inline images)
moveToFrontmoveToFrontImageMoves image to the front. (not enabled for inline images)
newLineStyleSheetnewLineStyleSheet?index={1<=number<=number of paragraph stylesheets | newLineStyleSheet}?value=autoParagraph, SubmenuSelected paragraph elements will use Nth stylesheet as stylesheet to use for new paragraphs created on Return or while splitting paragraphs; If value=auto, new paragraphs will use the same stylesheet (default). (menu item name is replaced at runtime with stylesheet name)
padding{doc | paragraph | image | textBox | section | header | footer | column | row| cell/}{inside | outside/}{padding | paddingLeft | paddingRight | paddingTop | paddingBottom | paddingLeftRight | paddingTopBottom }?value=<Css_length>Document, Paragraph, Image, TextBox, Section, Header, Footer, Row, Column, Cell, SubmenuChanges target padding. (default target is paragraph)
pageModepageMode?value={embedded | page | draft}SubmenuChanges view mode. Ex: pageMode?value=page
pageOrientation{section/}pageOrientation?value={landscape | portrait}Section, SubmenuChanges document or first selected section page orientation (if section is not specified, it will apply to all sections otherwise to the first selected section). Ex: pageOrientation?value=portrait //change orientation to portrait for the whole document. Ex: section/pageOrientation?value=landscape //change orientation to landscape for the first selected section
pageSizepageSize?index=SubmenuChanges document page size: number is Nth page size in the list of available pages sizes. The list contains the current printer page sizes, ISO page sizes and the custom page sizes defined by the user.
paragraphparagraphParagraph, SubmenuDefault submenu for paragraph layout.
paragraph/avoidPageBreakInside{paragraph/}avoidPageBreakInsideParagraphAllows/disallows page breaks inside paragraphs.
printprintDocumentPrints document as rendered in page mode with view settings of the focused 4D Write Pro area.
refreshImagesrefreshImagesImageReloads images from the network for images with URLs.
removeSoftHyphensremoveSoftHyphensRemoves all soft hyphens in the current selection (if the selection is empty, removes soft hyphen before or after the caret if any)
row/avoidPageBreakInsiderow/avoidPageBreakInsideTable, RowAllows/disallows page breaks inside table rows. This action is disabled if: the current selection does not contain a table the table does not allow page breaks the table is inside a header or footer Note: If several tables are selected and some of them don't allow page breaks, this option will be enabled but only applied to the tables that allow page breaks.
sectionsectionSection, SubmenuDefault submenu for page layout for the first selected section.
section/differentFirstPagesection/differentFirstPageSectionSection has different first page or not.
section/differentLeftRightPagessection/differentLeftRightPagesSectionSection has different left and right pages or not.
section/name/showDialogsection/name/showDialogSection, showDialogDisplays a dialog allowing to enter the first selected section name.
section/removesection/removeSectionDeletes the first section that intersects the user’s selection regardless if the user has selected one or multiple sections. Disabled when only one section remains in the document.
section/resetsection/resetSectionResets all first selected section attributes to default attributes - which are inherited from doc attributes for background, border and padding (same as for embedded mode) and 2.5cm for page margins. First selected section column properties are also removed (so only default section properties will apply).
split{paragraph/}split
cell/split
Paragraph, CellUsed with paragraph: splits paragraph. Used with cells: splits the selected cells (only cells that have been already merged may be split).
styleSheet{paragraph | image/}styleSheet?value={1<=number<=number of target style sheets}Paragraph, Image, Submenu, showDialogApplies Nth stylesheet to the selected target elements. With dialog, new stylesheet will use current attributes from the first selected target. (default target is paragraph) Ex: styleSheet?value=1 //apply first paragraph style sheet to the selected paragraphs and set it as paragraph stylesheets.
styleSheets{paragraph | image/}styleSheetsParagraph, Image, SubmenuDefault submenu for editing target stylesheets.
tabDecimalSeparatortabDecimalSeparator?value={point | comma | pointOrComma | system}Document, SubmenuDefines the character used as decimal separator by decimal tabulations.
tableAligntableAlign?value={left | center | right}
or
table/tableAlign?value={left | center | right}
Table, SubmenuSpecifies horizontal alignment for a table.
table/avoidPageBreakInsidetable/avoidPageBreakInsideTableAllows/disallows page breaks inside tables. Disabled if: the current selection does not contain at least one table the table is in a header or a footer
table/bottomCarryOverRowtable/bottomCarryOverRowTableToggles between display/not display of carry-over rows (see Carry-over rows).
textAligntextAlign?value={left | right | center | justify | initial}ParagraphParagraph text alignment (initial=use right for rtl or left for ltr direction).
textBoxtextBoxSubmenuSubmenu with all actions available for the focused/selected text box
textBox/removetextBox/removeTextBoxRemoves the selected text box
textIndenttextIndent?value=<Css_length> (may be negative)Paragraph, SubmenuParagraph text indentation (first line indentation). Ex: textIndent?value=2cm
textLinethroughtextLinethroughSubmenuFor menu commands only. Linethrough submenu (with style and color).
textLinethroughColortextLinethroughColor?value={<Css_color> | currentColor}Submenu, showDialogEx: textLinethroughColor?value=red
textLinethroughStyletextLinethroughStyle?value={none | solid | dotted | dashed | double | semi-transparent | word}SubmenuEx: textLinethroughStyle?value=dotted
textShadowtextShadowSubmenuFor menu commands only. Default submenu for text shadow (with color and offset).
textShadowColortextShadowColor?value={<Css_color> | none}Submenu, showDialogChanges shadow status or color for characters. Ex: textShadowColor?value=green
textShadowOffsettextShadowOffset?value=<Css_length>SubmenuOnly length in pt is supported. Ex: textShadowOffset?value=2pt
textTransformtextTransform?value={none | capitalize | uppercase | lowercase | small-uppercase}SubmenuFormats text. Ex: textTransform?value=capitalize
textUnderlinetextUnderlineSubmenuFor menu commands only. Underline submenu (with style and color)
textUnderlineColortextUnderlineColor?value={<Css_color> | currentColor}Submenu, showDialogEx: textUnderlineColor?value=red
textUnderlineStyletextUnderlineStyle?value={none | solid | dotted | dashed | double | semi-transparent | word}SubmenuEx: textUnderlineStyle?value=dotted
updateStyleSheet{paragraph | image/}updateStyleSheetParagraph, Image, SubmenuUpdates first selected target stylesheet with first selected target current attributes (default target is paragraph)
userUnituserUnit?value={cm | mm | in | pt}SubmenuChanges document layout unit (will be reflected on rulers).
verticalAlign{paragraph | row | column | cell | textBox/}verticalAlign?value={top | middle | bottom}Paragraph, Row, Column, Cell, TextBox, SubmenuParagraph vertical alignment. Ex: verticalAlign?value=top. The effect depends on the minHeight value of the paragraph.
viewviewSubmenuFor menu commands only. Default submenu for view settings.
visibleBackgroundvisibleBackgroundDocumentShows/hides background, anchored pictures and text boxes
visibleEmptyImagesvisibleEmptyImagesDocumentShows/hides a default black rectangle for images that cannot be loaded or computed (empty images or images in an unsupported format).
visibleFootersvisibleFootersDocumentShows/hides footers.
visibleHeadersvisibleHeadersDocumentShows/hides headers.
visibleHiddenCharsvisibleHiddenCharsDocumentShows/hides hidden characters
visibleHorizontalRulervisibleHorizontalRulerDocumentShows/hides horizontal ruler.
visiblePageFramesvisiblePageFramesDocumentShows/hides page frames.
visibleVerticalRulervisibleVerticalRulerDocumentShows/hides vertical ruler (Page mode only).
visibleTableBordersvisibleTableBordersDocumentShows/hides internal and external table borders as dashed lines where no borders are defined.
widowAndOrphanControlEnabledwidowAndOrphanControlEnabledParagraphToggles between widow and orphan control mode.
width{paragraph | image | textBox | column/}width?value=<Css_length> | autoParagraph, Image, TextBox, Column, SubmenuTarget width (default target is paragraph). Auto value not available for text boxes (converted to 8 cm) and columns. Ex: image/width?value=50pt
zoomzoom?value={25% <= percentage in Css <= 400%}Document, SubmenuChanges document view zoom. Ex: zoom?value=120%

その他のアクション

4D フォームで使用可能な他の複数の標準アクションも、4D Write Proエリアで使用することができます:

  • 編集アクション、例えばコピー/ペーストアクションなど
  • フォント アクション、例えばfontBold あるいは fontSize など
  • 動的な式 アクション。挿入された式などを管理することができます。
  • スペルチェック アクション。