diff options
author | Thomas Lange <tl@openoffice.org> | 2001-05-02 15:58:48 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-05-02 15:58:48 +0000 |
commit | ecb9bc1488a13a5deec4cfeac86f050da3f4bc1c (patch) | |
tree | 73c944e8a07c8c2c420fb53cd9bae393bf27cfba /starmath/inc/format.hxx | |
parent | e6eedc6fd472bbc8daccda88b1ce82f5aadb411b (diff) |
Math configuration and Symbol/SymbolSet/SymbolSetManager
Diffstat (limited to 'starmath/inc/format.hxx')
-rw-r--r-- | starmath/inc/format.hxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/starmath/inc/format.hxx b/starmath/inc/format.hxx index 8b17d8893fb9..8ff06a603692 100644 --- a/starmath/inc/format.hxx +++ b/starmath/inc/format.hxx @@ -2,9 +2,9 @@ * * $RCSfile: format.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:57:24 $ + * last change: $Author: tl $ $Date: 2001-05-02 16:58:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -162,7 +162,7 @@ public: const SmFace & GetFont(USHORT nIdent) const { return vFont[nIdent]; } SmFace & Font (USHORT nIdent) { return vFont[nIdent]; } - void SetFont(USHORT nIdent, const SmFace &rFont) { vFont[nIdent] = rFont; } + void SetFont(USHORT nIdent, const SmFace &rFont); USHORT GetRelSize(USHORT nIdent) const { return vSize[nIdent]; } void SetRelSize(USHORT nIdent, USHORT nVal) { vSize[nIdent] = nVal;} @@ -186,6 +186,9 @@ public: SmFormat & operator = (const SmFormat &rFormat); + BOOL operator == (const SmFormat &rFormat) const; + inline BOOL operator != (const SmFormat &rFormat) const; + void RequestApplyChanges() const { ((SmFormat *) this)->Broadcast(SfxSimpleHint(HINT_FORMATCHANGED)); @@ -199,5 +202,10 @@ public: friend SvStream & operator >> (SvStream &rStream, SmFormat &rFormat); }; +inline BOOL SmFormat::operator != (const SmFormat &rFormat) const +{ + return !(*this == rFormat); +} + #endif |