Hello!
Thank you for your inquiry.
Headings in HTML (H1…H6) are sort of paragraphs. Aspose.Words outputs paragraphs having styles Heading 1 … Heading 6 as H1…H6 and all other paragraphs as P tags. Paragraph formatting (indents, alignment etc.) is output on paragraph nodes and font formatting (size, weight, color etc.) on SPAN nodes. That’s how Aspose.Words currently exports HTML. What do you mean under default text styles? Can you bring a sample what output you’d like to have and explain why?
Regards,
Let me explain what I meant by default text styles.
I have a document and all over the document the font is say Arial and only in few places I have used verdana font.
And this document when converted to html , it will be good if you place Arial as font for the body and span with verdanafont near the applicable text segments.
Now aspose places span with Arial for every text segment in the document which leads to all sorts of trouble in WYSIWYG editing.
Hope this is clear.
Is their an API to get the default font the document?.
Hello!
Would you please provide a document showing up this issue?
Please clarify what you mean under default document font. Most probably you should access font properties of Normal style to achieve this.
Regards,