Hi Max,

Maximilian Odendahl wrote:
Hi,

I would like to get the right border of the current page, which I am currently getting with mpWrtShell->GetAnyCurRect(RECT_FRM).Right()

If you use RECT_PAGE instead of RECT_FRM, you will get the rectangle of the current page.

I am actually looking for the borders inside the page, so the body form and not the page itself. If the cursor is inside a table or frame, I get this border instead of the body form border.
What about RECT_PAGE_PRT? This should deliver the "inner" rectangle of the page.
Regards
   Andreas

--
Andreas Martens (ama) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to