Comprehensive Guide for Developers: Features, Integration, and API Reference
Represents an XObject in a PDF document. More...
#include <pdfsdk/cxx/xobject.h>
Public Member Functions | |
| Object | GetPdfObject () const |
| PDEXObjectType | GetXObjectType () const |
| OCMembership | GetOCMembership () const |
| void | SetOCMembership (const OCMembership &ocmd) |
| SizeI | GetImageSize () const |
| int | GetImageBitsPerComponent () const |
| bool | ImageIsMask () const |
| ColorSpace | GetImageColorSpace () const |
| bool | GetImageInterpolate () const |
| void | SetImageInterpolate (bool interpolate) |
| std::optional< PDERenderingIntent > | GetImageRenderingIntent () const |
| void | SetImageRenderingIntent (std::optional< PDERenderingIntent > intent) |
| XObject | GetImageMask () const |
| void | SetImageMask (const XObject &mask) |
| XObject | GetImageSMask () const |
| void | SetImageSMask (const XObject &smask) |
| PDAtom | GetImageCompressionFilter () const |
| XObject | FormCopy () const |
| RectF | GetFormBBox () const |
| void | SetFormBBox (const RectF &bbox) |
| Matrix | GetFormMatrix () const |
| void | SetFormMatrix (const Matrix &matrix) |
| Content | GetFormContent () const |
| void | SetFormContent (const Content &content) |
| XGroup | GetFormXGroup () const |
| void | SetFormXGroup (const XGroup &xgroup) |
| void | SetFormADBECompoundType (const char *compoundType) const |
| void | SetFormADBECompoundType (const std::string &compoundType) const |
| XObject (PDEXObject handle, bool adopt=false) noexcept | |
| XObject (const XObject &rhs) noexcept | |
| XObject & | operator= (const XObject &rhs) noexcept |
| XObject (XObject &&rhs) noexcept | |
| XObject & | operator= (XObject &&rhs) noexcept |
Static Public Member Functions | |
| static XObject | CreateFromPdfObject (const Object &object) |
Represents an XObject in a PDF document.
ISO 32000-2:2020 - 8.8 External objects
Creates an XObject from the specified PDF object.
| object | The PDF object. |
| XObject PDF::XObject::FormCopy | ( | ) | const |
Create a copy of the form XObject.
| RectF PDF::XObject::GetFormBBox | ( | ) | const |
Get the bounding box of the form XObject.
| Content PDF::XObject::GetFormContent | ( | ) | const |
Get the content of the form XObject.
| Matrix PDF::XObject::GetFormMatrix | ( | ) | const |
Get the matrix of the form XObject.
| XGroup PDF::XObject::GetFormXGroup | ( | ) | const |
Get the XGroup of the form XObject.
| int PDF::XObject::GetImageBitsPerComponent | ( | ) | const |
Get the number of bits per component of the image XObject.
| ColorSpace PDF::XObject::GetImageColorSpace | ( | ) | const |
Get the color space of the image XObject.
| PDAtom PDF::XObject::GetImageCompressionFilter | ( | ) | const |
Get the compression filter of the image XObject.
| bool PDF::XObject::GetImageInterpolate | ( | ) | const |
Get the interpolation flag of the image XObject.
| XObject PDF::XObject::GetImageMask | ( | ) | const |
Get the image mask XObject associated with this image XObject.
| std::optional< PDERenderingIntent > PDF::XObject::GetImageRenderingIntent | ( | ) | const |
Get the rendering intent of the image XObject.
| SizeI PDF::XObject::GetImageSize | ( | ) | const |
Get the size of the image XObject.
| XObject PDF::XObject::GetImageSMask | ( | ) | const |
Get the soft mask XObject associated with this image XObject.
| OCMembership PDF::XObject::GetOCMembership | ( | ) | const |
Get the optional content membership dictionary associated with this XObject.
| Object PDF::XObject::GetPdfObject | ( | ) | const |
Get the PDF object associated with this XObject.
| PDEXObjectType PDF::XObject::GetXObjectType | ( | ) | const |
Get the type of this XObject.
| bool PDF::XObject::ImageIsMask | ( | ) | const |
Check if the image XObject is a mask.
| void PDF::XObject::SetFormADBECompoundType | ( | const char * | compoundType | ) | const |
Set the ADBE compound type of the form XObject.
| compoundType | The ADBE compound type to set. |
| void PDF::XObject::SetFormADBECompoundType | ( | const std::string & | compoundType | ) | const |
Set the ADBE compound type of the form XObject.
| compoundType | The ADBE compound type to set. |
| void PDF::XObject::SetFormBBox | ( | const RectF & | bbox | ) |
Set the bounding box of the form XObject.
| bbox | The bounding box to set. |
| void PDF::XObject::SetFormContent | ( | const Content & | content | ) |
Set the content of the form XObject.
| content | The content to set. |
| void PDF::XObject::SetFormMatrix | ( | const Matrix & | matrix | ) |
Set the matrix of the form XObject.
| matrix | The matrix to set. |
| void PDF::XObject::SetFormXGroup | ( | const XGroup & | xgroup | ) |
Set the XGroup of the form XObject.
| xgroup | The XGroup to set. |
| void PDF::XObject::SetImageInterpolate | ( | bool | interpolate | ) |
Set the interpolation flag of the image XObject.
| interpolate | The interpolation flag to set. |
| void PDF::XObject::SetImageMask | ( | const XObject & | mask | ) |
Set the image mask XObject for this image XObject.
| mask | The image mask XObject to set. |
| void PDF::XObject::SetImageRenderingIntent | ( | std::optional< PDERenderingIntent > | intent | ) |
Set the rendering intent of the image XObject.
| intent | The rendering intent to set. |
| void PDF::XObject::SetImageSMask | ( | const XObject & | smask | ) |
Set the soft mask XObject for this image XObject.
| smask | The soft mask XObject to set. |
| void PDF::XObject::SetOCMembership | ( | const OCMembership & | ocmd | ) |
Set the optional content membership dictionary for this XObject.
| ocmd | The OCMembership dictionary to set. |