Interface ITextStylingTransformer

All Known Implementing Classes:
AbstractTextStylingTransformer, HTMLTextStylingTransformer

public interface ITextStylingTransformer
Text styling transformer is used to transform some syntax (HTML, Mediawiki, etc) to another syntax (docx, odt, etc).
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(String content, IDocumentHandler documentHandler)
    Transform the given content (with some syntax like HTML, MediaWiki, etc) to another syntax (docx, odt, etc).
  • Method Details

    • transform

      ITransformResult transform(String content, IDocumentHandler documentHandler) throws fr.opensagres.xdocreport.core.XDocReportException
      Transform the given content (with some syntax like HTML, MediaWiki, etc) to another syntax (docx, odt, etc). The given visitor can be used to process the transformation.
      Parameters:
      content - the content to transform.
      documentHandler - the document visitor used for the transformation.
      Returns:
      the result of text styling transform.
      Throws:
      fr.opensagres.xdocreport.core.XDocReportException