fr.opensagres.xdocreport.document.textstyling
Interface ITextStylingTransformer

All Known Implementing Classes:
AbstractTextStylingTransformer, AbstractWikiTextStylingTransformer, GWikiTextStylingTransformer, HTMLTextStylingTransformer, MediaWikiTextStylingTransformer

public interface ITextStylingTransformer

Text styling transformer is used to transform some syntax (HTML, Mediawiki, etc) to another syntax (docx, odt, etc).


Method Summary
 ITransformResult transform(String content, IDocumentHandler documentHandler)
          Transform the given content (with some syntax like HTML, MediaWiki, etc) to another syntax (docx, odt, etc).
 

Method Detail

transform

ITransformResult transform(String content,
                           IDocumentHandler documentHandler)
                           throws 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:
XDocReportException


Copyright © 2013. All rights reserved.