public class WorkbookPart extends JaxbSmlPart<Workbook>
| Modifier and Type | Field and Description |
|---|---|
protected SharedStrings |
sharedStrings |
protected Styles |
stylesPart |
protected ThemePart |
themePart |
binder, logjaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
WorkbookPart() |
WorkbookPart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMceIgnorable() |
SharedStrings |
getSharedStrings() |
Styles |
getStylesPart() |
ThemePart |
getThemePart() |
WorksheetPart |
getWorksheet(int index) |
void |
init() |
boolean |
isDate1904() |
protected void |
setMceIgnorable(McIgnorableNamespaceDeclarator namespacePrefixMapper)
Where the mc:Ignorable attribute is present,
ensure its contents matches the ignorable namespaces
actually present.
|
boolean |
setPartShortcut(Part part) |
boolean |
setPartShortcut(Part part,
java.lang.String relationshipType)
Tell the source Part about this target Part, so the
source can use this part via a convenience method.
|
newPartForContentTypecreateBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshaladdMcChoiceNamespace, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, transform, transformToDom, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDataprotected SharedStrings sharedStrings
protected Styles stylesPart
protected ThemePart themePart
public WorkbookPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic WorkbookPart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
protected void setMceIgnorable(McIgnorableNamespaceDeclarator namespacePrefixMapper)
JaxbXmlPartsetMceIgnorable in class JaxbXmlPart<Workbook>public java.lang.String getMceIgnorable()
getMceIgnorable in class JaxbXmlPart<Workbook>public SharedStrings getSharedStrings()
public Styles getStylesPart()
public ThemePart getThemePart()
public boolean setPartShortcut(Part part)
public boolean setPartShortcut(Part part, java.lang.String relationshipType)
BasesetPartShortcut in class Partpublic WorksheetPart getWorksheet(int index) throws Xlsx4jException
index - Xlsx4jExceptionpublic boolean isDate1904()
Copyright © 2007–2023. All rights reserved.