Hi,
Robert Vojta wrote:
On Mon, Sep 8, 2008 at 2:07 PM, Oliver Specht <[EMAIL PROTECTED]> wrote:
Hi,
this isn't mentioned on TextTable's IDL reference page. To quote this page ...
"As this is only a describing property the value of the actual table may vary
depending on the environment the table is located in and the settings of
LeftMargin, RightMargin and HoriOrient."
... and there's nothing about that the Width property is not set when
a table uses full space.
Well, "the value of the actual table may vary" means exactly that.
Just to be sure, the correct logic to calculate table width is ...
- if orientation is set to NONE and Left/Right margin is = 0 (table
uses full space), table width is page width - left page margin - right
page margin
- if previous condition is false, we can use Width property?
The Width property is disregarded with automatic and manual alignment.
In all other cases the table width is the same as the Width property.
... or to be 100 % sure, should I calculate table width by hand from
page width, left page margin, right page margin, left table margin,
right table margin and horizontal table orientation? If yes, what's
the reason to have Width property if I can't use it sometimes?
A table could be in a text frame or in a table cell. There could also be
columns on the page ...
As you can see if you change the environment of the table by decreasing
the page width for instance in some cases the actual table width is
greater than the available space.
Regards,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]