public class WorkbookPart extends JaxbSmlPart<Workbook>
Modifier and Type | Field and Description |
---|---|
protected SharedStrings |
sharedStrings |
protected Styles |
stylesPart |
protected ThemePart |
themePart |
binder, log
jaxbElement, jc, MAX_BYTES_Unmarshal_Error
contentType, partName, relationships
Constructor and Description |
---|
WorkbookPart() |
WorkbookPart(PartName partName) |
Modifier and Type | Method and Description |
---|---|
SharedStrings |
getSharedStrings() |
Styles |
getStylesPart() |
ThemePart |
getThemePart() |
WorksheetPart |
getWorksheet(int index) |
void |
init() |
boolean |
isDate1904() |
boolean |
setPartShortcut(Part part) |
boolean |
setPartShortcut(Part part,
String relationshipType)
Tell the source Part about this target Part, so the
source can use this part via a convenience method.
|
newPartForContentType
createBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshal
addMcChoiceNamespace, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, variableReplace
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setRelationshipType, setSourceRelationship, setVersion
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserData
protected SharedStrings sharedStrings
protected Styles stylesPart
protected ThemePart themePart
public WorkbookPart(PartName partName) throws InvalidFormatException
InvalidFormatException
public WorkbookPart() throws InvalidFormatException
InvalidFormatException
public void init()
public SharedStrings getSharedStrings()
public Styles getStylesPart()
public ThemePart getThemePart()
public boolean setPartShortcut(Part part)
public boolean setPartShortcut(Part part, String relationshipType)
Base
setPartShortcut
in class Part
public WorksheetPart getWorksheet(int index) throws Xlsx4jException
index
- Xlsx4jException
public boolean isDate1904()
Copyright © 2007-2019. All Rights Reserved.