|
iDRS™ SDK 16
|
Interface for CPageStyleParagraph wrapper. More...
Go to the source code of this file.
Functions | |
| CPageStyleParagraph | CPageStyleParagraph_Create (idrs_exception *pargException) |
| Creates an instance of CPageStyleParagraph and initializes it with default values. | |
| enum HorizontalAlignment | CPageStyleParagraph_GetHorizontalAlignment (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the horizontal alignment. | |
| MarginInfo | CPageStyleParagraph_GetMargins (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the margins for the paragraph. | |
| CPageStyleFont | CPageStyleParagraph_GetFont (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the font style used for the paragraph. | |
| CPageStyleFont | CPageStyleParagraph_GetDropCapFont (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the font style used for the drop-cap character(s) | |
| IDRS_COLOR | CPageStyleParagraph_GetForegroundColor (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the foreground color used for a paragraph. | |
| IDRS_COLOR | CPageStyleParagraph_GetBackgroundColor (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the text paragraph background color. | |
| IDRS_INT | CPageStyleParagraph_GetFirstLineIndentation (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the indentation that should be applied for the first line in the paragraph. | |
| CPageStyleTabulationArray | CPageStyleParagraph_GetPageStyleTabulations (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the list of tabulations applied to the text paragraph. | |
| IDRS_INT | CPageStyleParagraph_GetLineHeight (const CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Get the height of a text line in the paragraph. | |
| void | CPageStyleParagraph_SetHorizontalAlignment (CPageStyleParagraph argCPageStyleParagraph, enum HorizontalAlignment const evHorizontalAlignment, idrs_exception *pargException) |
| Set the paragraph text horizontal alignment. | |
| void | CPageStyleParagraph_SetMargins (CPageStyleParagraph argCPageStyleParagraph, const MarginInfo *stMargins, idrs_exception *pargException) |
| Set the paragraph margins. | |
| void | CPageStyleParagraph_SetFont (CPageStyleParagraph argCPageStyleParagraph, const CPageStyleFont argFont, idrs_exception *pargException) |
| Set the font style used for the paragraph. | |
| void | CPageStyleParagraph_SetDropCapFont (CPageStyleParagraph argCPageStyleParagraph, const CPageStyleFont argDropCapFont, idrs_exception *pargException) |
| Set the font style used for the drop cap character. | |
| void | CPageStyleParagraph_SetForegroundColor (CPageStyleParagraph argCPageStyleParagraph, const IDRS_COLOR *stColor, idrs_exception *pargException) |
| Set the foreground color for the text in the paragraph. | |
| void | CPageStyleParagraph_SetBackgroundColor (CPageStyleParagraph argCPageStyleParagraph, const IDRS_COLOR *stColor, idrs_exception *pargException) |
| Set the background color for the text in the paragraph. | |
| void | CPageStyleParagraph_SetFirstLineIndentation (CPageStyleParagraph argCPageStyleParagraph, IDRS_INT const iFirstLineIndentation, idrs_exception *pargException) |
| Set the indentation for the first line in the paragraph. | |
| void | CPageStyleParagraph_SetPageStyleTabulations (CPageStyleParagraph argCPageStyleParagraph, const CPageStyleTabulationArray xPageStyleTabulation, idrs_exception *pargException) |
| Set the list of tabulation styles associated to the paragraph. | |
| void | CPageStyleParagraph_SetLineHeight (CPageStyleParagraph argCPageStyleParagraph, IDRS_INT const iLineHeight, idrs_exception *pargException) |
| Set the line height for the lines in the paragraph. | |
| void | CPageStyleParagraph_Destroy (CPageStyleParagraph argCPageStyleParagraph, idrs_exception *pargException) |
| Destroys a CPageStyleParagraph handle. | |
| CPageStyleParagraphArray | ArrayInterface_Create_CPageStyleParagraphArray (idrs_exception *pargException) |
| Creates a new CPageStyleParagraphArray object. | |
Interface for CPageStyleParagraph wrapper.
| CPageStyleParagraphArray ArrayInterface_Create_CPageStyleParagraphArray | ( | idrs_exception * | pargException | ) |
Creates a new CPageStyleParagraphArray object.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageStyleParagraph CPageStyleParagraph_Create | ( | idrs_exception * | pargException | ) |
Creates an instance of CPageStyleParagraph and initializes it with default values.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_Destroy | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CPageStyleParagraph handle.
| argCPageStyleParagraph | CPageStyleParagraph handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_COLOR CPageStyleParagraph_GetBackgroundColor | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the text paragraph background color.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageStyleFont CPageStyleParagraph_GetDropCapFont | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the font style used for the drop-cap character(s)
This font style is expected to be set only if drop-cap is present in a paragraph
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_INT CPageStyleParagraph_GetFirstLineIndentation | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the indentation that should be applied for the first line in the paragraph.
The indentation value is specified in pixels
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageStyleFont CPageStyleParagraph_GetFont | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the font style used for the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_COLOR CPageStyleParagraph_GetForegroundColor | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the foreground color used for a paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum HorizontalAlignment CPageStyleParagraph_GetHorizontalAlignment | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the horizontal alignment.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_INT CPageStyleParagraph_GetLineHeight | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the height of a text line in the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| MarginInfo CPageStyleParagraph_GetMargins | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the margins for the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageStyleTabulationArray CPageStyleParagraph_GetPageStyleTabulations | ( | const CPageStyleParagraph | argCPageStyleParagraph, |
| idrs_exception * | pargException | ||
| ) |
Get the list of tabulations applied to the text paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetBackgroundColor | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const IDRS_COLOR * | stColor, | ||
| idrs_exception * | pargException | ||
| ) |
Set the background color for the text in the paragraph.
Please note that individual components of the paragraph (lines, words, letters) are allowed to have different background colors
| argCPageStyleParagraph | CPageStyleParagraph handle |
| stColor | Structure containing the color in RGB components |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetDropCapFont | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const CPageStyleFont | argDropCapFont, | ||
| idrs_exception * | pargException | ||
| ) |
Set the font style used for the drop cap character.
The drop cap font style is used only if the paragraph has a drop cap character
| argCPageStyleParagraph | CPageStyleParagraph handle |
| argDropCapFont | Font style used by the drop cap character |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetFirstLineIndentation | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| IDRS_INT const | iFirstLineIndentation, | ||
| idrs_exception * | pargException | ||
| ) |
Set the indentation for the first line in the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| iFirstLineIndentation | Indentation value, in pixels |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetFont | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const CPageStyleFont | argFont, | ||
| idrs_exception * | pargException | ||
| ) |
Set the font style used for the paragraph.
Please note that individual components of the paragraph (lines, words, letters) are allowed to have different font styles
| argCPageStyleParagraph | CPageStyleParagraph handle |
| argFont | Font style used in the paragraph |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetForegroundColor | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const IDRS_COLOR * | stColor, | ||
| idrs_exception * | pargException | ||
| ) |
Set the foreground color for the text in the paragraph.
Please note that individual components of the paragraph (lines, words, letters) are allowed to have different foreground colors
| argCPageStyleParagraph | CPageStyleParagraph handle |
| stColor | Structure containing the color in RGB components |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetHorizontalAlignment | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| enum HorizontalAlignment const | evHorizontalAlignment, | ||
| idrs_exception * | pargException | ||
| ) |
Set the paragraph text horizontal alignment.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| evHorizontalAlignment | Horizontal alignment value |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetLineHeight | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| IDRS_INT const | iLineHeight, | ||
| idrs_exception * | pargException | ||
| ) |
Set the line height for the lines in the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| iLineHeight | Line height value, in pixels |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetMargins | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const MarginInfo * | stMargins, | ||
| idrs_exception * | pargException | ||
| ) |
Set the paragraph margins.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| stMargins | Structure containing the paragraph margins |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageStyleParagraph_SetPageStyleTabulations | ( | CPageStyleParagraph | argCPageStyleParagraph, |
| const CPageStyleTabulationArray | xPageStyleTabulation, | ||
| idrs_exception * | pargException | ||
| ) |
Set the list of tabulation styles associated to the paragraph.
| argCPageStyleParagraph | CPageStyleParagraph handle |
| xPageStyleTabulation | Array of tabulation styles |
| pargException | Pointer to exception structure that will be filled if an exception occurs |