summaryrefslogtreecommitdiff
path: root/package/dtd/Manifest.dtd
blob: d5f9184bf07e6df2720ba75df7fa105a1bf01b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!--

  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
 
  This file is part of OpenOffice.org.
 
  OpenOffice.org is free software: you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License version 3
  only, as published by the Free Software Foundation.
 
  OpenOffice.org is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License version 3 for more details
  (a copy is included in the LICENSE file that accompanied this code).
 
  You should have received a copy of the GNU Lesser General Public License
  version 3 along with OpenOffice.org.  If not, see
  <http://www.openoffice.org/license.html>
  for a copy of the LGPLv3 License.

-->
<!ELEMENT manifest:manifest (manifest:file-entry+)>
<!ATTLIST manifest:manifest xmlns:manifest CDATA #FIXED "http://openoffice.org/2001/manifest"> 

<!ELEMENT manifest:file-entry (manifest:encryption-data?)>
<!-- manifest:size is usually only specified for encrypted entries -->
<!ATTLIST manifest:file-entry
	manifest:full-path CDATA #REQUIRED
	manifest:size CDATA #IMPLIED
	manifest:media-type CDATA #REQUIRED
>

<!ELEMENT manifest:encryption-data (manifest:algorithm,manifest:key-derivation)>
<!ATTLIST manifest:encryption-data
	manifest:checksum-type CDATA #REQUIRED
	manifest:checksum CDATA #REQUIRED >
<!-- algorithm-name specifies the name of the algorithm used to encrypt
	 the stream, for example Blowfish 
	 manifest:initialisation-vector is stored encoded in Base64 -->
<!ELEMENT manifest:algorithm EMPTY>
<!ATTLIST manifest:algorithm
	manifest:algorithm-name CDATA #REQUIRED
	manifest:initialisation-vector CDATA #REQUIRED>

<!ELEMENT manifest:key-derivation EMPTY>
<!-- manifest:key-derivation-name specifies the name of the algorithm used to derive
	 the key, for example PBKDF2 (see rfc 2898 ) 
	 manifest:salt is stored encoded in Base64 -->
<!ATTLIST manifest:key-derivation
	manifest:key-derivation-name CDATA #REQUIRED
	manifest:salt CDATA #REQUIRED
	manifest:iteration-count CDATA #REQUIRED>

t/lo/core/diff/lotuswordpro/inc/lwpfoundry.hxx?h=libreoffice-7-0-3&id=4e67474a6e4dbfeff5316dcf08b44cfead148609'>lotuswordpro/inc/lwpfoundry.hxx2
-rw-r--r--lotuswordpro/inc/lwpfrib.hxx10
-rw-r--r--lotuswordpro/inc/lwpobj.hxx2
-rw-r--r--lotuswordpro/inc/lwpobjhdr.hxx12
-rw-r--r--lotuswordpro/inc/lwpobjstrm.hxx2
-rw-r--r--lotuswordpro/inc/lwpoverride.hxx34
-rw-r--r--lotuswordpro/inc/xfilter/xfbookmark.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfcell.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfcolstyle.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfcontent.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfdrawlinestyle.hxx12
-rw-r--r--lotuswordpro/inc/xfilter/xffont.hxx12
-rw-r--r--lotuswordpro/inc/xfilter/xffontdecl.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfframe.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfmargins.hxx8
-rw-r--r--lotuswordpro/inc/xfilter/xfnumberstyle.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfparagraph.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfparastyle.hxx8
-rw-r--r--lotuswordpro/inc/xfilter/xfrow.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfrowstyle.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xfshadow.hxx12
-rw-r--r--lotuswordpro/inc/xfilter/xftable.hxx4
-rw-r--r--lotuswordpro/inc/xfilter/xftextstyle.hxx2
-rw-r--r--lotuswordpro/source/filter/bento.hxx12
-rw-r--r--lotuswordpro/source/filter/lwpbackgroundoverride.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpbackgroundstuff.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpborderstuff.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpbreaksoverride.hxx66
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpcelllayout.hxx10
-rw-r--r--lotuswordpro/source/filter/lwpcontent.hxx8
-rw-r--r--lotuswordpro/source/filter/lwpdivinfo.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpdivinfo.hxx22
-rw-r--r--lotuswordpro/source/filter/lwpdoc.hxx8
-rw-r--r--lotuswordpro/source/filter/lwpfont.cxx28
-rw-r--r--lotuswordpro/source/filter/lwpfootnote.cxx6
-rw-r--r--lotuswordpro/source/filter/lwpfootnote.hxx32
-rw-r--r--lotuswordpro/source/filter/lwpframelayout.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfrib.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribbreaks.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribframe.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribframe.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribmark.cxx8
-rw-r--r--lotuswordpro/source/filter/lwpfribmark.hxx14
-rw-r--r--lotuswordpro/source/filter/lwpfribptr.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribptr.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribtext.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpgrfobj.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpgrfobj.hxx6
-rw-r--r--lotuswordpro/source/filter/lwphyperlinkmgr.hxx4
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx8
-rw-r--r--lotuswordpro/source/filter/lwplayout.hxx14
-rw-r--r--lotuswordpro/source/filter/lwplaypiece.hxx24
-rw-r--r--lotuswordpro/source/filter/lwpmarker.cxx8
-rw-r--r--lotuswordpro/source/filter/lwpmarker.hxx26
-rw-r--r--lotuswordpro/source/filter/lwpnotes.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpnumberingoverride.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.hxx18
-rw-r--r--lotuswordpro/source/filter/lwpoverride.cxx6
-rw-r--r--lotuswordpro/source/filter/lwppagehint.hxx4
-rw-r--r--lotuswordpro/source/filter/lwppara.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpparaborderoverride.hxx52
-rw-r--r--lotuswordpro/source/filter/lwpparaproperty.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpparastyle.cxx6
-rw-r--r--lotuswordpro/source/filter/lwpparastyle.hxx6
-rw-r--r--lotuswordpro/source/filter/lwpproplist.hxx4
-rw-r--r--lotuswordpro/source/filter/lwprowlayout.cxx2
-rw-r--r--lotuswordpro/source/filter/lwprowlayout.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpsection.cxx4
-rw-r--r--lotuswordpro/source/filter/lwpsection.hxx6
-rw-r--r--lotuswordpro/source/filter/lwpshadow.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpsilverbullet.cxx4
-rw-r--r--lotuswordpro/source/filter/lwpsilverbullet.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpstory.hxx6
-rw-r--r--lotuswordpro/source/filter/lwptable.cxx4
-rw-r--r--lotuswordpro/source/filter/lwptable.hxx8
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.hxx8
-rw-r--r--lotuswordpro/source/filter/lwptabrack.hxx16
-rw-r--r--lotuswordpro/source/filter/lwptblcell.hxx24
-rw-r--r--lotuswordpro/source/filter/lwptblformula.hxx4
-rw-r--r--lotuswordpro/source/filter/lwptoc.hxx8
-rw-r--r--lotuswordpro/source/filter/lwpusewhen.hxx44
-rw-r--r--lotuswordpro/source/filter/xfilter/xfdrawareastyle.hxx8
-rw-r--r--lotuswordpro/source/filter/xfilter/xfframe.cxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfparagraph.cxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfstylemanager.cxx2
92 files changed, 413 insertions, 413 deletions
diff --git a/lotuswordpro/inc/lwpatomholder.hxx b/lotuswordpro/inc/lwpatomholder.hxx
index b038289a2d6b..e6f4ae57377c 100644
--- a/lotuswordpro/inc/lwpatomholder.hxx
+++ b/lotuswordpro/inc/lwpatomholder.hxx
@@ -76,9 +76,9 @@ public:
void ReadPathAtom(LwpObjectStream *pStrm);
void Skip(LwpObjectStream *pStrm);
const OUString& str() const {return m_String;}
- inline bool HasValue();
+ inline bool HasValue() const;
};
-inline bool LwpAtomHolder::HasValue()
+inline bool LwpAtomHolder::HasValue() const
{
return (m_nAtom != BAD_ATOM);
}
diff --git a/lotuswordpro/inc/lwpcolor.hxx b/lotuswordpro/inc/lwpcolor.hxx
index d6d3b02a63b7..3ca8698800ad 100644
--- a/lotuswordpro/inc/lwpcolor.hxx
+++ b/lotuswordpro/inc/lwpcolor.hxx
@@ -73,12 +73,12 @@ public:
LwpColor():m_nRed(0), m_nGreen(0), m_nBlue(0), m_nExtra(0){}
public:
void Read(LwpObjectStream *pStrm);
- sal_uInt16 GetRed();
- sal_uInt16 GetGreen();
- sal_uInt16 GetBlue();
- bool IsValidColor();
+ sal_uInt16 GetRed() const;
+ sal_uInt16 GetGreen() const;
+ sal_uInt16 GetBlue() const;
+ bool IsValidColor() const;
sal_uInt32 To24Color();
- bool IsTransparent();
+ bool IsTransparent() const;
private:
sal_uInt16 m_nRed; // When extra is AGLRGB_INDEX, m_nRed holds the
sal_uInt16 m_nGreen; // hi 16 bits and m_nGreen holds the lo 16 bits of
@@ -99,23 +99,23 @@ private:
AGLRGB_TRANSPARENT = 100
};
};
-inline sal_uInt16 LwpColor::GetRed()
+inline sal_uInt16 LwpColor::GetRed() const
{
return m_nRed;
}
-inline sal_uInt16 LwpColor::GetGreen()
+inline sal_uInt16 LwpColor::GetGreen() const
{
return m_nGreen;
}
-inline sal_uInt16 LwpColor::GetBlue()
+inline sal_uInt16 LwpColor::GetBlue() const
{
return m_nBlue;
}
-inline bool LwpColor::IsValidColor()
+inline bool LwpColor::IsValidColor() const
{
return ((m_nExtra!=AGLRGB_INVALID) && (m_nExtra!=AGLRGB_TRANSPARENT));
}
-inline bool LwpColor::IsTransparent()
+inline bool LwpColor::IsTransparent() const
{
return (m_nExtra==AGLRGB_TRANSPARENT);
}
diff --git a/lotuswordpro/inc/lwpfilehdr.hxx b/lotuswordpro/inc/lwpfilehdr.hxx
index ef444b12eb2b..2bb49127ab8f 100644
--- a/lotuswordpro/inc/lwpfilehdr.hxx
+++ b/lotuswordpro/inc/lwpfilehdr.hxx
@@ -74,10 +74,10 @@ private: //data member
public:
static sal_uInt16 m_nFileRevision;
void Read(LwpSvStream *pStrm);
- sal_uInt32 GetRootIndexOffset();
+ sal_uInt32 GetRootIndexOffset() const;
LwpObjectID& GetDocID();
};
-inline sal_uInt32 LwpFileHeader::GetRootIndexOffset()
+inline sal_uInt32 LwpFileHeader::GetRootIndexOffset() const
{
return m_nRootIndexOffset;
}
diff --git a/lotuswordpro/inc/lwpfont.hxx b/lotuswordpro/inc/lwpfont.hxx
index 866775485234..cc1dc713347e 100644
--- a/lotuswordpro/inc/lwpfont.hxx
+++ b/lotuswordpro/inc/lwpfont.hxx
@@ -80,7 +80,7 @@ public:
LwpFontTableEntry(){}
public:
void Read(LwpObjectStream *pStrm);
- OUString const & GetFaceName();
+ OUString const & GetFaceName() const;
private:
LwpAtomHolder m_WindowsFaceName; //font face name under windows
LwpAtomHolder m_FaceName; //font face name
@@ -117,11 +117,11 @@ public:
{}
public:
void Read(LwpObjectStream *pStrm);
- sal_uInt16 GetFaceID(){return m_nFaceName;}
- sal_uInt16 GetAltFaceID(){return m_nAltFaceName;}
+ sal_uInt16 GetFaceID() const {return m_nFaceName;}
+ sal_uInt16 GetAltFaceID() const {return m_nAltFaceName;}
void Override(rtl::Reference<XFFont> const & pFont);
- inline bool IsFaceNameOverridden();
- inline bool IsAltFaceNameOverridden();
+ inline bool IsFaceNameOverridden() const;
+ inline bool IsAltFaceNameOverridden() const;
private:
//Data of CFontDescriptionOverrideBase
sal_uInt8 m_nOverrideBits;
@@ -148,9 +148,9 @@ private:
| TIGHTNESS | FACENAME | BKCOLOR)
};
- inline bool IsPointSizeOverridden();
- inline bool IsColorOverridden();
- inline bool IsBackgroundColorOverridden();
+ inline bool IsPointSizeOverridden() const;
+ inline bool IsColorOverridden() const;
+ inline bool IsBackgroundColorOverridden() const;
//TODO
// inline sal_Bool IsTightnessOverridden();
// inline sal_Bool IsAnythingOverridden();
@@ -230,14 +230,14 @@ private:
ALL_ATTRS2 = CASE | UNDER
};
bool Is(sal_uInt16 Attr);
- bool IsBoldOverridden();
- bool IsItalicOverridden();
- bool IsStrikeThruOverridden();
- bool IsSmallCapsOverridden();
- bool IsSuperOverridden();
- bool IsSubOverridden();
- bool IsUnderlineOverridden();
- bool IsCaseOverridden();
+ bool IsBoldOverridden() const;
+ bool IsItalicOverridden() const;
+ bool IsStrikeThruOverridden() const;
+ bool IsSmallCapsOverridden() const;
+ bool IsSuperOverridden() const;
+ bool IsSubOverridden() const;
+ bool IsUnderlineOverridden() const;
+ bool IsCaseOverridden() const;
};
diff --git a/lotuswordpro/inc/lwpfoundry.hxx b/lotuswordpro/inc/lwpfoundry.hxx
index 96c487c35c98..ae91294885b2 100644
--- a/lotuswordpro/inc/lwpfoundry.hxx
+++ b/lotuswordpro/inc/lwpfoundry.hxx
@@ -103,7 +103,7 @@ private:
LwpObjectID m_TableRange;
public:
void Read(LwpObjectStream *pStrm);
- const LwpObjectID& GetTableRangeID(){ return m_TableRange;}
+ const LwpObjectID& GetTableRangeID() const { return m_TableRange;}
};
class LwpBulletManager
diff --git a/lotuswordpro/inc/lwpfrib.hxx b/lotuswordpro/inc/lwpfrib.hxx
index 6ff3cad39a98..753bdc5999cf 100644
--- a/lotuswordpro/inc/lwpfrib.hxx
+++ b/lotuswordpro/inc/lwpfrib.hxx
@@ -93,7 +93,7 @@ public:
virtual void Read(LwpObjectStream* pObjStrm, sal_uInt16 len);
LwpFrib* GetNext(){return m_pNext;}
void SetNext(LwpFrib* next){m_pNext = next;}
- sal_uInt8 GetType() { return m_nFribType;}
+ sal_uInt8 GetType() const { return m_nFribType;}
OUString GetEditor();
XFColor GetHighlightColor();
protected:
@@ -105,17 +105,17 @@ protected:
OUString m_StyleName;
public:
bool m_ModFlag;
- const OUString& GetStyleName(){return m_StyleName;}
+ const OUString& GetStyleName() const {return m_StyleName;}
void SetModifiers(ModifierInfo* pModifiers);
ModifierInfo* GetModifiers(){return m_pModifiers.get();}
virtual void RegisterStyle(LwpFoundry* pFoundry);
bool HasNextFrib();
void ConvertChars(XFContentContainer* pXFPara,const OUString& text);
- void ConvertHyperLink(XFContentContainer* pXFPara,LwpHyperlinkMgr* pHyperlink,const OUString& text);
+ void ConvertHyperLink(XFContentContainer* pXFPara, const LwpHyperlinkMgr* pHyperlink,const OUString& text);
rtl::Reference<XFFont> GetFont();
- sal_uInt8 GetRevisionType(){return m_nRevisionType;}
- bool GetRevisionFlag(){return m_bRevisionFlag;}
+ sal_uInt8 GetRevisionType() const {return m_nRevisionType;}
+ bool GetRevisionFlag() const {return m_bRevisionFlag;}
enum{
REV_INSERT =0,
REV_DELETE = 1,
diff --git a/lotuswordpro/inc/lwpobj.hxx b/lotuswordpro/inc/lwpobj.hxx
index df38746f49f7..0cb7b428e28f 100644
--- a/lotuswordpro/inc/lwpobj.hxx
+++ b/lotuswordpro/inc/lwpobj.hxx
@@ -133,7 +133,7 @@ public:
LwpFoundry* GetFoundry(){return m_pFoundry;}
void SetFoundry(LwpFoundry* pFoundry){m_pFoundry = pFoundry;}
LwpObjectID& GetObjectID(){ return m_ObjHdr.GetID();}
- sal_uInt32 GetTag() { return m_ObjHdr.GetTag();}
+ sal_uInt32 GetTag() const { return m_ObjHdr.GetTag();}
};
#endif
diff --git a/lotuswordpro/inc/lwpobjhdr.hxx b/lotuswordpro/inc/lwpobjhdr.hxx
index 12c4169bf8e8..a1dc885dfcbd 100644
--- a/lotuswordpro/inc/lwpobjhdr.hxx
+++ b/lotuswordpro/inc/lwpobjhdr.hxx
@@ -108,17 +108,17 @@ private:
public:
bool Read(LwpSvStream &pStrm);
- inline sal_uInt32 GetTag();
- inline sal_uInt32 GetSize();
+ inline sal_uInt32 GetTag() const;
+ inline sal_uInt32 GetSize() const;
inline LwpObjectID& GetID();
- inline bool IsCompressed();
+ inline bool IsCompressed() const;
};
-inline sal_uInt32 LwpObjectHeader::GetTag()
+inline sal_uInt32 LwpObjectHeader::GetTag() const
{
return m_nTag;
}
-inline sal_uInt32 LwpObjectHeader::GetSize()
+inline sal_uInt32 LwpObjectHeader::GetSize() const
{
return m_nSize;
}
@@ -126,7 +126,7 @@ inline LwpObjectID& LwpObjectHeader::GetID()
{
return m_ID;
}
-inline bool LwpObjectHeader::IsCompressed()
+inline bool LwpObjectHeader::IsCompressed() const
{
return m_bCompressed;
}
diff --git a/lotuswordpro/inc/lwpobjstrm.hxx b/lotuswordpro/inc/lwpobjstrm.hxx
index bbcfd3af2a91..0e702bb96a34 100644
--- a/lotuswordpro/inc/lwpobjstrm.hxx
+++ b/lotuswordpro/inc/lwpobjstrm.hxx
@@ -88,7 +88,7 @@ private:
public:
sal_uInt16 remainingSize() const;
sal_uInt16 QuickRead(void* buf, sal_uInt16 len);
- sal_uInt16 GetPos() { return m_nReadPos; }
+ sal_uInt16 GetPos() const { return m_nReadPos; }
void SeekRel(sal_uInt16 pos);
void Seek( sal_uInt16 pos);
void SkipExtra();
diff --git a/lotuswordpro/inc/lwpoverride.hxx b/lotuswordpro/inc/lwpoverride.hxx
index 19d059616b87..036492e518d1 100644
--- a/lotuswordpro/inc/lwpoverride.hxx
+++ b/lotuswordpro/inc/lwpoverride.hxx
@@ -131,7 +131,7 @@ public:
inline sal_uInt16 GetHideLevels() const;
- bool IsHighlight();
+ bool IsHighlight() const;
private:
LwpTextAttributeOverride(LwpTextAttributeOverride const& rOther);
@@ -178,12 +178,12 @@ public:
void Override(LwpBulletOverride* pOther);
- inline bool IsSilverBulletOverridden();
- inline bool IsSkipOverridden();
- inline bool IsRightAlignedOverridden();
- inline bool IsSkip();
- inline bool IsRightAligned();
- inline bool IsEditable();
+ inline bool IsSilverBulletOverridden() const;
+ inline bool IsSkipOverridden() const;
+ inline bool IsRightAlignedOverridden() const;
+ inline bool IsSkip() const;
+ inline bool IsRightAligned() const;
+ inline bool IsEditable() const;
void OverrideSilverBullet(LwpObjectID aID);
void OverrideSkip(bool bOver);
@@ -193,7 +193,7 @@ public:
inline void RevertSkip();
inline void RevertRightAligned();
- bool IsInValid(){return m_bIsNull;}
+ bool IsInValid() const {return m_bIsNull;}
private:
LwpBulletOverride(LwpBulletOverride const& rOther);
@@ -217,32 +217,32 @@ inline const LwpObjectID& LwpBulletOverride::GetSilverBullet() const
return m_SilverBullet;
}
-inline bool LwpBulletOverride::IsSilverBulletOverridden()
+inline bool LwpBulletOverride::IsSilverBulletOverridden() const
{
return ((m_nOverride & BO_SILVERBULLET) != 0);
}
-inline bool LwpBulletOverride::IsSkipOverridden()
+inline bool LwpBulletOverride::IsSkipOverridden() const
{
return ((m_nOverride & BO_SKIP) != 0);
}
-inline bool LwpBulletOverride::IsRightAlignedOverridden()
+inline bool LwpBulletOverride::IsRightAlignedOverridden() const
{
return ((m_nOverride & BO_RIGHTALIGN) != 0);
}
-inline bool LwpBulletOverride::IsSkip()
+inline bool LwpBulletOverride::IsSkip() const
{
return ((m_nValues & BO_SKIP) != 0);
}
-inline bool LwpBulletOverride::IsEditable()
+inline bool LwpBulletOverride::IsEditable() const
{
return ((m_nValues & BO_EDITABLE) != 0);
}
-inline bool LwpBulletOverride::IsRightAligned()
+inline bool LwpBulletOverride::IsRightAligned() const
{
return ((m_nValues & BO_RIGHTALIGN) != 0);
}
@@ -283,7 +283,7 @@ public:
ALIGN_SQUEEZE = 7
};
- AlignType GetAlignType(){ return m_nAlignType; }
+ AlignType GetAlignType() const { return m_nAlignType; }
void Override(LwpAlignmentOverride* other);
void OverrideAlignment(AlignType val);
@@ -389,8 +389,8 @@ public:
inline double GetLeft() const;
inline double GetRight() const;
- sal_uInt16 GetRelative();
- bool IsUseRelative();
+ sal_uInt16 GetRelative() const;
+ bool IsUseRelative() const;
void Override(LwpIndentOverride* other);
void OverrideIndentAll(sal_Int32 val);
void OverrideIndentFirst(sal_Int32 val);
diff --git a/lotuswordpro/inc/xfilter/xfbookmark.hxx b/lotuswordpro/inc/xfilter/xfbookmark.hxx
index 2c2a684f2bd9..1dd473f94c44 100644
--- a/lotuswordpro/inc/xfilter/xfbookmark.hxx
+++ b/lotuswordpro/inc/xfilter/xfbookmark.hxx
@@ -78,9 +78,9 @@ public:
m_bStart = isStart;
}
- const OUString& GetDivision(){return m_strDivision;}
+ const OUString& GetDivision() const {return m_strDivision;}
void SetDivision(const OUString& sDivName){m_strDivision = sDivName;}
- const OUString& GetName(){return m_strName;}
+ const OUString& GetName() const {return m_strName;}
public:
/**
diff --git a/lotuswordpro/inc/xfilter/xfcell.hxx b/lotuswordpro/inc/xfilter/xfcell.hxx
index 9199b5a1aba1..2bdc97824323 100644
--- a/lotuswordpro/inc/xfilter/xfcell.hxx
+++ b/lotuswordpro/inc/xfilter/xfcell.hxx
@@ -134,7 +134,7 @@ public:
/**
* @descr return cell column span property.
*/
- sal_Int32 GetColSpaned();
+ sal_Int32 GetColSpaned() const;
/**
* @descr Output cell as xml element.
@@ -186,7 +186,7 @@ inline void XFCell::SetOwnerRow(XFRow *pRow)
m_pOwnerRow = pRow;
}
-inline sal_Int32 XFCell::GetColSpaned()
+inline sal_Int32 XFCell::GetColSpaned() const
{
return m_nColSpaned;
}
diff --git a/lotuswordpro/inc/xfilter/xfcolstyle.hxx b/lotuswordpro/inc/xfilter/xfcolstyle.hxx
index 563fd0134031..774a2e636941 100644
--- a/lotuswordpro/inc/xfilter/xfcolstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfcolstyle.hxx
@@ -82,7 +82,7 @@ public:
/**
* @descr return column width.
*/
- double GetWidth();
+ double GetWidth() const;
virtual enumXFStyle GetStyleFamily() override;
@@ -100,7 +100,7 @@ inline void XFColStyle::SetWidth(double width)
m_fWidth = width;
}
-inline double XFColStyle::GetWidth()
+inline double XFColStyle::GetWidth() const
{
return m_fWidth;
}
diff --git a/lotuswordpro/inc/xfilter/xfcontent.hxx b/lotuswordpro/inc/xfilter/xfcontent.hxx
index 38021b4fcd7a..8cb5be5da2c6 100644
--- a/lotuswordpro/inc/xfilter/xfcontent.hxx
+++ b/lotuswordpro/inc/xfilter/xfcontent.hxx
@@ -91,7 +91,7 @@ public:
/**
* @short: return the style name.
*/
- const OUString& GetStyleName() {return m_strStyleName;}
+ const OUString& GetStyleName() const {return m_strStyleName;}
void DoToXml(IXFStream* stream)
{
diff --git a/lotuswordpro/inc/xfilter/xfdrawlinestyle.hxx b/lotuswordpro/inc/xfilter/xfdrawlinestyle.hxx
index 20df6dc436bd..5dae0ccd482b 100644
--- a/lotuswordpro/inc/xfilter/xfdrawlinestyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfdrawlinestyle.hxx
@@ -121,13 +121,13 @@ public:
/**
* @descr decide whether it's a solid line.
*/
- bool IsSolid();
+ bool IsSolid() const;
- double GetWidth();
+ double GetWidth() const;
const XFColor& GetColor() const;
- sal_Int32 GetTransparency();
+ sal_Int32 GetTransparency() const;
virtual enumXFStyle GetStyleFamily() override;
@@ -190,12 +190,12 @@ inline void XFDrawLineStyle::SetSpace(double space)
m_fSpace = space;
}
-inline bool XFDrawLineStyle::IsSolid()
+inline bool XFDrawLineStyle::IsSolid() const
{
return (m_eLineStyle==enumXFLineSolid);
}
-inline double XFDrawLineStyle::GetWidth()
+inline double XFDrawLineStyle::GetWidth() const
{
return m_fWidth;
}
@@ -205,7 +205,7 @@ inline const XFColor& XFDrawLineStyle::GetColor() const
return m_aColor;
}
-inline sal_Int32 XFDrawLineStyle::GetTransparency()
+inline sal_Int32 XFDrawLineStyle::GetTransparency() const
{
return m_nTransparency;
}
diff --git a/lotuswordpro/inc/xfilter/xffont.hxx b/lotuswordpro/inc/xfilter/xffont.hxx
index f9e83eba1eb1..47067b3a59d2 100644
--- a/lotuswordpro/inc/xfilter/xffont.hxx
+++ b/lotuswordpro/inc/xfilter/xffont.hxx
@@ -213,10 +213,10 @@ public:
void SetBackColorTransparent();
//getter:
- enumXFTransform GetTransform();
+ enumXFTransform GetTransform() const;
- sal_Int16 GetFontSize();
- const XFColor& GetColor();
+ sal_Int16 GetFontSize() const;
+ const XFColor& GetColor() const;
void ToXml(IXFStream *pStrm);
@@ -397,17 +397,17 @@ inline void XFFont::SetBackColorTransparent()
m_nFlag |= XFFONT_FLAG_BGCOLOR;
}
-inline enumXFTransform XFFont::GetTransform()
+inline enumXFTransform XFFont::GetTransform() const
{
return m_eTransform;
}
-inline sal_Int16 XFFont::GetFontSize()
+inline sal_Int16 XFFont::GetFontSize() const
{
return m_nFontSize;
}
-inline const XFColor& XFFont::GetColor()
+inline const XFColor& XFFont::GetColor() const
{
return m_aColor;
}
diff --git a/lotuswordpro/inc/xfilter/xffontdecl.hxx b/lotuswordpro/inc/xfilter/xffontdecl.hxx
index e1a1e615a7cf..2c3eeaad7164 100644
--- a/lotuswordpro/inc/xfilter/xffontdecl.hxx
+++ b/lotuswordpro/inc/xfilter/xffontdecl.hxx
@@ -77,12 +77,12 @@ public:
/**
* @descr Get font name.
*/
- const OUString& GetFontName() { return m_strFontName;}
+ const OUString& GetFontName() const { return m_strFontName;}
/**
* @descr Get font family.
*/
- const OUString& GetFontFamily() { return m_strFontFamily;}
+ const OUString& GetFontFamily() const { return m_strFontFamily;}
private:
OUString m_strFontName;
diff --git a/lotuswordpro/inc/xfilter/xfframe.hxx b/lotuswordpro/inc/xfilter/xfframe.hxx
index 1394cde73ae0..35f73d32587a 100644
--- a/lotuswordpro/inc/xfilter/xfframe.hxx
+++ b/lotuswordpro/inc/xfilter/xfframe.hxx
@@ -154,7 +154,7 @@ public:
/**
* @descr Get the frame type. image, drawing or text-box.
*/
- enumXFFrameType GetFrameType();
+ enumXFFrameType GetFrameType() const;
/**
* @descr Get content type, enumXFContentFrame.
diff --git a/lotuswordpro/inc/xfilter/xfmargins.hxx b/lotuswordpro/inc/xfilter/xfmargins.hxx
index 2705304d3004..0ee890c7f9d8 100644
--- a/lotuswordpro/inc/xfilter/xfmargins.hxx
+++ b/lotuswordpro/inc/xfilter/xfmargins.hxx
@@ -78,8 +78,8 @@ public:
void SetTop(double top);
void SetBottom(double bottom);
- double GetLeft();
- double GetTop();
+ double GetLeft() const;
+ double GetTop() const;
void ToXml(IXFStream *pStrm);
@@ -117,12 +117,12 @@ inline void XFMargins::SetBottom(double bottom)
m_nFlag |= XFMARGINS_FLAG_BOTTOM;
}
-inline double XFMargins::GetLeft()
+inline double XFMargins::GetLeft() const
{
return m_fLeft;
}
-inline double XFMargins::GetTop()
+inline double XFMargins::GetTop() const
{
return m_fTop;
}
diff --git a/lotuswordpro/inc/xfilter/xfnumberstyle.hxx b/lotuswordpro/inc/xfilter/xfnumberstyle.hxx
index 79f442b5566d..cea69c1f9010 100644
--- a/lotuswordpro/inc/xfilter/xfnumberstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfnumberstyle.hxx
@@ -75,7 +75,7 @@ public:
void SetGroup();
void SetColor(const XFColor& color);
- const XFColor& GetColor() {return m_aColor;}
+ const XFColor& GetColor() const {return m_aColor;}
void SetPrefix(const OUString& prefix);
diff --git a/lotuswordpro/inc/xfilter/xfparagraph.hxx b/lotuswordpro/inc/xfilter/xfparagraph.hxx
index 20ad256cc769..f096b9b1837b 100644
--- a/lotuswordpro/inc/xfilter/xfparagraph.hxx
+++ b/lotuswordpro/inc/xfilter/xfparagraph.hxx
@@ -79,7 +79,7 @@ public:
virtual ~XFParagraph() override;
public:
- bool HasContents();
+ bool HasContents() const;
virtual enumXFContent GetContentType() override;
diff --git a/lotuswordpro/inc/xfilter/xfparastyle.hxx b/lotuswordpro/inc/xfilter/xfparastyle.hxx
index f50f28f62f1e..f43c4fd4dba7 100644
--- a/lotuswordpro/inc/xfilter/xfparastyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfparastyle.hxx
@@ -108,7 +108,7 @@ public:
*/
void SetMasterPage(const OUString& master);
- const OUString& GetMasterPage();
+ const OUString& GetMasterPage() const;
/**
* @descr set the paragraph default font.
@@ -120,7 +120,7 @@ public:
/**
* @descr get the font object.
*/
- const rtl::Reference<XFFont>& GetFont(){ return m_pFont; }
+ const rtl::Reference<XFFont>& GetFont() const { return m_pFont; }
/**
* @descr Set the indent of the paragraph. This is the indent for
@@ -216,7 +216,7 @@ public:
virtual void ToXml(IXFStream *strm) override;
void SetNumberRight(bool bFlag){m_bNumberRight = bFlag;}
- bool GetNumberRight(){return m_bNumberRight;}
+ bool GetNumberRight() const {return m_bNumberRight;}
protected:
OUString m_strMasterPage;
@@ -276,7 +276,7 @@ inline void XFParaStyle::ClearTabStyles()
m_aTabs.Reset();
}
-inline const OUString& XFParaStyle::GetMasterPage()
+inline const OUString& XFParaStyle::GetMasterPage() const
{
return m_strMasterPage;
}
diff --git a/lotuswordpro/inc/xfilter/xfrow.hxx b/lotuswordpro/inc/xfilter/xfrow.hxx
index 1f2a1e430e03..d8269057bb82 100644
--- a/lotuswordpro/inc/xfilter/xfrow.hxx
+++ b/lotuswordpro/inc/xfilter/xfrow.hxx
@@ -82,7 +82,7 @@ public:
void SetOwnerTable(XFTable *pTable);
- sal_Int32 GetRow();
+ sal_Int32 GetRow() const;
sal_Int32 GetCellCount() const;
@@ -116,7 +116,7 @@ inline void XFRow::SetOwnerTable(XFTable *pTable)
m_pOwnerTable = pTable;
}
-inline sal_Int32 XFRow::GetRow()
+inline sal_Int32 XFRow::GetRow() const
{
return m_nRow;
}
diff --git a/lotuswordpro/inc/xfilter/xfrowstyle.hxx b/lotuswordpro/inc/xfilter/xfrowstyle.hxx
index 41fc1c2adc76..8ca8d1223e03 100644
--- a/lotuswordpro/inc/xfilter/xfrowstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfrowstyle.hxx
@@ -73,7 +73,7 @@ public:
public:
void SetRowHeight(double height);
- double GetRowHeight();
+ double GetRowHeight() const;
void SetMinRowHeight(double height);
@@ -97,7 +97,7 @@ inline void XFRowStyle::SetMinRowHeight(double height)
m_fMinHeight = height;
}
-inline double XFRowStyle::GetRowHeight()
+inline double XFRowStyle::GetRowHeight() const
{
if (m_fMinHeight > FLOAT_MIN)
{
diff --git a/lotuswordpro/inc/xfilter/xfshadow.hxx b/lotuswordpro/inc/xfilter/xfshadow.hxx
index 114a5debae93..b1f770c38b12 100644
--- a/lotuswordpro/inc/xfilter/xfshadow.hxx
+++ b/lotuswordpro/inc/xfilter/xfshadow.hxx
@@ -81,7 +81,7 @@ public:
/**
* @descr return shadow position.
*/
- enumXFShadowPos GetPosition();
+ enumXFShadowPos GetPosition() const;
/**
* @descr Set shadow offset from owner object.
@@ -91,7 +91,7 @@ public:
/**
* @descr return shadow offset.
*/
- double GetOffset();
+ double GetOffset() const;
/**
* @descr Set shadow color.
@@ -101,7 +101,7 @@ public:
/**
* @descr return shadow color.
*/
- const XFColor& GetColor();
+ const XFColor& GetColor() const;
OUString ToString();
@@ -120,7 +120,7 @@ inline void XFShadow::SetPosition(enumXFShadowPos pos)
m_ePosition = pos;
}
-inline enumXFShadowPos XFShadow::GetPosition()
+inline enumXFShadowPos XFShadow::GetPosition() const
{
return m_ePosition;
}
@@ -130,7 +130,7 @@ inline void XFShadow::SetOffset(double offset)
m_fOffset = offset;
}
-inline double XFShadow::GetOffset()
+inline double XFShadow::GetOffset() const
{
return m_fOffset;
}
@@ -140,7 +140,7 @@ inline void XFShadow::SetColor(const XFColor& color)
m_aColor = color;
}
-inline const XFColor& XFShadow::GetColor()
+inline const XFColor& XFShadow::GetColor() const
{
return m_aColor;
}
diff --git a/lotuswordpro/inc/xfilter/xftable.hxx b/lotuswordpro/inc/xfilter/xftable.hxx
index 2ba1199f47ec..f36a1f295be6 100644
--- a/lotuswordpro/inc/xfilter/xftable.hxx
+++ b/lotuswordpro/inc/xfilter/xftable.hxx
@@ -94,7 +94,7 @@ public:
sal_Int32 GetColumnCount();
- bool IsSubTable();
+ bool IsSubTable() const;
enumXFContent GetContentType() override;
@@ -128,7 +128,7 @@ inline void XFTable::SetOwnerCell(XFCell *pCell)
m_bSubTable = (pCell!=nullptr);
}
-inline bool XFTable::IsSubTable()
+inline bool XFTable::IsSubTable() const
{
return m_bSubTable;
}
diff --git a/lotuswordpro/inc/xfilter/xftextstyle.hxx b/lotuswordpro/inc/xfilter/xftextstyle.hxx
index 6b7711e5066e..50d73fe7ad3f 100644
--- a/lotuswordpro/inc/xfilter/xftextstyle.hxx
+++ b/lotuswordpro/inc/xfilter/xftextstyle.hxx
@@ -89,7 +89,7 @@ public:
*/
void SetFont(rtl::Reference<XFFont> const & font);
- const rtl::Reference<XFFont>& GetFont(){ return m_pFont; }
+ const rtl::Reference<XFFont>& GetFont() const { return m_pFont; }
virtual enumXFStyle GetStyleFamily() override;
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx
index 65b98674e1cd..9f9447f4d7c1 100644
--- a/lotuswordpro/source/filter/bento.hxx
+++ b/lotuswordpro/source/filter/bento.hxx
@@ -145,7 +145,7 @@ public: // Internal methods
CBenIDListElmt(BenObjectID ID, CUtListElmt * pPrev) : CUtListElmt(pPrev)
{ cID = ID; }
explicit CBenIDListElmt(BenObjectID ID) { cID = ID; }
- BenObjectID GetID() { return cID; }
+ BenObjectID GetID() const { return cID; }
private: // Data
BenObjectID cID;
@@ -177,7 +177,7 @@ public:
public: // Overridden methods
/* added by */
- sal_uLong GetSize() { return m_ulValueLength; };
+ sal_uLong GetSize() const { return m_ulValueLength; };
protected: // Overridden methods
virtual std::size_t GetData(void* pData, std::size_t nSize) override;
@@ -316,9 +316,9 @@ public: // Internal methods
unsigned short Size) : CUtListElmt(&pValue->GetValueSegments())
{ cImmediate = true;
std::memcpy(cImmData, pImmData, Size); cSize = Size; }
- bool IsImmediate() { return cImmediate; }
- BenContainerPos GetPosition() { return cPos; }
- size_t GetSize() { return cSize; }
+ bool IsImmediate() const { return cImmediate; }
+ BenContainerPos GetPosition() const { return cPos; }
+ size_t GetSize() const { return cSize; }
BenByte * GetImmediateData() { return cImmData; }
private: // Data
@@ -346,7 +346,7 @@ public: // Internal methods
CUtListElmt * pPrevObject, const OString& rName,
CUtListElmt * pPrevNamedObjectListElmt);
- const OString& GetName() { return csName; }
+ const OString& GetName() const { return csName; }
private: // Data
OString csName;
diff --git a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx
index 757209880476..050496e87c60 100644
--- a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx
+++ b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx
@@ -81,7 +81,7 @@ public:
pStrm->SkipExtra();
}
- const LwpColor& GetBackColor(){ return m_aStuff.m_aFillColor; }
+ const LwpColor& GetBackColor() const { return m_aStuff.m_aFillColor; }
LwpBackgroundStuff& GetBGStuff() { return m_aStuff; }
protected:
diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.hxx b/lotuswordpro/source/filter/lwpbackgroundstuff.hxx
index e5bd1ad94b7b..6ace02784a52 100644
--- a/lotuswordpro/source/filter/lwpbackgroundstuff.hxx
+++ b/lotuswordpro/source/filter/lwpbackgroundstuff.hxx
@@ -152,8 +152,8 @@ public:
LwpColor* GetFillColor();
std::unique_ptr<XFBGImage> GetFillPattern();
- bool IsTransparent() { return (m_nID == BACK_TRANSPARENT); }
- bool IsPatternFill() { return (m_nID > 2 && m_nID < 72); }
+ bool IsTransparent() const { return (m_nID == BACK_TRANSPARENT); }
+ bool IsPatternFill() const { return (m_nID > 2 && m_nID < 72); }
friend class LwpBackgroundOverride;
private:
diff --git a/lotuswordpro/source/filter/lwpborderstuff.hxx b/lotuswordpro/source/filter/lwpborderstuff.hxx
index f9c77a292239..4a7da6ce208b 100644
--- a/lotuswordpro/source/filter/lwpborderstuff.hxx
+++ b/lotuswordpro/source/filter/lwpborderstuff.hxx
@@ -81,7 +81,7 @@ public:
public:
void Read(LwpObjectStream *pStrm);
- sal_uInt16 GetSide(){ return m_nSides; }
+ sal_uInt16 GetSide() const { return m_nSides; }
bool HasSide(sal_uInt16 side);
sal_uInt16 GetSideType(sal_uInt16 side);
LwpColor GetSideColor(sal_uInt16 side);
diff --git a/lotuswordpro/source/filter/lwpbreaksoverride.hxx b/lotuswordpro/source/filter/lwpbreaksoverride.hxx
index ba1f57e2a47c..70bc624d304a 100644
--- a/lotuswordpro/source/filter/lwpbreaksoverride.hxx
+++ b/lotuswordpro/source/filter/lwpbreaksoverride.hxx
@@ -91,23 +91,23 @@ public:
void Override(LwpBreaksOverride* pOther);
- inline bool IsPageBreakBefore();
- inline bool IsPageBreakAfter();
- inline bool IsPageBreakWithin();
- inline bool IsColumnBreakBefore();
- inline bool IsColumnBreakAfter();
- inline bool IsKeepWithNext();
- inline bool IsKeepWithPrevious();
- inline bool IsUseNextStyle();
-
- inline bool IsPageBreakBeforeOverridden();
- inline bool IsPageBreakAfterOverridden();
- inline bool IsPageBreakWithinOverridden();
- inline bool IsColumnBreakBeforeOverridden();
- inline bool IsColumnBreakAfterOverridden();
- inline bool IsKeepWithNextOverridden();
- inline bool IsKeepWithPreviousOverridden();
- inline bool IsUseNextStyleOverridden();
+ inline bool IsPageBreakBefore() const;
+ inline bool IsPageBreakAfter() const;
+ inline bool IsPageBreakWithin() const;
+ inline bool IsColumnBreakBefore() const;
+ inline bool IsColumnBreakAfter() const;
+ inline bool IsKeepWithNext() const;
+ inline bool IsKeepWithPrevious() const;
+ inline bool IsUseNextStyle() const;
+
+ inline bool IsPageBreakBeforeOverridden() const;
+ inline bool IsPageBreakAfterOverridden() const;
+ inline bool IsPageBreakWithinOverridden() const;
+ inline bool IsColumnBreakBeforeOverridden() const;
+ inline bool IsColumnBreakAfterOverridden() const;
+ inline bool IsKeepWithNextOverridden() const;
+ inline bool IsKeepWithPreviousOverridden() const;
+ inline bool IsUseNextStyleOverridden() const;
inline void RevertPageBreakBefore();
inline void RevertPageBreakAfter();
@@ -134,69 +134,69 @@ private:
std::unique_ptr<LwpAtomHolder> m_pNextStyle;
};
-inline bool LwpBreaksOverride::IsPageBreakBefore()
+inline bool LwpBreaksOverride::IsPageBreakBefore() const
{
return ((m_nValues & BO_PAGEBEFORE) != 0);
}
-inline bool LwpBreaksOverride::IsPageBreakAfter()
+inline bool LwpBreaksOverride::IsPageBreakAfter() const
{
return ((m_nValues & BO_PAGEAFTER) != 0);
}
-inline bool LwpBreaksOverride::IsPageBreakWithin()
+inline bool LwpBreaksOverride::IsPageBreakWithin() const
{
return ((m_nValues & BO_KEEPTOGETHER) != 0);
}
-inline bool LwpBreaksOverride::IsColumnBreakBefore()
+inline bool LwpBreaksOverride::IsColumnBreakBefore() const
{
return ((m_nValues & BO_COLBEFORE) != 0);
}
-inline bool LwpBreaksOverride::IsColumnBreakAfter()
+inline bool LwpBreaksOverride::IsColumnBreakAfter() const
{
return ((m_nValues & BO_COLAFTER) != 0);
}
-inline bool LwpBreaksOverride::IsKeepWithNext()
+inline bool LwpBreaksOverride::IsKeepWithNext() const
{
return ((m_nValues & BO_KEEPNEXT) != 0);
}
-inline bool LwpBreaksOverride::IsKeepWithPrevious()
+inline bool LwpBreaksOverride::IsKeepWithPrevious() const
{
return ((m_nValues & BO_KEEPPREV) != 0);
}
-inline bool LwpBreaksOverride::IsUseNextStyle()
+inline bool LwpBreaksOverride::IsUseNextStyle() const
{
return ((m_nValues & BO_USENEXTSTYLE) != 0);
}
-inline bool LwpBreaksOverride::IsPageBreakBeforeOverridden()
+inline bool LwpBreaksOverride::IsPageBreakBeforeOverridden() const
{
return ((m_nOverride& BO_PAGEBEFORE) != 0);
}
-inline bool LwpBreaksOverride::IsPageBreakAfterOverridden()
+inline bool LwpBreaksOverride::IsPageBreakAfterOverridden() const
{
return ((m_nOverride& BO_PAGEAFTER) != 0);
}
-inline bool LwpBreaksOverride::IsPageBreakWithinOverridden()
+inline bool LwpBreaksOverride::IsPageBreakWithinOverridden() const
{
return ((m_nOverride& BO_KEEPTOGETHER) != 0);
}
-inline bool LwpBreaksOverride::IsColumnBreakBeforeOverridden()
+inline bool LwpBreaksOverride::IsColumnBreakBeforeOverridden() const
{
return ((m_nOverride& BO_COLBEFORE) != 0);
}
-inline bool LwpBreaksOverride::IsColumnBreakAfterOverridden()
+inline bool LwpBreaksOverride::IsColumnBreakAfterOverridden() const
{
return ((m_nOverride& BO_COLAFTER) != 0);
}
-inline bool LwpBreaksOverride::IsKeepWithNextOverridden()
+inline bool LwpBreaksOverride::IsKeepWithNextOverridden() const
{
return ((m_nOverride& BO_KEEPNEXT) != 0);
}
-inline bool LwpBreaksOverride::IsKeepWithPreviousOverridden()
+inline bool LwpBreaksOverride::IsKeepWithPreviousOverridden() const
{
return ((m_nOverride& BO_KEEPPREV) != 0);
}
-inline bool LwpBreaksOverride::IsUseNextStyleOverridden()
+inline bool LwpBreaksOverride::IsUseNextStyleOverridden() const
{
return ((m_nOverride& BO_USENEXTSTYLE) != 0);
}
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 35a8e3475030..c2cb1af53d8e 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -93,7 +93,7 @@ LwpBulletStyleMgr::~LwpBulletStyleMgr()
* @param pBullOver pointer to the bulletoverride of current paragraph.
* @param pIndent pointer to the indentoverride of current paragraph.
*/
-OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, LwpBulletOverride* pBullOver,
+OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, const LwpBulletOverride* pBullOver,
LwpIndentOverride const * pIndent)
{
if(!pPara || !pIndent || !pBullOver)
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx
index 78754a75b355..c566e60caacb 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx
@@ -80,7 +80,7 @@ class LwpBulletStyleMgr final
public:
LwpBulletStyleMgr();
~LwpBulletStyleMgr();
- OUString RegisterBulletStyle(LwpPara* pPara, LwpBulletOverride* pBullOver,
+ OUString RegisterBulletStyle(LwpPara* pPara, const LwpBulletOverride* pBullOver,
LwpIndentOverride const * pIndent);
inline void SetFoundry(LwpFoundry* pFoundry);
inline void SetContinueFlag(bool bFlag);
diff --git a/lotuswordpro/source/filter/lwpcelllayout.hxx b/lotuswordpro/source/filter/lwpcelllayout.hxx
index 5c54b92a1ffc..c558548fec91 100644
--- a/lotuswordpro/source/filter/lwpcelllayout.hxx
+++ b/lotuswordpro/source/filter/lwpcelllayout.hxx
@@ -98,8 +98,8 @@ public:
m_bConvertCell = false;
return aRet;
}
- sal_uInt16 GetRowID(){return crowid;}
- sal_uInt8 GetColID(){return ccolid;}
+ sal_uInt16 GetRowID() const {return crowid;}
+ sal_uInt8 GetColID() const {return ccolid;}
void RegisterStyle() override;
LwpObjectID& GetNumericsObject() {return cLayNumerics;}
LwpObjectID * GetPreviousCellStory();
@@ -107,7 +107,7 @@ public:
LwpTableLayout * GetTableLayout();
virtual void SetCellMap();
double GetActualWidth();
- const OUString& GetNumfmtName(){return m_NumfmtName;}
+ const OUString& GetNumfmtName() const {return m_NumfmtName;}
protected:
void Read() override;
LwpTable * GetTable();
@@ -176,8 +176,8 @@ public:
virtual ~LwpConnectedCellLayout() override;
virtual LWP_LAYOUT_TYPE GetLayoutType () override { return LWP_CONNECTED_CELL_LAYOUT;}
virtual void Parse(IXFStream* pOutputStream) override;
- sal_uInt16 GetNumrows(){return m_nRealrowspan;}
- sal_uInt8 GetNumcols(){return m_nRealcolspan;}
+ sal_uInt16 GetNumrows() const {return m_nRealrowspan;}
+ sal_uInt8 GetNumcols() const {return m_nRealcolspan;}
virtual void SetCellMap() override;
void SetNumrows(sal_uInt16 nVal){m_nRealrowspan = nVal;}
protected:
diff --git a/lotuswordpro/source/filter/lwpcontent.hxx b/lotuswordpro/source/filter/lwpcontent.hxx
index c29bb6e99029..6bee0d1af19d 100644
--- a/lotuswordpro/source/filter/lwpcontent.hxx
+++ b/lotuswordpro/source/filter/lwpcontent.hxx
@@ -106,9 +106,9 @@ protected:
public:
inline LwpAssociatedLayouts& GetLayoutsWithMe();
rtl::Reference<LwpVirtualLayout> GetLayout(LwpVirtualLayout const * pStartLayout);
- inline bool IsActive();
+ inline bool IsActive() const;
virtual bool IsTable();
- inline OUString const & GetClassName();
+ inline OUString const & GetClassName() const;
inline LwpContent* GetNextEnumerated();
bool HasNonEmbeddedLayouts();
bool IsStyleContent();
@@ -119,7 +119,7 @@ LwpAssociatedLayouts& LwpContent::GetLayoutsWithMe()
return m_LayoutsWithMe;
}
-inline bool LwpContent::IsActive()
+inline bool LwpContent::IsActive() const
{
return !(m_nFlags & CF_DEACTIVATED);
}
@@ -129,7 +129,7 @@ inline bool LwpContent::IsTable()
return false;
}
-inline OUString const & LwpContent::GetClassName()
+inline OUString const & LwpContent::GetClassName() const
{
return m_ClassName.str();
}
diff --git a/lotuswordpro/source/filter/lwpdivinfo.cxx b/lotuswordpro/source/filter/lwpdivinfo.cxx
index bd4da5b6070c..ea58b2d9c516 100644
--- a/lotuswordpro/source/filter/lwpdivinfo.cxx
+++ b/lotuswordpro/source/filter/lwpdivinfo.cxx
@@ -154,7 +154,7 @@ void LwpDivInfo::GetNumberOfPages(sal_uInt16 & nPageno)
}
}
-sal_uInt16 LwpDivInfo::GetMaxNumberOfPages()
+sal_uInt16 LwpDivInfo::GetMaxNumberOfPages() const
{
LwpDocument* pDiv = dynamic_cast<LwpDocument*>(m_ParentID.obj().get());
if(!pDiv)
diff --git a/lotuswordpro/source/filter/lwpdivinfo.hxx b/lotuswordpro/source/filter/lwpdivinfo.hxx
index 86096f33afd3..c04271799d64 100644
--- a/lotuswordpro/source/filter/lwpdivinfo.hxx
+++ b/lotuswordpro/source/filter/lwpdivinfo.hxx
@@ -76,15 +76,15 @@ public:
LwpDivInfo(LwpObjectHeader const & objHdr, LwpSvStream* pStrm);
LwpObjectID& GetInitialLayoutID() { return m_InitialLayoutID; }
LwpObjectID& GetFillerPageTextID() { return m_FillerPageTextID; }
- OUString const & GetDivName() { return m_Name.str(); }
+ OUString const & GetDivName() const { return m_Name.str(); }
- OUString const & GetClassName() { return m_ClassName.str(); }
- inline bool HasContents();
- inline bool IsOleDivision();
- inline bool IsScrollable();
- inline bool IsGotoable();
+ OUString const & GetClassName() const { return m_ClassName.str(); }
+ inline bool HasContents() const;
+ inline bool IsOleDivision() const;
+ inline bool IsScrollable() const;
+ inline bool IsGotoable() const;
void GetNumberOfPages(sal_uInt16& nPageno);
- sal_uInt16 GetMaxNumberOfPages();
+ sal_uInt16 GetMaxNumberOfPages() const;
protected:
void Read() override;
private:
@@ -129,12 +129,12 @@ private:
};
-inline bool LwpDivInfo::HasContents()
+inline bool LwpDivInfo::HasContents() const
{
return (m_nFlags & DI_HASCONTENTS) != 0;
}
-inline bool LwpDivInfo::IsOleDivision()
+inline bool LwpDivInfo::IsOleDivision() const
{
OUString strClassName = GetClassName();
if (strClassName == STR_OleDivisionClassName)
@@ -142,12 +142,12 @@ inline bool LwpDivInfo::IsOleDivision()
return false;
}
-inline bool LwpDivInfo::IsScrollable()
+inline bool LwpDivInfo::IsScrollable() const
{
return (m_nFlags & DI_SCROLLABLE) != 0;
}
-inline bool LwpDivInfo::IsGotoable()
+inline bool LwpDivInfo::IsGotoable() const
{
return HasContents() && (IsScrollable() || IsOleDivision());
}
diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx
index 198dfdc28290..b6385518dee4 100644
--- a/lotuswordpro/source/filter/lwpdoc.hxx
+++ b/lotuswordpro/source/filter/lwpdoc.hxx
@@ -128,8 +128,8 @@ public:
void Parse(IXFStream* pOutputStream) override;
void RegisterStyle() override;
- inline bool IsChildDoc();
- inline bool GetHonorProtection();
+ inline bool IsChildDoc() const;
+ inline bool GetHonorProtection() const;
inline LwpObjectID& GetDocData();
inline LwpObjectID& GetSocket();
@@ -177,11 +177,11 @@ private:
bool IsSkippedDivision();
};
-inline bool LwpDocument::IsChildDoc()
+inline bool LwpDocument::IsChildDoc() const
{
return (m_nPersistentFlags & DOC_CHILDDOC) != 0;
}
-inline bool LwpDocument::GetHonorProtection()
+inline bool LwpDocument::GetHonorProtection() const
{
return (m_nPersistentFlags & DOC_PROTECTED) != 0;
}
diff --git a/lotuswordpro/source/filter/lwpfont.cxx b/lotuswordpro/source/filter/lwpfont.cxx
index 92c8a853c28c..7015bfb7a573 100644
--- a/lotuswordpro/source/filter/lwpfont.cxx
+++ b/lotuswordpro/source/filter/lwpfont.cxx
@@ -176,39 +176,39 @@ bool LwpFontAttrEntry::Is(sal_uInt16 Attr)
return (0 != (m_nAttrBits & Attr));
}
-bool LwpFontAttrEntry::IsBoldOverridden()
+bool LwpFontAttrEntry::IsBoldOverridden() const
{
return (0 != (m_nAttrOverrideBits & BOLD));
}
-bool LwpFontAttrEntry::IsItalicOverridden()
+bool LwpFontAttrEntry::IsItalicOverridden() const
{
return (0 != (m_nAttrOverrideBits & ITALIC));
}
-bool LwpFontAttrEntry::IsStrikeThruOverridden()
+bool LwpFontAttrEntry::IsStrikeThruOverridden() const
{
return (0 != (m_nAttrOverrideBits & STRIKETHRU));
}
-bool LwpFontAttrEntry::IsSmallCapsOverridden()
+bool LwpFontAttrEntry::IsSmallCapsOverridden() const
{
return (0 != (m_nAttrOverrideBits & SMALLCAPS));
}
-bool LwpFontAttrEntry::IsSuperOverridden()
+bool LwpFontAttrEntry::IsSuperOverridden() const
{
return (0 != (m_nAttrOverrideBits & SUPERSCRIPT));
}
-bool LwpFontAttrEntry::IsSubOverridden()
+bool LwpFontAttrEntry::IsSubOverridden() const
{
return (0 != (m_nAttrOverrideBits & SUBSCRIPT));
}
-bool LwpFontAttrEntry::IsUnderlineOverridden()
+bool LwpFontAttrEntry::IsUnderlineOverridden() const
{
return (0 != (m_nAttrOverrideBits2 & UNDER));
}
-bool LwpFontAttrEntry::IsCaseOverridden()
+bool LwpFontAttrEntry::IsCaseOverridden() const
{
return (0 != (m_nAttrOverrideBits2 & CASE));
}
@@ -230,7 +230,7 @@ void LwpFontTableEntry::Read(LwpObjectStream *pStrm)
RegisterFontDecl();
}
-OUString const & LwpFontTableEntry::GetFaceName()
+OUString const & LwpFontTableEntry::GetFaceName() const
{
return m_WindowsFaceName.str();
}
@@ -319,27 +319,27 @@ void LwpFontNameEntry::Override(rtl::Reference<XFFont> const & pFont)
// pFont->SetTightness(cTightness);
}
-bool LwpFontNameEntry::IsFaceNameOverridden()
+bool LwpFontNameEntry::IsFaceNameOverridden() const
{
return (0 != (m_nOverrideBits & FACENAME));
}
-bool LwpFontNameEntry::IsAltFaceNameOverridden()
+bool LwpFontNameEntry::IsAltFaceNameOverridden() const
{
return (0 != (m_nOverrideBits & ALTFACENAME));
}
-bool LwpFontNameEntry::IsPointSizeOverridden()
+bool LwpFontNameEntry::IsPointSizeOverridden() const
{
return (0 != (m_nOverrideBits & POINTSIZE));
}
-bool LwpFontNameEntry::IsColorOverridden()
+bool LwpFontNameEntry::IsColorOverridden() const
{
return (0 != (m_nOverrideBits & COLOR));
}
-bool LwpFontNameEntry::IsBackgroundColorOverridden()
+bool LwpFontNameEntry::IsBackgroundColorOverridden() const
{
return (0 != (m_nOverrideBits & BKCOLOR));
}
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx
index 725d6e6809af..7ae711e30b1e 100644
--- a/lotuswordpro/source/filter/lwpfootnote.cxx
+++ b/lotuswordpro/source/filter/lwpfootnote.cxx
@@ -317,7 +317,7 @@ LwpDocument* LwpFootnote::GetEndnoteDivision(LwpDocument* pPossible)
/**
* @descr Get footnote table class name
*/
-OUString LwpFootnote::GetTableClass()
+OUString LwpFootnote::GetTableClass() const
{
OUString strClassName;
switch (GetType() & FN_MASK_BASE)
@@ -528,7 +528,7 @@ void LwpFootnoteOptions::RegisterEndnoteStyle()
/**
* @descr Get continue on message
*/
-OUString LwpFootnoteOptions::GetContinuedOnMessage()
+OUString LwpFootnoteOptions::GetContinuedOnMessage() const
{
if(m_ContinuedOnMessage.HasValue())
{
@@ -541,7 +541,7 @@ OUString LwpFootnoteOptions::GetContinuedOnMessage()
/**
* @descr Get continue from message
*/
-OUString LwpFootnoteOptions::GetContinuedFromMessage()
+OUString LwpFootnoteOptions::GetContinuedFromMessage() const
{
if(m_ContinuedFromMessage.HasValue())
{
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx
index b2073e0c0b11..5163204e39ea 100644
--- a/lotuswordpro/source/filter/lwpfootnote.hxx
+++ b/lotuswordpro/source/filter/lwpfootnote.hxx