
Use the ConvertHTML() method of the Converter class. Please make sure to branch new branches off of develop for contribution. Convert HTML to DOCX Load an HTML file using the HTMLDocument class. For major changes, please open an issue first to discuss what you would like to change. Defaults to if footer flag is true.Ĭurrently page break can be implemented by having div with classname "page-break" or style "page-break-after" despite the values of the "page-break-after", and contents inside the div element will be ignored.
complexScriptFontSize size of complex script font in HIP(Half of point).fontSize size of font in HIP(Half of point).modifiedAt time of last modification of the document.createdAt time of creation of the document.lastModifiedBy last modifier of the document.description description of the document.keywords > keywords associated with the document.Supports equivalent measurement in pixel, cm or inch. This setting is typically used when a document is being created for binding in TWIP. gutter amount of extra space added to the specified margin, above any existing margin values.footer distance from the bottom edge of the page to the bottom edge of the footer in TWIP.header distance from the top edge of the page to the top edge of the header in TWIP.

left distance between the left edge of the page and the left edge of the text extents for this document in TWIP.bottom distance between the bottom of text margins for the document and the bottom of the page in TWIP.right distance between the right edge of the page and the right edge of the text extents for this document in TWIP.top distance between the top of the text margins for the main document and the top of the page for all pages in this section in TWIP.orientation defines the general orientation of the document.headerHTMLString clean html string equivalent of header.htmlString clean html string equivalent of document content.Await HTMLtoDOCX ( htmlString, headerHTMLString, documentOptions, footerHTMLString )įull fledged examples can be found under example/ Parameters
