diff options
Diffstat (limited to 'starmath/inc/document.hxx')
-rwxr-xr-x[-rw-r--r--] | starmath/inc/document.hxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index f03cd43fc965..f8ffef16dfcd 100644..100755 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -29,19 +29,21 @@ #define SMDLL 1 -#include <sot/storage.hxx> -#include <sot/sotref.hxx> +#include <rtl/ustring.hxx> +#include <sfx2/docfac.hxx> #include <sfx2/objsh.hxx> +#include <sot/sotref.hxx> +#include <sot/storage.hxx> #include <svl/lstner.hxx> -#include <sfx2/docfac.hxx> +#include <vcl/jobset.hxx> #include <vcl/virdev.hxx> +#include <set> + #include "format.hxx" #include "parse.hxx" #include "smmod.hxx" -#include <vcl/jobset.hxx> - class SmNode; class SfxMenuBarManager; class SfxPrinter; @@ -124,6 +126,8 @@ class SmDocShell : public SfxObjectShell, public SfxListener USHORT nModifyCount; BOOL bIsFormulaArranged; + std::set< rtl::OUString > aUsedSymbols; // to export used symbols only when saving + virtual void SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, @@ -200,6 +204,8 @@ public: const SmNode * GetFormulaTree() const { return pTree; } void SetFormulaTree(SmNode *&rTree) { pTree = rTree; } + const std::set< rtl::OUString > & GetUsedSymbols() const { return aUsedSymbols; } + String GetAccessibleText(); EditEngine & GetEditEngine(); @@ -210,7 +216,7 @@ public: void Repaint(); - virtual SfxUndoManager *GetUndoManager (); + virtual ::svl::IUndoManager *GetUndoManager (); virtual SfxItemPool& GetPool() const; |