Aspose Words version info from manifest.mf file:
Manifest-Version: 1.0 Specification-Title: Aspose.Words for Java Implementation-Title: Aspose.Words for Java Specification-Version: 2.6.1 Implementation-Version: 2.6.1 Specification-Vendor: Aspose Pty Ltd Implementation-Vendor: Aspose Pty Ltd Copyright: Copyright 2003-2008 Aspose Pty Ltd
Given a document that has a page header in ‘normal’ style – see the attached “normal header.do” file – and saving it as HTML produces this snippet:
<p class="Header"><span style="color:#000000;">HEADER</span></p>
Now if you apply some style on the header text, let’s just stay Title from the Style bar, the HTML output is changed to:
Notice the “class” attribute on
has changed from Header to Title.
Is this the desired behavior? If so, what would be a way to tell a header
elements in the document.
We have an XSLT process that expects header
s to have a class attribute with value set to “Header”. That, of course, fails with this change of style.
If this indeed is the desired behavior, we’ll suggest to introduce new attribute, or add another class to the class attribute to distinguish
s that are either header or footer. Just like: