public abstract class AbstractTextStylingTransformer extends java.lang.Object implements ITextStylingTransformer
| Constructor and Description |
|---|
AbstractTextStylingTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doTransform(java.lang.String content,
IDocumentHandler documentHandler)
Transform the given content (with some syntax like HTML, Mediawiki, etc) to another syntax (docx, odt, etc).
|
ITransformResult |
transform(java.lang.String content,
IDocumentHandler handler)
Transform the given content (with some syntax like HTML, MediaWiki, etc) to another syntax (docx, odt, etc).
|
public ITransformResult transform(java.lang.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(java.lang.String content,
IDocumentHandler documentHandler)
throws java.lang.Exception
content - the content to transform.documentHandler - the document handler used for the transformation.java.lang.ExceptionCopyright © 2024. All Rights Reserved.