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>
public class Styles extends JaxbSmlPart<CTStylesheet>
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
jaxbElement, jc, MAX_BYTES_Unmarshal_Error -
Constructor Summary
-
Method Summary
Modifier and Type Method Description CTCellStylegetStyleByIndex(long idx)Get the cell style by index.CTXfgetXfByIndex(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, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, 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:
-