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_ChangeRecord * | pcr_ |
| 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_View * | m_pView |
| AV_ListenerId | m_lid |
| Stateful_ViewListener::Stateful_ViewListener | ( | AV_View * | pView | ) | [inline] |
References AV_View::addListener(), init(), m_lid, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
| virtual Stateful_ViewListener::~Stateful_ViewListener | ( | void | ) | [inline, virtual] |
| 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().
| void Stateful_ViewListener::init | ( | ) | [inline, private] |
References bold_, bottomline_, can_redo_, can_undo_, centerAlign_, color_, currentPage_, enterSelection_, font_family_, font_size_, imageSelected_, is_dirty_, italic_, justifyAlign_, leaveSelection_, leftAlign_, line_through_, overline_, pageCount_, pcr_, pcrbi_, pcrbo_, pcrlen_, pcrpos_, rightAlign_, selectionCleared_, style_name_, subscript_, superscript_, tableState_, textSelected_, topline_, underline_, and zoomPercentage_.
Referenced by Stateful_ViewListener().
| 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] |
References m_lid, m_pView, and AV_View::removeListener().
Referenced by _abi_widget_unbindListener().
| 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.
bool Stateful_ViewListener::bold_ [private] |
bool Stateful_ViewListener::bottomline_ [private] |
bool Stateful_ViewListener::can_redo_ [private] |
bool Stateful_ViewListener::can_undo_ [private] |
bool Stateful_ViewListener::centerAlign_ [private] |
UT_RGBColor Stateful_ViewListener::color_ [private] |
guint32 Stateful_ViewListener::currentPage_ [private] |
bool Stateful_ViewListener::enterSelection_ [private] |
double Stateful_ViewListener::font_size_ [private] |
bool Stateful_ViewListener::imageSelected_ [private] |
bool Stateful_ViewListener::is_dirty_ [private] |
bool Stateful_ViewListener::italic_ [private] |
bool Stateful_ViewListener::justifyAlign_ [private] |
bool Stateful_ViewListener::leaveSelection_ [private] |
bool Stateful_ViewListener::leftAlign_ [private] |
bool Stateful_ViewListener::line_through_ [private] |
AV_ListenerId Stateful_ViewListener::m_lid [private] |
Referenced by Stateful_ViewListener(), and unbind().
FV_View* Stateful_ViewListener::m_pView [private] |
bool Stateful_ViewListener::overline_ [private] |
guint32 Stateful_ViewListener::pageCount_ [private] |
PX_ChangeRecord* Stateful_ViewListener::pcr_ [private] |
PT_BufIndex Stateful_ViewListener::pcrbi_ [private] |
PT_BlockOffset Stateful_ViewListener::pcrbo_ [private] |
UT_uint32 Stateful_ViewListener::pcrlen_ [private] |
PT_DocPosition Stateful_ViewListener::pcrpos_ [private] |
bool Stateful_ViewListener::rightAlign_ [private] |
bool Stateful_ViewListener::selectionCleared_ [private] |
bool Stateful_ViewListener::subscript_ [private] |
bool Stateful_ViewListener::superscript_ [private] |
bool Stateful_ViewListener::tableState_ [private] |
bool Stateful_ViewListener::textSelected_ [private] |
bool Stateful_ViewListener::topline_ [private] |
bool Stateful_ViewListener::underline_ [private] |
gint32 Stateful_ViewListener::zoomPercentage_ [private] |
1.7.1