Hi Matthew,
Matthew L. Avizinis wrote:
Hello all,
Is there a way to access the content.xml and settings.xml files for
each formula in its 'Object X' folder via XSLT/XPATH in an export
filter? If I am not mistaken, it looks to me like the active document
uses only binary information even though settings and content files are
still written to when a formula is edited. If not directly accessible,
is it possible to pass a parameter from a macro to an xslt param?
The issue is that I have translated my own xml format which contains
mathML to OpenOffice Writer format and when I export back to my own xml
format I need to retrieve the formula base font size from the object
x/settings.xml file.
Any suggestions?
It should work with XSLT.
When a XSLT filter is used in the Office, the filter receives a single
stream from the application. This stream is compound from the files
being zipped as office document.
You can receive this stream to read as XML file by using a copy/identity
XSL transformation, we use to call this filter 'flat XML filter'. You
will find further information about it in the archives of this mailing list.
I did a little example myself and at least the formula is found in this
stream, didn't go further to search for your font, but if you have
problems with it, please as again.
Regards,
Svante
Peace to you,
Matthew L. Avizinis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]