Apache OpenOffice (AOO) Bugzilla – Issue 32363
XStandaloneDocumentInfo buggy with OO.o 1.0 format
Last modified: 2013-02-24 21:06:40 UTC
The following code used to work with versions < SRC680:m48: myDocInfo = createUNOService("com.sun.star.document.StandaloneDocumentInfo") myDocInfo.loadFromURL("file:///tausch/tv/bus-elegant.stw") msgbox (myDocInfo.getPropertyValue("Title")) Apparently the document properties can be read when using old binary formats or the new oasis format. It does NOT work with the OO.o 1.0 format. Prio 2 because it is important for Wizard development.
Solved in CWS oasis2
.
jsi, please verify.
fixed (tested under Solaris)
verified.
- tested with an .ott and .stw document - will be included in an automated test.
Testplan (BASIC): - Create and save a document which have a known title (File -> Properties -> Title) at a known place - Create a second document and create an onLoad event which includes the BASIC code: myDocInfo = createUNOService("com.sun.star.document.StandaloneDocumentInfo") myDocInfo.loadFromURL("file:///known_place/known_first_document.new_OASIS_extension_for_Text_Template_Docs") msgbox (myDocInfo.getPropertyValue("Title")) - Get the upcoming message box and verify that the content is the excpected one.
reop
This is now a task for me.
Assign to new default-assignee
developer is gone, closing 7 years old todo