public final class FontTablePart extends JaxbXmlPart<Fonts>
jaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
FontTablePart() |
FontTablePart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteEmbeddedFontTempFiles()
Temporary embedded fonts should be deleted on exit, but for a long running app
that may not be adequate, in which case you'll want to invoke this method
when you have finished with a WordML pkg.
|
void |
init() |
static void |
main(java.lang.String[] args) |
void |
processEmbeddings() |
void |
processEmbeddings(Mapper fontMapper) |
java.lang.Object |
unmarshalDefaultFonts()
Unmarshal a default font table, useful when creating this
part from scratch.
|
addMcChoiceNamespace, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, setJaxbElement, setMceIgnorable, transform, transformToDom, unmarshal, unmarshal, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic FontTablePart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic FontTablePart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public java.lang.Object unmarshalDefaultFonts()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException - If any unexpected errors occur while unmarshallingpublic void processEmbeddings()
public void processEmbeddings(Mapper fontMapper)
public void deleteEmbeddedFontTempFiles()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2007–2023. All rights reserved.