R
rVo
Hi all,
Is there a possibility to find out if the content of a page extends beyond
the right margin?
I'm asking this because I'm inserting content from some documents into one
large document. I have no control over the content of the source documents.
Somethimes parts of these documents set in Landscape mode, I wrote a routine
to detect this, but for some odd reason it seems to fail every now and then.
I thought it would be good to check in the result document if there are any
landscape pages that are set to portrait with content that requires
landscape.
Typically this problem occurs with tables, so I should be able to find out
if the right border of a table is positioned to far to the right, but I
couldn't find any property like that for a table. I could add the width of
all cells on a row, but this doesn't seem to work if you have joined cells
in your tables and - as mentioned before - I have no real control over the
input, so joined cells are possible (and have occured allready).
Is it possible to find out that one is positioned in the last cell of a row?
Maybe it is possible to select the cell's content and ask for the
right-value of the selection then?
Any other solution would be more than welcome.
Kind regards,
rVo
Is there a possibility to find out if the content of a page extends beyond
the right margin?
I'm asking this because I'm inserting content from some documents into one
large document. I have no control over the content of the source documents.
Somethimes parts of these documents set in Landscape mode, I wrote a routine
to detect this, but for some odd reason it seems to fail every now and then.
I thought it would be good to check in the result document if there are any
landscape pages that are set to portrait with content that requires
landscape.
Typically this problem occurs with tables, so I should be able to find out
if the right border of a table is positioned to far to the right, but I
couldn't find any property like that for a table. I could add the width of
all cells on a row, but this doesn't seem to work if you have joined cells
in your tables and - as mentioned before - I have no real control over the
input, so joined cells are possible (and have occured allready).
Is it possible to find out that one is positioned in the last cell of a row?
Maybe it is possible to select the cell's content and ask for the
right-value of the selection then?
Any other solution would be more than welcome.
Kind regards,
rVo