Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Custom properties of DocumentInfo are not accessible by BASIC code | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | General | Reporter: | mchris <mchris> | ||||||
Component: | scripting | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | ACCEPTED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | czeslaw.wolanski, issues | ||||||
Version: | OOo 3.0 RC1 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
mchris
2008-09-12 09:42:22 UTC
Created attachment 56467 [details]
A demo text file for this issue. Search the BASIC code.
I made some tests and I found out that it is more complicated. hasPropertyByName method always returns true. I don't know if assignment works because accessing a custom property always returns a null string but in XRayTool the value is visible. Please ab, can you investigate what the real problem is and change the description? thank you. Needs to be evaluated Forgot to set to STARTED, OOo 3.x Please search the possibility that DocumentInfo service is depreciated in OOo 3.0 SDK. I don't have access to this SDK yet. Reset assigne to the default "issues@openoffice.apache.org". Checking the issue with three versions: - in 2.4.3 the program works as expected by the reporter - in 3.0.0 it returns a null string indeed - interestingly, in 4.1.12 it returns "MyValue". The 3.0 SDK documentation states that the DocumentInfo service is deprecated and recommends using the DocumentProperties service instead. The online IDL reference provides the same information (cf. the attached file). Fixing the code in line with the new specs gives the desired effect. Thus I see no real defect in this issue. Created attachment 87140 [details]
info: SDK 3.0 and online reference
|