Public Types | Public Member Functions | Private Attributes

AP_Dialog_InsertBookmark Class Reference

#include <ap_Dialog_InsertBookmark.h>

Inheritance diagram for AP_Dialog_InsertBookmark:
AP_Dialog_Modal XAP_Dialog_NonPersistent XAP_Dialog AP_CocoaDialog_InsertBookmark AP_UnixDialog_InsertBookmark AP_Win32Dialog_InsertBookmark

List of all members.

Public Types

enum  tAnswer { a_OK = 0, a_CANCEL = 1, a_DELETE = 2 }

Public Member Functions

 AP_Dialog_InsertBookmark (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_InsertBookmark (void)
virtual void runModal (XAP_Frame *pFrame)=0
tAnswer getAnswer (void) const
void setAnswer (tAnswer a)
UT_sint32 getExistingBookmarksCount () const
const std::string & getNthExistingBookmark (UT_uint32 n) const
const gchar * getBookmark () const
void setBookmark (const gchar *mark)
void setDoc (FV_View *pView)
void setSuggestedBM (const UT_UCS4Char *str)
UT_UCS4String getSuggestedBM () const

Private Attributes

UT_UCS4String m_suggested
AP_Dialog_InsertBookmark::tAnswer m_answer
gchar m_pBookmark [BOOKMARK_SIZE_LIMIT+1]

Member Enumeration Documentation


Constructor & Destructor Documentation

AP_Dialog_InsertBookmark::AP_Dialog_InsertBookmark ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 

References m_pBookmark.

AP_Dialog_InsertBookmark::~AP_Dialog_InsertBookmark ( void   )  [virtual]

Member Function Documentation

AP_Dialog_InsertBookmark::tAnswer AP_Dialog_InsertBookmark::getAnswer ( void   )  const

References m_answer.

Referenced by s_doBookmarkDlg().

const gchar * AP_Dialog_InsertBookmark::getBookmark (  )  const
UT_sint32 AP_Dialog_InsertBookmark::getExistingBookmarksCount (  )  const
const std::string & AP_Dialog_InsertBookmark::getNthExistingBookmark ( UT_uint32  n  )  const
UT_UCS4String AP_Dialog_InsertBookmark::getSuggestedBM (  )  const [inline]
virtual void AP_Dialog_InsertBookmark::runModal ( XAP_Frame pFrame  )  [pure virtual]
void AP_Dialog_InsertBookmark::setDoc ( FV_View pView  ) 

References FV_View::getDocument(), and m_pDoc.

Referenced by s_doBookmarkDlg().

void AP_Dialog_InsertBookmark::setSuggestedBM ( const UT_UCS4Char str  )  [inline]

Referenced by s_doBookmarkDlg().

Member Data Documentation

gchar AP_Dialog_InsertBookmark::m_pBookmark[BOOKMARK_SIZE_LIMIT+1] [private]

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