summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-01-22 13:59:18 +0200
committerTor Lillqvist <tml@collabora.com>2019-09-20 09:58:41 +0200
commit1beb93822b8f34afc481fd3ea6e99795b6fa6dbd (patch)
tree31432f7ba8d0a8d29f404db9db2b71c33a936ebe /sw
parentb21b0dbfe192a262772f9060166e3873fa234910 (diff)
Found documentation for WordBasic.ToolsOptionsView()
Change-Id: Ic049f78fddcaabafbe6be18b92a87b56352c1a4c (cherry picked from commit ac97be7a81370289b2e82705952eea80ba00fc68) Reviewed-on: https://gerrit.libreoffice.org/79154 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx106
1 files changed, 65 insertions, 41 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 914cc925bf7d..d3689de69efb 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -77,26 +77,27 @@ public:
virtual void SAL_CALL FileOpen( const OUString& Name, const uno::Any& ConfirmConversions, const uno::Any& ReadOnly, const uno::Any& AddToMru, const uno::Any& PasswordDoc, const uno::Any& PasswordDot, const uno::Any& Revert, const uno::Any& WritePasswordDoc, const uno::Any& WritePasswordDot ) override;
virtual void SAL_CALL FileSave() override;
- virtual void SAL_CALL ToolsOptionsView( const css::uno::Any& FieldCodes,
+ virtual void SAL_CALL ToolsOptionsView( const css::uno::Any& DraftFont,
+ const css::uno::Any& WrapToWindow,
+ const css::uno::Any& PicturePlaceHolders,
+ const css::uno::Any& FieldCodes,
+ const css::uno::Any& BookMarks,
+ const css::uno::Any& FieldShading,
+ const css::uno::Any& StatusBar,
+ const css::uno::Any& HScroll,
+ const css::uno::Any& VScroll,
+ const css::uno::Any& StyleAreaWidth,
+ const css::uno::Any& Tabs,
+ const css::uno::Any& Spaces,
+ const css::uno::Any& Paras,
+ const css::uno::Any& Hyphens,
+ const css::uno::Any& Hidden,
const css::uno::Any& ShowAll,
- const css::uno::Any& Whatever3,
- const css::uno::Any& Whatever4,
- const css::uno::Any& Whatever5,
- const css::uno::Any& Whatever6,
- const css::uno::Any& Whatever7,
- const css::uno::Any& Whatever8,
- const css::uno::Any& Whatever9,
- const css::uno::Any& Whatever10,
- const css::uno::Any& Whatever11,
- const css::uno::Any& Whatever12,
- const css::uno::Any& Whatever13,
- const css::uno::Any& Whatever14,
- const css::uno::Any& Whatever15,
- const css::uno::Any& Whatever16,
- const css::uno::Any& Whatever17,
- const css::uno::Any& Whatever18,
- const css::uno::Any& Whatever19,
- const css::uno::Any& Whatever20 ) override;
+ const css::uno::Any& Drawings,
+ const css::uno::Any& Anchors,
+ const css::uno::Any& TextBoundaries,
+ const css::uno::Any& VRuler,
+ const css::uno::Any& Highlight ) override;
virtual OUString SAL_CALL WindowName() override;
virtual sal_Bool SAL_CALL ExistingBookmark( const OUString& Name ) override;
virtual void SAL_CALL MailMergeOpenDataSource(const OUString& Name, const css::uno::Any& Format,
@@ -541,28 +542,51 @@ SwWordBasic::FileSave()
}
void SAL_CALL
-SwWordBasic::ToolsOptionsView( const css::uno::Any& /*FieldCodes*/,
- const css::uno::Any& /*ShowAll*/,
- const css::uno::Any& /*Whatever3*/,
- const css::uno::Any& /*Whatever4*/,
- const css::uno::Any& /*Whatever5*/,
- const css::uno::Any& /*Whatever6*/,
- const css::uno::Any& /*Whatever7*/,
- const css::uno::Any& /*Whatever8*/,
- const css::uno::Any& /*Whatever9*/,
- const css::uno::Any& /*Whatever10*/,
- const css::uno::Any& /*Whatever11*/,
- const css::uno::Any& /*Whatever12*/,
- const css::uno::Any& /*Whatever13*/,
- const css::uno::Any& /*Whatever14*/,
- const css::uno::Any& /*Whatever15*/,
- const css::uno::Any& /*Whatever16*/,
- const css::uno::Any& /*Whatever17*/,
- const css::uno::Any& /*Whatever18*/,
- const css::uno::Any& /*Whatever19*/,
- const css::uno::Any& /*Whatever20*/)
-{
- // ???
+SwWordBasic::ToolsOptionsView( const css::uno::Any& DraftFont,
+ const css::uno::Any& WrapToWindow,
+ const css::uno::Any& PicturePlaceHolders,
+ const css::uno::Any& FieldCodes,
+ const css::uno::Any& BookMarks,
+ const css::uno::Any& FieldShading,
+ const css::uno::Any& StatusBar,
+ const css::uno::Any& HScroll,
+ const css::uno::Any& VScroll,
+ const css::uno::Any& StyleAreaWidth,
+ const css::uno::Any& Tabs,
+ const css::uno::Any& Spaces,
+ const css::uno::Any& Paras,
+ const css::uno::Any& Hyphens,
+ const css::uno::Any& Hidden,
+ const css::uno::Any& ShowAll,
+ const css::uno::Any& Drawings,
+ const css::uno::Any& Anchors,
+ const css::uno::Any& TextBoundaries,
+ const css::uno::Any& VRuler,
+ const css::uno::Any& Highlight )
+{
+ SAL_INFO("sw.vba", "WordBasic.ToolsOptionsView("
+ << "DraftFont:=" << DraftFont
+ << ", WrapToWindow:=" << WrapToWindow
+ << ", PicturePlaceHolders:=" << PicturePlaceHolders
+ << ", FieldCodes:=" << FieldCodes
+ << ", BookMarks:=" << BookMarks
+ << ", FieldShading:=" << FieldShading
+ << ", StatusBar:=" << StatusBar
+ << ", HScroll:=" << HScroll
+ << ", VScroll:=" << VScroll
+ << ", StyleAreaWidth:=" << StyleAreaWidth
+ << ", Tabs:=" << Tabs
+ << ", Spaces:=" << Spaces
+ << ", Paras:=" << Paras
+ << ", Hyphens:=" << Hyphens
+ << ", Hidden:=" << Hidden
+ << ", ShowAll:=" << ShowAll
+ << ", Drawings:=" << Drawings
+ << ", Anchors:=" << Anchors
+ << ", TextBoundaries:=" << TextBoundaries
+ << ", VRuler:=" << VRuler
+ << ", Highlight:=" << Highlight
+ << ")");
}
OUString SAL_CALL