diff --git a/include/vcl/tabs.hrc b/include/vcl/tabs.hrc index eb392ff4e50f..3949fdae0006 100644 --- a/include/vcl/tabs.hrc +++ b/include/vcl/tabs.hrc @@ -41,9 +41,9 @@ inline constexpr TabData RID_TAB_POSITION{ NC_("RID_TAB_POSITION", "Position"), inline constexpr TabData RID_TAB_HIGHLIGHTING{ NC_("RID_TAB_HIGHLIGHTING", "Highlighting"), u"backcolor.png"_ustr }; inline constexpr TabData RID_TAB_COLORPALETTE{ NC_("RID_TAB_COLORPALETTE", "Color Palette"), u"colorsettings.png"_ustr }; inline constexpr TabData RID_TAB_NUMBERS{ NC_("RID_TAB_NUMBERS", "Numbers"), u"numberformatdecimal.png"_ustr }; -inline constexpr TabData RID_TAB_INDENTS{ NC_("RID_TAB_INDENTS", "Indents & Spacing"), u"paraspaceincrease.png"_ustr }; +inline constexpr TabData RID_TAB_INDENTS{ NC_("RID_TAB_INDENTS", "Indents & Spacing"), u"paraspaceincrease.png"_ustr }; inline constexpr TabData RID_TAB_TABS{ NC_("RID_TAB_TABS", "Tabs"), u"hangingindent.png"_ustr }; -inline constexpr TabData RID_TAB_ORGANIZER{ NC_("RID_TAB_ORGANIZER", "Organizer"), u"browseview.png"_ustr }; +inline constexpr TabData RID_TAB_ORGANIZER{ NC_("RID_TAB_ORGANIZER", "General"), u"browseview.png"_ustr }; inline constexpr TabData RID_TAB_BACKGROUND{ NC_("RID_TAB_BACKGROUND", "Background"), u"backgroundcolor.png"_ustr }; inline constexpr TabData RID_TAB_TEXTFLOW{ NC_("RID_TAB_TEXTFLOW", "Text Flow"), u"hyphenate.png"_ustr }; inline constexpr TabData RID_TAB_ASIANLAYOUT{ NC_("RID_TAB_ASIANLAYOUT", "Asian Layout"), u"textdirectiontoptobottom.png"_ustr }; @@ -65,9 +65,33 @@ inline constexpr TabData RID_TAB_CUSTOMIZE{ NC_("RID_TAB_CUSTOMIZE", "Customize" inline constexpr TabData RID_TAB_LIST_POSITION{ NC_("RID_TAB_LIST_POSITION", "Position"), u"hangingindent.png"_ustr }; // frame inline constexpr TabData RID_TAB_FRAME_TYPE{ NC_("RID_TAB_FRAME_TYPE", "Type"), u"toggleanchortype.png"_ustr }; -inline constexpr TabData RID_TAB_FRAME_OPTIONS{ NC_("RID_TAB_FRAME_OPTIONS", "Options"), u"inserthyperlink.png"_ustr }; +inline constexpr TabData RID_TAB_FRAME_OPTIONS{ NC_("RID_TAB_FRAME_OPTIONS", "Options"), u"calloutshapes.png"_ustr }; inline constexpr TabData RID_TAB_FRAME_WRAP{ NC_("RID_TAB_FRAME_WRAP", "Wrap"), u"wrapcontour.png"_ustr }; inline constexpr TabData RID_TAB_MACRO{ NC_("RID_TAB_MACRO", "Macro"), u"choosemacro.png"_ustr }; +// section +inline constexpr TabData RID_TAB_SECTION{ NC_("RID_TAB_SECTION", "Section"), u"protectfields.png"_ustr }; +inline constexpr TabData RID_TAB_FOOTENDNOTES{ NC_("RID_TAB_FOOTENDNOTES", "Footnotes/Endnotes"), u"footnotedialog.png"_ustr }; +inline constexpr TabData RID_TAB_INDENTSONLY{ NC_("RID_TAB_INDENTS", "Indents"), u"paraspaceincrease.png"_ustr }; +// ToC +inline constexpr TabData RID_TAB_TOCTYPE{ NC_("RID_TAB_TOCTYPE", "Type"), u"insertindexesentry.png"_ustr }; +inline constexpr TabData RID_TAB_TOCENTRIES{ NC_("RID_TAB_TOCENTRIES", "Entries"), u"updatecurindex.png"_ustr }; +inline constexpr TabData RID_TAB_STYLES{ NC_("RID_TAB_STYLES", "Styles"), u"editstyle.png"_ustr }; +// table +inline constexpr TabData RID_TAB_TABLE{ NC_("RID_TAB_TABLE", "Table"), u"tabledialog.png"_ustr }; +// field +inline constexpr TabData RID_TAB_DOCUMENT{ NC_("RID_TAB_DOCUMENT", "Document"), u"insertreferencefield.png"_ustr }; +inline constexpr TabData RID_TAB_CROSSREF{ NC_("RID_TAB_CROSSREF", "Cross-references"), u"insertbookmark.png"_ustr }; +inline constexpr TabData RID_TAB_FUNCTIONS{ NC_("RID_TAB_FUNCTIONS", "Functions"), u"insertplugin.png"_ustr }; +inline constexpr TabData RID_TAB_DOCINFO{ NC_("RID_TAB_DOCINFO", "DocInformation"), u"insertdoc.png"_ustr }; +inline constexpr TabData RID_TAB_VARIABLES{ NC_("RID_TAB_VARIABLES", "Variables"), u"insertpagenumberfield.png"_ustr }; +inline constexpr TabData RID_TAB_DATABASE{ NC_("RID_TAB_DATABASE", "Database"), u"insertexternaldatasource.png"_ustr }; +// label / business card +inline constexpr TabData RID_TAB_LABEL{ NC_("RID_TAB_LABEL", "Labels"), u"label.png"_ustr }; +inline constexpr TabData RID_TAB_PRIVATE{ NC_("RID_TAB_PRIVATE", "Private"), u"symbolshapes.moon.png"_ustr }; +inline constexpr TabData RID_TAB_BUSINESS{ NC_("RID_TAB_BUSINESS", "Business"), u"symbolshapes.sun.png"_ustr }; +inline constexpr TabData RID_TAB_FORMAT{ NC_("RID_TAB_FORMAT", "Format"), u"pagemargin.png"_ustr }; +inline constexpr TabData RID_TAB_LABEL_OPTIONS{ NC_("RID_TAB_LABEL_OPTIONS", "Options"), u"printlayout.png"_ustr }; + // draw inline constexpr TabData RID_TAB_SHADOW{ NC_("RID_TAB_SHADOW", "Shadowing"), u"fillshadow.png"_ustr }; inline constexpr TabData RID_TAB_TEXT{ NC_("RID_TAB_TEXT", "Text"), u"text_marquee.png"_ustr }; @@ -77,6 +101,11 @@ inline constexpr TabData RID_TAB_CONNECTOR{ NC_("RID_TAB_CONNECTOR", "Connector" // calc inline constexpr TabData RID_TAB_SHEET{ NC_("RID_TAB_SHEET", "Sheet"), u"printersetup.png"_ustr }; inline constexpr TabData RID_TAB_PROTECTION{ NC_("RID_TAB_PROTECTION", "Cell Protection"), u"protect.png"_ustr }; +// picture/frame formatting +inline constexpr TabData RID_TAB_POSSIZE{ NC_("RID_TAB_POSSIZE", "Position and Size"), u"transformdialog.png"_ustr }; +inline constexpr TabData RID_TAB_HYPERLINK{ NC_("RID_TAB_HYPERLINK", "Hyperlink"), u"inserthyperlink.png"_ustr }; +inline constexpr TabData RID_TAB_CROP{ NC_("RID_TAB_CROP", "Crop"), u"crop.png"_ustr }; +inline constexpr TabData RID_TAB_ROTATION{ NC_("RID_TAB_ROTATION", "Rotation"), u"toggleobjectrotatemode.png"_ustr }; inline constexpr TabData RID_TAB_CHART_OPTIONS{ NC_("RID_TAB_CHART_OPTIONS", "Options"), u"diagramtype.png"_ustr }; inline constexpr TabData RID_TAB_CHART_ERROR_X{ NC_("RID_TAB_CHART_ERROR_X", "X Error Bars"), u"arrowshapes.png"_ustr }; diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index f5deab08353f..d23784fae59d 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -34,6 +34,8 @@ #include #include +#include + using namespace ::com::sun::star::ui::dialogs; using namespace ::com::sun::star::uno; using namespace ::sfx2; @@ -49,13 +51,18 @@ SwCharDlg::SwCharDlg(weld::Window* pParent, SwView& rView, const SfxItemSet& rCo { m_xDialog->set_title(m_xDialog->get_title() + SwResId(STR_TEXTCOLL_HEADER) + *pStr + ")"); } - SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - AddTabPage(u"font"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_CHAR_NAME), nullptr); - AddTabPage(u"fonteffects"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_CHAR_EFFECTS), nullptr); - AddTabPage(u"position"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_CHAR_POSITION ), nullptr ); - AddTabPage(u"asianlayout"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_CHAR_TWOLINES ), nullptr ); - AddTabPage(u"background"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BKG ), nullptr ); - AddTabPage(u"borders"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER ), nullptr ); + AddTabPage(u"font"_ustr, TabResId(RID_TAB_FONT.aLabel), RID_SVXPAGE_CHAR_NAME, + RID_M + RID_TAB_FONT.sIconName); + AddTabPage(u"fonteffects"_ustr, TabResId(RID_TAB_FONTEFFECTS.aLabel), RID_SVXPAGE_CHAR_EFFECTS, + RID_M + RID_TAB_FONTEFFECTS.sIconName); + AddTabPage(u"position"_ustr, TabResId(RID_TAB_POSITION.aLabel), RID_SVXPAGE_CHAR_POSITION, + RID_M + RID_TAB_POSITION.sIconName); + AddTabPage(u"asianlayout"_ustr, TabResId(RID_TAB_ASIANLAYOUT.aLabel), RID_SVXPAGE_CHAR_TWOLINES, + RID_M + RID_TAB_ASIANLAYOUT.sIconName); + AddTabPage(u"background"_ustr, TabResId(RID_TAB_BACKGROUND.aLabel), RID_SVXPAGE_BKG, + RID_M + RID_TAB_BACKGROUND.sIconName); + AddTabPage(u"borders"_ustr, TabResId(RID_TAB_BORDER.aLabel), RID_SVXPAGE_BORDER, + RID_M + RID_TAB_BORDER.sIconName); if (m_nDialogMode == SwCharDlgMode::Draw || m_nDialogMode == SwCharDlgMode::Ann) { diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx index d64d5dc6106b..4692ba8bcb61 100644 --- a/sw/source/ui/chrdlg/pardlg.cxx +++ b/sw/source/ui/chrdlg/pardlg.cxx @@ -39,6 +39,8 @@ #include #include +#include + SwParaDlg::SwParaDlg(weld::Window *pParent, SwView& rVw, const SfxItemSet& rCoreSet, @@ -65,77 +67,80 @@ SwParaDlg::SwParaDlg(weld::Window *pParent, OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_STD_PARAGRAPH), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_STD_PARAGRAPH), "GetTabPageRangesFunc fail!"); - AddTabPage(u"indents"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_STD_PARAGRAPH), - pFact->GetTabPageRangesFunc(RID_SVXPAGE_STD_PARAGRAPH)); + AddTabPage(u"indents"_ustr, TabResId(RID_TAB_INDENTS.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_STD_PARAGRAPH), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_STD_PARAGRAPH), + RID_M + RID_TAB_INDENTS.sIconName); OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), "GetTabPageRangesFunc fail!"); - AddTabPage(u"alignment"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), - pFact->GetTabPageRangesFunc(RID_SVXPAGE_ALIGN_PARAGRAPH)); + AddTabPage(u"alignment"_ustr, TabResId(RID_TAB_ALIGNMENT.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), + RID_M + RID_TAB_ALIGNMENT.sIconName); if (!m_bDrawParaDlg && (!bHtmlMode || officecfg::Office::Common::Filter::HTML::Export::PrintLayout::get())) { OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_EXT_PARAGRAPH), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_EXT_PARAGRAPH), "GetTabPageRangesFunc fail!"); - AddTabPage(u"textflow"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_EXT_PARAGRAPH), - pFact->GetTabPageRangesFunc(RID_SVXPAGE_EXT_PARAGRAPH)); - + AddTabPage(u"textflow"_ustr, TabResId(RID_TAB_TEXTFLOW.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_EXT_PARAGRAPH), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_EXT_PARAGRAPH), + RID_M + RID_TAB_TEXTFLOW.sIconName); } - else - RemoveTabPage(u"textflow"_ustr); if(!bHtmlMode && SvtCJKOptions::IsAsianTypographyEnabled()) { OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_PARA_ASIAN), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_PARA_ASIAN), "GetTabPageRangesFunc fail!"); - AddTabPage(u"asiantypo"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_PARA_ASIAN), - pFact->GetTabPageRangesFunc(RID_SVXPAGE_PARA_ASIAN)); + AddTabPage(u"asiantypo"_ustr, TabResId(RID_TAB_ASIANTYPO.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_PARA_ASIAN), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_PARA_ASIAN), + RID_M + RID_TAB_ASIANTYPO.sIconName); } - else - RemoveTabPage(u"asiantypo"_ustr); - if(bHtmlMode) - RemoveTabPage(u"tabs"_ustr); - else + if (!m_bDrawParaDlg) + { + if(!(nDialogMode & DLG_ENVELOP)) + AddTabPage(u"outline"_ustr, TabResId(RID_TAB_OUTLINELIST.aLabel), + SwParagraphNumTabPage::Create, SwParagraphNumTabPage::GetRanges, + RID_M + RID_TAB_OUTLINELIST.sIconName); + } + + if(!bHtmlMode) { OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TABULATOR), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_TABULATOR), "GetTabPageRangesFunc fail!"); - AddTabPage( u"tabs"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TABULATOR), pFact->GetTabPageRangesFunc(RID_SVXPAGE_TABULATOR) ); + AddTabPage(u"tabs"_ustr, TabResId(RID_TAB_TABS.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TABULATOR), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_TABULATOR), + RID_M + RID_TAB_TABS.sIconName); } - // remove unwanted tabs for draw text box paragraph properties - if (m_bDrawParaDlg) + if (!m_bDrawParaDlg) { - RemoveTabPage(u"outline"_ustr); - RemoveTabPage(u"dropcaps"_ustr); - RemoveTabPage(u"borders"_ustr); - RemoveTabPage(u"area"_ustr); - RemoveTabPage(u"transparence"_ustr); - } - else - { - if(!(nDialogMode & DLG_ENVELOP)) - AddTabPage(u"outline"_ustr, SwParagraphNumTabPage::Create, SwParagraphNumTabPage::GetRanges); - else - RemoveTabPage(u"outline"_ustr); + AddTabPage(u"dropcaps"_ustr, TabResId(RID_TAB_DROPCAPS.aLabel), SwDropCapsPage::Create, + SwDropCapsPage::GetRanges, RID_M + RID_TAB_DROPCAPS.sIconName); - AddTabPage(u"dropcaps"_ustr, SwDropCapsPage::Create, SwDropCapsPage::GetRanges); + OSL_ENSURE(pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER ), "GetTabPageCreatorFunc fail!"); + OSL_ENSURE(pFact->GetTabPageRangesFunc( RID_SVXPAGE_BORDER ), "GetTabPageRangesFunc fail!"); + AddTabPage(u"borders"_ustr, TabResId(RID_TAB_BORDER.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BORDER), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_BORDER), + RID_M + RID_TAB_BORDER.sIconName); if(!bHtmlMode || (nHtmlMode & (HTMLMODE_SOME_STYLES|HTMLMODE_FULL_STYLES))) { // add Area and Transparence TabPages - AddTabPage(u"area"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_AREA ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_AREA )); - AddTabPage(u"transparence"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_TRANSPARENCE ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_TRANSPARENCE ) ); + AddTabPage(u"area"_ustr, TabResId(RID_TAB_AREA.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_AREA), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_AREA), + RID_M + RID_TAB_AREA.sIconName); + AddTabPage(u"transparence"_ustr, TabResId(RID_TAB_TRANSPARENCE.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TRANSPARENCE), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_TRANSPARENCE), + RID_M + RID_TAB_TRANSPARENCE.sIconName); } - else - { - RemoveTabPage(u"area"_ustr); - RemoveTabPage(u"transparence"_ustr); - } - - OSL_ENSURE(pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER ), "GetTabPageCreatorFunc fail!"); - OSL_ENSURE(pFact->GetTabPageRangesFunc( RID_SVXPAGE_BORDER ), "GetTabPageRangesFunc fail!"); - AddTabPage(u"borders"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_BORDER ) ); } if (!sDefPage.isEmpty()) diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index 7fd3a57a6da4..8451e13a5f66 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -63,6 +63,8 @@ #include #include +#include + using namespace ::com::sun::star; namespace { @@ -1384,23 +1386,25 @@ SwInsertSectionTabDialog::SwInsertSectionTabDialog( u"InsertSectionDialog"_ustr,&rSet) , m_rWrtSh(rSh) { - SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - AddTabPage(u"section"_ustr, SwInsertSectionTabPage::Create, nullptr); - AddTabPage(u"columns"_ustr, SwColumnPage::Create, nullptr); - AddTabPage(u"background"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), nullptr); - AddTabPage(u"notes"_ustr, SwSectionFootnoteEndTabPage::Create, nullptr); - AddTabPage(u"indents"_ustr, SwSectionIndentTabPage::Create, nullptr); - tools::Long nHtmlMode = SvxHtmlOptions::GetExportMode(); + bool bWeb = dynamic_cast(rSh.GetView().GetDocShell()) != nullptr; + const bool bColumn = bWeb ? false : HTML_CFG_NS40 != nHtmlMode && HTML_CFG_WRITER != nHtmlMode; + + SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); + AddTabPage(u"section"_ustr, TabResId(RID_TAB_SECTION.aLabel), SwInsertSectionTabPage::Create, + RID_L + RID_TAB_SECTION.sIconName); + if (!bWeb && !bColumn) + AddTabPage(u"columns"_ustr, TabResId(RID_TAB_COLUMNS.aLabel), SwColumnPage::Create, + RID_L + RID_TAB_COLUMNS.sIconName); + if (!bWeb) + AddTabPage(u"indents"_ustr, TabResId(RID_TAB_INDENTSONLY.aLabel), + SwSectionIndentTabPage::Create, RID_L + RID_TAB_INDENTSONLY.sIconName); + AddTabPage(u"background"_ustr, TabResId(RID_TAB_BACKGROUND.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), RID_L + RID_TAB_BACKGROUND.sIconName); + if (!bWeb) + AddTabPage(u"notes"_ustr, TabResId(RID_TAB_FOOTENDNOTES.aLabel), + SwSectionFootnoteEndTabPage::Create, RID_L + RID_TAB_FOOTENDNOTES.sIconName); - bool bWeb = dynamic_cast( rSh.GetView().GetDocShell() ) != nullptr ; - if(bWeb) - { - RemoveTabPage(u"notes"_ustr); - RemoveTabPage(u"indents"_ustr); - if( HTML_CFG_NS40 != nHtmlMode && HTML_CFG_WRITER != nHtmlMode) - RemoveTabPage(u"columns"_ustr); - } SetCurPageId(u"section"_ustr); } @@ -2034,21 +2038,22 @@ SwSectionPropertyTabDialog::SwSectionPropertyTabDialog( u"FormatSectionDialog"_ustr, &rSet) , m_rWrtSh(rSh) { - SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - AddTabPage(u"columns"_ustr, SwColumnPage::Create, nullptr); - AddTabPage(u"background"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), nullptr); - AddTabPage(u"notes"_ustr, SwSectionFootnoteEndTabPage::Create, nullptr); - AddTabPage(u"indents"_ustr, SwSectionIndentTabPage::Create, nullptr); - tools::Long nHtmlMode = SvxHtmlOptions::GetExportMode(); - bool bWeb = dynamic_cast( rSh.GetView().GetDocShell() ) != nullptr ; - if(bWeb) - { - RemoveTabPage(u"notes"_ustr); - RemoveTabPage(u"indents"_ustr); - if( HTML_CFG_NS40 != nHtmlMode && HTML_CFG_WRITER != nHtmlMode) - RemoveTabPage(u"columns"_ustr); - } + bool bWeb = dynamic_cast(rSh.GetView().GetDocShell()) != nullptr; + const bool bColumn = bWeb ? false : HTML_CFG_NS40 != nHtmlMode && HTML_CFG_WRITER != nHtmlMode; + + SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); + if (!bWeb && !bColumn) + AddTabPage(u"columns"_ustr, TabResId(RID_TAB_COLUMNS.aLabel), SwColumnPage::Create, + RID_L + RID_TAB_COLUMNS.sIconName); + if (!bWeb) + AddTabPage(u"indents"_ustr, TabResId(RID_TAB_INDENTSONLY.aLabel), + SwSectionIndentTabPage::Create, RID_L + RID_TAB_INDENTSONLY.sIconName); + AddTabPage(u"background"_ustr, TabResId(RID_TAB_BACKGROUND.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), RID_L + RID_TAB_BACKGROUND.sIconName); + if (!bWeb) + AddTabPage(u"notes"_ustr, TabResId(RID_TAB_FOOTENDNOTES.aLabel), + SwSectionFootnoteEndTabPage::Create, RID_L + RID_TAB_FOOTENDNOTES.sIconName); } SwSectionPropertyTabDialog::~SwSectionPropertyTabDialog() diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index c1c442b6211d..fc498c70cd9e 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -35,6 +35,8 @@ #include #include +#include + void SwLabRec::SetFromItem( const SwLabItem& rItem ) { m_nHDist = rItem.m_lHDist; @@ -132,22 +134,21 @@ SwLabDlg::SwLabDlg(weld::Window* pParent, const SfxItemSet& rSet, if (m_xExampleSet) m_xExampleSet->Put(aItem); - AddTabPage(u"format"_ustr, SwLabFormatPage::Create, nullptr); - AddTabPage(u"options"_ustr, SwLabPrtPage::Create, nullptr); - AddTabPage(u"labels"_ustr, SwLabPage::Create, nullptr); - m_sBusinessCardDlg = SwResId(STR_BUSINESS_CARDS); - - if (m_bLabel) + AddTabPage(u"labels"_ustr, TabResId(RID_TAB_LABEL.aLabel), SwLabPage::Create, + RID_L + RID_TAB_LABEL.sIconName); + if (!m_bLabel) { - RemoveTabPage(u"business"_ustr); - RemoveTabPage(u"private"_ustr); - } - else - { - AddTabPage(u"business"_ustr, SwBusinessDataPage::Create, nullptr ); - AddTabPage(u"private"_ustr, SwPrivateDataPage::Create, nullptr); + AddTabPage(u"private"_ustr, TabResId(RID_TAB_PRIVATE.aLabel), SwPrivateDataPage::Create, + RID_L + RID_TAB_PRIVATE.sIconName); + AddTabPage(u"business"_ustr, TabResId(RID_TAB_BUSINESS.aLabel), SwBusinessDataPage::Create, + RID_L + RID_TAB_BUSINESS.sIconName); m_xDialog->set_title(m_sBusinessCardDlg); } + AddTabPage(u"format"_ustr, TabResId(RID_TAB_FORMAT.aLabel), SwLabFormatPage::Create, + RID_L + RID_TAB_FORMAT.sIconName); + AddTabPage(u"options"_ustr, TabResId(RID_TAB_LABEL_OPTIONS.aLabel), SwLabPrtPage::Create, + RID_L + RID_TAB_LABEL_OPTIONS.sIconName); + m_sBusinessCardDlg = SwResId(STR_BUSINESS_CARDS); } SwLabDlg::~SwLabDlg() diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx index 6b2b401e4e82..3d0bc7d7c8a9 100644 --- a/sw/source/ui/fldui/fldtdlg.cxx +++ b/sw/source/ui/fldui/fldtdlg.cxx @@ -47,6 +47,8 @@ #include #include +#include + // carrier of the dialog SwFieldDlg::SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* /*pCW*/, weld::Window *pParent) : SfxTabDialogController(pParent, u"modules/swriter/ui/fielddialog.ui"_ustr, u"FieldDialog"_ustr) @@ -54,25 +56,32 @@ SwFieldDlg::SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* /*pCW*/, weld::Window , m_bDataBaseMode(false) , m_bClosing(false) { - bool bHtmlMode = (::GetHtmlMode(static_cast(SfxObjectShell::Current())) & HTMLMODE_ON) != 0; + bool bHtmlMode + = (::GetHtmlMode(static_cast(SfxObjectShell::Current())) & HTMLMODE_ON) != 0; GetCancelButton().connect_clicked(LINK(this, SwFieldDlg, CancelHdl)); GetOKButton().connect_clicked(LINK(this, SwFieldDlg, OKHdl)); - AddTabPage(u"document"_ustr, SwFieldDokPage::Create, nullptr); - AddTabPage(u"variables"_ustr, SwFieldVarPage::Create, nullptr); - AddTabPage(u"docinfo"_ustr, SwFieldDokInfPage::Create, nullptr); - + AddTabPage(u"document"_ustr, TabResId(RID_TAB_DOCUMENT.aLabel), SwFieldDokPage::Create, + RID_M + RID_TAB_DOCUMENT.sIconName); if (!bHtmlMode) { - AddTabPage(u"ref"_ustr, SwFieldRefPage::Create, nullptr); - AddTabPage(u"functions"_ustr, SwFieldFuncPage::Create, nullptr); + AddTabPage(u"ref"_ustr, TabResId(RID_TAB_CROSSREF.aLabel), SwFieldRefPage::Create, + RID_M + RID_TAB_CROSSREF.sIconName); + AddTabPage(u"functions"_ustr, TabResId(RID_TAB_FUNCTIONS.aLabel), SwFieldFuncPage::Create, + RID_M + RID_TAB_FUNCTIONS.sIconName); + } + AddTabPage(u"docinfo"_ustr, TabResId(RID_TAB_DOCINFO.aLabel), SwFieldDokInfPage::Create, + RID_M + RID_TAB_DOCINFO.sIconName); + AddTabPage(u"variables"_ustr, TabResId(RID_TAB_VARIABLES.aLabel), SwFieldVarPage::Create, + RID_M + RID_TAB_VARIABLES.sIconName); + if (!bHtmlMode && !comphelper::LibreOfficeKit::isActive()) + { utl::OConfigurationTreeRoot aCfgRoot = utl::OConfigurationTreeRoot::createWithComponentContext( ::comphelper::getProcessComponentContext(), - u"/org.openoffice.Office.DataAccess/Policies/Features/Writer"_ustr, - -1, + u"/org.openoffice.Office.DataAccess/Policies/Features/Writer"_ustr, -1, utl::OConfigurationTreeRoot::CM_READONLY); #if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS @@ -80,20 +89,10 @@ SwFieldDlg::SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* /*pCW*/, weld::Window aCfgRoot.getNodeValue(u"DatabaseFields"_ustr) >>= bDatabaseFields; if (bDatabaseFields) - AddTabPage(u"database"_ustr, SwFieldDBPage::Create, nullptr); - else + AddTabPage(u"database"_ustr, TabResId(RID_TAB_DATABASE.aLabel), SwFieldDBPage::Create, + RID_M + RID_TAB_DATABASE.sIconName); #endif - RemoveTabPage(u"database"_ustr); } - else - { - RemoveTabPage(u"ref"_ustr); - RemoveTabPage(u"functions"_ustr); - RemoveTabPage(u"database"_ustr); - } - - if (comphelper::LibreOfficeKit::isActive()) - RemoveTabPage(u"database"_ustr); } SwFieldDlg::~SwFieldDlg() diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx index 3cab9392c430..739174f148b9 100644 --- a/sw/source/ui/frmdlg/frmdlg.cxx +++ b/sw/source/ui/frmdlg/frmdlg.cxx @@ -40,6 +40,8 @@ #include #include +#include + // the dialog's carrier SwFrameDlg::SwFrameDlg(const SfxViewFrame& rViewFrame, weld::Window* pParent, @@ -68,27 +70,41 @@ SwFrameDlg::SwFrameDlg(const SfxViewFrame& rViewFrame, m_xDialog->set_title(m_xDialog->get_title() + SwResId(STR_FRMUI_COLL_HEADER) + *pStr + ")"); } - AddTabPage(u"type"_ustr, SwFramePage::Create, nullptr); - AddTabPage(u"options"_ustr, SwFrameAddPage::Create, nullptr); - AddTabPage(u"wrap"_ustr, SwWrapTabPage::Create, nullptr); - AddTabPage(u"hyperlink"_ustr, SwFrameURLPage::Create, nullptr); + AddTabPage(u"type"_ustr, TabResId(RID_TAB_POSSIZE.aLabel), SwFramePage::Create, + RID_M + RID_TAB_POSSIZE.sIconName); + AddTabPage(u"options"_ustr, TabResId(RID_TAB_FRAME_OPTIONS.aLabel), SwFrameAddPage::Create, + RID_M + RID_TAB_FRAME_OPTIONS.sIconName); + AddTabPage(u"wrap"_ustr, TabResId(RID_TAB_FRAME_WRAP.aLabel), SwWrapTabPage::Create, + RID_M + RID_TAB_FRAME_WRAP.sIconName); + AddTabPage(u"hyperlink"_ustr, TabResId(RID_TAB_HYPERLINK.aLabel), SwFrameURLPage::Create, + RID_M + RID_TAB_HYPERLINK.sIconName); if (m_sDlgType == "PictureDialog") { - AddTabPage(u"picture"_ustr, SwGrfExtPage::Create, nullptr); - AddTabPage(u"crop"_ustr, RID_SVXPAGE_GRFCROP); + AddTabPage(u"picture"_ustr, TabResId(RID_TAB_ROTATION.aLabel), SwGrfExtPage::Create, + RID_M + RID_TAB_ROTATION.sIconName); + AddTabPage(u"crop"_ustr, TabResId(RID_TAB_CROP.aLabel), RID_SVXPAGE_GRFCROP, + RID_M + RID_TAB_CROP.sIconName); } if (m_sDlgType == "FrameDialog") { - AddTabPage(u"columns"_ustr, SwColumnPage::Create, nullptr); + AddTabPage(u"columns"_ustr, TabResId(RID_TAB_COLUMNS.aLabel), SwColumnPage::Create, + RID_M + RID_TAB_COLUMNS.sIconName); } SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); // add Area and Transparence TabPages - AddTabPage(u"area"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_AREA ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_AREA )); - AddTabPage(u"transparence"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_TRANSPARENCE ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_TRANSPARENCE ) ); + AddTabPage(u"area"_ustr, TabResId(RID_TAB_AREA.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_AREA), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_AREA), RID_M + RID_TAB_AREA.sIconName); + AddTabPage(u"transparence"_ustr, TabResId(RID_TAB_TRANSPARENCE.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_TRANSPARENCE), + pFact->GetTabPageRangesFunc(RID_SVXPAGE_TRANSPARENCE), + RID_M + RID_TAB_TRANSPARENCE.sIconName); - AddTabPage(u"macro"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_MACROASSIGN), nullptr); - AddTabPage(u"borders"_ustr, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER ), nullptr); + AddTabPage(u"macro"_ustr, TabResId(RID_TAB_MACRO.aLabel), RID_SVXPAGE_MACROASSIGN, + RID_M + RID_TAB_MACRO.sIconName); + AddTabPage(u"borders"_ustr, TabResId(RID_TAB_BORDER.aLabel), RID_SVXPAGE_BORDER, + RID_M + RID_TAB_BORDER.sIconName); if(bHTMLMode) { diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index b16793612366..337df748ed2c 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -72,6 +72,7 @@ #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::lang; @@ -272,11 +273,16 @@ SwMultiTOXTabDialog::SwMultiTOXTabDialog(weld::Widget* pParent, const SfxItemSet } } SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - AddTabPage(u"index"_ustr, SwTOXSelectTabPage::Create, nullptr); - AddTabPage(u"styles"_ustr, SwTOXStylesTabPage::Create, nullptr); - AddTabPage(u"columns"_ustr, SwColumnPage::Create, nullptr); - AddTabPage(u"background"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), nullptr); - AddTabPage(u"entries"_ustr, SwTOXEntryTabPage::Create, nullptr); + AddTabPage(u"index"_ustr, TabResId(RID_TAB_TOCTYPE.aLabel), SwTOXSelectTabPage::Create, + RID_L + RID_TAB_TOCTYPE.sIconName); + AddTabPage(u"entries"_ustr, TabResId(RID_TAB_TOCENTRIES.aLabel), SwTOXEntryTabPage::Create, + RID_L + RID_TAB_TOCENTRIES.sIconName); + AddTabPage(u"styles"_ustr, TabResId(RID_TAB_STYLES.aLabel), SwTOXStylesTabPage::Create, + RID_L + RID_TAB_STYLES.sIconName); + AddTabPage(u"columns"_ustr, TabResId(RID_TAB_COLUMNS.aLabel), SwColumnPage::Create, + RID_L + RID_TAB_COLUMNS.sIconName); + AddTabPage(u"background"_ustr, TabResId(RID_TAB_BACKGROUND.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), RID_L + RID_TAB_BACKGROUND.sIconName); if (!pCurTOX) SetCurPageId(u"index"_ustr); diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index ffb2f9f243a6..78bc532fe860 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -39,6 +39,8 @@ #include #include +#include + static bool bLastRelative = false; //See cui/uiconfig/ui/numberingpositionpage.ui for effectively a duplicate @@ -872,12 +874,18 @@ SwSvxNumBulletTabDialog::SwSvxNumBulletTabDialog(weld::Window* pParent, pButton->set_sensitive(m_rWrtSh.GetNumRuleAtCurrCursorPos() != nullptr); weld::Button& pCancelButton = GetCancelButton(); pCancelButton.connect_clicked(LINK(this, SwSvxNumBulletTabDialog, CancelHdl)); - AddTabPage(u"singlenum"_ustr, RID_SVXPAGE_PICK_SINGLE_NUM ); - AddTabPage(u"bullets"_ustr, RID_SVXPAGE_PICK_BULLET ); - AddTabPage(u"outlinenum"_ustr, RID_SVXPAGE_PICK_NUM ); - AddTabPage(u"graphics"_ustr, RID_SVXPAGE_PICK_BMP ); - AddTabPage(u"customize"_ustr, RID_SVXPAGE_NUM_OPTIONS ); - AddTabPage(u"position"_ustr, RID_SVXPAGE_NUM_POSITION ); + AddTabPage(u"singlenum"_ustr, TabResId(RID_TAB_UNOORDERED.aLabel), RID_SVXPAGE_PICK_SINGLE_NUM, + RID_M + RID_TAB_UNOORDERED.sIconName); + AddTabPage(u"bullets"_ustr, TabResId(RID_TAB_ORDERED.aLabel), RID_SVXPAGE_PICK_BULLET, + RID_M + RID_TAB_ORDERED.sIconName); + AddTabPage(u"outlinenum"_ustr, TabResId(RID_TAB_OUTLINE.aLabel), RID_SVXPAGE_PICK_NUM, + RID_M + RID_TAB_OUTLINE.sIconName); + AddTabPage(u"graphics"_ustr, TabResId(RID_TAB_IMAGE.aLabel), RID_SVXPAGE_PICK_BMP, + RID_M + RID_TAB_IMAGE.sIconName); + AddTabPage(u"position"_ustr, TabResId(RID_TAB_LIST_POSITION.aLabel), RID_SVXPAGE_NUM_POSITION, + RID_M + RID_TAB_LIST_POSITION.sIconName); + AddTabPage(u"customize"_ustr, TabResId(RID_TAB_CUSTOMIZE.aLabel), RID_SVXPAGE_NUM_OPTIONS, + RID_M + RID_TAB_CUSTOMIZE.sIconName); } SwSvxNumBulletTabDialog::~SwSvxNumBulletTabDialog() diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index b6e04623d8e0..27556a2dfe96 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -62,6 +62,8 @@ #include #include +#include + using namespace ::com::sun::star; SwFormatTablePage::SwFormatTablePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet) @@ -1223,11 +1225,16 @@ SwTableTabDlg::SwTableTabDlg(weld::Window* pParent, const SfxItemSet* pItemSet, , m_pShell(pSh) { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - AddTabPage(u"table"_ustr, &SwFormatTablePage::Create, nullptr); - AddTabPage(u"textflow"_ustr, &SwTextFlowPage::Create, nullptr); - AddTabPage(u"columns"_ustr, &SwTableColumnPage::Create, nullptr); - AddTabPage(u"background"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), nullptr); - AddTabPage(u"borders"_ustr, pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BORDER), nullptr); + AddTabPage(u"table"_ustr, TabResId(RID_TAB_TABLE.aLabel), &SwFormatTablePage::Create, + RID_L + RID_TAB_TABLE.sIconName); + AddTabPage(u"textflow"_ustr, TabResId(RID_TAB_TEXTFLOW.aLabel), &SwTextFlowPage::Create, + RID_L + RID_TAB_TEXTFLOW.sIconName); + AddTabPage(u"columns"_ustr, TabResId(RID_TAB_COLUMNS.aLabel), &SwTableColumnPage::Create, + RID_L + RID_TAB_COLUMNS.sIconName); + AddTabPage(u"borders"_ustr, TabResId(RID_TAB_BORDER.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BORDER), RID_L + RID_TAB_BORDER.sIconName); + AddTabPage(u"background"_ustr, TabResId(RID_TAB_BACKGROUND.aLabel), + pFact->GetTabPageCreatorFunc(RID_SVXPAGE_BKG), RID_L + RID_TAB_BACKGROUND.sIconName); } void SwTableTabDlg::PageCreated(const OUString& rId, SfxTabPage& rPage) diff --git a/sw/uiconfig/swriter/ui/bulletsandnumbering.ui b/sw/uiconfig/swriter/ui/bulletsandnumbering.ui index e8789272125e..f21b1252f586 100644 --- a/sw/uiconfig/swriter/ui/bulletsandnumbering.ui +++ b/sw/uiconfig/swriter/ui/bulletsandnumbering.ui @@ -116,343 +116,8 @@ True True True - True left - - - - True - False - True - True - - - - - - - - False - 3 - - - True - False - cmd/lc_defaultbullet.png - - - - - - False - True - 0 - - - - - True - False - Select a bullet type for an unordered list. - Unordered - bullets - - - - - - False - True - 1 - - - - - - - - True - False - True - True - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_defaultnumbering.png - - - - - - False - True - 0 - - - - - True - False - Select a numbering scheme for an ordered list. - Ordered - singlenum - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - True - True - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_setoutline.png - - - - - - False - True - 0 - - - - - True - False - Select an outline format for an ordered list. - Outline - outlinenum - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - True - True - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_imagebutton.png - - - - - - False - True - 0 - - - - - True - False - Select a graphic bullet symbol for an unordered list. - Image - graphics - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - True - True - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_hangingindent.png - - - - - - False - True - 0 - - - - - True - False - Modify indent, spacing, and alignment options for ordered and unordered lists. - Position - position - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - True - True - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_developmenttoolsdockingwindow.png - - - - - - False - True - 0 - - - - - True - False - Design your own bullet or numbering scheme. - Customize - customize - - - - - - False - True - 1 - - - - - 5 - False - - + True True diff --git a/sw/uiconfig/swriter/ui/characterproperties.ui b/sw/uiconfig/swriter/ui/characterproperties.ui index 6a8ce9101407..19d100a4e0d3 100644 --- a/sw/uiconfig/swriter/ui/characterproperties.ui +++ b/sw/uiconfig/swriter/ui/characterproperties.ui @@ -115,323 +115,6 @@ True True left - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_fontdialog.png - - - - - - False - True - 0 - - - - - True - False - Font - font - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_color.png - - - - - - False - True - 0 - - - - - True - False - Font Effects - fonteffects - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_fontwork.png - - - - - - False - True - 0 - - - - - True - False - Position - position - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_textdirectiontoptobottom.png - - - - - - False - True - 0 - - - - - True - False - Asian Layout - asianlayout - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_backcolor.png - - - - - - False - True - 0 - - - - - True - False - Highlighting - background - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 5 - False - - False diff --git a/sw/uiconfig/swriter/ui/fielddialog.ui b/sw/uiconfig/swriter/ui/fielddialog.ui index bf38eadb16fb..690b3b8ac672 100644 --- a/sw/uiconfig/swriter/ui/fielddialog.ui +++ b/sw/uiconfig/swriter/ui/fielddialog.ui @@ -102,323 +102,6 @@ True True left - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_insertreferencefield.png - - - - - - False - True - 0 - - - - - True - False - Document - document - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_insertbookmark.png - - - - - - False - True - 0 - - - - - True - False - Cross-references - ref - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_insertplugin.png - - - - - - False - True - 0 - - - - - True - False - Functions - functions - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_insertdoc.png - - - - - - False - True - 0 - - - - - True - False - DocInformation - docinfo - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_insertpagenumberfield.png - - - - - - False - True - 0 - - - - - True - False - Variables - variables - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_insertexternaldatasource.png - - - - - - False - True - 0 - - - - - True - False - Database - database - - - - - - False - True - 1 - - - - - 5 - False - - False diff --git a/sw/uiconfig/swriter/ui/formatsectiondialog.ui b/sw/uiconfig/swriter/ui/formatsectiondialog.ui index c7a95b3cb9fa..5c6d6145dfe0 100644 --- a/sw/uiconfig/swriter/ui/formatsectiondialog.ui +++ b/sw/uiconfig/swriter/ui/formatsectiondialog.ui @@ -93,218 +93,9 @@ True True True - True left + True icons - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/32/pagecolumntype.png - - - - - - False - True - 0 - - - - - True - False - Columns - columns - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/32/paraspaceincrease.png - - - - - - False - True - 0 - - - - - True - False - Indents - indents - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/32/backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Background - background - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/32/footnotedialog.png - - - - - - False - True - 0 - - - - - True - False - Footnotes/Endnotes - notes - - - - - - False - True - 1 - - - - - 3 - False - - False diff --git a/sw/uiconfig/swriter/ui/framedialog.ui b/sw/uiconfig/swriter/ui/framedialog.ui index 7ec7c2653646..23a41a2d7ade 100644 --- a/sw/uiconfig/swriter/ui/framedialog.ui +++ b/sw/uiconfig/swriter/ui/framedialog.ui @@ -94,485 +94,6 @@ True left True - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_transformdialog.png - - - - - - False - True - 0 - - - - - True - False - Position and Size - type - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_calloutshapes.png - - - - - - False - True - 0 - - - - - True - False - Options - options - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_wrapcontour.png - - - - - - False - True - 0 - - - - - True - False - Wrap - wrap - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_inserthyperlink.png - - - - - - False - True - 0 - - - - - True - False - Hyperlink - hyperlink - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Area - area - - - - - - False - True - 1 - - - - - 5 - False - - - - - - True - False - - - - - - 6 - - - - - False - 3 - - - True - False - cmd/lc_graftransparence.png - - - - - - False - True - 0 - - - - - True - False - Transparency - transparence - - - - - - False - True - 1 - - - - - 6 - False - - - - - - True - False - - - - - - 7 - - - - - False - 3 - - - True - False - cmd/lc_pagecolumntype.png - - - - - - False - True - 0 - - - - - True - False - Columns - columns - - - - - - False - True - 1 - - - - - 7 - False - - - - - - True - False - - - - - - 8 - - - - - False - 3 - - - True - False - cmd/lc_choosemacro.png - - - - - - False - True - 0 - - - - - True - False - Macro - macro - - - - - - False - True - 1 - - - - - 8 - False - - False diff --git a/sw/uiconfig/swriter/ui/insertsectiondialog.ui b/sw/uiconfig/swriter/ui/insertsectiondialog.ui index a1b184439247..67facfd60fa5 100644 --- a/sw/uiconfig/swriter/ui/insertsectiondialog.ui +++ b/sw/uiconfig/swriter/ui/insertsectiondialog.ui @@ -1,5 +1,5 @@ - + @@ -91,272 +91,9 @@ True True True - True left + True icons - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/32/protectfields.png - - - - - - False - True - 0 - - - - - True - False - Section - section - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/32/pagecolumntype.png - - - - - - False - True - 0 - - - - - True - False - Columns - columns - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/32/paraspaceincrease.png - - - - - - False - True - 0 - - - - - True - False - Indents - indents - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/32/backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Background - background - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/32/footnotedialog.png - - - - - - False - True - 0 - - - - - True - False - Footnotes/Endnotes - notes - - - - - - False - True - 1 - - - - - 4 - False - - False diff --git a/sw/uiconfig/swriter/ui/labeldialog.ui b/sw/uiconfig/swriter/ui/labeldialog.ui index 9fba68569715..eb57ba1d1e40 100644 --- a/sw/uiconfig/swriter/ui/labeldialog.ui +++ b/sw/uiconfig/swriter/ui/labeldialog.ui @@ -101,275 +101,6 @@ left True icons - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/32/label.png - - - - - - False - True - 0 - - - - - True - False - Labels - labels - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/32/symbolshapes.moon.png - - - - - - False - True - 0 - - - - - True - False - Private - private - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/32/symbolshapes.sun.png - - - - - - False - True - 0 - - - - - True - False - Business - business - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/32/pagemargin.png - - - - - - False - True - 0 - - - - - True - False - Format - format - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/32/printlayout.png - - - - - - False - True - 0 - - - - - True - False - Options - options - - - - - - False - True - 1 - - - - - 5 - False - - False diff --git a/sw/uiconfig/swriter/ui/objectdialog.ui b/sw/uiconfig/swriter/ui/objectdialog.ui index 47e54862cb45..7f4c1bfc80f6 100644 --- a/sw/uiconfig/swriter/ui/objectdialog.ui +++ b/sw/uiconfig/swriter/ui/objectdialog.ui @@ -91,433 +91,8 @@ True True True - True left - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_transformdialog.png - - - - - - False - True - 0 - - - - - True - False - Position and Size - type - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_calloutshapes.png - - - - - - False - True - 0 - - - - - True - False - Options - options - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_wrapcontour.png - - - - - - False - True - 0 - - - - - True - False - Wrap - wrap - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_inserthyperlink.png - - - - - - False - True - 0 - - - - - True - False - Hyperlink - hyperlink - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Area - area - - - - - - False - True - 1 - - - - - 5 - False - - - - - - True - False - - - - - - 6 - - - - - False - 3 - - - True - False - cmd/lc_graftransparence.png - - - - - - False - True - 0 - - - - - True - False - Transparency - transparence - - - - - - False - True - 1 - - - - - 6 - False - - - - - - True - False - - - - - - 7 - - - - - False - 3 - - - True - False - cmd/lc_choosemacro.png - - - - - - False - True - 0 - - - - - True - False - Macro - macro - - - - - - False - True - 1 - - - - - 7 - False - - + True False diff --git a/sw/uiconfig/swriter/ui/paradialog.ui b/sw/uiconfig/swriter/ui/paradialog.ui index a04dc57f651b..1c518fd006c8 100644 --- a/sw/uiconfig/swriter/ui/paradialog.ui +++ b/sw/uiconfig/swriter/ui/paradialog.ui @@ -115,540 +115,6 @@ True True left - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_paraspaceincrease.png - - - - - - False - True - 0 - - - - - True - False - Indents & Spacing - indents - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_alignblock.png - - - - - - False - True - 0 - - - - - True - False - Alignment - alignment - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_hyphenate.png - - - - - - False - True - 0 - - - - - True - False - Text Flow - textflow - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_defaultcharstyle.png - - - - - - False - True - 0 - - - - - True - False - Asian Typography - asiantypo - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_setoutline.png - - - - - - False - True - 0 - - - - - True - False - Set outline level, list style and line numbering for paragraph. - Outline & List - outline - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_hangingindent.png - - - - - - False - True - 0 - - - - - True - False - Tabs - tabs - - - - - - False - True - 1 - - - - - 5 - False - - - - - - True - False - - - - - - 6 - - - - - False - 3 - - - True - False - cmd/lc_smallcaps.png - - - - - - False - True - 0 - - - - - True - False - Drop Caps - dropcaps - - - - - - False - True - 1 - - - - - 6 - False - - - - - - True - False - - - - - - 7 - - - - - False - 3 - - - True - False - cmd/lc_borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 7 - False - - - - - - True - False - - - - - - 8 - - - - - False - 3 - - - True - False - cmd/lc_backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Area - area - - - - - - False - True - 1 - - - - - 8 - False - - - - - - True - False - - - - - - 9 - - - - - False - 3 - - - True - False - cmd/lc_graftransparence.png - - - - - - False - True - 0 - - - - - True - False - Transparency - transparence - - - - - - False - True - 1 - - - - - 9 - False - - False diff --git a/sw/uiconfig/swriter/ui/picturedialog.ui b/sw/uiconfig/swriter/ui/picturedialog.ui index e4dfae41dcaa..3aefa0b6144f 100644 --- a/sw/uiconfig/swriter/ui/picturedialog.ui +++ b/sw/uiconfig/swriter/ui/picturedialog.ui @@ -92,539 +92,6 @@ True True left - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/lc_transformdialog.png - - - - - - False - True - 0 - - - - - True - False - Position and Size - type - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/lc_calloutshapes.png - - - - - - False - True - 0 - - - - - True - False - Options - options - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/lc_wrapcontour.png - - - - - - False - True - 0 - - - - - True - False - Wrap - wrap - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/lc_inserthyperlink.png - - - - - - False - True - 0 - - - - - True - False - Hyperlink - hyperlink - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/lc_toggleobjectrotatemode.png - - - - - - False - True - 0 - - - - - True - False - Rotation - picture - - - - - - False - True - 1 - - - - - 4 - False - - - - - - True - False - - - - - - 5 - - - - - False - 3 - - - True - False - cmd/lc_crop.png - - - - - - False - True - 0 - - - - - True - False - Crop - crop - - - - - - False - True - 1 - - - - - 5 - False - - - - - - True - False - - - - - - 6 - - - - - False - 3 - - - True - False - cmd/lc_borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 6 - False - - - - - - True - False - - - - - - 7 - - - - - False - 3 - - - True - False - cmd/lc_backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Area - area - - - - - - False - True - 1 - - - - - 7 - False - - - - - - True - False - - - - - - 8 - - - - - False - 3 - - - True - False - cmd/lc_graftransparence.png - - - - - - False - True - 0 - - - - - True - False - Transparency - transparence - - - - - - False - True - 1 - - - - - 8 - False - - - - - - True - False - - - - - - 9 - - - - - False - 3 - - - True - False - cmd/lc_choosemacro.png - - - - - - False - True - 0 - - - - - True - False - Macro - macro - - - - - - False - True - 1 - - - - - 9 - False - - False diff --git a/sw/uiconfig/swriter/ui/tableproperties.ui b/sw/uiconfig/swriter/ui/tableproperties.ui index c0efc2db3677..54c45a637fef 100644 --- a/sw/uiconfig/swriter/ui/tableproperties.ui +++ b/sw/uiconfig/swriter/ui/tableproperties.ui @@ -94,269 +94,6 @@ left True icons - - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/32/tabledialog.png - - - - - - False - True - 0 - - - - - True - False - Table - table - - - - - - False - True - 1 - - - - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/32/hyphenate.png - - - - - - False - True - 0 - - - - - True - False - Text Flow - textflow - - - - - - False - True - 1 - - - - - 1 - False - - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/32/pagecolumntype.png - - - - - - False - True - 0 - - - - - True - False - Columns - columns - - - - - - False - True - 1 - - - - - 2 - False - - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/32/borderdialog.png - - - - - - False - True - 0 - - - - - True - False - Borders - borders - - - - - - False - True - 1 - - - - - 3 - False - - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/32/backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Background - background - - - - - - False - True - 1 - - - - - 4 - False - - False diff --git a/sw/uiconfig/swriter/ui/tocdialog.ui b/sw/uiconfig/swriter/ui/tocdialog.ui index 04c390ab24b1..0b6a1bec111f 100644 --- a/sw/uiconfig/swriter/ui/tocdialog.ui +++ b/sw/uiconfig/swriter/ui/tocdialog.ui @@ -119,267 +119,6 @@ left True icons - - - True - False - - - - - - - - False - 3 - - - True - False - cmd/32/insertindexesentry.png - - - - - - False - True - 0 - - - - - True - False - Type - index - - - - - - False - True - 1 - - - - - False - - - - - True - False - - - - - - 1 - - - - - False - 3 - - - True - False - cmd/32/updatecurindex.png - - - - - - False - True - 0 - - - - - True - False - Entries - entries - - - - - - False - True - 1 - - - - - 1 - False - - - - - True - False - - - - - - 2 - - - - - False - 3 - - - True - False - cmd/32/editstyle.png - - - - - - False - True - 0 - - - - - True - False - Styles - styles - - - - - - False - True - 1 - - - - - 2 - False - - - - - True - False - - - - - - 3 - - - - - False - 3 - - - True - False - cmd/32/formatcolumns.png - - - - - - False - True - 0 - - - - - True - False - Columns - columns - - - - - - False - True - 1 - - - - - 3 - False - - - - - True - False - - - - - - 4 - - - - - False - 3 - - - True - False - cmd/32/backgroundcolor.png - - - - - - False - True - 0 - - - - - True - False - Background - background - - - - - - False - True - 1 - - - - - 4 - False - - False