|
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.excel.AbstractXLElement nl.fountain.xelem.excel.x.XExcelWorkbook
public class XExcelWorkbook
An implementation of the XLElement ExcelWorkbook.
Field Summary |
---|
Fields inherited from interface nl.fountain.xelem.excel.XLElement |
---|
PREFIX_HTML, PREFIX_O, PREFIX_SS, PREFIX_X, XMLNS, XMLNS_HTML, XMLNS_O, XMLNS_SS, XMLNS_X |
Constructor Summary | |
---|---|
XExcelWorkbook()
Creates a new XExcelWorkbook. |
Method Summary | |
---|---|
Element |
assemble(Element parent,
GIO gio)
Assembles the state of this XLElement and all of it's children into an Element . |
int |
getActiveSheet()
Gets the active sheet. 0 based. |
String |
getNameSpace()
Gets the namespace of this XLElement. |
String |
getPrefix()
Gets the prefix of this XLElement. |
boolean |
getProtectStructure()
|
boolean |
getProtectWindows()
|
String |
getTagName()
Gets the tagname (localName) of this XLElement. |
int |
getWindowHeight()
|
int |
getWindowTopX()
|
int |
getWindowTopY()
|
int |
getWindowWidth()
|
void |
setActiveSheet(int nr)
Set the active sheet. 0-based. |
void |
setChildElement(String localName,
String content)
Does effectively nothing. |
void |
setProtectStructure(boolean protect)
|
void |
setProtectWindows(boolean protect)
|
void |
setWindowHeight(int height)
|
void |
setWindowTopX(int x)
|
void |
setWindowTopY(int y)
|
void |
setWindowWidth(int width)
|
Methods inherited from class nl.fountain.xelem.excel.AbstractXLElement |
---|
addElementComment, assemble, createAttributeNS, createAttributeNS, createElementNS, createElementNS, createElementNS, createElementNS, getElementComments, setAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nl.fountain.xelem.excel.XLElement |
---|
addElementComment, getElementComments, setAttributes |
Constructor Detail |
---|
public XExcelWorkbook()
Workbook.getExcelWorkbook()
Method Detail |
---|
public void setWindowHeight(int height)
setWindowHeight
in interface ExcelWorkbook
public int getWindowHeight()
getWindowHeight
in interface ExcelWorkbook
public void setWindowWidth(int width)
setWindowWidth
in interface ExcelWorkbook
public int getWindowWidth()
getWindowWidth
in interface ExcelWorkbook
public void setWindowTopX(int x)
setWindowTopX
in interface ExcelWorkbook
public int getWindowTopX()
getWindowTopX
in interface ExcelWorkbook
public void setWindowTopY(int y)
setWindowTopY
in interface ExcelWorkbook
public int getWindowTopY()
getWindowTopY
in interface ExcelWorkbook
public void setActiveSheet(int nr)
ExcelWorkbook
setActiveSheet
in interface ExcelWorkbook
nr
- the index of the active sheet.public int getActiveSheet()
ExcelWorkbook
getActiveSheet
in interface ExcelWorkbook
public void setProtectStructure(boolean protect)
setProtectStructure
in interface ExcelWorkbook
public boolean getProtectStructure()
getProtectStructure
in interface ExcelWorkbook
public void setProtectWindows(boolean protect)
setProtectWindows
in interface ExcelWorkbook
public boolean getProtectWindows()
getProtectWindows
in interface ExcelWorkbook
public String getTagName()
XLElement
getTagName
in interface XLElement
public String getNameSpace()
XLElement
getNameSpace
in interface XLElement
public String getPrefix()
XLElement
getPrefix
in interface XLElement
public Element assemble(Element parent, GIO gio)
XLElement
Element
. Attaches the new element to it's
parent-element if needed.
assemble
in interface XLElement
parent
- the parent-element to which the new formed element
will be appendedgio
- a global information object
public void setChildElement(String localName, String content)
AbstractXLElement
setChildElement
in interface XLElement
setChildElement
in class AbstractXLElement
localName
- the local name of the childcontent
- the content of the child
|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |