|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.writersforge.catalan.templates.RenderTemplate
|
+--org.writersforge.catalan.templates.DTDTemplate
Template for creating a DTD text file from a data-model XML description.
| Constructor Summary | |
DTDTemplate()
Creates a new instance of DTDTemplate |
|
| Method Summary | |
protected LayoutArea[] |
buildFlowLayout(Section section,
java.lang.String regionName,
Book book)
Renders a single flow region in the current section, using the data in the Book as an input source. |
protected LayoutArea[] |
buildStaticLayout(Section section,
java.lang.String regionName,
Book book)
Renders a single static region in the current section, using the data in the Book as an input source. |
int |
getDefaultPageHeight()
Retrieves the default Page height for this template. |
int |
getDefaultPageWidth()
Retrieves the default Page width for this template. |
protected Section[] |
getSections()
Returns an array of all Section objects associated with this template. |
| Methods inherited from class org.writersforge.catalan.templates.RenderTemplate |
createNewPage, getCurrentPage, getLayout, listToDatumArray, listToLayoutAreaArray, process, renderSection, setCurrentPage, setLayout, sortAreas |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DTDTemplate()
| Method Detail |
public int getDefaultPageWidth()
getDefaultPageWidth in class RenderTemplatepublic int getDefaultPageHeight()
getDefaultPageHeight in class RenderTemplateprotected Section[] getSections()
getSections in class RenderTemplate
protected LayoutArea[] buildStaticLayout(Section section,
java.lang.String regionName,
Book book)
buildStaticLayout in class RenderTemplatesection - the Section object to renderregionName - the name of the region in this section to processbook - the data source
protected LayoutArea[] buildFlowLayout(Section section,
java.lang.String regionName,
Book book)
buildFlowLayout in class RenderTemplatesection - the Section object to renderregionName - the name of the region in this section to processbook - the data source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||