iDRS™ SDK 16
Loading...
Searching...
No Matches
CPageWord_interface.h File Reference

Interface for CPageWord wrapper. More...

Go to the source code of this file.

Functions

CPageWord CPageWord_Create (idrs_exception *pargException)
 Creates a new instance of CPageWord.
 
CPolygon CPageWord_GetBoundingPolygon (const CPageWord argCPageWord, idrs_exception *pargException)
 Retrieves the polygon where the text word is located.
 
void CPageWord_SetBoundingPolygon (CPageWord argCPageWord, const CPolygon argBoundingPolygon, idrs_exception *pargException)
 Sets the polygon where the text word is located.
 
CPageStyleWord CPageWord_GetStyle (const CPageWord argCPageWord, idrs_exception *pargException)
 Retrieves the style associated to the word.
 
void CPageWord_SetStyle (CPageWord argCPageWord, const CPageStyleWord argStyleWord, idrs_exception *pargException)
 Sets the word style.
 
CPageTextElementArray CPageWord_GetTextElements (const CPageWord argCPageWord, idrs_exception *pargException)
 Retrieves the array of text elements.
 
void CPageWord_SetTextElements (CPageWord argCPageWord, const CPageTextElementArray argTextElements, idrs_exception *pargException)
 Sets the array of text element in the word.
 
enum Hyperlink CPageWord_GetHyperlinkType (const CPageWord argCPageWord, idrs_exception *pargException)
 Retrieves the type of hyperlink for the current word.
 
void CPageWord_SetHyperlinkType (CPageWord argCPageWord, enum Hyperlink const evHyperlinkType, idrs_exception *pargException)
 Sets the hyperlink type for the word.
 
void CPageWord_Destroy (CPageWord argCPageWord, idrs_exception *pargException)
 Destroys a CPageWord handle.
 
CPageWordArray ArrayInterface_Create_CPageWordArray (idrs_exception *pargException)
 Creates a new CPageWordArray object.
 

Detailed Description

Interface for CPageWord wrapper.

Function Documentation

◆ ArrayInterface_Create_CPageWordArray()

CPageWordArray ArrayInterface_Create_CPageWordArray ( idrs_exception *  pargException)

Creates a new CPageWordArray object.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs
Returns
The newly created CPageWordArray

◆ CPageWord_Create()

CPageWord CPageWord_Create ( idrs_exception *  pargException)

Creates a new instance of CPageWord.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs
Remarks
Instances created by this method can also be provided to CPageCustomData methods

◆ CPageWord_Destroy()

void CPageWord_Destroy ( CPageWord  argCPageWord,
idrs_exception *  pargException 
)

Destroys a CPageWord handle.

Parameters
argCPageWordCPageWord handle to destroy
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_GetBoundingPolygon()

CPolygon CPageWord_GetBoundingPolygon ( const CPageWord  argCPageWord,
idrs_exception *  pargException 
)

Retrieves the polygon where the text word is located.

Parameters
argCPageWordCPageWord handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_GetHyperlinkType()

enum Hyperlink CPageWord_GetHyperlinkType ( const CPageWord  argCPageWord,
idrs_exception *  pargException 
)

Retrieves the type of hyperlink for the current word.

By default the value of the hyperlink type is set to Hyperlink::None

Parameters
argCPageWordCPageWord handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_GetStyle()

CPageStyleWord CPageWord_GetStyle ( const CPageWord  argCPageWord,
idrs_exception *  pargException 
)

Retrieves the style associated to the word.

Parameters
argCPageWordCPageWord handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_GetTextElements()

CPageTextElementArray CPageWord_GetTextElements ( const CPageWord  argCPageWord,
idrs_exception *  pargException 
)

Retrieves the array of text elements.

Parameters
argCPageWordCPageWord handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_SetBoundingPolygon()

void CPageWord_SetBoundingPolygon ( CPageWord  argCPageWord,
const CPolygon  argBoundingPolygon,
idrs_exception *  pargException 
)

Sets the polygon where the text word is located.

Parameters
argCPageWordCPageWord handle
argBoundingPolygonPolygon containing the text word
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_SetHyperlinkType()

void CPageWord_SetHyperlinkType ( CPageWord  argCPageWord,
enum Hyperlink const  evHyperlinkType,
idrs_exception *  pargException 
)

Sets the hyperlink type for the word.

By default the value of the hyperlink type is set to Hyperlink::None

Parameters
argCPageWordCPageWord handle
evHyperlinkTypeHyperlink type
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_SetStyle()

void CPageWord_SetStyle ( CPageWord  argCPageWord,
const CPageStyleWord  argStyleWord,
idrs_exception *  pargException 
)

Sets the word style.

Parameters
argCPageWordCPageWord handle
argStyleWordObject containing the word style
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageWord_SetTextElements()

void CPageWord_SetTextElements ( CPageWord  argCPageWord,
const CPageTextElementArray  argTextElements,
idrs_exception *  pargException 
)

Sets the array of text element in the word.

Parameters
argCPageWordCPageWord handle
argTextElementsText elements array
pargExceptionPointer to exception structure that will be filled if an exception occurs