Issue 1439 - XStorable interface
Summary: XStorable interface
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 2000
: P3 Trivial
Target Milestone: ---
Assignee: ooo
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-07 23:35 UTC by Unknown
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-08-07 23:35:19 UTC
From a java program how to use XStorable to save my document into a winword 
file format ? Everything is ok when I save my document in StarWriter format but 
I didn't find the correct paramaters for the winword format.
My current code is :

    XStorable aStore= (XStorable) UnoRuntime.queryInterface(XStorable.class, 
myDoc);
    XPropertySet storeParam = (XPropertySet)UnoRuntime.queryInterface( 
XPropertySet.class, aStore );
    storeParam.setPropertyValue("FilterName", "swriter: MS Word 97");
    aStore.storeAsURL(myFileName, new PropertyValue [0]);

Can you correct this code or give an url that describe that ?
Comment 1 ooo 2001-08-08 15:54:18 UTC
This is not a support system, only a change management system, mostly
for bugs and other change requests.  Nobody but a few people will see
solutions here, thus this method des not scale.

USE your storeParam as the second argument in storeAsURL()!
Comment 2 ooo 2001-08-08 15:56:14 UTC
Not a bug. Not a change request.