Svante Schubert wrote:

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.
Apparently, the formula object settings.xml file is not part of that stream.
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.
Yes, that's what I'm using,  along with the saxecho utility.

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]

Thank you for your reply.
That's what I was thinking as well. However, when I use the 'flat' file filter as you mentioned or the saxecho utility, what I see is
<draw:frame>
  <draw:object>
     <math:math>
          <math:semantics>
               my math formula elements
<math:annotation>containing the StarMath equivalent</math:annotation>
          </math:semantics>
      </math:math>
  </draw:object>
  <draw:image>
     <office:binary-data>the data</office:binary-data>
  </draw:image>
</draw:frame>


the draw:frame does have a style-name which references the corresponding Formula style, but this style only contains position information for the frame. All of the pertinent formula information contained in it's settings.xml file (the settings you have available when you use the Format menu after you've opened the formula for editing) is not present in the 'flat' representation. It is obviously saved since a simple check can be made by unzipping and looking at the file, but it is clearly not visible in the flat version and seems like no xslt can access it.
Any further ideas?

Matthew

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to