public class PdfStructureAttributes extends PdfObjectWrapper<PdfDictionary>
Constructor and Description |
---|
PdfStructureAttributes(PdfDictionary attributesDict) |
PdfStructureAttributes(PdfNamespace namespace) |
PdfStructureAttributes(String owner) |
Modifier and Type | Method and Description |
---|---|
PdfStructureAttributes |
addEnumAttribute(String attributeName, String attributeValue) |
PdfStructureAttributes |
addFloatAttribute(String attributeName, float attributeValue) |
PdfStructureAttributes |
addIntAttribute(String attributeName, int attributeValue) |
PdfStructureAttributes |
addTextAttribute(String attributeName, String attributeValue) |
String |
getAttributeAsEnum(String attributeName) |
Float |
getAttributeAsFloat(String attributeName) |
Integer |
getAttributeAsInt(String attributeName) |
String |
getAttributeAsText(String attributeName) |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
PdfStructureAttributes |
removeAttribute(String attributeName) |
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public PdfStructureAttributes(PdfDictionary attributesDict)
public PdfStructureAttributes(String owner)
public PdfStructureAttributes(PdfNamespace namespace)
public PdfStructureAttributes addEnumAttribute(String attributeName, String attributeValue)
public PdfStructureAttributes addTextAttribute(String attributeName, String attributeValue)
public PdfStructureAttributes addIntAttribute(String attributeName, int attributeValue)
public PdfStructureAttributes addFloatAttribute(String attributeName, float attributeValue)
public PdfStructureAttributes removeAttribute(String attributeName)
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfObjectWrapper<PdfDictionary>
Copyright © 1998–2018 iText Group NV. All rights reserved.