Issue 87695

Summary: API: DrawDoc.createInstance(com.sun.star.style.Style)
Product: App Dev Reporter: chne
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description chne 2008-04-01 13:58:38 UTC
The UnoAPI-Test for xmloff.Draw.XMLStylesExporter tries to instantiate a 
com.sun.star.style.Style which failes:
com.sun.star.lang.ServiceNotRegisteredException

To reproduce this behavior just start your office with parameter

"-accept=socket,host=0,port=8100;urp;" 

and call inside a solar shell:

checkapi -o xmloff.Draw.XMLStylesExporter
Comment 1 clippka 2008-06-02 16:04:35 UTC
retarget
Comment 2 swingkyd 2009-01-09 16:07:38 UTC
The problem fails in any call to "createInstance( "com.sun.star.style.Style" )"
on a Draw Document factory in StarBasic. 
The end result is there is no way to programmatically handle styles in OO.org
3.0. I don't know when this problem creeped in because back in the 1.4 days,
Danny created code that used it with success. 
This I would imagine would be a priority.
Comment 3 Marcus 2017-05-20 11:27:53 UTC
Reset assigne to the default "issues@openoffice.apache.org".