public abstract class AbstractTextStylingTransformer extends Object implements ITextStylingTransformer
| Constructor and Description |
|---|
AbstractTextStylingTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doTransform(String content,
IDocumentHandler documentHandler)
Transform the given content (with some syntax like HTML, Mediawiki, etc) to another syntax (docx, odt, etc).
|
ITransformResult |
transform(String content,
IDocumentHandler handler)
Transform the given content (with some syntax like HTML, MediaWiki, etc) to another syntax (docx, odt, etc).
|
public ITransformResult transform(String content, IDocumentHandler handler) throws XDocReportException
ITextStylingTransformertransform in interface ITextStylingTransformercontent - the content to transform.handler - the document visitor used for the transformation.XDocReportExceptionprotected abstract void doTransform(String content, IDocumentHandler documentHandler) throws Exception
content - the content to transform.documentHandler - the document handler used for the transformation.ExceptionCopyright © 2015. All Rights Reserved.