summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/gloshdl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/gloshdl.hxx')
-rw-r--r--sw/source/ui/inc/gloshdl.hxx60
1 files changed, 30 insertions, 30 deletions
diff --git a/sw/source/ui/inc/gloshdl.hxx b/sw/source/ui/inc/gloshdl.hxx
index 7e5d9fbfd619..6abf6ddacb83 100644
--- a/sw/source/ui/inc/gloshdl.hxx
+++ b/sw/source/ui/inc/gloshdl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,68 +41,68 @@ class SfxViewFrame;
class SW_DLLPUBLIC SwGlossaryHdl
{
- SwGlossaries& rStatGlossaries;
- String aCurGrp;
- SfxViewFrame* pViewFrame;
- SwWrtShell* pWrtShell;
- SwTextBlocks* pCurGrp;
+ SwGlossaries& rStatGlossaries;
+ String aCurGrp;
+ SfxViewFrame* pViewFrame;
+ SwWrtShell* pWrtShell;
+ SwTextBlocks* pCurGrp;
- SW_DLLPRIVATE void _SetMacros(const String &rName,
+ SW_DLLPRIVATE void _SetMacros(const String &rName,
const SvxMacro *pStart,
const SvxMacro *pEnd);
- SW_DLLPRIVATE BOOL Expand( const String& rShortName,
+ SW_DLLPRIVATE BOOL Expand( const String& rShortName,
SwGlossaries* pGlossaries,
SwTextBlocks *pGlossary );
public:
BOOL ConvertToNew(SwTextBlocks& rOld);
- void GlossaryDlg();
+ void GlossaryDlg();
- USHORT GetGroupCnt() const;
- String GetGroupName( USHORT, String* pTitle = 0 );
- BOOL NewGroup(String & rGroupName, const String& rTitle);
- BOOL DelGroup(const String &);
- BOOL RenameGroup(const String & rOld, String& rNew, const String& rNewTitle);
- void SetCurGroup(const String &aGrp, BOOL bApi = FALSE, BOOL bAlwaysCreateNew = FALSE);
+ USHORT GetGroupCnt() const;
+ String GetGroupName( USHORT, String* pTitle = 0 );
+ BOOL NewGroup(String & rGroupName, const String& rTitle);
+ BOOL DelGroup(const String &);
+ BOOL RenameGroup(const String & rOld, String& rNew, const String& rNewTitle);
+ void SetCurGroup(const String &aGrp, BOOL bApi = FALSE, BOOL bAlwaysCreateNew = FALSE);
const String &GetCurGroup() const { return aCurGrp; }
- USHORT GetGlossaryCnt();
- String GetGlossaryName(USHORT);
- String GetGlossaryShortName(const String &rName);
- String GetGlossaryShortName(USHORT);
+ USHORT GetGlossaryCnt();
+ String GetGlossaryName(USHORT);
+ String GetGlossaryShortName(const String &rName);
+ String GetGlossaryShortName(USHORT);
BOOL Rename( const String& rOldShortName, const String& rNewShortName,
const String& rNewName);
BOOL CopyOrMove( const String& rSourceGroupName, String& rSourceShortName,
const String& rDestGroupName, const String& rLongName, BOOL bMove );
- BOOL HasShortName(const String &rShortName) const;
+ BOOL HasShortName(const String &rShortName) const;
//wird NewGlossary vom Basic gerufen, dann soll dir zuvor eingestellte
//Gruppe ggf. neu erstellt werden
- BOOL NewGlossary(const String &rName, const String &rShortName,
+ BOOL NewGlossary(const String &rName, const String &rShortName,
BOOL bApiCall = FALSE, BOOL bNoAttr = FALSE );
- BOOL DelGlossary(const String&);
- BOOL CopyToClipboard(SwWrtShell& rSh, const String& rShortName);
+ BOOL DelGlossary(const String&);
+ BOOL CopyToClipboard(SwWrtShell& rSh, const String& rShortName);
BOOL ExpandGlossary();
- BOOL InsertGlossary(const String &rName);
+ BOOL InsertGlossary(const String &rName);
- void SetMacros(const String& rName,
+ void SetMacros(const String& rName,
const SvxMacro* pStart,
const SvxMacro* pEnd,
SwTextBlocks *pGlossary = 0 );
- void GetMacros(const String& rShortName,
+ void GetMacros(const String& rShortName,
SvxMacro& rStart,
SvxMacro& rEnd,
SwTextBlocks* pGlossary = 0 );
- BOOL IsReadOnly( const String* = 0 ) const;
- BOOL IsOld() const;
+ BOOL IsReadOnly( const String* = 0 ) const;
+ BOOL IsOld() const;
- BOOL FindGroupName(String & rGroup); // Gruppe ohne Pfadindex finden
+ BOOL FindGroupName(String & rGroup); // Gruppe ohne Pfadindex finden
- BOOL ImportGlossaries( const String& rName );
+ BOOL ImportGlossaries( const String& rName );
SwGlossaryHdl(SfxViewFrame* pViewFrame, SwWrtShell *);
~SwGlossaryHdl();