Issue 32363 - XStandaloneDocumentInfo buggy with OO.o 1.0 format
Summary: XStandaloneDocumentInfo buggy with OO.o 1.0 format
Status: CLOSED WONT_FIX
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial
Target Milestone: ---
Assignee: b.osi.ooo
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-30 15:19 UTC by tom
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tom 2004-07-30 15:19:03 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.
Comment 1 michael.brauer 2004-08-02 13:47:43 UTC
Solved in CWS oasis2
Comment 2 michael.brauer 2004-08-05 12:24:05 UTC
.
Comment 3 michael.brauer 2004-08-05 12:24:36 UTC
jsi, please verify.
Comment 4 jogi 2004-08-12 11:27:35 UTC
fixed (tested under Solaris)
Comment 5 jogi 2004-08-12 11:27:52 UTC
verified.
Comment 6 jogi 2004-08-12 11:31:05 UTC
- tested with an .ott and .stw document
- will be included in an automated test.
Comment 7 jogi 2004-11-19 09:25:33 UTC
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.

Comment 8 joerg.skottke 2005-01-24 09:56:42 UTC
reop
Comment 9 joerg.skottke 2005-01-24 09:57:16 UTC
This is now a task for me.
Comment 10 hans_werner67 2011-03-28 11:51:00 UTC
Assign to new default-assignee
Comment 11 b.osi.ooo 2011-03-31 11:05:49 UTC
developer is gone, closing 7 years old todo