summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsection.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:07:21 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 01:37:21 +0100
commit69b12a6eb3616d15035310eeb0c3dbc7aefcb5c1 (patch)
tree85fa3dd6e742033dc0b5a04b45a1e035a4c93cbd /lotuswordpro/source/filter/lwpsection.hxx
parent6ceb1d0f2e23749fe03fab08ec338ba4d7782173 (diff)
tdf#123936 Formatting files in module lotuswordpro with clang-format
Change-Id: I3110b452b6c81fb7e5c10f6ba98ce521c51c0427 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105690 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'lotuswordpro/source/filter/lwpsection.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpsection.hxx24
1 files changed, 14 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/lwpsection.hxx b/lotuswordpro/source/filter/lwpsection.hxx
index a3678fb0ed89..4f43aea782ae 100644
--- a/lotuswordpro/source/filter/lwpsection.hxx
+++ b/lotuswordpro/source/filter/lwpsection.hxx
@@ -70,12 +70,13 @@ class LwpDLNFVList;
class LwpOrderedObject : public LwpDLNFVList
{
public:
- LwpOrderedObject(LwpObjectHeader const &objHdr, LwpSvStream* pStrm);
+ LwpOrderedObject(LwpObjectHeader const& objHdr, LwpSvStream* pStrm);
void Read() override;
- LwpObjectID& GetPosition(){ return m_Para;}
- LwpObjectID& GetListList(){ return m_ListList;}
+ LwpObjectID& GetPosition() { return m_Para; }
+ LwpObjectID& GetListList() { return m_ListList; }
+
private:
- LwpObjectID m_ListList;//lwplistlist object,
+ LwpObjectID m_ListList; //lwplistlist object,
LwpObjectID m_Para;
};
@@ -88,20 +89,20 @@ class LwpAtomHolder;
class LwpSection : public LwpOrderedObject
{
public:
- LwpSection(LwpObjectHeader const &objHdr, LwpSvStream* pStrm);
+ LwpSection(LwpObjectHeader const& objHdr, LwpSvStream* pStrm);
virtual ~LwpSection() override;
inline LwpPageLayout* GetPageLayout();
void Parse(IXFStream* pOutputStream) override;
- OUString const & GetSectionName() const {return m_AtomHolder.str();}
+ OUString const& GetSectionName() const { return m_AtomHolder.str(); }
protected:
void Read() override;
+
private:
sal_uInt16 m_Flags;
LwpObjectID m_PageLayout;
LwpColor m_Color;
LwpAtomHolder m_AtomHolder;
-
};
/**
@@ -116,17 +117,20 @@ inline LwpPageLayout* LwpSection::GetPageLayout()
class LwpIndexSection : public LwpSection
{
public:
- LwpIndexSection(LwpObjectHeader const &objHdr, LwpSvStream* pStrm);
+ LwpIndexSection(LwpObjectHeader const& objHdr, LwpSvStream* pStrm);
virtual ~LwpIndexSection() override;
bool IsFormatRunin() const;
bool IsFormatSeparator() const;
+
protected:
void Read() override;
+
private:
- enum{
+ enum
+ {
SEPARATORS = 0x01,
RUN_IN = 0X02,
- };
+ };
LwpAtomHolder m_TextMarker;
LwpAtomHolder m_ParentName;
LwpAtomHolder m_DivisionName;