自動化 - ExportAndCopyPreferences
 Previous | Next | Print 

タグ: ExportAndCopyPreferences


この ExportAndCopyPreferences アクションは、SetParam 子アクションと組み合わせて、すべての flexYgrid パネルにある「出力とコピープリファレンス」で利用できるオプションを自動化します。

<ExportAndCopyPreferences>
<Setparam Field="EXCELUnavailableValueReplacement" Value="EXCELMyUnavailable"/>
<Setparam Field="EXCELCheckedBoxReplacement" Value="EXCELMyCheck"/>
<Setparam Field="EXCELUnCheckedBoxReplacement" Value="EXCELMyUnchecked"/>
<Setparam Field="EXCELHalfCheckedBoxReplacement" Value="EXCELMyHalfchecked"/>
<Setparam Field="EXCELClickableBoxReplacement" Value="EXCELMyEnabled"/>
<Setparam Field="EXCELReadOnlyBoxReplacement" Value="EXCELMyDisabled"/>
</ExportAndCopyPreferences>

注記これらの設定はレジストリに記録されます。

ダイアログのタブ

Global

HTML

CSV

EXCEL

XML

Rich Text


それぞれのダイアログタブに対する SetParam オプション

グローバルタブ

フィールド名指定できるフィールドの値値の説明コメント
ResetAllClickParam がアクティブかの確認「ベストプラクティス」は「Click」のように値を入力することですが、ユーザーでどの値でも定義可能です。

サンプルスクリプト

<ExportAndCopyPreferences>
<Setparam Field="ResetAll" Value="Click"/>
</ExportAndCopyPreferences>

HTML タブ

フィールド名指定できるフィールドの値値の説明コメント
HTMLUnavailableValueReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
HTMLCheckBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
HTMLUnCheckedBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
HTMLClickableBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
HTMLReadOnlyBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます

サンプルスクリプト

<ExportAndCopyPreferences>
<Setparam Field="HTMLUnavailableValueReplacement" Value="HTMLMyUnavailable"/>
<Setparam Field="HTMLCheckedBoxReplacement" Value="HTMLMyCheck"/>
<Setparam Field="HTMLUnCheckedBoxReplacement" Value="HTMLMyUnchecked"/>
<Setparam Field="HTMLHalfCheckedBoxReplacement" Value="HTMLMyHalfchecked"/>
<Setparam Field="HTMLClickableBoxReplacement" Value="HTMLMyEnabled"/>
<Setparam Field="HTMLReadOnlyBoxReplacement" Value="HTMLMyDisabled"/>
</ExportAndCopyPreferences>

CSV タブ

フィールド名指定できるフィールドの値値の説明コメント
CSVUnavailableValueReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVCheckedBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVUnCheckedBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVHalfCheckedBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVClickableBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVReadOnlyBoxReplacementユーザーが定義可能な文字列指定したグリッドのタイプに対して置換するものとしてセルに挿入する文字列任意 – 除外した場合現在の設定が使用されます
CSVAdvancedValueDelimiterユーザーが定義可能な文字列Text to be used as the value delimiter任意 – 除外した場合現在の設定が使用されます
CSVAdvancedDecimalSeparatorユーザーが定義可能な文字列Text to be used as the decimal separator任意 – 除外した場合現在の設定が使用されます
CSVAdvancedLineBreakReplacementUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedRowSeparatorUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedValueSeparatorUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedValueDelimiterReplacementユーザーが定義可能な文字列Text to be inserted into the cell as a replacement for the type of grid cell indicated任意 – 除外した場合現在の設定が使用されます
CSVAdvancedAddValueDelimiterUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedValueDelimiterClipboardユーザーが定義可能な文字列Text to be used as the value delimiter任意 – 除外した場合現在の設定が使用されます
CSVAdvancedDecimalSeparatorClipboardユーザーが定義可能な文字列Text to be used as the decimal separator任意 – 除外した場合現在の設定が使用されます
CSVAdvancedLineBreakReplacementClipboardUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedRowSeparatorClipboardUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedValueSeparatorClipboardUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください
CSVAdvancedValueDelimiterReplacementClipboardユーザーが定義可能な文字列Text to be inserted into the cell as a replacement for the value delimiter任意 – 除外した場合現在の設定が使用されます
CSVAdvancedAddValueDelimiterClipboardUser definable test, exact display text of the dropdown menu item or Index attribute with integer value任意 – 除外した場合現在の設定が使用されます
*詳細説明を参照してください

Detailed Description

The options that contain dropdown menu choices can use the Index attribute to select the option within the dropdown list. When using this attribute, 0 = first dropdown item, 1 = second dropdown item, and so on.

Example Script

<ExportAndCopyPreferences>
<Setparam Field="CSVUnavailableValueReplacement" Value="CSVMyUnavailable"/>
<Setparam Field="CSVCheckedBoxReplacement" Value="CSVMyCheck"/>
<Setparam Field="CSVUnCheckedBoxReplacement" Value="CSVMyUnchecked"/>
<Setparam Field="CSVHalfCheckedBoxReplacement" Value="CSVMyHalfchecked"/>
<Setparam Field="CSVClickableBoxReplacement" Value="CSVMyEnabled"/>
<Setparam Field="CSVReadOnlyBoxReplacement" Value="CSVMyDisable
<Setparam Field="CSVAdvancedValueDelimiter" Value="&quot;"/>
<Setparam Field="CSVAdvancedDecimalSeparator" Value="."/>
<Setparam Field="CSVAdvancedLineBreakReplacement" Index="1"/>
<Setparam Field="CSVAdvancedRowSeparator" Value="[New Line]"/>
<Setparam Field="CSVAdvancedValueSeparator" Value="[Comma]"/>
<Setparam Field="CSVAdvancedValueDelimiterReplacement" Value="&quot;&quot;"/>
<Setparam Field="CSVAdvancedAddValueDelimiter" Index="
<Setparam Field="CSVAdvancedValueDelimiterClipboard" Value="'"/>
<Setparam Field="CSVAdvancedDecimalSeparatorClipboard" Value=","/>
<Setparam Field="CSVAdvancedLineBreakReplacementClipboard" Value="[Tab]"/>
<Setparam Field="CSVAdvancedRowSeparatorClipboard" Value="[Line Feed]"/>
<Setparam Field="CSVAdvancedValueSeparatorClipboard" Value=";"/>
<Setparam Field="CSVAdvancedValueDelimiterReplacementClipboard" Value="''"/>
<Setparam Field="CSVAdvancedAddValueDelimiterClipboard" Index="0"/>
</ExportAndCopyPreferences>


EXCEL Tab

Field NameCompatible Field ValuesValue DescriptionComment
EXCELUnavailableValueReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
EXCELCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
EXCELUnCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
EXCELHalfCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
EXCELClickableBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
EXCELReadOnlyBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted

Example Script

<ExportAndCopyPreferences>
<Setparam Field="EXCELUnavailableValueReplacement" Value="EXCELMyUnavailable"/>
<Setparam Field="EXCELCheckedBoxReplacement" Value="EXCELMyCheck"/>
<Setparam Field="EXCELUnCheckedBoxReplacement" Value="EXCELMyUnchecked"/>
<Setparam Field="EXCELHalfCheckedBoxReplacement" Value="EXCELMyHalfchecked"/>
<Setparam Field="EXCELClickableBoxReplacement" Value="EXCELMyEnabled"/>
<Setparam Field="EXCELReadOnlyBoxReplacement" Value="EXCELMyDisabled"/>
</ExportAndCopyPreferences>

XML Tab

Field NameCompatible Field ValuesValue DescriptionComment
XMLUnavailableValueReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
XMLCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
XMLUnCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
XMLHalfCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
XMLClickableBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
XMLReadOnlyBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted

Example Script

<ExportAndCopyPreferences>
<Setparam Field="XMLUnavailableValueReplacement" Value="XMLMyUnavailable"/>
<Setparam Field="XMLCheckedBoxReplacement" Value="XMLMyCheck"/>
<Setparam Field="XMLUnCheckedBoxReplacement" Value="XMLMyUnchecked"/>
<Setparam Field="XMLHalfCheckedBoxReplacement" Value="XMLMyHalfchecked"/>
<Setparam Field="XMLClickableBoxReplacement" Value="XMLMyEnabled"/>
<Setparam Field="XMLReadOnlyBoxReplacement" Value="XMLMyDisabled"/>
</ExportAndCopyPreferences>

RichText

Field NameCompatible Field ValuesValue DescriptionComment
RTFUnavailableValueReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
RTFCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
RTFUnCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
RTFHalfCheckedBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
RTFClickableBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted
RTFReadOnlyBoxReplacementUser definable textText to be inserted into the cell as a replacement for the type of grid cell indicatedNot mandatory – current settings will be used if omitted

Example Script

<ExportAndCopyPreferences>
<Setparam Field="RTFUnavailableValueReplacement" Value="RTFMyUnavailable"/>
<Setparam Field="RTFCheckedBoxReplacement" Value="RTFMyCheck"/>
<Setparam Field="RTFUnCheckedBoxReplacement" Value="RTFMyUnchecked"/>
<Setparam Field="RTFHalfCheckedBoxReplacement" Value="RTFMyHalfchecked"/>
<Setparam Field="RTFClickableBoxReplacement" Value="RTFMyEnabled"/>
<Setparam Field="RTFReadOnlyBoxReplacement" Value="RTFMyDisabled"/>
</ExportAndCopyPreferences>