Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

AP_Dialog_Goto Class Reference

#include <ap_Dialog_Goto.h>

Inheritance diagram for AP_Dialog_Goto:
XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog AP_CocoaDialog_Goto AP_UnixDialog_Goto AP_Win32Dialog_Goto

List of all members.

Public Types

enum  tAnswer { a_CLOSE }

Public Member Functions

 AP_Dialog_Goto (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_Goto ()
AP_Dialog_Goto::tAnswer getAnswer () const
void ConstructWindowName ()
bool setView (FV_View *view)
FV_ViewgetView () const
void setActiveFrame (XAP_Frame *pFrame)
PD_DocumentRDFHandle getRDF ()
UT_sint32 getExistingBookmarksCount () const
const std::string & getNthExistingBookmark (UT_sint32 n) const
void performGoto (AP_JumpTarget target, const char *value) const
 Perform the Goto with a page #, line # or bookmark name.
std::string performGotoNext (AP_JumpTarget target, UT_sint32 idx) const
std::string performGotoPrev (AP_JumpTarget target, UT_sint32 idx) const

Static Public Member Functions

static const char ** getJumpTargets ()

Protected Member Functions

void _setupJumpTargets ()

Protected Attributes

tAnswer m_answer
char m_WindowName [100]

Static Protected Attributes

static const char * s_pJumpTargets []

Member Enumeration Documentation


Constructor & Destructor Documentation

AP_Dialog_Goto::AP_Dialog_Goto ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
AP_Dialog_Goto::~AP_Dialog_Goto ( void   )  [virtual]

Member Function Documentation

void AP_Dialog_Goto::_setupJumpTargets ( void   )  [protected]
AP_Dialog_Goto::tAnswer AP_Dialog_Goto::getAnswer ( void   )  const

References m_answer.

const char ** AP_Dialog_Goto::getJumpTargets ( void   )  [static]
const std::string & AP_Dialog_Goto::getNthExistingBookmark ( UT_sint32  n  )  const
void AP_Dialog_Goto::performGoto ( AP_JumpTarget  target,
const char *  value 
) const

Perform the Goto with a page #, line # or bookmark name.

target the target
value the target value

References FV_View::gotoTarget(), m_pView, and UT_DEBUGMSG.

Referenced by AP_UnixDialog_Goto::onJumpClicked().

std::string AP_Dialog_Goto::performGotoNext ( AP_JumpTarget  target,
UT_sint32  idx 
) const
std::string AP_Dialog_Goto::performGotoPrev ( AP_JumpTarget  target,
UT_sint32  idx 
) const
void AP_Dialog_Goto::setActiveFrame ( XAP_Frame pFrame  )  [virtual]
bool AP_Dialog_Goto::setView ( FV_View view  ) 

Member Data Documentation

const char * AP_Dialog_Goto::s_pJumpTargets [static, protected]
Initial value:


Referenced by _setupJumpTargets(), AP_Dialog_Goto(), and getJumpTargets().

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