diff options
Diffstat (limited to 'lotuswordpro')
19 files changed, 34 insertions, 34 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index e39606098b65..505e0cb8fe5b 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -75,7 +75,7 @@ public: explicit LwpFrame(LwpPlacableLayout* pLayout); ~LwpFrame(); void RegisterStyle(XFFrameStyle* pFrameStyle); - void Parse(XFFrame* pXFFrame, sal_Int32 nPageNo = 0); + void Parse(XFFrame* pXFFrame, sal_Int32 nPageNo); void XFConvert(XFContentContainer* pCont); private: void ApplyWrapType(XFFrameStyle* pFrameStyle); diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx index 3dd9a0fbe725..e2db72f0a505 100644 --- a/lotuswordpro/source/filter/lwplayout.hxx +++ b/lotuswordpro/source/filter/lwplayout.hxx @@ -182,7 +182,7 @@ public: virtual bool IsUseOnAllEvenPages(){ return false;} virtual bool IsUseOnAllOddPages(){ return false;} virtual bool IsUseOnPage(){ return false;} - virtual sal_Int32 GetPageNumber(sal_uInt16 /*nLayoutNumber*/ = 0){ return -1;} + virtual sal_Int32 GetPageNumber(sal_uInt16 /*nLayoutNumber*/) { return -1;} bool IsMinimumHeight(); virtual bool IsForWaterMark(){ return false;} virtual LwpPara* GetLastParaOfPreviousStory() { return nullptr; } diff --git a/lotuswordpro/source/filter/lwppagelayout.hxx b/lotuswordpro/source/filter/lwppagelayout.hxx index 8074c3bbc7a3..8b64f2f777c8 100644 --- a/lotuswordpro/source/filter/lwppagelayout.hxx +++ b/lotuswordpro/source/filter/lwppagelayout.hxx @@ -101,7 +101,7 @@ public: void ConvertFillerPageText(XFContentContainer* pCont); void ResetXFColumns(); LwpPageLayout* GetOddChildLayout(); - virtual sal_Int32 GetPageNumber(sal_uInt16 nLayoutNumber = 0) override; + virtual sal_Int32 GetPageNumber(sal_uInt16 nLayoutNumber) override; bool operator <(LwpPageLayout& Other); LwpPara* GetPagePosition(); }; diff --git a/lotuswordpro/source/filter/xfilter/xfcell.hxx b/lotuswordpro/source/filter/xfilter/xfcell.hxx index 5d7b0c9999eb..eba8bac66558 100644 --- a/lotuswordpro/source/filter/xfilter/xfcell.hxx +++ b/lotuswordpro/source/filter/xfilter/xfcell.hxx @@ -114,7 +114,7 @@ public: /** * @descr Set cell protected. */ - void SetProtect(bool protect=true); + void SetProtect(bool protect); /** * @descr Set cell column id. diff --git a/lotuswordpro/source/filter/xfilter/xfcellstyle.hxx b/lotuswordpro/source/filter/xfilter/xfcellstyle.hxx index 0131d0c8b46b..c85ce0689b15 100644 --- a/lotuswordpro/source/filter/xfilter/xfcellstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfcellstyle.hxx @@ -97,13 +97,13 @@ public: between the border and the top of the text. * @param: indent value of the padding. */ - void SetPadding(double left, double right = -1, double top = -1, double bottom = -1); + void SetPadding(double left, double right, double top, double bottom); /** * @descr: Set alignment property of the cell. * @param: eAlign alignment type,left,right,center or justify. */ - void SetAlignType(enumXFAlignType hori=enumXFAlignNone, enumXFAlignType vert = enumXFAlignBottom); + void SetAlignType(enumXFAlignType hori, enumXFAlignType vert); /** * @descr: The borders is complex,so you have to create one before use. diff --git a/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx b/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx index 0681be67e98c..d8a32aa8f2c7 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx @@ -86,7 +86,7 @@ public: /** * @descr Set drawing object border line. */ - void SetLineStyle(double width, XFColor color = XFColor(0,0,0)); + void SetLineStyle(double width, XFColor color); /** * @descr Set drawing object dash border style. @@ -101,17 +101,17 @@ public: /** * @descr Set drawing object area grid style. */ - void SetAreaLineStyle(enumXFAreaLineStyle style, sal_Int32 angle = 0, double space = 0.102, XFColor lineColor = XFColor(0,0,0)); + void SetAreaLineStyle(enumXFAreaLineStyle style, sal_Int32 angle, double space, XFColor lineColor); /** * @descr Set drawing object arrow start style,only lines can have arrows. */ - void SetArrowStart(const OUString& start, double size=0.3); + void SetArrowStart(const OUString& start, double size); /** * @descr Set drawing object arrow end style,only lines can have arrows. */ - void SetArrowEnd(const OUString& end, double size=0.3); + void SetArrowEnd(const OUString& end, double size); void SetFontWorkStyle(enumXFFWStyle eStyle, enumXFFWAdjust eAdjust); diff --git a/lotuswordpro/source/filter/xfilter/xfentry.hxx b/lotuswordpro/source/filter/xfilter/xfentry.hxx index c7c8fc224d07..dc904f944b43 100644 --- a/lotuswordpro/source/filter/xfilter/xfentry.hxx +++ b/lotuswordpro/source/filter/xfilter/xfentry.hxx @@ -85,7 +85,7 @@ public: /** * @descr Set entry key. The keys is available only for enumXFEntryAlphabetical. */ - void SetKey(const OUString& key1, const OUString& key2=""); + void SetKey(const OUString& key1, const OUString& key2); /** * @descr Set outline level. This is available for enumXFEntryTOC and enumXFEntryUserIndex. diff --git a/lotuswordpro/source/filter/xfilter/xffont.hxx b/lotuswordpro/source/filter/xfilter/xffont.hxx index 99d6095b8d48..3808e76aa790 100644 --- a/lotuswordpro/source/filter/xfilter/xffont.hxx +++ b/lotuswordpro/source/filter/xfilter/xffont.hxx @@ -154,7 +154,7 @@ public: /** * @descr Set whether font is italic. */ - void SetItalic(bool italic = true); + void SetItalic(bool italic); /** * @descr Set whether font is italic for asia locale. @@ -169,7 +169,7 @@ public: /** * @descr Set font bold. */ - void SetBold(bool bold = true); + void SetBold(bool bold); /** * @descr Set font bold for asia locale. diff --git a/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx b/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx index c8cb895e13e9..dfc82da7517c 100644 --- a/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx @@ -70,7 +70,7 @@ public: { } - void SetMargins(double left = -1, double right = -1, double top = -1) + void SetMargins(double left, double right, double top) { if( left != -1 ) m_aMargin.SetLeft(left); diff --git a/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx b/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx index 6c1c5afbe12b..da6a6615ef0b 100644 --- a/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx +++ b/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx @@ -70,7 +70,7 @@ public: public: void SetMasterPage(const OUString& masterPage); - void SetStartValue(sal_Int32 value=0); + void SetStartValue(sal_Int32 value); void SetRestartOnPage(); diff --git a/lotuswordpro/source/filter/xfilter/xfframestyle.hxx b/lotuswordpro/source/filter/xfilter/xfframestyle.hxx index 727fad5eb1fd..8e5edcee774b 100644 --- a/lotuswordpro/source/filter/xfilter/xfframestyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfframestyle.hxx @@ -89,12 +89,12 @@ public: /** * @descr: space between frame and paragraph text. */ - void SetMargins(double left, double right=-1,double top=-1, double bottom=-1); + void SetMargins(double left, double right, double top, double bottom); /** * @descr: space between frame and text inside frame. */ - void SetPadding(double left, double right=-1,double top=-1, double bottom=-1); + void SetPadding(double left, double right, double top, double bottom); /** * @descr: set the border property of the frame. diff --git a/lotuswordpro/source/filter/xfilter/xfheaderstyle.hxx b/lotuswordpro/source/filter/xfilter/xfheaderstyle.hxx index c08f0f5cb85b..333e3aff525d 100644 --- a/lotuswordpro/source/filter/xfilter/xfheaderstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfheaderstyle.hxx @@ -82,7 +82,7 @@ public: /** * @descr Set margins for header style. */ - void SetMargins(double left = -1, double right = -1, double bottom = -1); + void SetMargins(double left, double right, double bottom); void SetDynamicSpace(bool dynamic); diff --git a/lotuswordpro/source/filter/xfilter/xfindex.hxx b/lotuswordpro/source/filter/xfilter/xfindex.hxx index aa341783a5f9..71276172e6ac 100644 --- a/lotuswordpro/source/filter/xfilter/xfindex.hxx +++ b/lotuswordpro/source/filter/xfilter/xfindex.hxx @@ -92,17 +92,17 @@ public: /** * @descr Add a entry in the template. */ - void AddEntry(enumXFIndexTemplate entry, const OUString& styleName = ""); + void AddEntry(enumXFIndexTemplate entry, const OUString& styleName); /** * @descr Add a tab entry in the template. */ - void AddTabEntry(enumXFTab type, double len, sal_Unicode leader = '*', sal_Unicode delimiter='.', const OUString& styleName = ""); + void AddTabEntry(enumXFTab type, double len, sal_Unicode leader, sal_Unicode delimiter, const OUString& styleName = ""); /** * @descr Add a entry in the template. */ - void AddTextEntry(const OUString& sSpan, const OUString& styleName = ""); + void AddTextEntry(const OUString& sSpan, const OUString& styleName); virtual void ToXml(IXFStream *pStrm) override; diff --git a/lotuswordpro/source/filter/xfilter/xflist.hxx b/lotuswordpro/source/filter/xfilter/xflist.hxx index 058fb1b127db..5ee7a5bb3d52 100644 --- a/lotuswordpro/source/filter/xfilter/xflist.hxx +++ b/lotuswordpro/source/filter/xfilter/xflist.hxx @@ -85,7 +85,7 @@ public: /** * @descr Set whether to continue to number list. */ - void SetContinueNumber(bool bContinueNumber=false); + void SetContinueNumber(bool bContinueNumber); /** * @descr Output list object. diff --git a/lotuswordpro/source/filter/xfilter/xfliststyle.hxx b/lotuswordpro/source/filter/xfilter/xfliststyle.hxx index e145f175f6aa..6f6b33ae0610 100644 --- a/lotuswordpro/source/filter/xfilter/xfliststyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfliststyle.hxx @@ -200,12 +200,12 @@ public: void SetListBullet(sal_Int32 level, OUString const & bullet_char, - const OUString& fontname = "", - const OUString& prefix = "", + const OUString& fontname, + const OUString& prefix, const OUString& suffix = "" ); - void SetListNumber( sal_Int32 level, XFNumFmt& numFmt, sal_Int16 nStartValue = 1 ); + void SetListNumber( sal_Int32 level, XFNumFmt& numFmt, sal_Int16 nStartValue ); virtual enumXFStyle GetStyleFamily() override { diff --git a/lotuswordpro/source/filter/xfilter/xfnumberstyle.hxx b/lotuswordpro/source/filter/xfilter/xfnumberstyle.hxx index 0c6da3c488fe..34c99753e110 100644 --- a/lotuswordpro/source/filter/xfilter/xfnumberstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfnumberstyle.hxx @@ -82,7 +82,7 @@ public: void SetSurfix(const OUString& surfix); - void SetNegativeStyle(const OUString& prefix, const OUString& suffix, const XFColor& color=XFColor(255,0,0)); + void SetNegativeStyle(const OUString& prefix, const OUString& suffix, const XFColor& color); void SetNumberType(enumXFNumberType type); diff --git a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx index a0c6cea22688..f61f4910e761 100644 --- a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx +++ b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx @@ -85,7 +85,7 @@ public: void SetPageHeight(double height); - void SetMargins(double left=-1, double right=-1,double top=-1, double bottom=-1); + void SetMargins(double left, double right=-1,double top=-1, double bottom=-1); void SetPageUsage(enumXFPageUsage usage); @@ -105,8 +105,8 @@ public: void SetTextDir(enumXFTextDir dir); - void SetFootNoteSeparator(enumXFAlignType align = enumXFAlignStart, - double width = 0.05, + void SetFootNoteSeparator(enumXFAlignType align, + double width, sal_Int32 lengthPercent = 25, double spaceAbove = 0.1, double spaceBelow = 0.1, diff --git a/lotuswordpro/source/filter/xfilter/xfparastyle.hxx b/lotuswordpro/source/filter/xfilter/xfparastyle.hxx index 1ca827ce42e3..3a41bf76845d 100644 --- a/lotuswordpro/source/filter/xfilter/xfparastyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfparastyle.hxx @@ -133,14 +133,14 @@ public: between the border and the top of the text. * @param indent value of the padding. */ - void SetPadding(double left, double right = -1, double top = -1, double bottom = -1); + void SetPadding(double left, double right, double top = -1, double bottom = -1); /** * @descr Set the Margins of the paragraph. * @param -1: don't change. other: set value. */ - void SetMargins(double left, double right=-1,double top=-1, double bottom=-1); + void SetMargins(double left, double right,double top=-1, double bottom=-1); /** * @descr Set alignment property of the paragraph. @@ -170,7 +170,7 @@ public: * @param nLength number of chars to be dropped. * @param nLines line of which the dropped chars will occupy. */ - void SetDropCap(sal_Int16 nLength = 1,sal_Int16 nLines = 3,double fDistance = 0); + void SetDropCap(sal_Int16 nLength, sal_Int16 nLines, double fDistance = 0); /** * @descr Set line height of the paragraph. @@ -199,7 +199,7 @@ public: /** * @descr Add a tab style. */ - void AddTabStyle(enumXFTab type, double len, sal_Unicode leader = '*', sal_Unicode delimiter='.'); + void AddTabStyle(enumXFTab type, double len, sal_Unicode leader, sal_Unicode delimiter); /** * @descr for para style copy operator,sometimes you may need to override tab styles. diff --git a/lotuswordpro/source/filter/xfilter/xftablestyle.hxx b/lotuswordpro/source/filter/xfilter/xftablestyle.hxx index af8f96d34585..4365da25f8a0 100644 --- a/lotuswordpro/source/filter/xfilter/xftablestyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xftablestyle.hxx @@ -79,7 +79,7 @@ public: void SetAlign(enumXFAlignType eAlign, double offset = 0); - void SetShadow(enumXFShadowPos pos, double offset = 0.18, XFColor color=XFColor(128,128,0) ); + void SetShadow(enumXFShadowPos pos, double offset, XFColor color ); void SetBackColor(XFColor& color); |