RTPDF-32
PDF Generator Library for RTOS-32
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
acReportCell Class Reference

#include <acTable.h>

Public Types

enum  MergeDirection {
  MERGE_NONE = 0 , MERGE_LEFT = 1 , MERGE_RIGHT = 2 , MERGE_TOP = 4 ,
  MERGE_BOTTOM = 8 , MERGE_MAIN = 16
}
 
enum  HorzAlign { Left = 1 , HCentered = 2 , Right = 3 }
 
enum  VertAlign { Top = 1 , VCentered = 2 , Bottom = 3 }
 
enum  BorderStyles { acSolid = 0 , acDashed = 1 , acDotted = 2 }
 
enum  VertBorders { acVertBorderNone = 0 , acVertBorderLeft = 1 , acVertBorderRight = 2 , acVertBorderBoth = 3 }
 
enum  HorzBorders { acHorzBorderNone = 0 , acHorzBorderTop = 1 , acHorzBorderBottom = 2 , acHorzBorderBoth = 3 }
 
enum  CellTitlePositionConstants {
  acCellTitlePositionTopLeft = 1 , acCellTitlePositionTopCenter = 2 , acCellTitlePositionTopRight = 3 , acCellTitlePositionBottomLeft = 4 ,
  acCellTitlePositionBottomCenter = 5 , acCellTitlePositionBottomRight = 6
}
 

Public Member Functions

void SetText (LPCSTR lpszText)
 Set the cell's main text content. More...
 
void SetTitleText (LPCSTR lpszTitle)
 Set the cell's title. More...
 

Public Attributes

long margin
 
HANDLE font
 
float pointSize
 
HANDLE backBmp
 
COLORREF backColor
 
COLORREF textColor
 
HorzAlign horzAlign
 
VertAlign vertAlign
 
HorzBorders horzBorders
 
VertBorders vertBorders
 
int borderWidth
 
COLORREF borderColor
 
BorderStyles borderStyle
 
int vertical
 
int clipToBoundaries
 
COLORREF titleColor
 
HANDLE titleFont
 
float titlePointSize
 
CellTitlePositionConstants titlePosition
 

Friends

class acReportRow
 
class acTable
 

Member Enumeration Documentation

◆ BorderStyles

Enumerator
acSolid 
acDashed 
acDotted 

◆ CellTitlePositionConstants

Enumerator
acCellTitlePositionTopLeft 
acCellTitlePositionTopCenter 
acCellTitlePositionTopRight 
acCellTitlePositionBottomLeft 
acCellTitlePositionBottomCenter 
acCellTitlePositionBottomRight 

◆ HorzAlign

Enumerator
Left 
HCentered 
Right 

◆ HorzBorders

Enumerator
acHorzBorderNone 
acHorzBorderTop 
acHorzBorderBottom 
acHorzBorderBoth 

◆ MergeDirection

Enumerator
MERGE_NONE 
MERGE_LEFT 
MERGE_RIGHT 
MERGE_TOP 
MERGE_BOTTOM 
MERGE_MAIN 

◆ VertAlign

Enumerator
Top 
VCentered 
Bottom 

◆ VertBorders

Enumerator
acVertBorderNone 
acVertBorderLeft 
acVertBorderRight 
acVertBorderBoth 

Member Function Documentation

◆ SetText()

void acReportCell::SetText ( LPCSTR  lpszText)

Set the cell's main text content.

Parameters
lpszTextPointer to a text string containing the new cell content. The lpszText pointer can be discarded after calling this method

◆ SetTitleText()

void acReportCell::SetTitleText ( LPCSTR  lpszTitle)

Set the cell's title.

Parameters
lpszTitlePointer to a text string containing the new cell title. The lpszTitle pointer can be discarded after calling this method

Friends And Related Function Documentation

◆ acReportRow

friend class acReportRow
friend

◆ acTable

friend class acTable
friend

Member Data Documentation

◆ backBmp

HANDLE acReportCell::backBmp

Image contained in cell. The backBmp handle should be created with RTPdfGetImage

◆ backColor

COLORREF acReportCell::backColor

Color used to fill the background of the cell, default value is transparent The backColor value is in RGB format

◆ borderColor

COLORREF acReportCell::borderColor

Color of cell borders The borderColor value is in RGB format

◆ borderStyle

BorderStyles acReportCell::borderStyle

Line style for cell borders

◆ borderWidth

int acReportCell::borderWidth

Width of cell borders

◆ clipToBoundaries

int acReportCell::clipToBoundaries

If clipBoundaries is 1, cell contents are clipped to cell boundaries

◆ font

HANDLE acReportCell::font

Font used to render cell content. The font handle should be created with RTPdfGetFont

◆ horzAlign

HorzAlign acReportCell::horzAlign

Horizontal alignment of text or image contained in cell

◆ horzBorders

HorzBorders acReportCell::horzBorders

Top and/or bottom cell borders

◆ margin

long acReportCell::margin

Spacing between cell border and contents

◆ pointSize

float acReportCell::pointSize

Point size of font used to render contents

◆ textColor

COLORREF acReportCell::textColor

Color used to render cell contents, default value is 0 or Black The textColor value is in RGB format

◆ titleColor

COLORREF acReportCell::titleColor

Color of cell title The titleColor value is in RGB format

◆ titleFont

HANDLE acReportCell::titleFont

Font used to render cell title. The titleFont handle should be created with RTPdfGetFont

◆ titlePointSize

float acReportCell::titlePointSize

Point size of font used to render cell title

◆ titlePosition

CellTitlePositionConstants acReportCell::titlePosition

Position of cell title

◆ vertAlign

VertAlign acReportCell::vertAlign

Vertical alignment of text or image contained in cell

◆ vertBorders

VertBorders acReportCell::vertBorders

Left and/or right cell borders

◆ vertical

int acReportCell::vertical

Specifies that text is to be drawn vertically


The documentation for this class was generated from the following file: