|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rtf.usecases.AbstractRTFUseCase
public abstract class AbstractRTFUseCase
| Constructor Summary | |
|---|---|
AbstractRTFUseCase(java.lang.String outDirectory)
|
|
| Method Summary | |
|---|---|
protected int |
getGroupByPerPageBreak()
|
protected RTFTemplate |
getRtfTemplate()
|
java.lang.String |
getRtfTemplateImpl()
|
java.lang.String |
getXMLFields()
Return String XML Mergefields used in your context and Bookmarks (for start and end loop) |
protected abstract void |
putContext(IContext context)
This method must be implement by class wich manage your RTF model. |
protected void |
putDefaultFormat(RTFTemplate template)
|
protected void |
putGlobalContext(IContext context)
|
void |
run(java.lang.String rtfSource)
Run RTFTemplate for merging rtfSource with the context putted with the method putContext which be must implement. |
void |
saveTransformedDocument(boolean saveTransformedDocument)
set true if RTF with (velocity, freemarker,... macro) file must be generated and false otherwise. |
void |
saveXmlFields(java.lang.String filename,
boolean force)
Save XML fields available into file. |
protected void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
protected void |
setGroupByPerPageBreak(int groupByPerPageBreak)
This value allow to group by content when there is PageBreak in order to group by content. |
void |
setRtfTemplateImpl(java.lang.String rtfTemplateImpl)
|
void |
setTransformerConfigFile(java.io.File transformerConfigFile)
|
void |
setTransformerConfigFile(java.lang.String transformerConfig)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRTFUseCase(java.lang.String outDirectory)
| Method Detail |
|---|
public final void run(java.lang.String rtfSource)
throws java.lang.Exception
rtfSource - RTF source model.
java.lang.Exceptionpublic java.lang.String getXMLFields()
protected void putDefaultFormat(RTFTemplate template)
protected void putGlobalContext(IContext context)
public void saveXmlFields(java.lang.String filename,
boolean force)
throws java.lang.Exception
filename -
java.lang.Exceptionprotected abstract void putContext(IContext context)
context - IContextpublic void setTransformerConfigFile(java.lang.String transformerConfig)
public void setTransformerConfigFile(java.io.File transformerConfigFile)
public void saveTransformedDocument(boolean saveTransformedDocument)
saveTransformedDocument - public java.lang.String getRtfTemplateImpl()
public void setRtfTemplateImpl(java.lang.String rtfTemplateImpl)
protected int getGroupByPerPageBreak()
protected void setGroupByPerPageBreak(int groupByPerPageBreak)
groupByPerPageBreak - protected RTFTemplate getRtfTemplate()
protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||