public class WorkbookPart extends JaxbSmlPart<Workbook>
| Modifier and Type | Field and Description |
|---|---|
protected SharedStrings |
sharedStrings |
protected Styles |
stylesPart |
binder, logjaxbElement, jccontentType, partName, relationships| Constructor and Description |
|---|
WorkbookPart() |
WorkbookPart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
SharedStrings |
getSharedStrings() |
Styles |
getStylesPart() |
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.
|
newPartForContentTypecreateBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshalgetContents, getJAXBContext, getJaxbElement, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, 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
public WorkbookPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic WorkbookPart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public SharedStrings getSharedStrings()
public Styles getStylesPart()
public boolean setPartShortcut(Part part)
public boolean setPartShortcut(Part part, String relationshipType)
BasesetPartShortcut in class Partpublic WorksheetPart getWorksheet(int index) throws Xlsx4jException
index - Xlsx4jExceptionpublic boolean isDate1904()
Copyright © 2007-2018. All Rights Reserved.