Ptyl ,

as told before, you find all position information in the viewcursor object
Hi
I looked into fdo#40465, but could not find any code snippets or something similar i could integrate in my code. Moreover, using XRays, i saw that getViewData returns the location and size of the window, with respect to the desktop, and not the relative location of the viewer, with respect to the document. The view data remains as is, no matter which portion of the document i view. Moreover, the ZoomFactor shows incorrect values, a fact which may be related with fro#40465.

Still, it is a fact, LibreOffice knows which portions of the document to show.
So what component holds this data, and is it reachable via UNO?
If it is not reachable through UNO, what is the "closest component" which is reachable through UNO, so that we could extend its UNO support, so to provide us this data?


On Mon, Jul 22, 2013 at 2:33 PM, Winfried Donkers <w.donk...@dci-electronics.nl <mailto:w.donk...@dci-electronics.nl>> wrote:

    Hi Ptyl,

    Bug fdo#40465 may give you (some) information you seek. There
    appears to be a problem in correctly calculating/getting the page
    in the viewer.

    HTH,

    Winfried




--

appicon.png

                

*Ptyl Dragon*

Twitter <http://www.twitter.com/cloudoninc>|LinkedIn <http://www.linkedin.com/company/cloudon> |Facebook <http://www.facebook.com/cloudoninc>|Blog <http://site.cloudon.com/blog>

        




_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to