PDFix SDK  7.2.0
Loading...
Searching...
No Matches
PdsForm Struct Referenceabstract

PdsForm class. More...

#include <pdfix.h>

Inheritance diagram for PdsForm:
PdsPageObject

Public Member Functions

virtual PdsContentGetContent ()=0
 Gets a PdsContent from the PdsForm object's contents and resources. More...
 
virtual void GetMatrix (PdfMatrix *matrix)=0
 Method gets matrix associated with the form. More...
 
virtual PdsStreamGetObject ()=0
 Gets an associated PdsStream object which represents the Form XObject. More...
 
- Public Member Functions inherited from PdsPageObject
virtual PdfPageObjectType GetObjectType () const =0
 Gets the type of an object. More...
 
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. More...
 
virtual int GetStateFlags () const =0
 Get the object state flags. More...
 
virtual bool SetStateFlags (PdfStateFlags flags)=0
 Set the object state flags. More...
 
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. More...
 
virtual bool RemoveTags (PdfContentMarkFlags flags)=0
 
virtual PdfPageGetPage ()=0
 Gets a reference to the page on which the object is present. More...
 
virtual int GetContentStreamIndex ()=0
 
virtual PdsContentGetParentContent ()=0
 Gets a reference to the content in which the object is present. More...
 
virtual bool GetGState (PdfGraphicState *g_state)=0
 Gets the graphic state of the page object. More...
 
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. More...
 
virtual bool MoveToContent (PdsContent *content, int index)=0
 Moves object to another content. More...
 
virtual PdsPageObjectCopyToContent (PdsContent *content, int index)=0
 Copies object to another content. More...
 
virtual PdfDocGetDoc ()=0
 Gets a reference to a document object. More...
 
virtual int GetNumEqualTags (PdsPageObject *object)=0
 Count the number of different tags within the marked content of the two page objects. More...
 
virtual int GetOperatorId ()=0
 Get the operator index which construcs the object in the page content. More...
 
virtual int GetContentId ()=0
 Get the content index which identifies it within the tagged or untagged content. More...
 
virtual int GetNumContentItemIds ()=0
 Get the number of content item identifiers within all marked contents. More...
 
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. More...
 
virtual bool UnregisterEvent (PdfEventType type, PdsPageObjectEventProc proc, void *data)=0
 

Detailed Description

PdsForm class.

A PdsForm is a form object in a PDF page content.

Member Function Documentation

◆ GetContent()

virtual PdsContent * PdsForm::GetContent ( )
pure virtual

Gets a PdsContent from the PdsForm object's contents and resources.

Returns
A PdsContent representing the page's contents. this method does increment the reference count of the returned PDEContent.

◆ GetMatrix()

virtual void PdsForm::GetMatrix ( PdfMatrix matrix)
pure virtual

Method gets matrix associated with the form.

Parameters
matrixPointer to matrix.

◆ GetObject()

virtual PdsStream * PdsForm::GetObject ( )
pure virtual

Gets an associated PdsStream object which represents the Form XObject.

Returns
A PdsStream representing the form XObject.