Hi there,
On Mon, 2010-11-22 at 10:50 +0530, surenspost@gmail.com wrote:
Here are the few alternatives I can think of :
1) register an event Listener to listen to any change of that
temporary file. And update the graphic in the call-back function of
that event listener. Remove the event listener after graphic update is
done ( Not sure if file based even listeners are available)
That's quite a nice approach; so the document should live update as you
save in the new editor. Unfortunately I don't believe that we have a
good system abstraction for this currently - so, we would probably want
a thread / idle handler that sits there polling the file every second
(on the second to save power).
To be honest, I didn't anticipate these many issues when I chose to
work on it, but I am getting to learn a lot about Libreoffice code
base this way. This really is a good beginner bug :)
And you're a good beginner - persisting with it :-) Thanks !
Great stuff,
Michael.
--
michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.