[dev] Refreshing a writer document - XRefreshable says no.
I'm looking for a workaround for the bug filed for OOo opens files as Page 1/2 before correcting itself to Page 1/1 http://www.openoffice.org/issues/show_bug.cgi?id=99346 In the issue comments, cloph suggests refreshing the document. So, I found the interface XRefreshable. This would be promising if it were for the description: is supported by objects with data that can be refreshed from a data source. http://api.openoffice.org/docs/common/ref/com/sun/star/util/XRefreshable.html Is there a was to refresh a Writer document once it's been open? I want to make sure that the extra is corrected (ie, eliminated) before I export the document to a PDF.
Re: [dev] Refreshing a writer document - XRefreshable says no.
Hello Grover, On Thursday 29 October 2009, 15:39, Grover Blue wrote: I'm looking for a workaround for the bug filed for OOo opens files as Page 1/2 before correcting itself to Page 1/1 http://www.openoffice.org/issues/show_bug.cgi?id=99346 In the issue comments, cloph suggests refreshing the document. So, I found the interface XRefreshable. This would be promising if it were for the description: is supported by objects with data that can be refreshed from a data source. http://api.openoffice.org/docs/common/ref/com/sun/star/util/XRefreshable.ht ml Is there a was to refresh a Writer document once it's been open? I want to make sure that the extra is corrected (ie, eliminated) before I export the document to a PDF. you may find some info. in this thread http://api.openoffice.org/servlets/BrowseList?list=devby=threadfrom=2294588 Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Refreshing a writer document - XRefreshable says no.
The easiest is to dispatch a .uno:Repaginate before, or even an .uno:UpdateAll. I don't know what those are. I should mention that I'm processing in Java. On Thu, Oct 29, 2009 at 2:57 PM, Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com wrote: Hello Grover, On Thursday 29 October 2009, 15:39, Grover Blue wrote: I'm looking for a workaround for the bug filed for OOo opens files as Page 1/2 before correcting itself to Page 1/1 http://www.openoffice.org/issues/show_bug.cgi?id=99346 In the issue comments, cloph suggests refreshing the document. So, I found the interface XRefreshable. This would be promising if it were for the description: is supported by objects with data that can be refreshed from a data source. http://api.openoffice.org/docs/common/ref/com/sun/star/util/XRefreshable.ht ml Is there a was to refresh a Writer document once it's been open? I want to make sure that the extra is corrected (ie, eliminated) before I export the document to a PDF. you may find some info. in this thread http://api.openoffice.org/servlets/BrowseList?list=devby=threadfrom=2294588 Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- “If the American people ever allow private banks to control the issue of their currency, first by inflation, then by deflation, the banks...will deprive the people of all property until their children wake-up homeless on the continent their fathers conquered... The issuing power should be taken from the banks and restored to the people, to whom it properly belongs. -- Thomas Jefferson Government big enough to supply everything...is big enough to take everything you have. The course of history shows that as a government grows, liberty decreases --- Thomas Jefferson www.CampaignForLiberty.org
Re: [dev] Refreshing a writer document - XRefreshable says no.
Hello Grover, On Thursday 29 October 2009, 16:05, Grover Blue wrote: The easiest is to dispatch a .uno:Repaginate before, or even an .uno:UpdateAll. I don't know what those are. I should mention that I'm processing in Java. those are commands, that you can dispatch. You can research at http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Using_the_Dispatch_Framework You may have to implement a css.task.Job, that onDocumentOpened dispatches the command for every document. Dispatching is easier with the DispatchHelper http://api.openoffice.org/docs/common/ref/com/sun/star/frame/DispatchHelper.html Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org