info/CWSImpress67(OOo2.0) : document generator build id available during xml import

[email protected] Wed, 21 Sep 2005 13:05:27 +0200 (CEST)
Newsgroups gmane.comp.openoffice.announce.interface
Message-ID <14453791.1127300727030.JavaMail.root@sd-web1>
Type
info

Title
document generator build id available during xml import

Posted by
[email protected]

Affected
[email protected],sc,sch,sd,sw,xmloff

Effective from
CWSImpress67(OOo2.0)

Summary

added

bool getBuildIds( sal_Int32& rMaster, sal_Int32& rMinor ) const;

to class

SvXMLImport

Description

If the import property set contains the string property "BuildId" you
can use the new method getBuildIds() to get the major and minor
version of the office that generated the source xml document.

The method getBuildIds() returns true if the property is available and
after the meta.xml was importet. For a src680m125 f.e. you get rMaster
== 680 and rMinor == 125.

I have added the properties for Sc, Sd, Sw and Sch. This currently
does not work for embedded objects as they have no meta.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]