|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.fountain.xelem.GIO
public class GIO
Gathers global information about a workbook during assembly.
A XLWorkbook
is a rather loosely organized
set of java class instances. In order to not only make valid xml, but to also
assure that the produced xml will open in Excel, this class
collects global information about a workbook during assembly.
The Workbook uses the information to set additional elements or element-
attributes when producing a Document
with the method
createDocument
.
Constructor Summary | |
---|---|
GIO()
|
Method Summary | |
---|---|
void |
addStyleID(String styleID)
Adds the styleID to the set of styleID's of this GIO. |
int |
getSelectedSheetsCount()
Gets the number of selected sheets. |
Set<String> |
getStyleIDSet()
Gets the set of styleID's previously added with addStyleID(String) . |
void |
increaseSelectedSheets()
Increases the number of selected sheets by one. |
boolean |
isPrintingComments()
Specifies whether the workbook's createDocument
-method will print comments. |
void |
setPrintComments(boolean print)
Sets whether the workbook's createDocument
-method will print comments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GIO()
Method Detail |
---|
public void addStyleID(String styleID)
styleID
- The styleID to be added.public Set<String> getStyleIDSet()
addStyleID(String)
.
public void increaseSelectedSheets()
public int getSelectedSheetsCount()
public void setPrintComments(boolean print)
createDocument
-method will print comments.
print
- false
if comments must be ignored.Workbook.setPrintElementComments(boolean print)
public boolean isPrintingComments()
createDocument
-method will print comments.
true
if comments will be printed,
false
otherwise.
|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |