PDFix SDK  9.0.0
Loading...
Searching...
No Matches
PdsImage Struct Referenceabstract

PdsImage class. More...

#include <pdfix.h>

Inheritance diagram for PdsImage:
PdsPageObject

Public Member Functions

virtual PdsStreamGetDataStm ()=0
 Gets a data stream for an image.
virtual PdsSoftMaskGetSMask ()=0
 Gets the soft mask for an image.
virtual bool HasSMask () const =0
 Checks whether the image has a soft mask.
Public Member Functions inherited from PdsPageObject
virtual PdfPageObjectType GetObjectType () const =0
 Gets the type of an object.
virtual void GetBBox (PdfRect *bbox) const =0
virtual void GetQuad (PdfQuad *quad) const =0
virtual int GetId ()=0
 Gets the ordinal number of a page object.
virtual int GetStateFlags () const =0
 Get the object state flags.
virtual bool SetStateFlags (PdfStateFlags flags)=0
 Set the object state flags.
virtual PdsObjectGetStructObject (bool struct_parent)=0
virtual PdsContentMarkGetContentMark ()=0
virtual int GetMcid ()=0
 Gets content mark ID for this object or -1 if the object does not have MCID property.
virtual bool RemoveTags (PdfContentMarkFlags flags)=0
virtual PdfPageGetPage ()=0
 Gets a reference to the page on which the object is present.
virtual int GetContentStreamIndex ()=0
virtual PdsContentGetParentContent ()=0
 Gets a reference to the content in which the object is present.
virtual bool GetGState (PdfGraphicState *g_state)=0
 Gets the graphic state of the page object.
virtual bool SetGState (const PdfGraphicState *g_state)=0
virtual bool TransformCTM (const PdfMatrix *matrix)=0
virtual bool MoveToObject (PdsPageObject *ref_obj, bool after, int dst_tag_index, int obj_tag_index)=0
 Moves object within a content to another position.
virtual bool MoveToContent (PdsContent *content, int index)=0
 Moves object to another content.
virtual PdsPageObjectCopyToContent (PdsContent *content, int index)=0
 Copies object to another content.
virtual PdfDocGetDoc ()=0
 Gets a reference to a document object.
virtual int GetNumEqualTags (PdsPageObject *object)=0
 Count the number of different tags within the marked content of the two page objects.
virtual int GetOperatorId ()=0
 Get the operator index which construcs the object in the page content.
virtual int GetContentId ()=0
 Get the content index which identifies it within the tagged or untagged content.
virtual int GetNumContentItemIds ()=0
 Get the number of content item identifiers within all marked contents.
virtual int GetContentItemId (int level)=0
virtual bool RegisterEvent (PdfEventType type, PdsPageObjectEventProc proc, void *data)=0
 Registers a user-supplied procedure to call when the specified event occurs.
virtual bool UnregisterEvent (PdfEventType type, PdsPageObjectEventProc proc, void *data)=0

Detailed Description

PdsImage class.

A PdsImage is a image object in a PDF page content.

Member Function Documentation

◆ GetDataStm()

virtual PdsStream * PdsImage::GetDataStm ( )
pure virtual

Gets a data stream for an image.

Returns
The data stream for the image.

◆ GetSMask()

virtual PdsSoftMask * PdsImage::GetSMask ( )
pure virtual

Gets the soft mask for an image.

Returns
PdsSoftMask structure representing soft mask.

◆ HasSMask()

virtual bool PdsImage::HasSMask ( ) const
pure virtual

Checks whether the image has a soft mask.

Returns
true if the soft mask exists, false otherwise.