(abstract) document class; generalization of diagram, tree, table, etc.
![]() | MoveType |
![]() | Document (Config *c, EditWindow *d, Viewer *v) |
![]() | ~Document () |
![]() | New () opens new document called untitled.'suffix'. |
![]() | Load () popup file selector dialog for loading a file. |
![]() | Append () same as load but old document remains unchanged. |
![]() | Save () save document to file. |
![]() | SaveAs () popup file selector dialog for saving to a file. |
![]() | SaveSelectionAs () popup file selector dialog for saving selection to a file. |
![]() | Quit () closes document (asks confirmation) and quits application. |
![]() | ShowDocInfo () popup info dialog containing information about this document. |
![]() | ShowSource () popup text edit dialog with document source from file. |
![]() | SaveSource () save edited source back to file. |
![]() | ShowSummary () popup info dialog containing summary of contents of this document. |
![]() | CheckDocument () popup warning dialog containing soft constraint violations (syntactic) |
![]() | ModelCheckDocument () popup dialog to model check the document (semantic check) |
![]() | Annotate () popup text edit dialog in which doc. annotation can be given. |
![]() | LoadSave (const string *file) called from file selector dialog callbacks. |
![]() | DoLoad (const string *file) load document from file. |
![]() | DoSaveAs (const string *file) |
![]() | DoSaveSelectionAs (const string *file) |
![]() | GetLoadFormat () const return format that was found in file that is read in. |
![]() | Initialize () perform some document type specific initialization. |
![]() | NewFile (const string *file) Checks if file is legal and opens new document with file as name. |
![]() | RemoveAll () Delete contents of the document. |
![]() | NewName (const string *newname) Checks if newname is legal, and if so, changes name of document. |
![]() | SetName (const string *newname) |
![]() | GetName () const |
![]() | GetDocType () const |
![]() | GetSuffix () const |
![]() | GetToolName () const |
![]() | GetAuthor () const |
![]() | GetCreationTime () const |
![]() | IsDefault () return whether doc.name is the default name. |
![]() | NewDir (const string *newdir) Checks if newdir is legal, and if so, changes current directory. |
![]() | SetDir (const string *newdir) |
![]() | GetDir () const |
![]() | SetFSDir () Set dir from file selector. |
![]() | IncChanges () increases number of changes. |
![]() | DecChanges () decrease number of changes. |
![]() | GetChanges () const |
![]() | SetInlineEdit (bool) set inline edit (doc. type specific). |
![]() | Move (MoveType) move document in mainwindow. |
![]() | IsModified () const |
![]() | SetModified (bool set) |
![]() | IsLoaded () const |
![]() | MayWrite (const string *path) ask user to confirm that a file may be overwritten |
![]() | SetStatus (const char *msg) set main window status message to msg. |
![]() | SetStatus (const string *msg) |
![]() | SetAnnotation (const string *s) set document annotation text to s. |
![]() | FindAll (const string *, bool, bool, bool) find all strings. |
![]() | FindNext (const string *, bool, bool, bool) find next string. |
![]() | ReplaceAll (const string *, const string *, bool, bool, bool) replace all strings. |
![]() | ReplaceNext (const string *, const string *, bool, bool, bool) replace next string. |
![]() | Find () issue a popup dialog for getting a search string. |
![]() | Replace () issue a popup dialog for search and replace strings. |
![]() | UpdateWindow () update main window document text fields |
![]() | GetMainWindow () const |
![]() | GetConfig () const |
![]() | GetViewer () const |
![]() | GetInputFile () const |
![]() | GetOutputFile () const |
![]() | GetSourceEditDialog () const |
![]() | GetDocAnnotationDialog () const |
![]() | GetEltAnnotationDialog () const |
![]() | GetFileSelectionDialog () const |
![]() | GetFindDialog () const |
![]() | GetReplaceDialog () const |
![]() | chkbuf message string filled by Check Document. |
![]() | LoadEntries () ... |
![]() | SaveEntries () ... |
![]() | IsAppending () const |
![]() | IsSaveSelection () const |
![]() | UpdateDirectory (const string *s) Set directory in all dialogs. |
![]() | ShowDialog (MessageDialog::DialogType, const char *title, const char *text) |
![]() | ShowDialog (MessageDialog::DialogType, const char *title, const string *text) |
![]() | ReportCheck (int errors, const string *msg) Give results of Check Document in popup dialog. |
![]() | Save (const string *file) function needed for saving to file. |
(abstract) document class; generalization of diagram, tree, table, etc.
virtual ~Document()
void New()
virtual void Load()
virtual void Append()
void Save()
void SaveAs()
void SaveSelectionAs()
void Quit()
void ShowDocInfo()
void ShowSource()
void SaveSource()
virtual void ShowSummary()
virtual void CheckDocument()
virtual void ModelCheckDocument()
void Annotate()
void LoadSave(const string *file)
virtual void DoLoad(const string *file)
void DoSaveAs(const string *file)
void DoSaveSelectionAs(const string *file)
double GetLoadFormat() const
virtual void Initialize()
void NewFile(const string *file)
virtual void RemoveAll()
bool NewName(const string *newname)
void SetName(const string *newname)
const string* GetName() const
const string* GetDocType() const
const string* GetSuffix() const
const string* GetToolName() const
const string* GetAuthor() const
const string* GetCreationTime() const
bool IsDefault()
void NewDir(const string *newdir)
void SetDir(const string *newdir)
const string* GetDir() const
void SetFSDir()
void IncChanges()
void DecChanges()
int GetChanges() const
virtual void SetInlineEdit(bool)
enum MoveType
virtual void Move(MoveType)
bool IsModified() const
void SetModified(bool set)
bool IsLoaded() const
bool MayWrite(const string *path)
void SetStatus(const char *msg)
void SetStatus(const string *msg)
void SetAnnotation(const string *s)
virtual void FindAll(const string *, bool, bool, bool)
virtual void FindNext(const string *, bool, bool, bool)
virtual void ReplaceAll(const string *, const string *, bool, bool, bool)
virtual void ReplaceNext(const string *, const string *, bool, bool, bool)
virtual void Find()
virtual void Replace()
void UpdateWindow()
EditWindow* GetMainWindow() const
Config* GetConfig() const
Viewer* GetViewer() const
InputFile* GetInputFile() const
OutputFile* GetOutputFile() const
TextEditDialog* GetSourceEditDialog() const
TextEditDialog* GetDocAnnotationDialog() const
TextEditDialog* GetEltAnnotationDialog() const
FileSelectionDialog* GetFileSelectionDialog() const
FindDialog* GetFindDialog() const
ReplaceDialog* GetReplaceDialog() const
virtual void LoadEntries()
virtual void SaveEntries()
bool IsAppending() const
bool IsSaveSelection() const
virtual void UpdateDirectory(const string *s)
void ShowDialog(MessageDialog::DialogType, const char *title, const char *text)
void ShowDialog(MessageDialog::DialogType, const char *title, const string *text)
void ReportCheck(int errors, const string *msg)
string chkbuf
bool Save(const string *file)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de