メインコンテンツへスキップ
ShortFooter 要素を作成するには:
  1. InvoiceFooter 要素内に、型が Static Text のオプション要素を作成し、名前を ShortFooter にします。
  2. Static Text タブをクリックします。
  3. Search text field に、検索するテキスト Total を入力します。
  4. Search Constraints タブをクリックし、ShortFooter 要素の検索範囲から、すでに検出されている ExtraTag 要素を除外します。これにより、プログラムがテーブル名の中の “Total” という単語を見つけるのを防げます。
    • Exclude regions of elements field の横にある Add… ボタンをクリックします。
    • 要素のリストから ExtraTag を選択します。
    • OK をクリックします。すると、Exclude regions of elements field に SearchElements.InvoiceFooter.ExtraTag string が表示されます。
  5. 検索テキストは常に Description 列名の下にあるため、Relations タブをクリックし、次のリレーションを指定します。
    • AddTag 要素の下、Offset = 100;
  6. 前の手順で、LongFooter が検出されなかった場合にのみ ShortFooter 要素を検索することにしました。この条件を実装するには、Advanced pre-search relations で次のように指定します。Do not search for the element if LongFooter has not been detectedFlexiLayout language では、この条件は次のように記述できます:
If not LongFooter.IsNull then Dontfind();