Issue 23298 - API: sw.SwXDrawPage::GenericDrawPage
Summary: API: sw.SwXDrawPage::GenericDrawPage
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 11:13 UTC by stephan.wunderlich
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description stephan.wunderlich 2003-12-08 11:13:51 UTC
The component doesn't support XPropertySet and so non of the properties of
GenericDrawPage are accessible.

Just execute the following macro, where ThisComponent is a textdocument, to
reproduce the behaviour

	DrawPage = ThisComponent.getDrawPage()
	msgbox DrawPage.dbg_supportedInterfaces
Comment 1 thomas.lange 2003-12-08 12:22:53 UTC
In drawing/GenericDrawPage.idl there is exactly one non-optional property
"Number" but the only access to properties in that service is the interface
"XPropertySet".
However that interface is declared as optional!
According to MI the fix should be to declare the single non-optional property as
optional also. 

TL->JSC: To you since this will be an incompatible change.
Comment 2 jsc 2003-12-15 14:30:17 UTC
JSC: accepted
Comment 3 jsc 2004-02-12 08:52:44 UTC
JSC: fixed, Number property is now optional
Comment 4 jsc 2004-02-12 08:54:03 UTC
JSC : back to QA
Comment 5 stephan.wunderlich 2004-03-10 13:05:13 UTC
SW: ok in cws_tl01
Comment 6 stephan.wunderlich 2004-03-10 13:06:23 UTC
SW: idl-file has been adjusted in tl01 => verified
Comment 7 stephan.wunderlich 2004-05-03 16:49:09 UTC
SW: ok in src680_m37 => closed