HTML Import : Cheat sheet?

Hi, is there somewhere a reference sheet for all the custom -aw- styles?
For example : -aw-headerfooter-type:header-primary

We’re planning on using Aspose.Words for a projet but we can’t figure out how to import both the
First page/Last page header/footer and the other page’s header/footer from Html to Docx

Hi Jean,
You can find a list of supported feature on HTML import at https://docs.aspose.com/words/net/load-in-the-html-html-xhtml-mhtml-format/
Please share your input HTML with details if you see any issue or require a new feature.
Best Regards,

Except that part of the documentation is seriously lacking :’(

We noticed a bunch of style properties used by Aspose to ease the round-trips HTML<==> Word.

  • -aw-headerfooter-type
  • -aw-rel-hpos
  • -aw-rel-vpos
  • -aw-top-pos
  • -aw-wrap-type
  • -aw-bookmark-end

etc…

Is there anyway to have a documentation about those styles ? What properties can we set ? On which elements ? What do they do ?

If there is such a documentation already can you link it ?

Hi Jean,

Thanks for your inquiry. Please find below list of custom styles that Aspose.Words uses to save extra information in output HTML and usually this information is used for Aspose.Words-HTML-Aspose.Words roundtrip. We will add description of these entities in documentation shortly.

  • -aw-comment-author
  • -aw-comment-datetime
  • -aw-comment-initial
  • -aw-comment-start
  • -aw-comment-end
  • -aw-footnote-type
  • -aw-footnote-numberstyle
  • -aw-footnote-startnumber
  • -aw-footnote-isauto
  • -aw-headerfooter-type
  • -aw-bookmark-start
  • -aw-bookmark-end
  • -aw-different-first-page
  • -aw-tabstop-align
  • -aw-tabstop-pos
  • -aw-tabstop-leader
  • -aw-field-code
  • -aw-wrap-type
  • -aw-left-pos
  • -aw-top-pos
  • -aw-rel-hpos
  • -aw-rel-vpos
  • -aw-revision-author
  • -aw-revision-datetime

Best regards,