diff options
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/caret.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/dialog.hxx | 8 | ||||
-rw-r--r-- | starmath/inc/document.hxx | 6 | ||||
-rw-r--r-- | starmath/inc/node.hxx | 70 | ||||
-rw-r--r-- | starmath/inc/parse.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/rect.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/smmod.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/symbol.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/types.hxx | 8 | ||||
-rw-r--r-- | starmath/inc/unomodel.hxx | 8 | ||||
-rw-r--r-- | starmath/inc/utility.hxx | 18 | ||||
-rw-r--r-- | starmath/inc/visitors.hxx | 18 |
12 files changed, 76 insertions, 76 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx index 9b482845e0f7..6eb6ecb505f9 100644 --- a/starmath/inc/caret.hxx +++ b/starmath/inc/caret.hxx @@ -91,7 +91,7 @@ private: long _height; }; -/////////////////////////////// SmCaretPosGraph//////////////////////////////// +// SmCaretPosGraph /** An entry in SmCaretPosGraph */ struct SmCaretPosGraphEntry{ diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index fb5f64cc17b9..ee6a23b1e077 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -303,7 +303,7 @@ public: void SetDblClickHdl(const Link& rLink) { aSymbolWindow.SetDblClickHdl(rLink); } }; -//////////////////////////////////////////////////////////////////////////////// + class SmShowSymbol : public Control { @@ -325,7 +325,7 @@ public: void SetDblClickHdl(const Link &rLink) { aDblClickHdlLink = rLink; } }; -//////////////////////////////////////////////////////////////////////////////// + class SmSymDefineDialog; @@ -368,7 +368,7 @@ public: sal_uInt16 GetSelectedSymbol() const { return m_pSymbolSetDisplay->GetSelectSymbol(); } }; -//////////////////////////////////////////////////////////////////////////////// + class SmShowChar : public Control { @@ -384,7 +384,7 @@ public: void SetSymbol( sal_UCS4 cChar, const Font &rFont ); }; -//////////////////////////////////////////////////////////////////////////////// + class SmSymDefineDialog : public ModalDialog { diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 9d8c65d9ef5c..4452922ffd6c 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -66,7 +66,7 @@ class SmCursor; class SmDocShell; class EditEngine; -//////////////////////////////////////////////////////////// + class SmPrinterAccess { @@ -80,11 +80,11 @@ public: }; -//////////////////////////////////////////////////////////// + void SetEditEngineDefaultFonts(SfxItemPool &rEditEngineItemPool); -//////////////////////////////////////////////////////////// + class SmDocShell : public SfxObjectShell, public SfxListener { diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index bce53f2c8004..c15ab259afbe 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -62,7 +62,7 @@ typedef std::vector< SmNode * > SmNodeArray; typedef std::vector< SmStructureNode * > SmStructureNodeArray; -//////////////////////////////////////////////////////////////////////////////// + enum SmScaleMode { SCALE_NONE, SCALE_WIDTH, SCALE_HEIGHT }; @@ -77,7 +77,7 @@ enum SmNodeType }; -//////////////////////////////////////////////////////////////////////////////// + class SmNode : public SmRect @@ -234,7 +234,7 @@ private: void DumpAsDot(std::ostream &out, OUString* label, int number, int& id, int parent) const; }; -//////////////////////////////////////////////////////////////////////////////// + /** A simple auxiliary iterator class for SmNode * @@ -293,7 +293,7 @@ private: bool bIsReverse; }; -//////////////////////////////////////////////////////////////////////////////// + /** Abstract baseclass for all composite node * @@ -344,7 +344,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Abstract base class for all visible node * @@ -367,7 +367,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + class SmGraphicNode : public SmVisibleNode @@ -383,7 +383,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Draws a rectangle * @@ -408,7 +408,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Polygon line node * @@ -436,7 +436,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Text node * @@ -501,7 +501,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Special node for user defined characters * @@ -527,7 +527,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Glyph node for custom operators * @@ -550,7 +550,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Math symbol node * @@ -579,7 +579,7 @@ public: void Accept(SmVisitor* pVisitor); }; -//////////////////////////////////////////////////////////////////////////////// + /** Math Identifier * @@ -594,7 +594,7 @@ public: : SmMathSymbolNode(NMATHIDENT, rNodeToken) {} }; -//////////////////////////////////////////////////////////////////////////////// + /** Root symbol node * @@ -619,7 +619,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Place node * @@ -642,7 +642,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Error node, for parsing errors * @@ -664,7 +664,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Table node * @@ -691,7 +691,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** A line * @@ -725,7 +725,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Expression node * @@ -746,7 +746,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Unary horizontical node * @@ -766,7 +766,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Root node * @@ -806,7 +806,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Binary horizontial node * @@ -840,7 +840,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Binary horizontical node * @@ -872,7 +872,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Binary diagonal node * @@ -902,7 +902,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Enum used to index sub-/supscripts in the 'aSubNodes' array @@ -985,7 +985,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Node for brace construction * @@ -1022,7 +1022,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Body of an SmBraceNode * @@ -1053,7 +1053,7 @@ inline SmBracebodyNode::SmBracebodyNode(const SmToken &rNodeToken) : } -//////////////////////////////////////////////////////////////////////////////// + /** Node for vertical brace construction * @@ -1091,7 +1091,7 @@ inline SmVerticalBraceNode::SmVerticalBraceNode(const SmToken &rNodeToken) : } -//////////////////////////////////////////////////////////////////////////////// + /** Operation Node @@ -1126,7 +1126,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Node used for alignment */ @@ -1142,7 +1142,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Attribute node * @@ -1172,7 +1172,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Font node * @@ -1202,7 +1202,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Matrix node * @@ -1234,7 +1234,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + /** Node for whitespace * @@ -1262,7 +1262,7 @@ public: }; -//////////////////////////////////////////////////////////////////////////////// + inline SmNode* SmRootNode::Argument() diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 996d9148eb35..f348c8ef5261 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -31,7 +31,7 @@ class SmNode; -////////////////////////////////////////////////////////////////////// + // TokenGroups #define TGOPER 0x00000001 diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx index 07436a544773..16a9d1f37e61 100644 --- a/starmath/inc/rect.hxx +++ b/starmath/inc/rect.hxx @@ -42,13 +42,13 @@ inline long SmFromTo(long nFrom, long nTo, double fRelDist) } -//////////////////////////////////////// + // SmRect // ... (to be done) // This Implementation assumes that the x-axis points to the right and the // y-axis to the bottom. // Note: however, italic spaces can be negative! -// + // possible flags for the 'Draw' function below (just for debugging) #define SM_RECT_CORE 0x0001 diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index b7bf7a3ed25b..c60a6868d696 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -52,7 +52,7 @@ class SmSymbolManager; class SvtSysLocale; class VirtualDevice; -///////////////////////////////////////////////////////////////// + class SmResId : public ResId { @@ -84,7 +84,7 @@ public: const OUString GetExportSymbolSetName( const OUString &rUiName ) const; }; -///////////////////////////////////////////////////////////////// + class SmModule : public SfxModule, utl::ConfigurationListener { diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index bea8d26685f4..6dd282e44c9a 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -38,7 +38,7 @@ #define SYMBOL_NONE 0xFFFF -//////////////////////////////////////////////////////////////////////////////// + inline const OUString GetExportSymbolName( const OUString &rUiSymbolName ) { @@ -62,7 +62,7 @@ inline const OUString GetUiSymbolSetName( const OUString &rExportSymbolSetName ) return SM_MOD()->GetLocSymbolData().GetUiSymbolSetName( rExportSymbolSetName ); } -//////////////////////////////////////////////////////////////////////////////// + class SmSym { diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx index ca1f28f782f6..b15fd46cee5b 100644 --- a/starmath/inc/types.hxx +++ b/starmath/inc/types.hxx @@ -23,11 +23,11 @@ #include <sal/types.h> #define FONTNAME_MATH "OpenSymbol" -///////////////////////////////////////////////////////////////// + enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED }; -///////////////////////////////////////////////////////////////// + inline sal_Bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; } @@ -36,12 +36,12 @@ inline sal_Bool IsGreekChar( sal_Unicode cChar ) { return 0x0370 <= cChar && c sal_Unicode ConvertMathToMathML( sal_Unicode cChar ); -///////////////////////////////////////////////////////////////// + // enum definitions for characters from the 'StarSymbol' font // (some chars have more than one alias!) //! Note: not listed here does not(!) mean "not used" //! (see %alpha ... %gamma for example) -// + enum MathSymbol { MS_FACT = (sal_Unicode) 0x0021, diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index be979431c186..e3ec4a167f33 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -31,7 +31,7 @@ #include <oox/mathml/export.hxx> #include <oox/mathml/import.hxx> -//////////////////////////////////////////////////////////// + #define PRTUIOPT_TITLE_ROW "TitleRow" #define PRTUIOPT_FORMULA_TEXT "FormulaText" @@ -46,9 +46,9 @@ public: }; -//////////////////////////////////////////////////////////// -//----------------------------------------------------------------------------- + + class SmModel : public SfxBaseModel, public comphelper::PropertySetHelper, public com::sun::star::lang::XServiceInfo, @@ -102,7 +102,7 @@ public: static OUString getImplementationName_Static(); }; -//////////////////////////////////////////////////////////// + #endif diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx index 8218dfe53254..9ede3a57af3e 100644 --- a/starmath/inc/utility.hxx +++ b/starmath/inc/utility.hxx @@ -70,10 +70,10 @@ class SmViewShell; SmViewShell * SmGetActiveView(); -//////////////////////////////////////////////////////////// -// + + // SmFace -// + bool IsItalic( const Font &rFont ); bool IsBold( const Font &rFont ); @@ -112,10 +112,10 @@ public: SmFace & operator *= (SmFace &rFace, const Fraction &rFrac); -//////////////////////////////////////////////////////////// -// + + // SmFontPickList -// + class SmFontDialog; @@ -147,10 +147,10 @@ public: void WriteTo(SmFontDialog& rDialog) const; }; -//////////////////////////////////////////////////////////// -// + + // SmFontPickListBox -// + class SmFontPickListBox : public SmFontPickList, public ListBox { diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 5c872cf68911..630b311411b7 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -88,7 +88,7 @@ private: void VisitChildren( SmNode* pNode ); }; -/////////////////////////////// SmDefaultingVisitor //////////////////////////////// +// SmDefaultingVisitor /** Visitor that uses DefaultVisit for handling visits by default @@ -133,7 +133,7 @@ protected: virtual void DefaultVisit( SmNode* pNode ) = 0; }; -/////////////////////////////// SmCaretDrawingVisitor //////////////////////////////// +// SmCaretDrawingVisitor /** Visitor for drawing a caret position */ class SmCaretDrawingVisitor : public SmDefaultingVisitor @@ -155,7 +155,7 @@ protected: void DefaultVisit( SmNode* pNode ); }; -/////////////////////////////// SmCaretPos2LineVisitor //////////////////////////////// +// SmCaretPos2LineVisitor /** Visitor getting a line from a caret position */ class SmCaretPos2LineVisitor : public SmDefaultingVisitor @@ -184,7 +184,7 @@ protected: void DefaultVisit( SmNode* pNode ); }; -/////////////////////////////// SmDrawingVisitor //////////////////////////////// +// SmDrawingVisitor /** Visitor for drawing SmNodes to OutputDevice */ class SmDrawingVisitor : public SmVisitor @@ -249,7 +249,7 @@ private: Point Position; }; -/////////////////////////////// SmSetSelectionVisitor //////////////////////////////// +// SmSetSelectionVisitor /** Set Selection Visitor * Sets the IsSelected( ) property on all SmNodes of the tree @@ -291,7 +291,7 @@ private: }; -/////////////////////////////// SmCaretPosGraphBuildingVisitor //////////////////////////////// +// SmCaretPosGraphBuildingVisitor /** A visitor for building a SmCaretPosGraph @@ -357,7 +357,7 @@ private: SmCaretPosGraph* pGraph; }; -/////////////////////////////// SmCloningVisitor /////////////////////////////// +// SmCloningVisitor /** Visitor for cloning a pNode * @@ -406,7 +406,7 @@ private: }; -/////////////////////////////// SmSelectionDrawingVisitor /////////////////////////////// +// SmSelectionDrawingVisitor class SmSelectionDrawingVisitor : public SmDefaultingVisitor { @@ -431,7 +431,7 @@ private: void VisitChildren( SmNode* pNode ); }; -/////////////////////////////// SmNodeToTextVisitor /////////////////////////////// +// SmNodeToTextVisitor /** Extract command text from pNodes */ class SmNodeToTextVisitor : public SmVisitor |