https://bugs.documentfoundation.org/show_bug.cgi?id=95064
Bug ID: 95064
Summary: [Helpauthoring] Want a preview of the currently edit
document
Product: LibreOffice
Version: 5.1.0.0.alpha0+ Master
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Created attachment 119615
--> https://bugs.documentfoundation.org/attachment.cgi?id=119615&action=edit
preview of .xhp files, but macro is not ready for general use
When editing a help file it is now only possible to see it as in the local
help, when you compile the help. It would be good to have a tool, that makes a
preview of the document, which you are currently editing.
I have made some experiments and put them into the attached macro.
If the actual help document is put into a jar container, and this jar file is
in the installed help folder, then you can get a view of that file in the help
viewer or in Writer/Web in a way, that embeds and pictures are resolved.
But it seems, that LibreOffice looks only once into this container and then
locks it. I can update the file, but not the updated version was shown but the
starting one. And I cannot insert a different file into the container and
cannot delete the container while LibreOffice is running. If someone knows, how
to unlock that file and make the local help aware of changes, please tell me.
You need not install the helpauthoring extension to test the macro. Copy the
macro into a module, load an .xhp document as encoded text in Writer or in
Writer/Web, and run the macro "PreviewCurrentDocument" while the .xhp document
is the actual window. The macro creates a file temp.jar in the help folder
"en-US". You can delete it after you have closed LibreOffice.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs