Public Member Functions | Private Member Functions | Private Attributes

Stateful_ViewListener Class Reference

Inheritance diagram for Stateful_ViewListener:
AV_Listener AbiWidget_ViewListener

List of all members.

Public Member Functions

 Stateful_ViewListener (AV_View *pView)
virtual ~Stateful_ViewListener (void)
void unbind (void)
virtual bool notify (AV_View *pView, const AV_ChangeMask mask)
virtual AV_ListenerType getType (void)
virtual void bold (bool)
virtual void italic (bool)
virtual void underline (bool)
virtual void overline (bool)
virtual void line_through (bool)
virtual void topline (bool)
virtual void bottomline (bool)
virtual void subscript (bool)
virtual void superscript (bool)
virtual void color (UT_RGBColor)
virtual void font_size (double)
virtual void font_family (const char *)
virtual void changed (void)
virtual void can_undo (bool)
virtual void can_redo (bool)
virtual void is_dirty (bool)
virtual void leftAlign (bool)
virtual void rightAlign (bool)
virtual void centerAlign (bool)
virtual void justifyAlign (bool)
virtual void styleName (const char *)
virtual void textSelected (bool)
virtual void imageSelected (bool)
virtual void selectionCleared (bool)
virtual void enterSelection (bool)
virtual void leaveSelection (bool)
virtual void tableState (bool)
virtual void pageCount (guint32)
virtual void currentPage (guint32)
virtual void zoomPercentage (gint32)

Private Member Functions

void init ()

Private Attributes

bool bold_
bool italic_
bool underline_
bool overline_
bool line_through_
bool topline_
bool bottomline_
bool subscript_
bool superscript_
UT_RGBColor color_
double font_size_
UT_UTF8String font_family_
PX_ChangeRecordpcr_
UT_uint32 pcrlen_
PT_DocPosition pcrpos_
PT_BufIndex pcrbi_
PT_BlockOffset pcrbo_
bool can_undo_
bool can_redo_
bool is_dirty_
bool leftAlign_
bool rightAlign_
bool centerAlign_
bool justifyAlign_
UT_UTF8String style_name_
bool textSelected_
bool imageSelected_
bool selectionCleared_
bool enterSelection_
bool leaveSelection_
bool tableState_
guint32 pageCount_
guint32 currentPage_
gint32 zoomPercentage_
FV_Viewm_pView
AV_ListenerId m_lid

Constructor & Destructor Documentation

Stateful_ViewListener::Stateful_ViewListener ( AV_View pView  )  [inline]
virtual Stateful_ViewListener::~Stateful_ViewListener ( void   )  [inline, virtual]

Member Function Documentation

virtual void Stateful_ViewListener::bold ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::bottomline ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::can_redo ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

virtual void Stateful_ViewListener::can_undo ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

virtual void Stateful_ViewListener::centerAlign ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::changed ( void   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::color ( UT_RGBColor   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

virtual void Stateful_ViewListener::currentPage ( guint32   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::enterSelection ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::font_family ( const char *   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::font_size ( double   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual AV_ListenerType Stateful_ViewListener::getType ( void   )  [inline, virtual]

Implements AV_Listener.

virtual void Stateful_ViewListener::imageSelected ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::is_dirty ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

virtual void Stateful_ViewListener::italic ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::justifyAlign ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::leaveSelection ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::leftAlign ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::line_through ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual bool Stateful_ViewListener::notify ( AV_View pView,
const AV_ChangeMask  mask 
) [inline, virtual]

Implements AV_Listener.

References AV_CHG_ALL, AV_CHG_EMPTYSEL, AV_CHG_FMTBLOCK, AV_CHG_FMTCHAR, AV_CHG_FMTSTYLE, AV_CHG_MOTION, AV_CHG_PAGECOUNT, bold(), bold_, bottomline(), bottomline_, can_redo_, can_undo_, FV_View::canDo(), centerAlign(), centerAlign_, changed(), color_, FL_DocLayout::countPages(), currentPage(), currentPage_, enterSelection(), enterSelection_, FIRE_BOOL, FIRE_BOOL_CHARFMT, FIRE_COLOR_CHARFMT, FIRE_DOUBLE_CHARFMT, FIRE_SINT32, FIRE_STRING_CHARFMT, FIRE_UINT32, FIRE_UTF8STRING, font_family(), font_family_, font_size(), font_size_, gchar, XAP_App::getApp(), FV_View::getBlockFormat(), PX_ChangeRecord_Span::getBlockOffset(), PX_ChangeRecord_Span::getBufIndex(), FV_View::getCharFormat(), FV_View::getCurrentPageNumForStatusBar(), FV_View::getDocPositionFromLastXY(), FV_View::getDocument(), XAP_App::getLastFocussedFrame(), FV_View::getLastMouseContext(), FV_View::getLayout(), PX_ChangeRecord_Span::getLength(), PD_Document::getPieceTable(), PX_ChangeRecord::getPosition(), FV_View::getSelectionLeftAnchor(), FV_View::getSelectionRightAnchor(), FV_View::getStyle(), PX_ChangeRecord::getType(), pt_PieceTable::getUndo(), imageSelected(), imageSelected_, is_dirty_, PD_Document::isDirty(), FV_View::isInTable(), FV_View::isSelectionEmpty(), italic(), italic_, justifyAlign(), justifyAlign_, leaveSelection(), leaveSelection_, leftAlign(), leftAlign_, line_through(), line_through_, m_pView, overline(), overline_, pageCount(), pageCount_, pcr_, pcrbi_, pcrbo_, pcrlen_, pcrpos_, PX_ChangeRecord::PXT_InsertSpan, rightAlign(), rightAlign_, selectionCleared(), selectionCleared_, style_name_, styleName(), subscript(), subscript_, superscript(), superscript_, tableState(), tableState_, textSelected(), textSelected_, topline(), topline_, underline(), underline_, UT_return_val_if_fail, and zoomPercentage_.

Referenced by _abi_widget_bindListenerToView().

virtual void Stateful_ViewListener::overline ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::pageCount ( guint32   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::rightAlign ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::selectionCleared ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::styleName ( const char *   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::subscript ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::superscript ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::tableState ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::textSelected ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::topline ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

void Stateful_ViewListener::unbind ( void   )  [inline]
virtual void Stateful_ViewListener::underline ( bool   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.

Referenced by notify().

virtual void Stateful_ViewListener::zoomPercentage ( gint32   )  [inline, virtual]

Reimplemented in AbiWidget_ViewListener.


Member Data Documentation

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by notify(), and unbind().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().

Referenced by init(), and notify().


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