Class Styles
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.JaxbXmlPart<E>
org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware<E>
org.docx4j.openpackaging.parts.SpreadsheetML.JaxbSmlPart<CTStylesheet>
org.docx4j.openpackaging.parts.SpreadsheetML.Styles
- All Implemented Interfaces:
XPathEnabled<CTStylesheet>
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware
binder, logFields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
jaxbElement, jc, MAX_BYTES_Unmarshal_ErrorFields inherited from class org.docx4j.openpackaging.Base
contentType, partName, relationships -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStyleByIndex(long idx) Get the cell style by index.getXfByIndex(long idx) Cells in the Sheet Part reference the xf (data format) records by zero-based index.voidinit()Methods inherited from class org.docx4j.openpackaging.parts.SpreadsheetML.JaxbSmlPart
newPartForContentTypeMethods inherited from class org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware
createBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshalMethods inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
addMcChoiceNamespace, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, transformToDom, variableReplaceMethods inherited from class org.docx4j.openpackaging.parts.Part
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionMethods inherited from class org.docx4j.openpackaging.Base
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserData
-
Constructor Details
-
Styles
- Throws:
InvalidFormatException
-
Styles
- Throws:
InvalidFormatException
-
-
Method Details
-
init
public void init() -
getStyleByIndex
Get the cell style by index.- Parameters:
idx-- Returns:
-
getXfByIndex
Cells in the Sheet Part reference the xf (data format) records by zero-based index.- Parameters:
idx-- Returns:
-