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

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.
 

Detailed Description

Interface for CPageStyleParagraph wrapper.

Function Documentation

◆ ArrayInterface_Create_CPageStyleParagraphArray()

CPageStyleParagraphArray ArrayInterface_Create_CPageStyleParagraphArray ( idrs_exception *  pargException)

Creates a new CPageStyleParagraphArray object.

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

◆ CPageStyleParagraph_Create()

CPageStyleParagraph CPageStyleParagraph_Create ( idrs_exception *  pargException)

Creates an instance of CPageStyleParagraph and initializes it with default values.

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

◆ CPageStyleParagraph_Destroy()

void CPageStyleParagraph_Destroy ( CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Destroys a CPageStyleParagraph handle.

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

◆ CPageStyleParagraph_GetBackgroundColor()

IDRS_COLOR CPageStyleParagraph_GetBackgroundColor ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the text paragraph background color.

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

◆ CPageStyleParagraph_GetDropCapFont()

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

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

◆ CPageStyleParagraph_GetFirstLineIndentation()

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

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

◆ CPageStyleParagraph_GetFont()

CPageStyleFont CPageStyleParagraph_GetFont ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the font style used for the paragraph.

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

◆ CPageStyleParagraph_GetForegroundColor()

IDRS_COLOR CPageStyleParagraph_GetForegroundColor ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the foreground color used for a paragraph.

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

◆ CPageStyleParagraph_GetHorizontalAlignment()

enum HorizontalAlignment CPageStyleParagraph_GetHorizontalAlignment ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the horizontal alignment.

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

◆ CPageStyleParagraph_GetLineHeight()

IDRS_INT CPageStyleParagraph_GetLineHeight ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the height of a text line in the paragraph.

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

◆ CPageStyleParagraph_GetMargins()

MarginInfo CPageStyleParagraph_GetMargins ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the margins for the paragraph.

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

◆ CPageStyleParagraph_GetPageStyleTabulations()

CPageStyleTabulationArray CPageStyleParagraph_GetPageStyleTabulations ( const CPageStyleParagraph  argCPageStyleParagraph,
idrs_exception *  pargException 
)

Get the list of tabulations applied to the text paragraph.

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

◆ CPageStyleParagraph_SetBackgroundColor()

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

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
stColorStructure containing the color in RGB components
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetDropCapFont()

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

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
argDropCapFontFont style used by the drop cap character
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetFirstLineIndentation()

void CPageStyleParagraph_SetFirstLineIndentation ( CPageStyleParagraph  argCPageStyleParagraph,
IDRS_INT const  iFirstLineIndentation,
idrs_exception *  pargException 
)

Set the indentation for the first line in the paragraph.

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
iFirstLineIndentationIndentation value, in pixels
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetFont()

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

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
argFontFont style used in the paragraph
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetForegroundColor()

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

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
stColorStructure containing the color in RGB components
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetHorizontalAlignment()

void CPageStyleParagraph_SetHorizontalAlignment ( CPageStyleParagraph  argCPageStyleParagraph,
enum HorizontalAlignment const  evHorizontalAlignment,
idrs_exception *  pargException 
)

Set the paragraph text horizontal alignment.

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
evHorizontalAlignmentHorizontal alignment value
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetLineHeight()

void CPageStyleParagraph_SetLineHeight ( CPageStyleParagraph  argCPageStyleParagraph,
IDRS_INT const  iLineHeight,
idrs_exception *  pargException 
)

Set the line height for the lines in the paragraph.

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
iLineHeightLine height value, in pixels
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetMargins()

void CPageStyleParagraph_SetMargins ( CPageStyleParagraph  argCPageStyleParagraph,
const MarginInfo stMargins,
idrs_exception *  pargException 
)

Set the paragraph margins.

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
stMarginsStructure containing the paragraph margins
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CPageStyleParagraph_SetPageStyleTabulations()

void CPageStyleParagraph_SetPageStyleTabulations ( CPageStyleParagraph  argCPageStyleParagraph,
const CPageStyleTabulationArray  xPageStyleTabulation,
idrs_exception *  pargException 
)

Set the list of tabulation styles associated to the paragraph.

Parameters
argCPageStyleParagraphCPageStyleParagraph handle
xPageStyleTabulationArray of tabulation styles
pargExceptionPointer to exception structure that will be filled if an exception occurs