summaryrefslogtreecommitdiff
path: root/sw/inc/docufld.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r--sw/inc/docufld.hxx132
1 files changed, 12 insertions, 120 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index ad3ea83a11a3..246971fc22fc 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -43,10 +43,7 @@ enum SwAuthorFormat
AF_FIXED = 0x8000
};
-/*--------------------------------------------------------------------
- Subtype of document statistics.
- --------------------------------------------------------------------*/
-
+// Subtype of document statistics.
enum SwDocStatSubType
{
DS_BEGIN,
@@ -132,10 +129,6 @@ enum SwJumpEditFormat
JE_FMT_OLE
};
-/*--------------------------------------------------------------------
- Page number.
- --------------------------------------------------------------------*/
-
class SwPageNumberFieldType : public SwFieldType
{
sal_Int16 nNumberingType;
@@ -151,10 +144,7 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Page numbering.
- --------------------------------------------------------------------*/
-
+// Page numbering.
class SW_DLLPUBLIC SwPageNumberField : public SwField
{
OUString sUserStr;
@@ -187,10 +177,6 @@ public:
void SetUserString( const OUString& rS ) { sUserStr = rS; }
};
-/*--------------------------------------------------------------------
- Authors.
- --------------------------------------------------------------------*/
-
class SwAuthorFieldType : public SwFieldType
{
public:
@@ -200,10 +186,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Author field.
- --------------------------------------------------------------------*/
-
class SwAuthorField : public SwField
{
OUString aContent;
@@ -221,10 +203,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Filename
- --------------------------------------------------------------------*/
-
class SwFileNameFieldType : public SwFieldType
{
SwDoc *pDoc;
@@ -235,10 +213,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- FileNameField
- --------------------------------------------------------------------*/
-
class SW_DLLPUBLIC SwFileNameField : public SwField
{
OUString aContent;
@@ -256,10 +230,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- TemplName
- --------------------------------------------------------------------*/
-
class SwTemplNameFieldType : public SwFieldType
{
SwDoc *pDoc;
@@ -270,10 +240,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- TemplNameField
- --------------------------------------------------------------------*/
-
class SW_DLLPUBLIC SwTemplNameField : public SwField
{
public:
@@ -285,10 +251,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Document statistics
- --------------------------------------------------------------------*/
-
+// Document statistics
class SwDocStatFieldType : public SwFieldType
{
SwDoc* pDoc;
@@ -302,10 +265,6 @@ public:
inline void SetNumFormat( sal_Int16 eFmt ) { nNumberingType = eFmt; }
};
-/*--------------------------------------------------------------------
- DocStatField
- --------------------------------------------------------------------*/
-
class SW_DLLPUBLIC SwDocStatField : public SwField
{
sal_uInt16 nSubType;
@@ -325,10 +284,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Hidden text.
- --------------------------------------------------------------------*/
-
class SwHiddenTxtFieldType : public SwFieldType
{
bool bHidden;
@@ -341,10 +296,6 @@ public:
inline bool GetHiddenFlag() const { return bHidden; }
};
-/*--------------------------------------------------------------------
- HiddenTxtField
- --------------------------------------------------------------------*/
-
class SwHiddenTxtField : public SwField
{
OUString aTRUETxt; ///< Text if condition sal_True.
@@ -397,10 +348,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Field that expands to an empty line (without height).
- --------------------------------------------------------------------*/
-
+// Field that expands to an empty line (without height).
class SwHiddenParaFieldType : public SwFieldType
{
public:
@@ -409,10 +357,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Hidded paragraph.
- --------------------------------------------------------------------*/
-
class SwHiddenParaField : public SwField
{
OUString aCond;
@@ -434,10 +378,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Run Macro.
- --------------------------------------------------------------------*/
-
class SwMacroFieldType : public SwFieldType
{
SwDoc* pDoc;
@@ -448,10 +388,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- MacroField.
- --------------------------------------------------------------------*/
-
class SW_DLLPUBLIC SwMacroField : public SwField
{
OUString aMacro;
@@ -490,10 +426,6 @@ public:
static bool isScriptURL( const OUString& str );
};
-/*--------------------------------------------------------------------
- PostIts
- --------------------------------------------------------------------*/
-
class SwPostItFieldType : public SwFieldType
{
private:
@@ -509,10 +441,6 @@ public:
};
};
-/*--------------------------------------------------------------------
- PostItField
- --------------------------------------------------------------------*/
-
class SW_DLLPUBLIC SwPostItField : public SwField
{
OUString sTxt;
@@ -561,10 +489,6 @@ public:
virtual OUString GetDescription() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- DocumentInfo
- --------------------------------------------------------------------*/
-
class SwDocInfoFieldType : public SwValueFieldType
{
public:
@@ -598,10 +522,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Extended User settings.
- --------------------------------------------------------------------*/
-
+// Extended User settings.
class SwExtUserFieldType : public SwFieldType
{
OUString aData;
@@ -634,10 +555,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Relative page numbers - field.
- --------------------------------------------------------------------*/
-
+// Relative page numbers - field.
class SwRefPageSetFieldType : public SwFieldType
{
public:
@@ -650,10 +568,7 @@ protected:
virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Relative page numbering.
- --------------------------------------------------------------------*/
-
+// Relative page numbering.
class SwRefPageSetField : public SwField
{
short nOffset;
@@ -677,10 +592,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Relative page numbers - query field.
- --------------------------------------------------------------------*/
-
+// Relative page numbers - query field.
class SwRefPageGetFieldType : public SwFieldType
{
SwDoc* pDoc;
@@ -697,10 +609,7 @@ public:
SwDoc* GetDoc() const { return pDoc; }
};
-/*--------------------------------------------------------------------
- Query relative page numbering.
- --------------------------------------------------------------------*/
-
+// Query relative page numbering.
class SwRefPageGetField : public SwField
{
OUString sTxt;
@@ -717,10 +626,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Field to jump to and edit.
- --------------------------------------------------------------------*/
-
+// Field to jump to and edit.
class SwJumpEditFieldType : public SwFieldType
{
SwDoc* pDoc;
@@ -757,10 +663,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Script Fieldtype.
- --------------------------------------------------------------------*/
-
class SwScriptFieldType : public SwFieldType
{
SwDoc* pDoc;
@@ -770,10 +672,6 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- ScriptField.
- --------------------------------------------------------------------*/
-
class SwScriptField : public SwField
{
OUString sType; ///< Type of Code (Java/VBScript/...)
@@ -804,10 +702,7 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- Combined Character Fieldtype
- --------------------------------------------------------------------*/
-
+// Combined Character Fieldtype
class SwCombinedCharFieldType : public SwFieldType
{
public:
@@ -816,10 +711,7 @@ public:
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
-/*--------------------------------------------------------------------
- ScriptField
- --------------------------------------------------------------------*/
-
+// ScriptField
#define MAX_COMBINED_CHARACTERS 6
class SW_DLLPUBLIC SwCombinedCharField : public SwField