Hi,

I'm looking for a way to calculate the body area of a writer document [*].

At first I thought this could be easily obtained from the PageStyle
properties:

Height
BottomMargin
FooterIsOn, and if its on: FooterBodyDistance and FooterHeight

But I came across a few issues:

1) FooterHeight is always 0

2) There seems to be no property for the actual footnote height

3) I did not yet investigate into all those borders and border distances
but I guess I have to?

4) what else?


[*]: More specifically I would like to get the distance between the
cursor position to the bottom-margin, so I could insert a
BaseFrame-object (i.e. an embedded spreadsheet) which would take up the
whole available space from the cursor position to the end of the same
page.  I would appreciate any other suggestions in that direction.


Thank you.

Reply via email to