public class PBoxPDXObject extends PBoxPDResources implements PDXObject
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pdfbox.pdmodel.PDDocument |
document |
protected PDFAFlavour |
flavour |
static String |
OPI |
protected PDInheritableResources |
resources |
static String |
S_MASK |
static String |
X_OBJECT_TYPE |
cMap, contentStream, MAX_NUMBER_OF_ELEMENTS, pdFontLike, simplePDObjectcontextDependent| Modifier | Constructor and Description |
|---|---|
protected |
PBoxPDXObject(org.apache.pdfbox.pdmodel.common.COSObjectable simplePDObject,
PDInheritableResources resources,
String type,
org.apache.pdfbox.pdmodel.PDDocument document,
PDFAFlavour flavour) |
|
PBoxPDXObject(org.apache.pdfbox.pdmodel.graphics.PDXObject simplePDObject,
org.apache.pdfbox.pdmodel.PDDocument document,
PDFAFlavour flavour) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getcontainsOPI()
true if the XObject dictionary contains OPI entry
|
Boolean |
getcontainsSMask()
true if the XObject dictionary contains SMask entry
|
List<? extends Object> |
getLinkedObjects(String link) |
protected List<CosDict> |
getLinkToDictionary(String key) |
protected List<PDSMaskImage> |
getSMask() |
String |
getSubtype()
subtype of the XObject resource (Image, Form, PS)
|
static PDXObject |
getTypedPDXObject(org.apache.pdfbox.pdmodel.graphics.PDXObject pbObject,
PDInheritableResources extendedResources,
org.apache.pdfbox.pdmodel.PDDocument document,
PDFAFlavour flavour) |
getisInheritedaddAction, getIDgetLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetisInheritedgetID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentprotected final org.apache.pdfbox.pdmodel.PDDocument document
protected final PDFAFlavour flavour
public static final String X_OBJECT_TYPE
public static final String OPI
public static final String S_MASK
protected final PDInheritableResources resources
public PBoxPDXObject(org.apache.pdfbox.pdmodel.graphics.PDXObject simplePDObject,
org.apache.pdfbox.pdmodel.PDDocument document,
PDFAFlavour flavour)
protected PBoxPDXObject(org.apache.pdfbox.pdmodel.common.COSObjectable simplePDObject,
PDInheritableResources resources,
String type,
org.apache.pdfbox.pdmodel.PDDocument document,
PDFAFlavour flavour)
public String getSubtype()
PDXObjectgetSubtype in interface PDXObjectpublic Boolean getcontainsOPI()
PDXObjectgetcontainsOPI in interface PDXObjectpublic Boolean getcontainsSMask()
PDXObjectgetcontainsSMask in interface PDXObjectpublic List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class GenericModelObjectlink - - the name of a linkprotected List<PDSMaskImage> getSMask()
public static PDXObject getTypedPDXObject(org.apache.pdfbox.pdmodel.graphics.PDXObject pbObject, PDInheritableResources extendedResources, org.apache.pdfbox.pdmodel.PDDocument document, PDFAFlavour flavour)
Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.