FxParise wrote: > Hello, > I'd like to know if it's possible to have for next version a method > which would allow us to know the page where a graphic object instance > (like TextTables or TextFrames) is located by directly calling that > graphic object instance instead of having to query ViewCursor. That is impossible. The document model itself does not know anything about pages. Pages are created in the layout process and the layout is assigned to a view. Thus you will need a View element (e.g. a ViewCursor) to get that information. So you have to select your TextContent and ask the ViewCursor. I don't think that this is a problem, annoying is that you have to make the cursor invisible to avoid flickering and you have to restore the selection later.
Perhaps what we could think about is that we offer some API support to create a "private" ViewCursor from a core object and a View? Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
