Community

Adjust table column widths

Hi,

I am using Abbyy FlexiLayout Studio 12 to create a template of a purchase order. I am using a table to retrieve the purchase order details e.g the item description, quantity, unit price etc. Is there any way that I can define the column width for the table? Thanks.

1

Comments

5 comments

  • Avatar
    Wladi Mourão

    Try to define a region around the column's header text, but with the width that you need then use this region as a column element

    1
    Comment actions Permalink
  • Avatar
    Mikhail Pushin

    Thanks Wladi!

    I had the same issue and adding a region helped to increase the size of the column.

    1
    Comment actions Permalink
  • Avatar
    AkisM

    Can someone further explain how to do this step by step? I created a block table and a table element on a bank statement, and while the first page is recognized just fine, the column widths change in the 2nd page for some reason, even though the structure of the data is the same. How can I "hardcode" column width so that it persists through the rest of the pages as well?

    0
    Comment actions Permalink
  • Avatar
    Ekaterina

    Hello,

    Create the Region element with required width. For example, you may set the width by the GetInflated function:

    RSA: Serial.Rect.GetInflated(100dt, 1dt); (where "Serial" is a column name)

    Then use the following settings:

    1
    Comment actions Permalink
  • Avatar

    Hello,

    thanks for the answers to Wladi Mourão and Ekaterina.

    What would help in case we are working with predefined document definition for capturing invoices? I guess there should be some other solution to that as we cannot access layout directly.

    Best regards,

    Aliaksandr.

    1
    Comment actions Permalink

Please sign in to leave a comment.