Public Member Functions | Protected Member Functions | Protected Attributes

AP_Preview_Paragraph Class Reference

#include <ap_Preview_Paragraph.h>

Inheritance diagram for AP_Preview_Paragraph:
XAP_Preview XAP_CustomWidget

List of all members.

Public Member Functions

 AP_Preview_Paragraph (GR_Graphics *gc, const UT_UCSChar *text, AP_Dialog_Paragraph *parent, const char *fontname=NULL)
 AP_Preview_Paragraph (GR_Graphics *gc, const UT_UCSChar *text, XAP_Dialog *parent)
 AP_Preview_Paragraph (GR_Graphics *gc, const UT_UCSChar *text, AP_Dialog_Lists *dlg)
virtual ~AP_Preview_Paragraph (void)
void setFormat (const gchar *pageLeftMargin, const gchar *pageRightMargin, AP_Dialog_Paragraph::tAlignState align, const gchar *firstLineIndent, AP_Dialog_Paragraph::tIndentState indent, const gchar *leftIndent, const gchar *rightIndent, const gchar *beforeSpacing, const gchar *afterSpacing, const gchar *lineSpacing, AP_Dialog_Paragraph::tSpacingState spacing, UT_BidiCharType dir=UT_BIDI_LTR)
virtual void draw (const UT_Rect *clip=NULL)

Protected Member Functions

virtual bool _loadDrawFont (const char *name=NULL)
virtual void _drawPageBackground (void)
virtual void _drawPageBorder (void)
virtual void _appendBlock (AP_Preview_Paragraph_Block *block)
virtual UT_uint32 _appendLine (UT_GenericVector< UT_UCSChar * > *words, UT_NumberVector *widths, UT_uint32 startWithWord, UT_uint32 left, UT_uint32 right, AP_Dialog_Paragraph::tAlignState align, UT_uint32 y)

Protected Attributes

UT_uint32 m_x
UT_uint32 m_y
UT_uint32 m_fontHeight
UT_BidiCharType m_dir

Constructor & Destructor Documentation

AP_Preview_Paragraph::~AP_Preview_Paragraph ( void   )  [virtual]

Member Function Documentation

void AP_Preview_Paragraph::_drawPageBackground ( void   )  [protected, virtual]
void AP_Preview_Paragraph::_drawPageBorder ( void   )  [protected, virtual]
bool AP_Preview_Paragraph::_loadDrawFont ( const char *  name = NULL  )  [protected, virtual]
void AP_Preview_Paragraph::setFormat ( const gchar *  pageLeftMargin,
const gchar *  pageRightMargin,
AP_Dialog_Paragraph::tAlignState  align,
const gchar *  firstLineIndent,
AP_Dialog_Paragraph::tIndentState  indent,
const gchar *  leftIndent,
const gchar *  rightIndent,
const gchar *  beforeSpacing,
const gchar *  afterSpacing,
const gchar *  lineSpacing,
AP_Dialog_Paragraph::tSpacingState  spacing,
UT_BidiCharType  dir = UT_BIDI_LTR 

Member Data Documentation

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