|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.page.render.SectionNumberMacro
SectionNumberMacro evaluates to the number of the current page
Field Summary | |
protected int |
status
The status of the last evaluation |
protected String |
text
The text to which the macro has been evaluated |
Fields inherited from interface com.klg.jclass.page.TextMacro |
MACRO_EVALUATED, MACRO_INITIALIZED, MACRO_NOT_YET_EVALUATED, PAGE_NUMBER, PAGE_TOTAL, ROMAN_NUMBER, SECTION_NUMBER, SECTION_PAGE_NUMBER, SECTION_PAGE_TOTAL |
Constructor Summary | |
SectionNumberMacro()
Create a macro instance |
Method Summary | |
int |
evaluate(com.klg.jclass.page.JCFlow flow,
com.klg.jclass.page.JCPage page)
Determine the section number (as a string) given current flow information |
int |
getStatus()
Return the status of the last evaluation |
String |
getText()
Return the text that was the result of the most recent evaluation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String text
protected int status
Constructor Detail |
public SectionNumberMacro()
Method Detail |
public int evaluate(com.klg.jclass.page.JCFlow flow, com.klg.jclass.page.JCPage page)
evaluate
in interface TextMacro
flow
- The document's flowpage
- The current page when we are evaluating the macro
public String getText()
getText
in interface TextMacro
public int getStatus()
getStatus
in interface TextMacro
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |