AbiCommand Class Reference

#include <AbiCommand.h>

List of all members.

Public Member Functions

 AbiCommand (void)
 AbiCommand (bool bAbiCollab)
 ~AbiCommand (void)
void doCommands (void)
UT_sint32 parseTokens (UT_Vector *pToks)
bool printFiles (UT_Vector *pToks)
bool replaceAll (UT_Vector *pToks)
bool replaceNext (UT_Vector *pToks)
bool movePoint (UT_Vector *pToks)
bool deleteText (UT_Vector *pToks)
bool insertText (UT_Vector *pToks)
bool replaceDocument (PD_Document *pDoc)
bool loadDocument (UT_UTF8String &sPathToDoc)
bool newDocument (void)
PD_DocumentgetCurrentDocument ()
void clearTokenVector (UT_Vector &Toks)
bool invoke (const char *pszCommand)
bool tokenizeString (UT_Vector &tok, char *pStr)
void nullUpdate ()
bool removeGraphicalView (void)
void deleteCurrentDoc (void)
bool viewDoc (void)

Private Attributes

PD_Documentm_pCurDoc
UT_UTF8Stringm_pCurFile
AP_UnixFramem_pCurFrame
AV_Viewm_pCurView
UnixNull_Graphicsm_pG
FL_DocLayoutm_pLayout
XAP_Appm_pApp
bool m_bViewDoc
bool m_bRunAsServer
UT_uint32 m_iPID
bool m_bRunAsAbiCollab
UT_UTF8String m_sErrorFile


Constructor & Destructor Documentation

AbiCommand::AbiCommand ( void   ) 

AbiCommand::AbiCommand ( bool  bAbiCollab  ) 

AbiCommand::~AbiCommand ( void   ) 


Member Function Documentation

void AbiCommand::doCommands ( void   ) 

UT_sint32 AbiCommand::parseTokens ( UT_Vector pToks  ) 

bool AbiCommand::printFiles ( UT_Vector pToks  ) 

bool AbiCommand::replaceAll ( UT_Vector pToks  ) 

bool AbiCommand::replaceNext ( UT_Vector pToks  ) 

bool AbiCommand::movePoint ( UT_Vector pToks  ) 

bool AbiCommand::deleteText ( UT_Vector pToks  ) 

bool AbiCommand::insertText ( UT_Vector pToks  ) 

bool AbiCommand::replaceDocument ( PD_Document pDoc  ) 

bool AbiCommand::loadDocument ( UT_UTF8String sPathToDoc  ) 

bool AbiCommand::newDocument ( void   ) 

PD_Document * AbiCommand::getCurrentDocument ( void   ) 

Return a pointer to the current document

References m_pCurDoc.

void AbiCommand::clearTokenVector ( UT_Vector vecToks  ) 

clear the token vector pointed to by pvecToks

References UT_GenericVector< T >::clear(), UT_GenericVector< T >::getItemCount(), and UT_GenericVector< T >::getNthItem().

Referenced by doCommands().

bool AbiCommand::invoke ( const char *  pszCommand  ) 

bool AbiCommand::tokenizeString ( UT_Vector tok,
char *  pStr 
)

Break the string into tokens. Handles quotes and double quotes. char * pStr String from readline UT_Vector & reference to the vector we'll fill with UT_UTF8String * pointers.

References UT_GenericVector< T >::addItem().

Referenced by doCommands().

void AbiCommand::nullUpdate ( void   ) 

References m_bViewDoc.

Referenced by viewDoc().

bool AbiCommand::removeGraphicalView ( void   ) 

void AbiCommand::deleteCurrentDoc ( void   ) 

bool AbiCommand::viewDoc ( void   ) 


Member Data Documentation

bool AbiCommand::m_bViewDoc [private]

Referenced by nullUpdate(), and viewDoc().

Referenced by doCommands(), and parseTokens().

Referenced by parseTokens().

Referenced by doCommands(), and parseTokens().


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

Generated on Sun Oct 12 00:06:44 2008 for AbiWord by  doxygen 1.5.5