![]() |
PDFix SDK
6.5.0
|
Public Member Functions | |
virtual int | GetText (wchar_t *buffer, int len)=0 |
Gets the text of the word element. More... | |
virtual bool | HasTextState ()=0 |
virtual void | GetTextState (PdfTextState *text_state)=0 |
Gets the text state of the word element. More... | |
virtual int | GetNumChars ()=0 |
Gets the number of characters in word element. More... | |
virtual int | GetCharCode (int index)=0 |
Gets the text of one character of the word. More... | |
virtual int | GetCharText (int index, wchar_t *buffer, int len)=0 |
Gets the text of one character of the word. More... | |
virtual void | GetCharTextState (int index, PdfTextState *text_state)=0 |
Gets the text state information of the word character. More... | |
virtual void | GetCharBBox (int index, PdfRect *bbox)=0 |
Gets the bounding box of one character in user space coordinates. More... | |
virtual int | GetWordFlags ()=0 |
Gets the word flags like filling, etc. More... | |
virtual PdeElement * | GetBackground ()=0 |
Gets the background element. Iterate it's children to get background images. More... | |
virtual void | GetOrigin (PdfPoint *point)=0 |
Gets the origin position of the word. More... | |
![]() | |
virtual PdfElementType | GetType ()=0 |
Gets the type of an element. More... | |
virtual void | GetBBox (PdfRect *bbox)=0 |
virtual bool | SetBBox (const PdfRect *bbox)=0 |
virtual int | GetId ()=0 |
Gets the id of an element. The id is unique number on a page. More... | |
virtual void | GetGraphicState (PdfGraphicState *g_state)=0 |
Gets the graphics state information for an element. More... | |
virtual int | GetNumChildren ()=0 |
Gets the number of child elements in an element object. More... | |
virtual PdeElement * | GetChild (int index)=0 |
Gets the requested child element from an element. More... | |
virtual PdfAlignment | GetAlignment ()=0 |
Gets the element alignment within the content column. More... | |
virtual double | GetAngle ()=0 |
Gets the element angle. More... | |
virtual void | SetRender (bool render)=0 |
Sets render mode of the element. This mode is used, when element is saved. More... | |
virtual void | SetData (void *data)=0 |
Sets user-supplied data to pass to the element. More... | |
virtual void * | GetData ()=0 |
Gets user-supplied data to pass to the element. More... | |
virtual bool | SetAlt (const wchar_t *alt)=0 |
Sets the alternate description of the element. More... | |
virtual bool | SetActualText (const wchar_t *text)=0 |
Sets the actual text of the element. More... | |
virtual int | GetFlags ()=0 |
Get the element state flags. More... | |
virtual bool | SetFlags (int flags)=0 |
Set the element state flags. More... | |
virtual int | GetNumPageObjects ()=0 |
Get the the number pf page object in the element. More... | |
virtual PdsPageObject * | GetPageObject (int index)=0 |
Get the the page object of the element by index. More... | |
virtual PdePageMap * | GetPageMap ()=0 |
Get the the page map object containing this element. More... | |
PdeWord class.
A PdeWord object represents a word in a PDF file. Each word contains a sequence of characters in one or more styles.
|
pure virtual |
Gets the background element. Iterate it's children to get background images.
|
pure virtual |
Gets the bounding box of one character in user space coordinates.
index | The index of a character. |
bbox | (Filled by the method) A pointer to a PdfRect structure specifying the bounding box of a character, specified in user space coordinates. |
|
pure virtual |
Gets the text of one character of the word.
index | The index of a character. |
|
pure virtual |
Gets the text of one character of the word.
index | The index of a character. |
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the text state information of the word character.
index | The index of a character. |
text_state | (filled by method) A pointer to a PdfTextState structure specifying the text state of a character. |
|
pure virtual |
Gets the number of characters in word element.
|
pure virtual |
Gets the origin position of the word.
point | (Filled by the method) An origin position of the word. |
|
pure virtual |
Gets the text of the word element.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the text state of the word element.
text_state | (filled by method) A pointer to a PdfTextState structure specifying the text state of a word first character. |
|
pure virtual |
Gets the word flags like filling, etc.
|
pure virtual |
Checks whether the text state can be obtained. It means that an each character of the word has the same text state.