summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/AccessibleCsvControl.hxx12
-rw-r--r--sc/source/ui/inc/AccessibleText.hxx22
-rw-r--r--sc/source/ui/inc/SamplingDialog.hxx2
-rw-r--r--sc/source/ui/inc/acredlin.hxx2
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx10
-rw-r--r--sc/source/ui/inc/areasdlg.hxx2
-rw-r--r--sc/source/ui/inc/asciiopt.hxx4
-rw-r--r--sc/source/ui/inc/attrdlg.hxx2
-rw-r--r--sc/source/ui/inc/autofmt.hxx8
-rw-r--r--sc/source/ui/inc/cbutton.hxx4
-rw-r--r--sc/source/ui/inc/conflictsdlg.hxx24
-rw-r--r--sc/source/ui/inc/consdlg.hxx2
-rw-r--r--sc/source/ui/inc/crnrdlg.hxx2
-rw-r--r--sc/source/ui/inc/csvcontrol.hxx22
-rw-r--r--sc/source/ui/inc/csvgrid.hxx16
-rw-r--r--sc/source/ui/inc/csvruler.hxx8
-rw-r--r--sc/source/ui/inc/csvsplits.hxx8
-rw-r--r--sc/source/ui/inc/csvtablebox.hxx6
-rw-r--r--sc/source/ui/inc/dapitype.hxx2
-rw-r--r--sc/source/ui/inc/dbfunc.hxx2
-rw-r--r--sc/source/ui/inc/dbnamdlg.hxx2
-rw-r--r--sc/source/ui/inc/delcldlg.hxx2
-rw-r--r--sc/source/ui/inc/delcodlg.hxx2
-rw-r--r--sc/source/ui/inc/docfunc.hxx2
-rw-r--r--sc/source/ui/inc/docsh.hxx2
-rw-r--r--sc/source/ui/inc/dpgroupdlg.hxx14
-rw-r--r--sc/source/ui/inc/editfield.hxx4
-rw-r--r--sc/source/ui/inc/fieldwnd.hxx12
-rw-r--r--sc/source/ui/inc/filldlg.hxx6
-rw-r--r--sc/source/ui/inc/filtdlg.hxx10
-rw-r--r--sc/source/ui/inc/foptmgr.hxx4
-rw-r--r--sc/source/ui/inc/formdata.hxx2
-rw-r--r--sc/source/ui/inc/formula.hxx4
-rw-r--r--sc/source/ui/inc/funcpage.hxx6
-rw-r--r--sc/source/ui/inc/gridwin.hxx2
-rw-r--r--sc/source/ui/inc/groupdlg.hxx2
-rw-r--r--sc/source/ui/inc/hfedtdlg.hxx2
-rw-r--r--sc/source/ui/inc/highred.hxx2
-rw-r--r--sc/source/ui/inc/hiranges.hxx2
-rw-r--r--sc/source/ui/inc/imoptdlg.hxx2
-rw-r--r--sc/source/ui/inc/inputhdl.hxx8
-rw-r--r--sc/source/ui/inc/inputwin.hxx8
-rw-r--r--sc/source/ui/inc/inscldlg.hxx2
-rw-r--r--sc/source/ui/inc/inscodlg.hxx2
-rw-r--r--sc/source/ui/inc/instbdlg.hxx2
-rw-r--r--sc/source/ui/inc/lbseldlg.hxx2
-rw-r--r--sc/source/ui/inc/linkarea.hxx2
-rw-r--r--sc/source/ui/inc/msgpool.hxx4
-rw-r--r--sc/source/ui/inc/mtrindlg.hxx2
-rw-r--r--sc/source/ui/inc/mvtabdlg.hxx4
-rw-r--r--sc/source/ui/inc/namedlg.hxx2
-rw-r--r--sc/source/ui/inc/navcitem.hxx2
-rw-r--r--sc/source/ui/inc/navipi.hxx32
-rw-r--r--sc/source/ui/inc/olinefun.hxx2
-rw-r--r--sc/source/ui/inc/olinewin.hxx6
-rw-r--r--sc/source/ui/inc/optsolver.hxx2
-rw-r--r--sc/source/ui/inc/output.hxx4
-rw-r--r--sc/source/ui/inc/pagedata.hxx2
-rw-r--r--sc/source/ui/inc/pfiltdlg.hxx12
-rw-r--r--sc/source/ui/inc/prevwsh.hxx2
-rw-r--r--sc/source/ui/inc/pvfundlg.hxx14
-rw-r--r--sc/source/ui/inc/reffact.hxx4
-rw-r--r--sc/source/ui/inc/retypepassdlg.hxx2
-rw-r--r--sc/source/ui/inc/rfindlst.hxx2
-rw-r--r--sc/source/ui/inc/scendlg.hxx2
-rw-r--r--sc/source/ui/inc/scuiasciiopt.hxx4
-rw-r--r--sc/source/ui/inc/scuiautofmt.hxx4
-rw-r--r--sc/source/ui/inc/scuiimoptdlg.hxx2
-rw-r--r--sc/source/ui/inc/scuitphfedit.hxx10
-rw-r--r--sc/source/ui/inc/select.hxx4
-rw-r--r--sc/source/ui/inc/selectionstate.hxx6
-rw-r--r--sc/source/ui/inc/sharedocdlg.hxx4
-rw-r--r--sc/source/ui/inc/shtabdlg.hxx2
-rw-r--r--sc/source/ui/inc/simpref.hxx2
-rw-r--r--sc/source/ui/inc/solvrdlg.hxx4
-rw-r--r--sc/source/ui/inc/sortkeydlg.hxx6
-rw-r--r--sc/source/ui/inc/spelldialog.hxx4
-rw-r--r--sc/source/ui/inc/spelleng.hxx8
-rw-r--r--sc/source/ui/inc/spellparam.hxx6
-rw-r--r--sc/source/ui/inc/styledlg.hxx2
-rw-r--r--sc/source/ui/inc/subtdlg.hxx2
-rw-r--r--sc/source/ui/inc/tabbgcolordlg.hxx2
-rw-r--r--sc/source/ui/inc/tabcont.hxx2
-rw-r--r--sc/source/ui/inc/tabopdlg.hxx4
-rw-r--r--sc/source/ui/inc/tabpages.hxx2
-rw-r--r--sc/source/ui/inc/tabview.hxx4
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx4
-rw-r--r--sc/source/ui/inc/tpcalc.hxx4
-rw-r--r--sc/source/ui/inc/tphf.hxx6
-rw-r--r--sc/source/ui/inc/tphfedit.hxx4
-rw-r--r--sc/source/ui/inc/tpprint.hxx2
-rw-r--r--sc/source/ui/inc/tpsort.hxx6
-rw-r--r--sc/source/ui/inc/tpstat.hxx2
-rw-r--r--sc/source/ui/inc/tpsubt.hxx12
-rw-r--r--sc/source/ui/inc/tptable.hxx2
-rw-r--r--sc/source/ui/inc/tpusrlst.hxx2
-rw-r--r--sc/source/ui/inc/tpview.hxx8
-rw-r--r--sc/source/ui/inc/uiitems.hxx18
-rw-r--r--sc/source/ui/inc/undobase.hxx10
-rw-r--r--sc/source/ui/inc/undoblk.hxx2
-rw-r--r--sc/source/ui/inc/undocell.hxx6
-rw-r--r--sc/source/ui/inc/undodat.hxx2
-rw-r--r--sc/source/ui/inc/undostyl.hxx2
-rw-r--r--sc/source/ui/inc/undotab.hxx6
-rw-r--r--sc/source/ui/inc/validate.hxx8
-rw-r--r--sc/source/ui/inc/viewdata.hxx8
-rw-r--r--sc/source/ui/inc/viewfunc.hxx2
-rw-r--r--sc/source/ui/inc/warnbox.hxx6
108 files changed, 287 insertions, 289 deletions
diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx
index 0ea96cd947f0..28435ab7b0e1 100644
--- a/sc/source/ui/inc/AccessibleCsvControl.hxx
+++ b/sc/source/ui/inc/AccessibleCsvControl.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_ACCESSIBLECSVCONTROL_HXX
#define _SC_ACCESSIBLECSVCONTROL_HXX
@@ -34,7 +34,7 @@
#include "AccessibleContextBase.hxx"
-// ============================================================================
+
class ScCsvControl;
namespace utl { class AccessibleStateSetHelper; }
@@ -126,7 +126,7 @@ protected:
};
-// ============================================================================
+
class ScCsvRuler;
@@ -299,7 +299,7 @@ private:
};
-// ============================================================================
+
class ScCsvGrid;
@@ -544,7 +544,7 @@ private:
};
-// ============================================================================
+
/** Accessible class representing a cell of the CSV grid control. */
class ScAccessibleCsvCell : public ScAccessibleCsvControl, public accessibility::AccessibleStaticTextBase
@@ -648,7 +648,7 @@ private:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index acea9d87141a..58ab48c97938 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -38,7 +38,7 @@ class ScCsvViewForwarder;
class ScAccessibleCell;
-// ============================================================================
+
class ScAccessibleTextData : public SfxListener
{
@@ -67,7 +67,7 @@ private:
};
-// ============================================================================
+
class ScAccessibleCellBaseTextData : public ScAccessibleTextData,
public ScCellTextData
@@ -85,7 +85,7 @@ public:
};
-// ============================================================================
+
// ScAccessibleCellTextData: shared data between sub objects of a accessible cell text object
@@ -122,7 +122,7 @@ private:
};
-// ============================================================================
+
class ScAccessibleEditObjectTextData : public ScAccessibleTextData
{
@@ -155,7 +155,7 @@ protected:
};
-// ============================================================================
+
class ScAccessibleEditLineTextData : public ScAccessibleEditObjectTextData
{
@@ -179,7 +179,7 @@ private:
};
-// ============================================================================
+
class ScAccessiblePreviewCellTextData : public ScAccessibleCellBaseTextData
{
@@ -208,7 +208,7 @@ private:
};
-// ============================================================================
+
class ScAccessiblePreviewHeaderCellTextData : public ScAccessibleCellBaseTextData
{
@@ -240,7 +240,7 @@ private:
};
-// ============================================================================
+
class ScAccessibleHeaderTextData : public ScAccessibleTextData
{
@@ -273,7 +273,7 @@ private:
};
-// ============================================================================
+
class ScAccessibleNoteTextData : public ScAccessibleTextData
{
@@ -306,7 +306,7 @@ private:
};
-// ============================================================================
+
class ScAccessibleCsvTextData : public ScAccessibleTextData
{
@@ -345,7 +345,7 @@ public:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/SamplingDialog.hxx b/sc/source/ui/inc/SamplingDialog.hxx
index 804309b8948b..b736c8c0650a 100644
--- a/sc/source/ui/inc/SamplingDialog.hxx
+++ b/sc/source/ui/inc/SamplingDialog.hxx
@@ -52,7 +52,7 @@ private:
OKButton* mpButtonOk;
CloseButton* mpButtonClose;
- //
+
formula::RefEdit* mpActiveEdit;
// Data
diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx
index c32f3a848a3a..b135e0231475 100644
--- a/sc/source/ui/inc/acredlin.hxx
+++ b/sc/source/ui/inc/acredlin.hxx
@@ -91,7 +91,7 @@ typedef long LExpNum;
//@ Expand entrys are ambiguous and therefore removed
//DECLARE_TABLE( ScChgTrackExps, LExpNum)
-//==================================================================
+
class ScAcceptChgDlg : public SfxModelessDialog
{
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 751f00dd4ac4..c269390d63e9 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -103,7 +103,7 @@ public:
bool CanInputDone( bool bForced ){ return pRefEdit && (bForced || !pRefBtn); }
};
-//============================================================================
+
class SC_DLLPUBLIC ScRefHandler :
public IAnyRefDialog
@@ -173,7 +173,7 @@ public:
inline bool CanInputDone( bool bForced );
};
-//============================================================================
+
class ScRefHdlModalImpl : public ModalDialog, public ScRefHandler
@@ -275,7 +275,7 @@ public:
const OUString& rUIXMLDescription);
};
-//============================================================================
+
template<class TDerived, class TBase, bool bBindRef = true>
struct ScRefHdlrImpl: ScRefHdlrImplBase< TBase, bBindRef >
{
@@ -300,7 +300,7 @@ struct ScRefHdlrImpl: ScRefHdlrImplBase< TBase, bBindRef >
SC_MOD()->UnregisterRefWindow( static_cast<sal_uInt16>( static_cast<TDerived*>(this)->SLOTID ), this );
}
};
-//============================================================================
+
struct ScAnyRefDlg : ::ScRefHdlrImpl< ScAnyRefDlg, SfxModelessDialog>
{
template<class T1, class T2, class T3, class T4>
@@ -315,7 +315,7 @@ struct ScAnyRefDlg : ::ScRefHdlrImpl< ScAnyRefDlg, SfxModelessDialog>
{
}
};
-//============================================================================
+
inline bool ScRefHandler::CanInputStart( const formula::RefEdit *pEdit )
{
diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx
index 7a344ab2f172..2965b9a871b4 100644
--- a/sc/source/ui/inc/areasdlg.hxx
+++ b/sc/source/ui/inc/areasdlg.hxx
@@ -30,7 +30,7 @@ class ScDocument;
class ScViewData;
-//============================================================================
+
class ScPrintAreasDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx
index c114d389c8a3..8630a4e50b88 100644
--- a/sc/source/ui/inc/asciiopt.hxx
+++ b/sc/source/ui/inc/asciiopt.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef SC_ASCIIOPT_HXX
#define SC_ASCIIOPT_HXX
@@ -33,7 +33,7 @@
#include "csvtablebox.hxx"
#include "i18nlangtag/lang.h"
-// ============================================================================
+
class ScAsciiOptions
{
diff --git a/sc/source/ui/inc/attrdlg.hxx b/sc/source/ui/inc/attrdlg.hxx
index 111190d6572a..fea35429a65f 100644
--- a/sc/source/ui/inc/attrdlg.hxx
+++ b/sc/source/ui/inc/attrdlg.hxx
@@ -26,7 +26,7 @@ class Window;
class SfxViewFrame;
class SfxItemSet;
-//==================================================================
+
class ScAttrDlg : public SfxTabDialog
{
diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx
index 4a2a7e1aa4dd..f15e86cee9b8 100644
--- a/sc/source/ui/inc/autofmt.hxx
+++ b/sc/source/ui/inc/autofmt.hxx
@@ -30,7 +30,7 @@
#include <svx/framelinkarray.hxx>
#include "scdllapi.h"
-//------------------------------------------------------------------------
+
class ScAutoFormatData;
class SvxBoxItem;
@@ -39,11 +39,11 @@ class ScAutoFmtPreview; // s.u.
class SvNumberFormatter;
class ScDocument;
-//------------------------------------------------------------------------
+
enum AutoFmtLine { TOP_LINE, BOTTOM_LINE, LEFT_LINE, RIGHT_LINE };
-//========================================================================
+
class SC_DLLPUBLIC ScAutoFmtPreview : public Window
{
@@ -77,7 +77,7 @@ private:
const OUString aStrSouth;
const OUString aStrSum;
SvNumberFormatter* pNumFmt;
- //-------------------------------------------
+
SAL_DLLPRIVATE void Init ();
SAL_DLLPRIVATE void DoPaint ( const Rectangle& rRect );
SAL_DLLPRIVATE void CalcCellArray ( bool bFitWidth );
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index 2d7b101fbad8..54f7f07d55f1 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-//------------------------------------------------------------------
+
#ifndef SC_CBUTTON_HXX
#define SC_CBUTTON_HXX
@@ -28,7 +28,7 @@
class OutputDevice;
-//==================================================================
+
class ScDDComboBoxButton
{
diff --git a/sc/source/ui/inc/conflictsdlg.hxx b/sc/source/ui/inc/conflictsdlg.hxx
index a21a7d9c45fd..93a53e7760d0 100644
--- a/sc/source/ui/inc/conflictsdlg.hxx
+++ b/sc/source/ui/inc/conflictsdlg.hxx
@@ -32,7 +32,7 @@
class ScViewData;
-//=============================================================================
+
enum ScConflictAction
{
@@ -44,9 +44,9 @@ enum ScConflictAction
typedef ::std::vector< sal_uLong > ScChangeActionList;
-//=============================================================================
+
// struct ScConflictsListEntry
-//=============================================================================
+
struct ScConflictsListEntry
{
@@ -59,14 +59,14 @@ struct ScConflictsListEntry
};
-//=============================================================================
+
typedef ::std::vector< ScConflictsListEntry > ScConflictsList;
-//=============================================================================
+
// class ScConflictsListHelper
-//=============================================================================
+
class ScConflictsListHelper
{
@@ -84,9 +84,9 @@ public:
};
-//=============================================================================
+
// class ScConflictsFinder
-//=============================================================================
+
class ScConflictsFinder
{
@@ -111,9 +111,9 @@ public:
};
-//=============================================================================
+
// class ScConflictsResolver
-//=============================================================================
+
class ScConflictsResolver
{
@@ -130,9 +130,9 @@ public:
};
-//=============================================================================
+
// class ScConflictsDlg
-//=============================================================================
+
class ScConflictsDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx
index 51e432588b88..205ba5b4e491 100644
--- a/sc/source/ui/inc/consdlg.hxx
+++ b/sc/source/ui/inc/consdlg.hxx
@@ -34,7 +34,7 @@ class ScRangeUtil;
class ScAreaData;
-//============================================================================
+
class ScConsolidateDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx
index 929ef05d6744..f5c06a695d1a 100644
--- a/sc/source/ui/inc/crnrdlg.hxx
+++ b/sc/source/ui/inc/crnrdlg.hxx
@@ -31,7 +31,7 @@ class ScViewData;
class ScDocument;
-//============================================================================
+
class ScColRowNameRangesDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx
index 6898bd2252ad..714a656801a8 100644
--- a/sc/source/ui/inc/csvcontrol.hxx
+++ b/sc/source/ui/inc/csvcontrol.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_CSVCONTROL_HXX
#define _SC_CSVCONTROL_HXX
@@ -36,7 +36,7 @@ namespace com { namespace sun { namespace star { namespace accessibility {
} } } }
-// ============================================================================
+
/** Minimum character count for a column in separators mode. */
const sal_Int32 CSV_MINCOLWIDTH = 8;
@@ -69,7 +69,7 @@ const sal_uInt8 SC_COL_SKIP = 9;
const sal_uInt8 SC_COL_ENGLISH = 10;
-// ============================================================================
+
/** Exported data of a column (data used in the dialog). */
struct ScCsvExpData
@@ -85,7 +85,7 @@ struct ScCsvExpData
typedef ::std::vector< ScCsvExpData > ScCsvExpDataVec;
-// ============================================================================
+
/** Specifies which element should be used to perform an action. */
enum ScMoveMode
@@ -100,7 +100,7 @@ enum ScMoveMode
};
-// ============================================================================
+
/** Flags for comparison of old and new control layout data. */
typedef sal_uInt32 ScCsvDiff;
@@ -122,7 +122,7 @@ const ScCsvDiff CSV_DIFF_VERTICAL = CSV_DIFF_LINECOUNT | CSV_DIFF_LINEOFFS
const ScCsvDiff CSV_DIFF_CURSOR = CSV_DIFF_RULERCURSOR | CSV_DIFF_GRIDCURSOR;
-// ----------------------------------------------------------------------------
+
/** A structure containing all layout data valid for both ruler and data grid
(i.e. scroll position or column width). */
@@ -169,7 +169,7 @@ inline bool operator!=( const ScCsvLayoutData& rData1, const ScCsvLayoutData& rD
}
-// ============================================================================
+
/** Enumeration of possible commands to change any settings of the CSV controls.
@descr Controls have to send commands instead of changing their settings directly.
@@ -215,7 +215,7 @@ enum ScCsvCmdType
};
-// ----------------------------------------------------------------------------
+
/** Data for a CSV control command. The stored position data is aways character based,
it's never a column index (required for internal consistency). */
@@ -243,7 +243,7 @@ inline void ScCsvCmd::Set( ScCsvCmdType eType, sal_Int32 nParam1, sal_Int32 nPar
}
-// ============================================================================
+
/** Base class for the CSV ruler and the data grid control. Implements command handling. */
class SC_DLLPUBLIC ScCsvControl : public Control
@@ -264,7 +264,7 @@ private:
ScAccessibleCsvControl* mpAccessible; /// Pointer to the accessible implementation object.
bool mbValidGfx; /// Content of virtual devices valid?
- // ------------------------------------------------------------------------
+
public:
explicit ScCsvControl( ScCsvControl& rParent );
explicit ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, WinBits nBits );
@@ -417,7 +417,7 @@ protected:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx
index 769d274f235a..d0607cd1224e 100644
--- a/sc/source/ui/inc/csvgrid.hxx
+++ b/sc/source/ui/inc/csvgrid.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_CSVGRID_HXX
#define _SC_CSVGRID_HXX
@@ -33,7 +33,7 @@
#include "csvsplits.hxx"
-// ----------------------------------------------------------------------------
+
namespace svtools { class ColorConfig; }
class EditEngine;
@@ -42,7 +42,7 @@ class ScAsciiOptions;
class ScAccessibleCsvControl;
-// ============================================================================
+
const sal_uInt8 CSV_COLFLAG_NONE = 0x00; /// Nothing set.
const sal_uInt8 CSV_COLFLAG_SELECT = 0x01; /// Column is selected.
@@ -50,7 +50,7 @@ const sal_uInt8 CSV_COLFLAG_SELECT = 0x01; /// Column is selected.
const sal_uInt32 CSV_COLUMN_INVALID = CSV_VEC_NOTFOUND;
-// ----------------------------------------------------------------------------
+
/** This struct contains the state of one table column. */
struct ScCsvColState
@@ -78,12 +78,12 @@ inline void ScCsvColState::Select( bool bSel )
}
-// ----------------------------------------------------------------------------
+
typedef ::std::vector< ScCsvColState > ScCsvColStateVec;
-// ============================================================================
+
/** A data grid control for the CSV import dialog. The design of this control
simulates a Calc spreadsheet with row and column headers. */
@@ -123,7 +123,7 @@ private:
sal_uInt32 mnMTCurrCol; /// Current column of mouse tracking.
bool mbMTSelecting; /// Mouse tracking: true = select, false = deselect.
- // ------------------------------------------------------------------------
+
public:
explicit ScCsvGrid( ScCsvControl& rParent );
virtual ~ScCsvGrid();
@@ -347,7 +347,7 @@ protected:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx
index b7d7eb55b719..ca78c37811f8 100644
--- a/sc/source/ui/inc/csvruler.hxx
+++ b/sc/source/ui/inc/csvruler.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_CSVRULER_HXX
#define _SC_CSVRULER_HXX
@@ -30,7 +30,7 @@
class ScAccessibleCsvControl;
-// ============================================================================
+
/** A ruler control for the CSV import dialog. Supports setting and moving
splits (which divide lines of data into several columns). */
@@ -57,7 +57,7 @@ private:
Rectangle maActiveRect; /// The active area of the ruler.
sal_Int32 mnSplitSize; /// Size of a split circle.
- // ------------------------------------------------------------------------
+
public:
explicit ScCsvRuler( ScCsvControl& rParent );
~ScCsvRuler();
@@ -185,7 +185,7 @@ protected:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/csvsplits.hxx b/sc/source/ui/inc/csvsplits.hxx
index c436801ebf3a..18b8888f4adf 100644
--- a/sc/source/ui/inc/csvsplits.hxx
+++ b/sc/source/ui/inc/csvsplits.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_CSVSPLITS_HXX
#define _SC_CSVSPLITS_HXX
@@ -27,7 +27,7 @@
#include <vector>
-// ============================================================================
+
/** Constant for an invalid vector index. */
const sal_uInt32 CSV_VEC_NOTFOUND = SAL_MAX_UINT32;
@@ -35,7 +35,7 @@ const sal_uInt32 CSV_VEC_NOTFOUND = SAL_MAX_UINT32;
const sal_Int32 CSV_POS_INVALID = -1;
-// ----------------------------------------------------------------------------
+
/** A vector of column splits that supports inserting, removing and moving splits. */
class ScCsvSplits
@@ -89,7 +89,7 @@ private:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx
index 3fb5db70b3d7..8f9d71f82104 100644
--- a/sc/source/ui/inc/csvtablebox.hxx
+++ b/sc/source/ui/inc/csvtablebox.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef _SC_CSVTABLEBOX_HXX
#define _SC_CSVTABLEBOX_HXX
@@ -64,7 +64,7 @@ private:
bool mbFixedMode; /// false = Separators, true = Fixed width.
- // ------------------------------------------------------------------------
+
public:
explicit ScCsvTableBox( Window* pParent, WinBits nBits );
@@ -144,7 +144,7 @@ protected:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx
index f2be47d008a8..899e14cb9bda 100644
--- a/sc/source/ui/inc/dapitype.hxx
+++ b/sc/source/ui/inc/dapitype.hxx
@@ -27,7 +27,7 @@
#include <vcl/lstbox.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-//------------------------------------------------------------------------
+
class ScDataPilotSourceTypeDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/dbfunc.hxx b/sc/source/ui/inc/dbfunc.hxx
index 91f17b00591d..704fee82d2a4 100644
--- a/sc/source/ui/inc/dbfunc.hxx
+++ b/sc/source/ui/inc/dbfunc.hxx
@@ -36,7 +36,7 @@ class ScDPSaveData;
struct ScDPNumGroupInfo;
struct ScSubTotalParam;
-// ---------------------------------------------------------------------------
+
class ScDBFunc : public ScViewFunc
{
diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx
index e893fd4cd47f..7011f7edf735 100644
--- a/sc/source/ui/inc/dbnamdlg.hxx
+++ b/sc/source/ui/inc/dbnamdlg.hxx
@@ -33,7 +33,7 @@ class ScViewData;
class ScDocument;
-//============================================================================
+
class ScDbNameDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/delcldlg.hxx b/sc/source/ui/inc/delcldlg.hxx
index 56d08968f059..59eaf1dce39d 100644
--- a/sc/source/ui/inc/delcldlg.hxx
+++ b/sc/source/ui/inc/delcldlg.hxx
@@ -28,7 +28,7 @@
#include "global.hxx"
-//------------------------------------------------------------------------
+
class ScDeleteCellDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index 34b10253e3d0..35805d95bf5b 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -24,7 +24,7 @@
#include <vcl/button.hxx>
#include "global.hxx"
-//------------------------------------------------------------------------
+
class ScDeleteContentsDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index 36c984aded9c..49c95c8761cf 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -52,8 +52,6 @@ struct ColRowSpan;
}
-// ---------------------------------------------------------------------------
-
class ScDocFunc
{
protected:
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 3e3d143e72fc..49215fd72426 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -76,7 +76,7 @@ struct DocShell_Impl;
typedef ::boost::unordered_map< sal_uLong, sal_uLong > ScChangeActionMergeMap;
-//==================================================================
+
//enum ScDBFormat { SC_FORMAT_SDF, SC_FORMAT_DBF };
diff --git a/sc/source/ui/inc/dpgroupdlg.hxx b/sc/source/ui/inc/dpgroupdlg.hxx
index 045997ca88de..ddc2b797624f 100644
--- a/sc/source/ui/inc/dpgroupdlg.hxx
+++ b/sc/source/ui/inc/dpgroupdlg.hxx
@@ -28,7 +28,7 @@
#include "editfield.hxx"
#include "dpgroup.hxx"
-// ============================================================================
+
class ScDPGroupEditHelper
{
@@ -56,7 +56,7 @@ private:
Edit& mrEdValue;
};
-// ----------------------------------------------------------------------------
+
class ScDPNumGroupEditHelper : public ScDPGroupEditHelper
{
@@ -75,7 +75,7 @@ private:
ScDoubleField& mrEdValue;
};
-// ----------------------------------------------------------------------------
+
class ScDPDateGroupEditHelper : public ScDPGroupEditHelper
{
@@ -95,8 +95,8 @@ private:
Date maNullDate;
};
-// ============================================================================
-// ============================================================================
+
+
class ScDPNumGroupDlg : public ModalDialog
{
@@ -123,7 +123,7 @@ private:
ScDPNumGroupEditHelper maEndHelper;
};
-// ============================================================================
+
class ScDPDateGroupDlg : public ModalDialog
{
@@ -159,7 +159,7 @@ private:
ScDPDateGroupEditHelper maEndHelper;
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/editfield.hxx b/sc/source/ui/inc/editfield.hxx
index 97aebe70fcec..bbcdf1390260 100644
--- a/sc/source/ui/inc/editfield.hxx
+++ b/sc/source/ui/inc/editfield.hxx
@@ -22,7 +22,7 @@
#include <vcl/field.hxx>
-// ============================================================================
+
/** An edit control that contains a double precision floating-point value. */
class ScDoubleField : public Edit
@@ -37,7 +37,7 @@ public:
bool bEraseTrailingDecZeros = true );
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx
index e8ec44610607..f6c7f5004b9d 100644
--- a/sc/source/ui/inc/fieldwnd.hxx
+++ b/sc/source/ui/inc/fieldwnd.hxx
@@ -263,7 +263,7 @@ private:
com::sun::star::uno::WeakReference< ::com::sun::star::accessibility::XAccessible > mxAccessible;
};
-// ============================================================================
+
/**
* Base class for field control with a horizontal scroll bar at the bottom.
@@ -308,7 +308,7 @@ private:
size_t mnFieldBtnColCount;
};
-// ============================================================================
+
class ScDPPageFieldControl : public ScDPHorFieldControl
{
@@ -320,7 +320,7 @@ public:
virtual OUString GetDescription() const;
};
-// ============================================================================
+
class ScDPColFieldControl : public ScDPHorFieldControl
{
@@ -332,7 +332,7 @@ public:
virtual OUString GetDescription() const;
};
-// ============================================================================
+
/**
* Row field control with a vertical scroll bar.
@@ -375,7 +375,7 @@ private:
size_t mnColumnBtnCount;
};
-// ============================================================================
+
class ScDPSelectFieldControl : public ScDPHorFieldControl
{
@@ -387,7 +387,7 @@ public:
virtual OUString GetDescription() const;
};
-// ============================================================================
+
class ScDPDataFieldControl : public ScDPHorFieldControl
{
diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx
index 7fcd1b0ef7fd..96e080744858 100644
--- a/sc/source/ui/inc/filldlg.hxx
+++ b/sc/source/ui/inc/filldlg.hxx
@@ -28,10 +28,10 @@
class ScDocument;
-//----------------------------------------------------------------------------
+
#include "scui_def.hxx"
-//============================================================================
+
class ScFillSeriesDlg : public ModalDialog
{
@@ -88,7 +88,7 @@ private:
const OUString aErrMsgInvalidVal;
- //----------------------------------------------------------
+
ScDocument& rDoc;
FillDir theFillDir;
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 8677bbafe231..6ba9480fabb2 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -38,7 +38,7 @@
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
-//----------------------------------------------------------------------------
+
class ScFilterOptionsMgr;
class ScViewData;
@@ -74,22 +74,22 @@ private:
ListBox* pLbField1;
ListBox* pLbCond1;
ComboBox* pEdVal1;
- //----------------------------
+
ListBox* pLbConnect2;
ListBox* pLbField2;
ListBox* pLbCond2;
ComboBox* pEdVal2;
- //----------------------------
+
ListBox* pLbConnect3;
ListBox* pLbField3;
ListBox* pLbCond3;
ComboBox* pEdVal3;
- //----------------------------
+
ListBox* pLbConnect4;
ListBox* pLbField4;
ListBox* pLbCond4;
ComboBox* pEdVal4;
- //----------------------------
+
ScrollBar* pScrollBar;
VclExpander* pExpander;
diff --git a/sc/source/ui/inc/foptmgr.hxx b/sc/source/ui/inc/foptmgr.hxx
index 59ac707bc950..6cfa1cb9fd21 100644
--- a/sc/source/ui/inc/foptmgr.hxx
+++ b/sc/source/ui/inc/foptmgr.hxx
@@ -25,7 +25,7 @@
#include <vcl/lstbox.hxx>
#include <vcl/button.hxx>
-//----------------------------------------------------------------------------
+
namespace formula
{
@@ -35,7 +35,7 @@ struct ScQueryParam;
class ScDocument;
class ScViewData;
-//----------------------------------------------------------------------------
+
class ScFilterOptionsMgr
{
diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx
index 9fad6707bb9e..475dee99e9cc 100644
--- a/sc/source/ui/inc/formdata.hxx
+++ b/sc/source/ui/inc/formdata.hxx
@@ -24,7 +24,7 @@
class ScInputHandler;
class ScDocShell;
-//============================================================================
+
class ScFormEditData : public formula::FormEditData
{
diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx
index 46d829822177..5137ce1852e9 100644
--- a/sc/source/ui/inc/formula.hxx
+++ b/sc/source/ui/inc/formula.hxx
@@ -40,9 +40,9 @@ class ScInputHandler;
class ScDocShell;
class ScFormulaCell;
-//============================================================================
+
typedef ScTabViewShell* PtrTabViewShell;
-//============================================================================
+
class ScFormulaDlg : public formula::FormulaDlg,
public IAnyRefDialog
diff --git a/sc/source/ui/inc/funcpage.hxx b/sc/source/ui/inc/funcpage.hxx
index 57301c22cd00..04580c9998aa 100644
--- a/sc/source/ui/inc/funcpage.hxx
+++ b/sc/source/ui/inc/funcpage.hxx
@@ -35,11 +35,11 @@
class ScFuncDesc;
-//============================================================================
+
#define LRU_MAX 10
-//============================================================================
+
class ScListBox : public ListBox
{
protected:
@@ -54,7 +54,7 @@ public:
-//============================================================================
+
class ScFuncPage : public TabPage
{
private:
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index b862aba4187b..e0319b1cbf22 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -80,7 +80,7 @@ struct SpellCallbackInfo;
#define SC_PD_BREAK_V 32
-// ---------------------------------------------------------------------------
+
// predefines
namespace sdr { namespace overlay { class OverlayObjectList; }}
diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx
index 66806dee5552..beee811022b3 100644
--- a/sc/source/ui/inc/groupdlg.hxx
+++ b/sc/source/ui/inc/groupdlg.hxx
@@ -25,7 +25,7 @@
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
-//------------------------------------------------------------------------
+
class ScGroupDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/hfedtdlg.hxx b/sc/source/ui/inc/hfedtdlg.hxx
index cd8335b9658e..8418d756e6d6 100644
--- a/sc/source/ui/inc/hfedtdlg.hxx
+++ b/sc/source/ui/inc/hfedtdlg.hxx
@@ -27,7 +27,7 @@
#include "sc.hrc"
-//==================================================================
+
class ScHFEditDlg : public SfxTabDialog
{
diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx
index 1927159bfed4..cc113c2dd837 100644
--- a/sc/source/ui/inc/highred.hxx
+++ b/sc/source/ui/inc/highred.hxx
@@ -48,7 +48,7 @@ class ScDocument;
#define FLT_DATE_SAVE 5
#endif
-//==================================================================
+
class ScHighlightChgDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/hiranges.hxx b/sc/source/ui/inc/hiranges.hxx
index 62680fb2964e..40775b9b7fd2 100644
--- a/sc/source/ui/inc/hiranges.hxx
+++ b/sc/source/ui/inc/hiranges.hxx
@@ -24,7 +24,7 @@
#include "global.hxx"
#include "address.hxx"
-//==================================================================
+
struct ScHighlightEntry
{
diff --git a/sc/source/ui/inc/imoptdlg.hxx b/sc/source/ui/inc/imoptdlg.hxx
index 668e0db0dae9..883dd0078682 100644
--- a/sc/source/ui/inc/imoptdlg.hxx
+++ b/sc/source/ui/inc/imoptdlg.hxx
@@ -29,7 +29,7 @@
#include "scdllapi.h"
#include "global.hxx"
-//===================================================================
+
class SC_DLLPUBLIC ScImportOptions
{
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 10f1f0a01041..a70fb223897c 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -49,9 +49,9 @@ class CommandEvent;
struct ESelection;
-//========================================================================
+
// ScInputHandler
-//========================================================================
+
class ScInputHandler : boost::noncopyable
{
@@ -262,9 +262,9 @@ public:
static void SetAutoComplete(bool bSet) { bAutoComplete = bSet; }
};
-//========================================================================
+
// ScInputHdlState
-//========================================================================
+
class ScInputHdlState
{
friend class ScInputHandler;
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 4b88ede4bab6..104c03c1bcd6 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -40,7 +40,7 @@ class ScRangeList;
class ScTabViewShell;
class Accelerator;
-//========================================================================
+
class ScTextWndBase : public Window
{
@@ -130,7 +130,7 @@ private:
ScTabViewShell* mpViewShell;
};
-//========================================================================
+
class ScPosWnd : public ComboBox, public SfxListener // Display position
{
@@ -164,7 +164,7 @@ private:
void ReleaseFocus_Impl();
};
-//========================================================================
+
class ScInputBarGroup;
class ScMultiTextWnd : public ScTextWnd
@@ -304,7 +304,7 @@ private:
bool mbIsMultiLine;
};
-//==================================================================
+
class ScInputWindowWrapper : public SfxChildWindow
{
diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx
index 008206df3f15..7e44c86a5dc9 100644
--- a/sc/source/ui/inc/inscldlg.hxx
+++ b/sc/source/ui/inc/inscldlg.hxx
@@ -27,7 +27,7 @@
#include "global.hxx"
-//------------------------------------------------------------------------
+
class ScInsertCellDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 02402c40db34..cc508f7ec6b8 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -25,7 +25,7 @@
#include <vcl/fixed.hxx>
#include "global.hxx"
-//------------------------------------------------------------------------
+
#include "scui_def.hxx"
class ScInsertContentsDlg : public ModalDialog
diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx
index 754b03b304d2..6c9791f9305a 100644
--- a/sc/source/ui/inc/instbdlg.hxx
+++ b/sc/source/ui/inc/instbdlg.hxx
@@ -39,7 +39,7 @@ class ScDocShell;
namespace sfx2 { class DocumentInserter; }
namespace sfx2 { class FileDialogHelper; }
-//------------------------------------------------------------------------
+
class ScInsertTableDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/lbseldlg.hxx b/sc/source/ui/inc/lbseldlg.hxx
index d2c093df81ab..260ff9fbbe31 100644
--- a/sc/source/ui/inc/lbseldlg.hxx
+++ b/sc/source/ui/inc/lbseldlg.hxx
@@ -29,7 +29,7 @@
#include <vcl/dialog.hxx>
-//------------------------------------------------------------------------
+
class ScSelEntryDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/linkarea.hxx b/sc/source/ui/inc/linkarea.hxx
index 2bf86f07a0ce..17dd3d78a55a 100644
--- a/sc/source/ui/inc/linkarea.hxx
+++ b/sc/source/ui/inc/linkarea.hxx
@@ -34,7 +34,7 @@ namespace sfx2 { class FileDialogHelper; }
class ScDocShell;
-//------------------------------------------------------------------------
+
class ScLinkedAreaDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/msgpool.hxx b/sc/source/ui/inc/msgpool.hxx
index 960656a0ff0b..982b1f6ee330 100644
--- a/sc/source/ui/inc/msgpool.hxx
+++ b/sc/source/ui/inc/msgpool.hxx
@@ -31,11 +31,11 @@
#include "uiitems.hxx"
-//------------------------------------------------------------------------
+
class ScDocumentPool;
-//------------------------------------------------------------------------
+
class ScMessagePool: public SfxItemPool
{
diff --git a/sc/source/ui/inc/mtrindlg.hxx b/sc/source/ui/inc/mtrindlg.hxx
index d49780e74155..448c77345069 100644
--- a/sc/source/ui/inc/mtrindlg.hxx
+++ b/sc/source/ui/inc/mtrindlg.hxx
@@ -26,7 +26,7 @@
#include <vcl/fixed.hxx>
-//------------------------------------------------------------------------
+
class ScMetricInputDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx
index 1bbc2826ff19..1f0d729c8c8f 100644
--- a/sc/source/ui/inc/mvtabdlg.hxx
+++ b/sc/source/ui/inc/mvtabdlg.hxx
@@ -28,7 +28,7 @@
#include <vcl/fixed.hxx>
#include <vcl/edit.hxx>
-//------------------------------------------------------------------------
+
class ScMoveTableDlg : public ModalDialog
{
@@ -76,7 +76,7 @@ private:
bool bRenameTable:1;
bool mbEverEdited:1;
- //--------------------------------------
+
void Init ();
void InitBtnRename ();
void InitDocListBox ();
diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx
index 266133fe703a..93a204bf2648 100644
--- a/sc/source/ui/inc/namedlg.hxx
+++ b/sc/source/ui/inc/namedlg.hxx
@@ -40,7 +40,7 @@ class ScViewData;
class ScDocument;
-//==================================================================
+
//logic behind the manage names dialog
class ScNameDlg : public ScAnyRefDlg
diff --git a/sc/source/ui/inc/navcitem.hxx b/sc/source/ui/inc/navcitem.hxx
index f97782eb2b0f..ae855327f5eb 100644
--- a/sc/source/ui/inc/navcitem.hxx
+++ b/sc/source/ui/inc/navcitem.hxx
@@ -24,7 +24,7 @@
#include <sfx2/ctrlitem.hxx>
-//==================================================================
+
class ScNavigatorDlg;
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 43135b09fba1..05b0a236bce0 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -41,7 +41,7 @@ class ScNavigatorDialogWrapper;
class ScNavigatorDlg;
class ScNavigatorSettings;
-//========================================================================
+
#define SC_DROPMODE_URL 0
#define SC_DROPMODE_LINK 1
@@ -53,9 +53,9 @@ enum NavListMode { NAV_LMODE_NONE = 0x4000,
NAV_LMODE_DOCS = 0x800,
NAV_LMODE_SCENARIOS = 0x400 };
-//========================================================================
+
// class ScScenarioListBox -----------------------------------------------
-//========================================================================
+
class ScScenarioListBox : public ListBox
{
@@ -94,9 +94,9 @@ private:
ScenarioList maEntries;
};
-//========================================================================
+
// class ScScenarioWindow ------------------------------------------------
-//========================================================================
+
class ScScenarioWindow : public Window
{
public:
@@ -118,9 +118,9 @@ private:
MultiLineEdit aEdComment;
};
-//==================================================================
+
// class ColumnEdit
-//==================================================================
+
class ColumnEdit : public SpinField
{
public:
@@ -151,9 +151,9 @@ private:
};
-//==================================================================
+
// class RowEdit
-//==================================================================
+
class RowEdit : public NumericField
{
public:
@@ -174,9 +174,9 @@ private:
};
-//==================================================================
+
// class ScDocListBox
-//==================================================================
+
class ScDocListBox : public ListBox
{
public:
@@ -191,9 +191,9 @@ private:
};
-//==================================================================
+
// class CommandToolBox
-//==================================================================
+
class CommandToolBox : public ToolBox
{
public:
@@ -216,9 +216,9 @@ private:
ScNavigatorDlg& rDlg;
};
-//==================================================================
+
// class ScNavigatorDlg
-//==================================================================
+
class ScNavigatorDlg : public Window, public SfxListener
{
@@ -334,7 +334,7 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt );
};
-//==================================================================
+
class ScNavigatorDialogWrapper: public SfxChildWindowContext
{
diff --git a/sc/source/ui/inc/olinefun.hxx b/sc/source/ui/inc/olinefun.hxx
index 17edeac72e65..fd66ba03966a 100644
--- a/sc/source/ui/inc/olinefun.hxx
+++ b/sc/source/ui/inc/olinefun.hxx
@@ -26,7 +26,7 @@ class ScDocShell;
class ScRange;
-// ---------------------------------------------------------------------------
+
class ScOutlineDocFunc
{
diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx
index 92ff757d4a2f..f3cfe8f4dd88 100644
--- a/sc/source/ui/inc/olinewin.hxx
+++ b/sc/source/ui/inc/olinewin.hxx
@@ -26,12 +26,12 @@ class ScOutlineEntry;
class ScOutlineArray;
-// ============================================================================
+
enum ScOutlineMode { SC_OUTLINE_HOR, SC_OUTLINE_VER };
-// ----------------------------------------------------------------------------
+
/** The window left of or above the spreadsheet containing the outline groups
and controls to expand/collapse them. */
@@ -229,7 +229,7 @@ public:
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx
index a41c2ba06ea7..34d4f83eb0d0 100644
--- a/sc/source/ui/inc/optsolver.hxx
+++ b/sc/source/ui/inc/optsolver.hxx
@@ -34,7 +34,7 @@ namespace com { namespace sun { namespace star {
namespace beans { struct PropertyValue; }
} } }
-//============================================================================
+
class ScCursorRefEdit : public formula::RefEdit
{
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index 890a2a2aa467..915f23a74900 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -50,12 +50,12 @@ class FmFormView;
class ScFieldEditEngine;
class SdrPaintWindow;
-// ---------------------------------------------------------------------------
+
#define SC_SCENARIO_HSPACE 60
#define SC_SCENARIO_VSPACE 50
-// ---------------------------------------------------------------------------
+
enum ScOutputType { OUTTYPE_WINDOW, OUTTYPE_PRINTER };
diff --git a/sc/source/ui/inc/pagedata.hxx b/sc/source/ui/inc/pagedata.hxx
index fc31e6ea1686..8ed128d1baf8 100644
--- a/sc/source/ui/inc/pagedata.hxx
+++ b/sc/source/ui/inc/pagedata.hxx
@@ -23,7 +23,7 @@
#include "global.hxx"
#include "address.hxx"
-//============================================================================
+
class ScPrintRangeData
{
diff --git a/sc/source/ui/inc/pfiltdlg.hxx b/sc/source/ui/inc/pfiltdlg.hxx
index cf4ef4e27543..649f3a53b1db 100644
--- a/sc/source/ui/inc/pfiltdlg.hxx
+++ b/sc/source/ui/inc/pfiltdlg.hxx
@@ -30,14 +30,14 @@
#include "address.hxx"
#include "queryparam.hxx"
-//------------------------------------------------------------------
+
class ScViewData;
class ScDocument;
class ScQueryItem;
class ScTypedStrData;
-//==================================================================
+
class ScPivotFilterDlg : public ModalDialog
{
@@ -50,21 +50,21 @@ public:
private:
FixedLine aFlCriteria;
- //----------------------------
+
ListBox aLbField1;
ListBox aLbCond1;
ComboBox aEdVal1;
- //----------------------------
+
ListBox aLbConnect1;
ListBox aLbField2;
ListBox aLbCond2;
ComboBox aEdVal2;
- //----------------------------
+
ListBox aLbConnect2;
ListBox aLbField3;
ListBox aLbCond3;
ComboBox aEdVal3;
- //----------------------------
+
FixedText aFtConnect;
FixedText aFtField;
FixedText aFtCond;
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx
index af476e3e3c90..524da0bef6f0 100644
--- a/sc/source/ui/inc/prevwsh.hxx
+++ b/sc/source/ui/inc/prevwsh.hxx
@@ -36,7 +36,7 @@ struct ScHeaderFieldData;
class ScPreviewLocationData;
class CommandEvent;
-//==================================================================
+
class ScPreviewShell: public SfxViewShell
diff --git a/sc/source/ui/inc/pvfundlg.hxx b/sc/source/ui/inc/pvfundlg.hxx
index f1de479b2f8a..6bdf14b76154 100644
--- a/sc/source/ui/inc/pvfundlg.hxx
+++ b/sc/source/ui/inc/pvfundlg.hxx
@@ -40,13 +40,13 @@
#include <boost/scoped_ptr.hpp>
#include <boost/unordered_map.hpp>
-// ============================================================================
+
typedef sfx::ListBoxWrapper< sal_Int32 > ScDPListBoxWrapper;
class ScDPObject;
-// ============================================================================
+
class ScDPFunctionListBox : public ListBox
{
@@ -60,7 +60,7 @@ private:
void FillFunctionNames();
};
-// ============================================================================
+
class ScDPFunctionDlg : public ModalDialog
{
@@ -103,7 +103,7 @@ private:
bool mbEmptyItem; /// true = Empty base item in listbox.
};
-// ============================================================================
+
class ScDPSubtotalDlg : public ModalDialog
{
@@ -140,7 +140,7 @@ private:
bool mbEnableLayout; /// true = Enable Layout mode controls.
};
-// ============================================================================
+
class ScDPSubtotalOptDlg : public ModalDialog
{
@@ -194,7 +194,7 @@ private:
NameMapType maDataFieldNameMap; /// Cache for displayed name to field name mapping.
};
-// ============================================================================
+
class ScDPShowDetailDlg : public ModalDialog
{
@@ -225,7 +225,7 @@ private:
ScDPObject& mrDPObj;
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx
index 6619fa2adb19..b3849219c814 100644
--- a/sc/source/ui/inc/reffact.hxx
+++ b/sc/source/ui/inc/reffact.hxx
@@ -35,7 +35,7 @@
SFX_DECL_CHILDWINDOW_WITHID(Class); \
};
-//==================================================================
+
DECL_WRAPPER_WITHID(ScNameDlgWrapper)
DECL_WRAPPER_WITHID(ScNameDefDlgWrapper)
@@ -165,7 +165,7 @@ public:
void Show( sal_uInt16 nFlags ){ if( !m_bVisibleLock ) SfxChildWindow::Show( nFlags ); }
};
-//==================================================================
+
#endif // SC_REFFACT_HXX
diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx
index 90c4863ca87b..72cd2e979ec7 100644
--- a/sc/source/ui/inc/retypepassdlg.hxx
+++ b/sc/source/ui/inc/retypepassdlg.hxx
@@ -121,7 +121,7 @@ private:
ScPasswordHash meDesiredHash;
};
-// ============================================================================
+
class ScRetypePassInputDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/rfindlst.hxx b/sc/source/ui/inc/rfindlst.hxx
index 5ebeff1d0019..066daa363985 100644
--- a/sc/source/ui/inc/rfindlst.hxx
+++ b/sc/source/ui/inc/rfindlst.hxx
@@ -24,7 +24,7 @@
#include "global.hxx"
#include "address.hxx"
-//==================================================================
+
struct ScRangeFindData
{
diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx
index b075cf01ddf3..4d7f63e4b541 100644
--- a/sc/source/ui/inc/scendlg.hxx
+++ b/sc/source/ui/inc/scendlg.hxx
@@ -28,7 +28,7 @@
#include <svtools/svmedit.hxx>
#include <svtools/ctrlbox.hxx>
-//===================================================================
+
class ScNewScenarioDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx
index 514bec86a37a..139108376f8e 100644
--- a/sc/source/ui/inc/scuiasciiopt.hxx
+++ b/sc/source/ui/inc/scuiasciiopt.hxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// ============================================================================
+
#ifndef SCUI_ASCIIOPT_HXX
#define SCUI_ASCIIOPT_HXX
@@ -26,7 +26,7 @@
#include "asciiopt.hxx"
#include "svx/langbox.hxx"
-// ============================================================================
+
class ScImportAsciiDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/scuiautofmt.hxx b/sc/source/ui/inc/scuiautofmt.hxx
index fb016b233785..c3da04ee885e 100644
--- a/sc/source/ui/inc/scuiautofmt.hxx
+++ b/sc/source/ui/inc/scuiautofmt.hxx
@@ -57,7 +57,7 @@ private:
OUString aStrDelMsg;
OUString aStrRename;
- //------------------------
+
ScAutoFormat* pFormat;
const ScAutoFormatData* pSelFmtData;
sal_uInt16 nIndex;
@@ -66,7 +66,7 @@ private:
void Init ();
void UpdateChecks ();
- //------------------------
+
DECL_LINK( CheckHdl, Button * );
DECL_LINK( AddHdl, void * );
DECL_LINK( RemoveHdl, void * );
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index 281c851ae1fb..721dc0fe80aa 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -23,7 +23,7 @@
#include <vcl/layout.hxx>
#include "imoptdlg.hxx"
-//===================================================================
+
class ScDelimiterTable;
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index 46f2e3eaf248..bf1b3aac6dc4 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -23,7 +23,7 @@
#include "tphfedit.hxx"
//#include <boost/graph/graph_concepts.hpp>
-//===================================================================
+
enum ScHFEntryId
{
eNoneEntry ,
@@ -103,7 +103,7 @@ private:
DECL_LINK( MenuHdl, ScExtIButton* );
};
-//===================================================================
+
class ScRightHeaderEditPage : public ScHFEditPage
{
@@ -114,7 +114,7 @@ private:
ScRightHeaderEditPage( Window* pParent, const SfxItemSet& rSet );
};
-//===================================================================
+
class ScLeftHeaderEditPage : public ScHFEditPage
{
@@ -125,7 +125,7 @@ private:
ScLeftHeaderEditPage( Window* pParent, const SfxItemSet& rSet );
};
-//===================================================================
+
class ScRightFooterEditPage : public ScHFEditPage
{
@@ -136,7 +136,7 @@ private:
ScRightFooterEditPage( Window* pParent, const SfxItemSet& rSet );
};
-//===================================================================
+
class ScLeftFooterEditPage : public ScHFEditPage
{
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 355e1cafb7f5..5c472044ea15 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -24,7 +24,7 @@
#include "viewdata.hxx"
-// ---------------------------------------------------------------------------
+
class ScTabView;
class ScViewData;
@@ -78,7 +78,7 @@ public:
};
-// ---------------------------------------------------------------------------
+
class ScHeaderFunctionSet : public FunctionSet // Column / row headers
diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx
index 1a6fcc756ecf..25a2fe0abdc8 100644
--- a/sc/source/ui/inc/selectionstate.hxx
+++ b/sc/source/ui/inc/selectionstate.hxx
@@ -23,7 +23,7 @@
#include <editeng/editdata.hxx>
#include "rangelst.hxx"
-// ============================================================================
+
/** Enumerates all possible types of selections in a Calc document. */
enum ScSelectionType
@@ -35,7 +35,7 @@ enum ScSelectionType
SC_SELECTTYPE_EDITDRAW /// Edit mode in drawing object (with or without selection).
};
-// ----------------------------------------------------------------------------
+
class ScViewData;
@@ -65,7 +65,7 @@ private:
bool operator==( const ScSelectionState& rL, const ScSelectionState& rR );
inline bool operator!=( const ScSelectionState& rL, const ScSelectionState& rR ) { return !(rL == rR); }
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx
index bd76d8ebae02..bfc93121df91 100644
--- a/sc/source/ui/inc/sharedocdlg.hxx
+++ b/sc/source/ui/inc/sharedocdlg.hxx
@@ -29,9 +29,9 @@ class ScViewData;
class ScDocShell;
-//=============================================================================
+
// class ScShareDocumentDlg
-//=============================================================================
+
class ScShareDocumentDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx
index c7a12d3fe07b..ce4994b48847 100644
--- a/sc/source/ui/inc/shtabdlg.hxx
+++ b/sc/source/ui/inc/shtabdlg.hxx
@@ -25,7 +25,7 @@
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
-//------------------------------------------------------------------------
+
class ScShowTabDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx
index 45074f973556..1ce82043adf1 100644
--- a/sc/source/ui/inc/simpref.hxx
+++ b/sc/source/ui/inc/simpref.hxx
@@ -34,7 +34,7 @@ class ScViewData;
class ScDocument;
-//============================================================================
+
class ScSimpleRefDlg: public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx
index cb23af64d664..fcd5f2d0c654 100644
--- a/sc/source/ui/inc/solvrdlg.hxx
+++ b/sc/source/ui/inc/solvrdlg.hxx
@@ -28,7 +28,7 @@
#include <vcl/fixed.hxx>
#include <vcl/group.hxx>
-//----------------------------------------------------------------------------
+
enum ScSolverErr
{
@@ -39,7 +39,7 @@ enum ScSolverErr
};
-//============================================================================
+
class ScSolverDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx
index 849ee46e9b69..a775b791c4d4 100644
--- a/sc/source/ui/inc/sortkeydlg.hxx
+++ b/sc/source/ui/inc/sortkeydlg.hxx
@@ -23,7 +23,7 @@
#include <svtools/stdctrl.hxx>
#include <svx/langbox.hxx>
-// =======================================================================
+
struct ScSortKeyItem : public VclBuilderContainer
{
@@ -43,7 +43,7 @@ struct ScSortKeyItem : public VclBuilderContainer
typedef boost::ptr_vector<ScSortKeyItem> ScSortKeyItems;
-// =======================================================================
+
class ScSortKeyWindow
{
@@ -63,7 +63,7 @@ public:
sal_Int32 GetTotalHeight() const { return m_pBox->GetSizePixel().Height(); }
};
-// =======================================================================
+
class ScSortKeyCtrl
{
diff --git a/sc/source/ui/inc/spelldialog.hxx b/sc/source/ui/inc/spelldialog.hxx
index 4eaf6566f877..0023d354283d 100644
--- a/sc/source/ui/inc/spelldialog.hxx
+++ b/sc/source/ui/inc/spelldialog.hxx
@@ -23,7 +23,7 @@
#include <memory>
#include <svx/SpellDialogChildWindow.hxx>
-// ============================================================================
+
class ScConversionEngineBase;
class ScSelectionState;
@@ -92,7 +92,7 @@ private:
bool mbOldIdleEnabled;
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/spelleng.hxx b/sc/source/ui/inc/spelleng.hxx
index e62c2288eb62..fa190bad5bff 100644
--- a/sc/source/ui/inc/spelleng.hxx
+++ b/sc/source/ui/inc/spelleng.hxx
@@ -28,7 +28,7 @@ class ScDocShell;
class ScDocument;
class SfxItemPool;
-// ============================================================================
+
/** Base class for special type of edit engines, i.e. for spell checker and text conversion. */
class ScConversionEngineBase : public ScEditEngineDefaulter
@@ -92,7 +92,7 @@ private:
bool mbFinished; /// true = Entire document/selection finished.
};
-// ============================================================================
+
/** Edit engine for spell checking. */
class ScSpellingEngine : public ScConversionEngineBase
@@ -128,7 +128,7 @@ private:
Window* GetDialogParent();
};
-// ============================================================================
+
/** Edit engine for text conversion. */
class ScTextConversionEngine : public ScConversionEngineBase
@@ -155,7 +155,7 @@ private:
ScConversionParam maConvParam; /// Conversion parameters.
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/spellparam.hxx b/sc/source/ui/inc/spellparam.hxx
index 4b62732c94e3..3a11bfac1374 100644
--- a/sc/source/ui/inc/spellparam.hxx
+++ b/sc/source/ui/inc/spellparam.hxx
@@ -21,7 +21,7 @@
#include <vcl/font.hxx>
-// ============================================================================
+
/** Specifiers for sheet conversion (functions iterating over the sheet and modifying cells). */
enum ScConversionType
@@ -31,7 +31,7 @@ enum ScConversionType
SC_CONVERSION_CHINESE_TRANSL /// Chinese simplified/traditional converter.
};
-// ---------------------------------------------------------------------------
+
/** Parameters for conversion. */
class ScConversionParam
@@ -73,7 +73,7 @@ private:
bool mbIsInteractive; /// True = Text conversion has (specific) dialog that may be raised.
};
-// ============================================================================
+
#endif
diff --git a/sc/source/ui/inc/styledlg.hxx b/sc/source/ui/inc/styledlg.hxx
index 5201fecee35e..f16bfd8649c9 100644
--- a/sc/source/ui/inc/styledlg.hxx
+++ b/sc/source/ui/inc/styledlg.hxx
@@ -22,7 +22,7 @@
#include <sfx2/styledlg.hxx>
-//==================================================================
+
class SfxStyleSheetBase;
diff --git a/sc/source/ui/inc/subtdlg.hxx b/sc/source/ui/inc/subtdlg.hxx
index 1a387c8b960c..61efeddfc702 100644
--- a/sc/source/ui/inc/subtdlg.hxx
+++ b/sc/source/ui/inc/subtdlg.hxx
@@ -24,7 +24,7 @@
#include "scui_def.hxx"
-//==================================================================
+
class ScSubTotalDlg : public SfxTabDialog
{
diff --git a/sc/source/ui/inc/tabbgcolordlg.hxx b/sc/source/ui/inc/tabbgcolordlg.hxx
index fb8330f38b4e..bf363ff009da 100644
--- a/sc/source/ui/inc/tabbgcolordlg.hxx
+++ b/sc/source/ui/inc/tabbgcolordlg.hxx
@@ -25,7 +25,7 @@
#include <vcl/button.hxx>
#include <svx/SvxColorValueSet.hxx>
-//------------------------------------------------------------------------
+
class ScTabBgColorDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx
index e784dcff1eff..06fc4042e575 100644
--- a/sc/source/ui/inc/tabcont.hxx
+++ b/sc/source/ui/inc/tabcont.hxx
@@ -27,7 +27,7 @@
class ScViewData;
-// ---------------------------------------------------------------------------
+
// initial size
#define SC_TABBAR_DEFWIDTH 270
diff --git a/sc/source/ui/inc/tabopdlg.hxx b/sc/source/ui/inc/tabopdlg.hxx
index 8d87cfb27c08..db1fcd58a216 100644
--- a/sc/source/ui/inc/tabopdlg.hxx
+++ b/sc/source/ui/inc/tabopdlg.hxx
@@ -27,7 +27,7 @@
#include "anyrefdg.hxx"
-//------------------------------------------------------------------------
+
enum ScTabOpErr
{
@@ -40,7 +40,7 @@ enum ScTabOpErr
TABOPERR_NOROWFORMULA
};
-//========================================================================
+
class ScTabOpDlg : public ScAnyRefDlg
{
diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx
index 4e954d098299..08ce230f2bc4 100644
--- a/sc/source/ui/inc/tabpages.hxx
+++ b/sc/source/ui/inc/tabpages.hxx
@@ -24,7 +24,7 @@
#include <svtools/stdctrl.hxx>
#include <sfx2/tabdlg.hxx>
-//========================================================================
+
class ScTabPageProtection : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index c188d1a130ae..c05baefffdde 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -60,7 +60,7 @@ namespace chart2 { namespace data {
#define SC_FORCEMODE_NONE 0xff
-// ---------------------------------------------------------------------------
+
// Help - Window
class ScCornerButton : public Window
@@ -82,7 +82,7 @@ public:
};
-// ---------------------------------------------------------------------------
+
class ScTabView : boost::noncopyable
{
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index b4b6b682f28f..5fdc286087f1 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -89,7 +89,7 @@ enum ObjectSelectionType
OST_Media
};
-//==================================================================
+
class ScTabViewShell: public SfxViewShell, public ScDBFunc
@@ -421,7 +421,7 @@ public:
void SetForceFocusOnCurCell(bool bFlag) { bForceFocusOnCurCell=bFlag; }
};
-//==================================================================
+
#endif
diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx
index 645d98fb0405..886dde6bac05 100644
--- a/sc/source/ui/inc/tpcalc.hxx
+++ b/sc/source/ui/inc/tpcalc.hxx
@@ -28,7 +28,7 @@
#include <svtools/stdctrl.hxx>
#include "editfield.hxx"
-//===================================================================
+
class ScDocOptions;
@@ -75,7 +75,7 @@ private:
private:
void Init();
- //------------------------------------
+
// Handler:
DECL_LINK( RadioClickHdl, RadioButton* );
DECL_LINK( CheckClickHdl, CheckBox* );
diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx
index 63b068a2fda8..d87eb644df49 100644
--- a/sc/source/ui/inc/tphf.hxx
+++ b/sc/source/ui/inc/tphf.hxx
@@ -24,7 +24,7 @@
class ScStyleDlg;
-//========================================================================
+
class ScHFPage : public SvxHFPage
{
@@ -62,7 +62,7 @@ private:
#endif
};
-//========================================================================
+
class ScHeaderPage : public ScHFPage
{
@@ -74,7 +74,7 @@ private:
ScHeaderPage( Window* pParent, const SfxItemSet& rSet );
};
-//========================================================================
+
class ScFooterPage : public ScHFPage
{
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index c4e523c4eb1c..64517b0e5e92 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -33,7 +33,7 @@
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <cppuhelper/weakref.hxx>
-//===================================================================
+
class ScHeaderEditEngine;
class ScPatternAttr;
@@ -98,7 +98,7 @@ private:
Link aObjectSelectLink;
};
-//===================================================================
+
class SC_DLLPUBLIC ScExtIButton : public ImageButton
{
private:
diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx
index 60a0126fd987..ca9a42fc536f 100644
--- a/sc/source/ui/inc/tpprint.hxx
+++ b/sc/source/ui/inc/tpprint.hxx
@@ -23,7 +23,7 @@
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
-//===================================================================
+
class ScTpPrintOptions : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index cf8412659322..ec3ed8c67629 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -35,7 +35,7 @@
#include "address.hxx"
#include "sortparam.hxx"
-//------------------------------------------------------------------------
+
// +1 because one field is reserved for the "- undefined -" entry
#define SC_MAXFIELDS MAXCOLCOUNT+1
@@ -44,7 +44,7 @@ class ScViewData;
class ScSortDlg;
struct ScSortParam;
-//========================================================================
+
// Sort Criteria
class ScTabPageSortFields : public SfxTabPage
@@ -100,7 +100,7 @@ private:
DECL_LINK( SelectHdl, ListBox * );
};
-//========================================================================
+
// Sort Options
class ScDocument;
diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx
index 081399a368f4..50b83e56e115 100644
--- a/sc/source/ui/inc/tpstat.hxx
+++ b/sc/source/ui/inc/tpstat.hxx
@@ -27,7 +27,7 @@
-//========================================================================
+
class ScDocStatPage: public SfxTabPage
{
diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx
index a7ebe1f0cb89..fdc093ca2b7a 100644
--- a/sc/source/ui/inc/tpsubt.hxx
+++ b/sc/source/ui/inc/tpsubt.hxx
@@ -25,7 +25,7 @@
#include <vcl/fixed.hxx>
#include "global.hxx"
-//------------------------------------------------------------------------
+
// +1 because one field is reserved for the "- none -" entry
#define SC_MAXFIELDS MAXCOLCOUNT+1
@@ -34,7 +34,7 @@ class ScViewData;
class ScDocument;
struct ScSubTotalParam;
-//========================================================================
+
class ScTpSubTotalGroup : public SfxTabPage
{
@@ -76,7 +76,7 @@ private:
DECL_LINK( CheckHdl, ListBox * );
};
-//------------------------------------------------------------------------
+
class ScTpSubTotalGroup1 : public ScTpSubTotalGroup
{
@@ -93,7 +93,7 @@ public:
virtual void Reset ( const SfxItemSet& rArgSet );
};
-//------------------------------------------------------------------------
+
class ScTpSubTotalGroup2 : public ScTpSubTotalGroup
{
@@ -110,7 +110,7 @@ public:
virtual void Reset ( const SfxItemSet& rArgSet );
};
-//------------------------------------------------------------------------
+
class ScTpSubTotalGroup3 : public ScTpSubTotalGroup
{
@@ -127,7 +127,7 @@ public:
virtual void Reset ( const SfxItemSet& rArgSet );
};
-//========================================================================
+
class ScTpSubTotalOptions : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx
index 827acf03ac4d..bb064000a5e2 100644
--- a/sc/source/ui/inc/tptable.hxx
+++ b/sc/source/ui/inc/tptable.hxx
@@ -69,7 +69,7 @@ private:
NumericField* m_pEdScalePageNum;
private:
- //------------------------------------
+
// Handler:
DECL_LINK(PageDirHdl, void *);
DECL_LINK( PageNoHdl, CheckBox* );
diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx
index bfb77da2f9c7..0879cd0a1dcf 100644
--- a/sc/source/ui/inc/tpusrlst.hxx
+++ b/sc/source/ui/inc/tpusrlst.hxx
@@ -25,7 +25,7 @@
#include <vcl/lstbox.hxx>
#include <vcl/vclmedit.hxx>
-//========================================================================
+
class ScUserList;
class ScDocument;
diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx
index 2b99c09d6637..547864673588 100644
--- a/sc/source/ui/inc/tpview.hxx
+++ b/sc/source/ui/inc/tpview.hxx
@@ -27,11 +27,11 @@
#include <svtools/ctrlbox.hxx>
#include <svx/strarray.hxx>
-//========================================================================
+
class ScViewOptions;
-//========================================================================
+
class ScTpContentOptions : public SfxTabPage
{
@@ -85,7 +85,7 @@ public:
};
-//========================================================================
+
class ScDocument;
class ScTpLayoutOptions : public SfxTabPage
@@ -135,7 +135,7 @@ public:
void SetDocument(ScDocument* pPtr){pDoc = pPtr;}
};
-//========================================================================
+
#endif // SC_TPUSRLST_HXX
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 8e6299917ffc..19a045cd787d 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -40,7 +40,7 @@ class ScViewData;
class ScDPSaveData;
struct ScQueryParam;
-// ---------------------------------------------------------------------------
+
// Items
@@ -146,7 +146,7 @@ public:
sal_uInt16 GetIndex() const { return nIndex; }
};
-//----------------------------------------------------------------------------
+
// Parameter item for the sort dialog:
class SC_DLLPUBLIC ScSortItem : public SfxPoolItem
@@ -174,7 +174,7 @@ private:
ScSortParam theSortData;
};
-//----------------------------------------------------------------------------
+
class SC_DLLPUBLIC ScQueryItem : public SfxPoolItem
{
@@ -205,7 +205,7 @@ private:
bool bIsAdvanced;
};
-//----------------------------------------------------------------------------
+
class SC_DLLPUBLIC ScSubTotalItem : public SfxPoolItem
{
@@ -232,7 +232,7 @@ private:
ScSubTotalParam theSubTotalData;
};
-//----------------------------------------------------------------------------
+
class SC_DLLPUBLIC ScUserListItem : public SfxPoolItem
{
@@ -253,7 +253,7 @@ private:
ScUserList* pUserList;
};
-//----------------------------------------------------------------------------
+
class ScConsolidateItem : public SfxPoolItem
{
@@ -274,7 +274,7 @@ private:
ScConsolidateParam theConsData;
};
-//----------------------------------------------------------------------------
+
class ScPivotItem : public SfxPoolItem
{
@@ -299,7 +299,7 @@ private:
bool bNewSheet;
};
-//----------------------------------------------------------------------------
+
class ScSolveItem : public SfxPoolItem
{
@@ -320,7 +320,7 @@ private:
ScSolveParam theSolveData;
};
-//----------------------------------------------------------------------------
+
class ScTabOpItem : public SfxPoolItem
{
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx
index 87d602825362..b04784928643 100644
--- a/sc/source/ui/inc/undobase.hxx
+++ b/sc/source/ui/inc/undobase.hxx
@@ -31,7 +31,7 @@ class SdrUndoAction;
class ScRefUndoData;
class ScDBData;
-//----------------------------------------------------------------------------
+
class ScSimpleUndo: public SfxUndoAction
{
@@ -63,7 +63,7 @@ protected:
static void ShowTable( const ScRange& rRange );
};
-//----------------------------------------------------------------------------
+
enum ScBlockUndoMode { SC_UNDO_SIMPLE, SC_UNDO_MANUALHEIGHT, SC_UNDO_AUTOHEIGHT };
@@ -110,7 +110,7 @@ protected:
void ShowBlock();
};
-//----------------------------------------------------------------------------
+
// for functions that act on a database range - takes care of the unnamed database range
// (collected separately, before the undo action, for showing dialogs etc.)
@@ -135,7 +135,7 @@ public:
void EndRedo();
};
-//----------------------------------------------------------------------------
+
enum ScMoveUndoMode { SC_UNDO_REFFIRST, SC_UNDO_REFLAST };
@@ -163,7 +163,7 @@ private:
void UndoRef();
};
-//----------------------------------------------------------------------------
+
class ScUndoWrapper: public SfxUndoAction // for manual merging of actions
{
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx
index e2cb6f6b7f6a..520e2f974696 100644
--- a/sc/source/ui/inc/undoblk.hxx
+++ b/sc/source/ui/inc/undoblk.hxx
@@ -41,7 +41,7 @@ class SvxSearchItem;
class SdrUndoAction;
class ScEditDataArray;
-//----------------------------------------------------------------------------
+
class ScUndoInsertCells: public ScMoveUndo
{
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index 6bda9c7b8c88..199eae3fd021 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -254,7 +254,7 @@ private:
void SetChangeTrack( const ScCellValue& rOldCell );
};
-// ============================================================================
+
/** Undo action for inserting, removing, and replacing a cell note. */
class ScUndoReplaceNote : public ScSimpleUndo
@@ -298,7 +298,7 @@ private:
SdrUndoAction* mpDrawUndo;
};
-// ============================================================================
+
/** Undo action for showing or hiding a cell note caption. */
class ScUndoShowHideNote : public ScSimpleUndo
@@ -320,7 +320,7 @@ private:
bool mbShown;
};
-// ============================================================================
+
class ScUndoDetective: public ScSimpleUndo
{
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index feb658d1187e..20c6ba836b0e 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -40,7 +40,7 @@ class ScDPObject;
class SdrUndoAction;
class ScMarkData;
-//----------------------------------------------------------------------------
+
class ScUndoDoOutline: public ScSimpleUndo
{
diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx
index 49e1ab654a44..34d00c043a51 100644
--- a/sc/source/ui/inc/undostyl.hxx
+++ b/sc/source/ui/inc/undostyl.hxx
@@ -26,7 +26,7 @@
class ScDocShell;
class SfxStyleSheetBase;
-//----------------------------------------------------------------------------
+
class ScStyleSaveData
{
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx
index b0276ca67ce5..e24f0d94e66a 100644
--- a/sc/source/ui/inc/undotab.hxx
+++ b/sc/source/ui/inc/undotab.hxx
@@ -42,7 +42,7 @@ class ScDocProtection;
class ScTableProtection;
class ScMarkData;
-//----------------------------------------------------------------------------
+
class ScUndoInsertTab : public ScSimpleUndo
{
@@ -351,7 +351,7 @@ private:
void DoChange( bool bShow ) const;
};
-// ============================================================================
+
/** This class implements undo & redo of document protect & unprotect
operations. */
@@ -378,7 +378,7 @@ private:
void DoProtect(bool bProtect);
};
-// ============================================================================
+
/** This class implements undo & redo of both protect and unprotect of
sheet. */
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index e6a0a04654f0..9bc029af93ed 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -30,7 +30,7 @@
#include "anyrefdg.hxx"
-// ============================================================================
+
struct ScRefHandlerCaller{
virtual ~ScRefHandlerCaller(){}
@@ -176,7 +176,7 @@ public:
};
-// ============================================================================
+
/** The tab page "Criteria" from the Validation dialog. */
class ScTPValidationValue : public ScRefHandlerCaller, public SfxTabPage
@@ -259,7 +259,7 @@ public:
};
-//==================================================================
+
class ScTPValidationHelp : public SfxTabPage
{
@@ -283,7 +283,7 @@ public:
virtual void Reset ( const SfxItemSet& rArgSet );
};
-//==================================================================
+
class ScTPValidationError : public SfxTabPage
{
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 87c380e7ca9a..d8eb8a2188b2 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -25,7 +25,7 @@
#include <boost/scoped_ptr.hpp>
-// ---------------------------------------------------------------------------
+
#define SC_SMALL3DSHADOW COL_BLACK
#define SC_SIZE_NONE 65535
@@ -104,7 +104,7 @@ class ScExtDocOptions;
class ScViewData;
class ScMarkData;
-//--------------------------------------------------------------------------
+
class ScViewDataTable // per-sheet data
{
@@ -154,7 +154,7 @@ public:
~ScViewDataTable();
};
-// ---------------------------------------------------------------------------
+
class SC_DLLPUBLIC ScViewData
{
@@ -501,7 +501,7 @@ public:
};
-// ---------------------------------------------------------------------------
+
inline long ScViewData::ToPixel( sal_uInt16 nTwips, double nFactor )
{
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index 241a09cdbe56..bc9408bc7070 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -60,7 +60,7 @@ struct ColRowSpan;
namespace com { namespace sun { namespace star { namespace datatransfer { class XTransferable; } } } }
-//==================================================================
+
class ScViewFunc : public ScTabView
{
diff --git a/sc/source/ui/inc/warnbox.hxx b/sc/source/ui/inc/warnbox.hxx
index 2218abf037b8..d06257872971 100644
--- a/sc/source/ui/inc/warnbox.hxx
+++ b/sc/source/ui/inc/warnbox.hxx
@@ -23,7 +23,7 @@
#include <vcl/msgbox.hxx>
-// ============================================================================
+
/** Message box with warning image and "Do not show again" checkbox. */
class ScCbWarningBox : public WarningBox
@@ -45,7 +45,7 @@ public:
};
-// ----------------------------------------------------------------------------
+
/** Warning box for "Replace cell contents?". */
class ScReplaceWarnBox : public ScCbWarningBox
@@ -60,7 +60,7 @@ public:
};
-// ============================================================================
+
#endif