loleaflet/src/control/Control.NotebookbarCalc.js | 1512 +++++++++++++++++++- loleaflet/src/control/Control.NotebookbarImpress.js | 1380 ++++++++++++++++++ loleaflet/src/control/Control.NotebookbarWriter.js | 1376 ++++++++++++++++++ 3 files changed, 4265 insertions(+), 3 deletions(-)
New commits: commit ef4799e31240ddcb3825c26dbfa548e0445e39fb Author: Szymon Kłos <[email protected]> AuthorDate: Tue Jun 16 15:53:47 2020 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Fri Jun 26 15:25:47 2020 +0200 notebookbar: cached home tab Change-Id: Ibb97c5bbf63b673715444c7753c164babb1a7960 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97208 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> diff --git a/loleaflet/src/control/Control.NotebookbarCalc.js b/loleaflet/src/control/Control.NotebookbarCalc.js index 779d27f31..a6b95f3ef 100644 --- a/loleaflet/src/control/Control.NotebookbarCalc.js +++ b/loleaflet/src/control/Control.NotebookbarCalc.js @@ -44,7 +44,1517 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({ }, getHomeTab: function() { - return {}; + return { + 'id': '', + 'type': 'control', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'NotebookBar', + 'type': 'grid', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'box1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'ContextContainer', + 'type': 'tabcontrol', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Menubar', + 'command': '.uno:Menubar' + }, + { + 'type': 'toolitem', + 'text': 'Open', + 'command': '.uno:OpenFromCalc' + }, + { + 'type': 'toolitem', + 'text': 'Save', + 'command': '.uno:Save' + }, + { + 'type': 'toolitem', + 'text': 'Undo', + 'command': '.uno:Undo' + }, + { + 'type': 'toolitem', + 'text': 'Redo', + 'command': '.uno:Redo' + }, + { + 'type': 'toolitem', + 'text': 'Print', + 'command': '.uno:Print' + } + ] + }, + { + 'id': '', + 'type': 'tabpage', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home Tab', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home-Section-Clipboard', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom87', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Paste', + 'command': '.uno:Paste' + } + ] + }, + { + 'id': 'GroupB9', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Cut', + 'command': '.uno:Cut' + } + ] + }, + { + 'id': 'LineB7', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Copy', + 'command': '.uno:Copy' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Style', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator70', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB13', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA7', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Clone', + 'command': '.uno:FormatPaintbrush' + } + ] + }, + { + 'id': 'LineB8', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Clear', + 'command': '.uno:ResetAttributes' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Format', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'FileSection8', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB10', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'box76', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'font1', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'fontnamecombobox', + 'type': 'combobox', + 'text': 'Liberation Sans', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'edit', + 'text': 'Liberation Sans', + 'enabled': 'true' + } + ], + 'entries': [ + 'Alef', + 'Amiri', + 'Amiri Quran', + 'Baekmuk Batang', + 'Baekmuk Dotum', + 'Baekmuk Gulim', + 'Baekmuk Headline', + 'Bandal', + 'Bangwool', + 'Caladea', + 'Cantarell', + 'Carlito', + 'David CLM', + 'David Libre', + 'DejaVu Math TeX Gyre', + 'DejaVu Sans', + 'DejaVu Sans Condensed', + 'DejaVu Sans Light', + 'DejaVu Sans Mono', + 'DejaVu Serif', + 'DejaVu Serif Condensed', + 'Droid Arabic Kufi', + 'Droid Arabic Naskh', + 'Droid Naskh Shift Alt', + 'Droid Sans', + 'Droid Sans Armenian', + 'Droid Sans Devanagari', + 'Droid Sans Ethiopic', + 'Droid Sans Fallback', + 'Droid Sans Georgian', + 'Droid Sans Hebrew', + 'Droid Sans Japanese', + 'Droid Sans Mono', + 'Droid Sans Tamil', + 'Droid Sans Thai', + 'Droid Serif', + 'East Syriac Adiabene', + 'East Syriac Ctesiphon', + 'EmojiOne Color', + 'Estrangelo Antioch', + 'Estrangelo Edessa', + 'Estrangelo Midyat', + 'Estrangelo Nisibin', + 'Estrangelo Nisibin Outline', + 'Estrangelo Quenneshrin', + 'Estrangelo Talada', + 'Estrangelo TurAbdin', + 'Eunjin', + 'Eunjin Nakseo', + 'Frank Ruehl CLM', + 'Frank Ruhl Hofshi', + 'Gentium Basic', + 'Gentium Book Basic', + 'Goha-Tibeb Zemen', + 'Guseul', + 'KacstBook', + 'KacstOffice', + 'Karla', + 'Khmer OS', + 'Khmer OS Battambang', + 'Khmer OS Bokor', + 'Khmer OS Content', + 'Khmer OS Fasthand', + 'Khmer OS Freehand', + 'Khmer OS Metal Chrieng', + 'Khmer OS Muol', + 'Khmer OS Muol Light', + 'Khmer OS Muol Pali', + 'Khmer OS Siemreap', + 'Khmer OS System', + 'Liberation Mono', + 'Liberation Sans', + 'Liberation Sans Narrow', + 'Liberation Serif', + 'Linux Biolinum G', + 'Linux Libertine Display G', + 'Linux Libertine G', + 'LM Mono 10', + 'LM Mono 12', + 'LM Mono 8', + 'LM Mono 9', + 'LM Mono Caps 10', + 'LM Mono Light 10', + 'LM Mono Light Cond 10', + 'LM Mono Prop 10', + 'LM Mono Prop Light 10', + 'LM Mono Slanted 10', + 'LM Roman 10', + 'LM Roman 12', + 'LM Roman 17', + 'LM Roman 5', + 'LM Roman 6', + 'LM Roman 7', + 'LM Roman 8', + 'LM Roman 9', + 'LM Roman Caps 10', + 'LM Roman Demi 10', + 'LM Roman Dunhill 10', + 'LM Roman Slanted 10', + 'LM Roman Slanted 12', + 'LM Roman Slanted 17', + 'LM Roman Slanted 8', + 'LM Roman Slanted 9', + 'LM Roman Unslanted 10', + 'LM Sans 10', + 'LM Sans 12', + 'LM Sans 17', + 'LM Sans 8', + 'LM Sans 9', + 'LM Sans Demi Cond 10', + 'LM Sans Quot 8', + 'Luxi Mono', + 'Luxi Sans', + 'Luxi Serif', + 'Miriam CLM', + 'Miriam Libre', + 'Miriam Mono CLM', + 'Nachlieli CLM', + 'Noto Color Emoji', + 'Noto Kufi Arabic', + 'Noto Mono', + 'Noto Naskh Arabic', + 'Noto Naskh Arabic UI', + 'Noto Sans', + 'Noto Sans Arabic', + 'Noto Sans Arabic UI', + 'Noto Sans Armenian', + 'Noto Sans Blk', + 'Noto Sans Cond', + 'Noto Sans Cond Blk', + 'Noto Sans Cond ExtBd', + 'Noto Sans Cond ExtLt', + 'Noto Sans Cond Light', + 'Noto Sans Cond Med', + 'Noto Sans Cond SemBd', + 'Noto Sans Cond Thin', + 'Noto Sans ExtBd', + 'Noto Sans ExtCond', + 'Noto Sans ExtCond Blk', + 'Noto Sans ExtCond ExtBd', + 'Noto Sans ExtCond ExtLt', + 'Noto Sans ExtCond Light', + 'Noto Sans ExtCond Med', + 'Noto Sans ExtCond SemBd', + 'Noto Sans ExtCond Thin', + 'Noto Sans ExtLt', + 'Noto Sans Georgian', + 'Noto Sans Hebrew', + 'Noto Sans JP Bold', + 'Noto Sans JP Regular', + 'Noto Sans KR Bold', + 'Noto Sans KR Regular', + 'Noto Sans Lao', + 'Noto Sans Light', + 'Noto Sans Lisu', + 'Noto Sans Med', + 'Noto Sans SC Bold', + 'Noto Sans SC Regular', + 'Noto Sans SemBd', + 'Noto Sans SemCond', + 'Noto Sans SemCond Blk', + 'Noto Sans SemCond ExtBd', + 'Noto Sans SemCond ExtLt', + 'Noto Sans SemCond Light', + 'Noto Sans SemCond Med', + 'Noto Sans SemCond SemBd', + 'Noto Sans SemCond Thin', + 'Noto Sans TC Bold', + 'Noto Sans TC Regular', + 'Noto Sans Thin', + 'Noto Serif', + 'Noto Serif Armenian', + 'Noto Serif Cond', + 'Noto Serif Georgian', + 'Noto Serif Hebrew', + 'Noto Serif Lao', + 'Noto Serif Light', + 'Open Sans', + 'Open Sans Condensed', + 'Open Sans Condensed Light', + 'Open Sans Extrabold', + 'Open Sans Light', + 'Open Sans Semibold', + 'OpenDyslexic', + 'OpenSymbol', + 'Reem Kufi', + 'Roboto', + 'Roboto Black', + 'Roboto Condensed', + 'Roboto Condensed Light', + 'Roboto Light', + 'Roboto Medium', + 'Roboto Slab', + 'Roboto Thin', + 'Rubik', + 'Scheherazade', + 'Serto Batnan', + 'Serto Jerusalem', + 'Serto Jerusalem Outline', + 'Serto Kharput', + 'Serto Malankara', + 'Serto Mardin', + 'Serto Urhoy', + 'Source Code Pro', + 'Source Code Pro Black', + 'Source Code Pro ExtraLight', + 'Source Code Pro Light', + 'Source Code Pro Medium', + 'Source Code Pro Semibold', + 'Source Sans Pro', + 'Source Sans Pro Black', + 'Source Sans Pro ExtraLight', + 'Source Sans Pro Light', + 'Source Sans Pro Semibold', + 'Source Serif Pro', + 'Source Serif Pro Black', + 'Source Serif Pro ExtraLight', + 'Source Serif Pro Light', + 'Source Serif Pro Semibold', + 'STIXGeneral' + ], + 'selectedCount': '1', + 'selectedEntries': [ + '71' + ], + 'command': '.uno:CharFontName' + } + ] + } + ] + }, + { + 'id': 'fontheight1', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'fontsize', + 'type': 'combobox', + 'text': '10 pt', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'edit', + 'text': '10 pt', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'edit', + 'text': '', + 'enabled': 'true' + } + ] + } + ], + 'entries': [ + '6 pt', + '7 pt', + '8 pt', + '9 pt', + '10 pt', + '10.5 pt', + '11 pt', + '12 pt', + '13 pt', + '14 pt', + '15 pt', + '16 pt', + '18 pt', + '20 pt', + '22 pt', + '24 pt', + '26 pt', + '28 pt', + '32 pt', + '36 pt', + '40 pt', + '44 pt', + '48 pt', + '54 pt', + '60 pt', + '66 pt', + '72 pt', + '80 pt', + '88 pt', + '96 pt' + ], + 'selectedCount': '1', + 'selectedEntries': [ + '4' + ], + 'command': '.uno:FontHeight' + } + ] + }, + { + 'id': 'ExtTop6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Increase', + 'command': '.uno:Grow' + }, + { + 'type': 'toolitem', + 'text': 'Decrease', + 'command': '.uno:Shrink' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB11', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'ExtTop4', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Bold', + 'command': '.uno:Bold' + }, + { + 'type': 'toolitem', + 'text': 'Italic', + 'command': '.uno:Italic' + }, + { + 'type': 'toolitem', + 'text': 'Underline', + 'command': '.uno:Underline' + }, + { + 'type': 'toolitem', + 'text': 'Strikethrough', + 'command': '.uno:Strikeout' + } + ] + }, + { + 'id': 'separator67', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'ExtTop5', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Superscript', + 'command': '.uno:SuperScript' + } + ] + }, + { + 'id': 'separator78', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'ExtTop2', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Borders (Shift to overwrite)', + 'command': '.uno:SetBorderStyle' + }, + { + 'type': 'toolitem', + 'text': 'Background Color', + 'command': '.uno:BackgroundColor' + }, + { + 'type': 'toolitem', + 'text': 'Font Color', + 'command': '.uno:Color' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Align', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator102', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB14', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB15', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'first6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Align Top', + 'command': '.uno:AlignTop' + }, + { + 'type': 'toolitem', + 'text': 'Center Vertically', + 'command': '.uno:AlignVCenter' + }, + { + 'type': 'toolitem', + 'text': 'Align Bottom', + 'command': '.uno:AlignBottom' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB16', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'second6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Align Left', + 'command': '.uno:AlignLeft' + }, + { + 'type': 'toolitem', + 'text': 'Align Center', + 'command': '.uno:AlignHorizontalCenter' + }, + { + 'type': 'toolitem', + 'text': 'Align Right', + 'command': '.uno:AlignRight' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Align1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB76', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB80', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator74', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'first16', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Increase', + 'command': '.uno:IncrementIndent' + }, + { + 'type': 'toolitem', + 'text': 'Decrease', + 'command': '.uno:DecrementIndent' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB85', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'second12', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Justified', + 'command': '.uno:AlignBlock' + } + ] + }, + { + 'id': 'separator77', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'second14', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Wrap Text', + 'command': '.uno:WrapText' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Number', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator30', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB18', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'box2', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom36', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'listbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'control', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + } + ], + 'entries': [ + 'General', + 'Number', + 'Percent', + 'Currency', + 'Date', + 'Time', + 'Scientific', + 'Fraction', + 'Boolean Value', + 'Text' + ], + 'selectedCount': '1', + 'selectedEntries': [ + '0' + ] + } + ] + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB22', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'second9', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Currency', + 'command': '.uno:NumberFormatCurrency' + }, + { + 'type': 'toolitem', + 'text': 'Percent', + 'command': '.uno:NumberFormatPercent' + }, + { + 'type': 'toolitem', + 'text': 'Number', + 'command': '.uno:NumberFormatDecimal' + } + ] + }, + { + 'id': 'separator27', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'second2', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Add Decimal Place', + 'command': '.uno:NumberFormatIncDecimals' + }, + { + 'type': 'toolitem', + 'text': 'Delete Decimal Place', + 'command': '.uno:NumberFormatDecDecimals' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Cell', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator53', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom35', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Merge and Center Cells', + 'command': '.uno:ToggleMergeCells' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Cell1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB20', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA10', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Insert Rows Above', + 'command': '.uno:InsertRowsBefore' + }, + { + 'type': 'toolitem', + 'text': 'Delete Rows', + 'command': '.uno:DeleteRows' + }, + { + 'type': 'toolitem', + 'text': 'Row', + 'command': '.uno:RowOperations' + } + ] + }, + { + 'id': 'LineB11', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Insert Columns Before', + 'command': '.uno:InsertColumnsBefore' + }, + { + 'type': 'toolitem', + 'text': 'Delete Columns', + 'command': '.uno:DeleteColumns' + }, + { + 'type': 'toolitem', + 'text': 'Column', + 'command': '.uno:ColumnOperations' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Style2', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator25', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB17', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB19', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom5', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Styles', + 'command': '.uno:DesignerDialog' + } + ] + }, + { + 'id': 'SectionBottom101', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'applystyle', + 'type': 'combobox', + 'text': 'Default', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'edit', + 'text': 'Default', + 'enabled': 'true' + } + ], + 'entries': [ + 'Clear formatting', + 'Default', + 'More Styles...' + ], + 'selectedCount': '0', + 'selectedEntries': '', + 'command': '.uno:StyleApply' + } + ] + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'StyleParagraphSection1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom102', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Default', + 'command': '.uno:StyleApply?Style:string=Default&FamilyName:string=CellStyles' + } + ] + }, + { + 'id': 'separator106', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom93', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Heading 1', + 'command': '.uno:StyleApply?Style:string=Heading 1&FamilyName:string=CellStyles' + }, + { + 'type': 'toolitem', + 'text': 'Heading 2', + 'command': '.uno:StyleApply?Style:string=Heading 2&FamilyName:string=CellStyles' + } + ] + }, + { + 'id': 'separator24', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom7', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Good', + 'command': '.uno:StyleApply?Style:string=Good&FamilyName:string=CellStyles' + }, + { + 'type': 'toolitem', + 'text': 'Neutral', + 'command': '.uno:StyleApply?Style:string=Neutral&FamilyName:string=CellStyles' + }, + { + 'type': 'toolitem', + 'text': 'Bad', + 'command': '.uno:StyleApply?Style:string=Bad&FamilyName:string=CellStyles' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Condition', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator1', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom37', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Conditional', + 'command': '.uno:ConditionalFormatMenu' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Find', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator72', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom26', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Find & Replace', + 'command': '.uno:SearchDialog' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Find1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB47', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA17', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Sort', + 'command': '.uno:DataSort' + } + ] + }, + { + 'id': 'LineB19', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'AutoFilter', + 'command': '.uno:DataFilterAutoFilter' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'false' + }, + { + 'id': 'separator26', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'Home-Menu', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'PasteBox1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home-HomeButton:Menu Home', + 'type': 'menubutton', + 'text': '~Home', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom10', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Find & Replace', + 'command': '.uno:SearchDialog' + }, + { + 'type': 'toolitem', + 'text': 'Sort Ascending', + 'command': '.uno:SortAscending' + }, + { + 'type': 'toolitem', + 'text': 'AutoFilter', + 'command': '.uno:DataFilterAutoFilter' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'false' + } + ] + } + ], + 'tabs': [ + { + 'text': '~File', + 'id': '1', + 'name': 'FileLabel' + }, + { + 'text': '~Home', + 'id': '2', + 'name': 'HomeLabel' + }, + { + 'text': '~Insert', + 'id': '3', + 'name': 'InsertLabel' + }, + { + 'text': '~Layout', + 'id': '4', + 'name': 'LayoutLabel' + }, + { + 'text': '~Data', + 'id': '5', + 'name': 'DataLabel' + }, + { + 'text': '~Review', + 'id': '6', + 'name': 'ReviewLabel' + }, + { + 'text': '~View', + 'id': '7', + 'name': 'ViewLabel' + }, + { + 'text': 'Ima~ge', + 'id': '8', + 'name': 'ImageLabel' + }, + { + 'text': '~Draw', + 'id': '9', + 'name': 'DrawLabel' + }, + { + 'text': '~Object', + 'id': '10', + 'name': 'ObjectLabel' + }, + { + 'text': '~Media', + 'id': '11', + 'name': 'MediaLabel' + }, + { + 'text': '~Print', + 'id': '12', + 'name': 'PrintLabel' + }, + { + 'text': 'Fo~rm', + 'id': '13', + 'name': 'FormLabel' + }, + { + 'text': 'E~xtension', + 'id': '14', + 'name': 'ExtensionLabel' + }, + { + 'text': '~Tools', + 'id': '15', + 'name': 'DevLabel' + } + ], + 'selected': '2' + } + ], + 'vertical': 'true', + 'left': '0', + 'top': '0' + } + ] + } + ], + 'vertical': 'true' + } + ] + }; }, getInsertTab: function() { diff --git a/loleaflet/src/control/Control.NotebookbarImpress.js b/loleaflet/src/control/Control.NotebookbarImpress.js index f7fb1bbf5..0427a7ec0 100644 --- a/loleaflet/src/control/Control.NotebookbarImpress.js +++ b/loleaflet/src/control/Control.NotebookbarImpress.js @@ -85,7 +85,1385 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({ }, getHomeTab: function() { - return {}; + return { + 'id': '', + 'type': 'control', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'NotebookBar', + 'type': 'grid', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'box1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'ContextContainer', + 'type': 'tabcontrol', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Menubar', + 'command': '.uno:Menubar' + }, + { + 'type': 'toolitem', + 'text': 'Open', + 'command': '.uno:Open' + }, + { + 'type': 'toolitem', + 'text': 'Save', + 'command': '.uno:Save' + }, + { + 'type': 'toolitem', + 'text': 'Undo', + 'command': '.uno:Undo' + }, + { + 'type': 'toolitem', + 'text': 'Redo', + 'command': '.uno:Redo' + }, + { + 'type': 'toolitem', + 'text': 'Start from First Slide', + 'command': '.uno:Presentation' + } + ] + }, + { + 'id': '', + 'type': 'tabpage', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home Tab', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'Home-Section-Clipboard', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom87', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Paste', + 'command': '.uno:Paste' + } + ] + }, + { + 'id': 'GroupB9', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Cut', + 'command': '.uno:Cut' + } + ] + }, + { + 'id': 'LineB7', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Copy', + 'command': '.uno:Copy' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Slide', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator107', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB20', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA8', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'New Page', + 'command': '.uno:InsertPage' + } + ] + }, + { + 'id': 'LineB9', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Duplicate Page', + 'command': '.uno:DuplicatePage' + }, + { + 'type': 'toolitem', + 'text': 'Delete Page', + 'command': '.uno:DeletePage' + }, + { + 'type': 'toolitem', + 'text': 'Slide Layout', + 'command': '.uno:AssignLayout' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Style', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator7', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB13', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'LineA7', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Clone', + 'command': '.uno:FormatPaintbrush' + } + ] + }, + { + 'id': 'LineB8', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Clear', + 'command': '.uno:SetDefault' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Format', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB10', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'box76', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'font', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'fontnamecombobox', + 'type': 'combobox', + 'text': 'Liberation Sans', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'edit', + 'text': 'Liberation Sans', + 'enabled': 'true' + } + ], + 'entries': [ + 'Alef', + 'Amiri', + 'Amiri Quran', + 'Baekmuk Batang', + 'Baekmuk Dotum', + 'Baekmuk Gulim', + 'Baekmuk Headline', + 'Bandal', + 'Bangwool', + 'Caladea', + 'Cantarell', + 'Carlito', + 'David CLM', + 'David Libre', + 'DejaVu Math TeX Gyre', + 'DejaVu Sans', + 'DejaVu Sans Condensed', + 'DejaVu Sans Light', + 'DejaVu Sans Mono', + 'DejaVu Serif', + 'DejaVu Serif Condensed', + 'Droid Arabic Kufi', + 'Droid Arabic Naskh', + 'Droid Naskh Shift Alt', + 'Droid Sans', + 'Droid Sans Armenian', + 'Droid Sans Devanagari', + 'Droid Sans Ethiopic', + 'Droid Sans Fallback', + 'Droid Sans Georgian', + 'Droid Sans Hebrew', + 'Droid Sans Japanese', + 'Droid Sans Mono', + 'Droid Sans Tamil', + 'Droid Sans Thai', + 'Droid Serif', + 'East Syriac Adiabene', + 'East Syriac Ctesiphon', + 'EmojiOne Color', + 'Estrangelo Antioch', + 'Estrangelo Edessa', + 'Estrangelo Midyat', + 'Estrangelo Nisibin', + 'Estrangelo Nisibin Outline', + 'Estrangelo Quenneshrin', + 'Estrangelo Talada', + 'Estrangelo TurAbdin', + 'Eunjin', + 'Eunjin Nakseo', + 'Frank Ruehl CLM', + 'Frank Ruhl Hofshi', + 'Gentium Basic', + 'Gentium Book Basic', + 'Goha-Tibeb Zemen', + 'Guseul', + 'KacstBook', + 'KacstOffice', + 'Karla', + 'Khmer OS', + 'Khmer OS Battambang', + 'Khmer OS Bokor', + 'Khmer OS Content', + 'Khmer OS Fasthand', + 'Khmer OS Freehand', + 'Khmer OS Metal Chrieng', + 'Khmer OS Muol', + 'Khmer OS Muol Light', + 'Khmer OS Muol Pali', + 'Khmer OS Siemreap', + 'Khmer OS System', + 'Liberation Mono', + 'Liberation Sans', + 'Liberation Sans Narrow', + 'Liberation Serif', + 'Linux Biolinum G', + 'Linux Libertine Display G', + 'Linux Libertine G', + 'LM Mono 10', + 'LM Mono 12', + 'LM Mono 8', + 'LM Mono 9', + 'LM Mono Caps 10', + 'LM Mono Light 10', + 'LM Mono Light Cond 10', + 'LM Mono Prop 10', + 'LM Mono Prop Light 10', + 'LM Mono Slanted 10', + 'LM Roman 10', + 'LM Roman 12', + 'LM Roman 17', + 'LM Roman 5', + 'LM Roman 6', + 'LM Roman 7', + 'LM Roman 8', + 'LM Roman 9', + 'LM Roman Caps 10', + 'LM Roman Demi 10', + 'LM Roman Dunhill 10', + 'LM Roman Slanted 10', + 'LM Roman Slanted 12', + 'LM Roman Slanted 17', + 'LM Roman Slanted 8', + 'LM Roman Slanted 9', + 'LM Roman Unslanted 10', + 'LM Sans 10', + 'LM Sans 12', + 'LM Sans 17', + 'LM Sans 8', + 'LM Sans 9', + 'LM Sans Demi Cond 10', + 'LM Sans Quot 8', + 'Luxi Mono', + 'Luxi Sans', + 'Luxi Serif', + 'Miriam CLM', + 'Miriam Libre', + 'Miriam Mono CLM', + 'Nachlieli CLM', + 'Noto Color Emoji', + 'Noto Kufi Arabic', + 'Noto Mono', + 'Noto Naskh Arabic', + 'Noto Naskh Arabic UI', + 'Noto Sans', + 'Noto Sans Arabic', + 'Noto Sans Arabic UI', + 'Noto Sans Armenian', + 'Noto Sans Blk', + 'Noto Sans Cond', + 'Noto Sans Cond Blk', + 'Noto Sans Cond ExtBd', + 'Noto Sans Cond ExtLt', + 'Noto Sans Cond Light', + 'Noto Sans Cond Med', + 'Noto Sans Cond SemBd', + 'Noto Sans Cond Thin', + 'Noto Sans ExtBd', + 'Noto Sans ExtCond', + 'Noto Sans ExtCond Blk', + 'Noto Sans ExtCond ExtBd', + 'Noto Sans ExtCond ExtLt', + 'Noto Sans ExtCond Light', + 'Noto Sans ExtCond Med', + 'Noto Sans ExtCond SemBd', + 'Noto Sans ExtCond Thin', + 'Noto Sans ExtLt', + 'Noto Sans Georgian', + 'Noto Sans Hebrew', + 'Noto Sans JP Bold', + 'Noto Sans JP Regular', + 'Noto Sans KR Bold', + 'Noto Sans KR Regular', + 'Noto Sans Lao', + 'Noto Sans Light', + 'Noto Sans Lisu', + 'Noto Sans Med', + 'Noto Sans SC Bold', + 'Noto Sans SC Regular', + 'Noto Sans SemBd', + 'Noto Sans SemCond', + 'Noto Sans SemCond Blk', + 'Noto Sans SemCond ExtBd', + 'Noto Sans SemCond ExtLt', + 'Noto Sans SemCond Light', + 'Noto Sans SemCond Med', + 'Noto Sans SemCond SemBd', + 'Noto Sans SemCond Thin', + 'Noto Sans TC Bold', + 'Noto Sans TC Regular', + 'Noto Sans Thin', + 'Noto Serif', + 'Noto Serif Armenian', + 'Noto Serif Cond', + 'Noto Serif Georgian', + 'Noto Serif Hebrew', + 'Noto Serif Lao', + 'Noto Serif Light', + 'Open Sans', + 'Open Sans Condensed', + 'Open Sans Condensed Light', + 'Open Sans Extrabold', + 'Open Sans Light', + 'Open Sans Semibold', + 'OpenDyslexic', + 'OpenSymbol', + 'Reem Kufi', + 'Roboto', + 'Roboto Black', + 'Roboto Condensed', + 'Roboto Condensed Light', + 'Roboto Light', + 'Roboto Medium', + 'Roboto Slab', + 'Roboto Thin', + 'Rubik', + 'Scheherazade', + 'Serto Batnan', + 'Serto Jerusalem', + 'Serto Jerusalem Outline', + 'Serto Kharput', + 'Serto Malankara', + 'Serto Mardin', + 'Serto Urhoy', + 'Source Code Pro', + 'Source Code Pro Black', + 'Source Code Pro ExtraLight', + 'Source Code Pro Light', + 'Source Code Pro Medium', + 'Source Code Pro Semibold', + 'Source Sans Pro', + 'Source Sans Pro Black', + 'Source Sans Pro ExtraLight', + 'Source Sans Pro Light', + 'Source Sans Pro Semibold', + 'Source Serif Pro', + 'Source Serif Pro Black', + 'Source Serif Pro ExtraLight', + 'Source Serif Pro Light', + 'Source Serif Pro Semibold', + 'STIXGeneral' + ], + 'selectedCount': '1', + 'selectedEntries': [ + '71' + ], + 'command': '.uno:CharFontName' + } + ] + } + ] + }, + { + 'id': 'fontheight', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'fontsize', + 'type': 'combobox', + 'text': '18 pt', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'pushbutton', + 'text': '', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'edit', + 'text': '18 pt', + 'enabled': 'true' + }, + { + 'id': '', + 'type': 'borderwindow', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': '', + 'type': 'edit', + 'text': '', + 'enabled': 'true' + } + ] + } + ], + 'entries': [ + '6 pt', + '7 pt', + '8 pt', + '9 pt', + '10 pt', + '10.5 pt', + '11 pt', + '12 pt', + '13 pt', + '14 pt', + '15 pt', + '16 pt', + '18 pt', + '20 pt', + '22 pt', + '24 pt', + '26 pt', + '28 pt', + '32 pt', + '36 pt', + '40 pt', + '44 pt', + '48 pt', + '54 pt', + '60 pt', + '66 pt', + '72 pt', + '80 pt', + '88 pt', + '96 pt' + ], + 'selectedCount': '1', + 'selectedEntries': [ + '12' + ], + 'command': '.uno:FontHeight' + } + ] + }, + { + 'id': 'ExtTop6', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Increase', + 'command': '.uno:Grow' + }, + { + 'type': 'toolitem', + 'text': 'Decrease', + 'command': '.uno:Shrink' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB11', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'ExtTop4', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Bold', + 'command': '.uno:Bold' + }, + { + 'type': 'toolitem', + 'text': 'Italic', + 'command': '.uno:Italic' + }, + { + 'type': 'toolitem', + 'text': 'Underline', + 'command': '.uno:Underline' + }, + { + 'type': 'toolitem', + 'text': 'Strikethrough', + 'command': '.uno:Strikeout' + }, + { + 'type': 'toolitem', + 'text': 'Shadow', + 'command': '.uno:Shadowed' + } + ] + }, + { + 'id': 'separator78', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'ExtTop2', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Character Spacing', + 'command': '.uno:Spacing' + }, + { + 'type': 'toolitem', + 'text': 'Highlight Color', + 'command': '.uno:CharBackColor' + }, + { + 'type': 'toolitem', + 'text': 'Font Color', + 'command': '.uno:Color' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Paragraph', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator102', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'GroupB14', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB16', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom9', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Top', + 'command': '.uno:CellVertTop' + }, + { + 'type': 'toolitem', + 'text': 'Center', + 'command': '.uno:CellVertCenter' + }, + { + 'type': 'toolitem', + 'text': 'Bottom', + 'command': '.uno:CellVertBottom' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB15', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom13', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Left', + 'command': '.uno:LeftPara' + }, + { + 'type': 'toolitem', + 'text': 'Center', + 'command': '.uno:CenterPara' + }, + { + 'type': 'toolitem', + 'text': 'Right', + 'command': '.uno:RightPara' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Paragraph2', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB31', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB95', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator64', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom98', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Bullets', + 'command': '.uno:DefaultBullet' + }, + { + 'type': 'toolitem', + 'text': 'Numbering', + 'command': '.uno:DefaultNumbering' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'GroupB97', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom143', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Justified', + 'command': '.uno:JustifyPara' + } + ] + }, + { + 'id': 'separator99', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom144', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Line Spacing', + 'command': '.uno:LineSpacing' + } + ] + } + ], + 'vertical': 'false' + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-Paragraph3', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB98', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'SectionBottom145', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Increase', + 'command': '.uno:IncrementIndent' + }, + { + 'type': 'toolitem', + 'text': 'Decrease', + 'command': '.uno:DecrementIndent' + }, + { + 'type': 'toolitem', + 'text': 'Left-To-Right', + 'command': '.uno:ParaLeftToRight' + } + ] + }, + { + 'id': 'SectionBottom146', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Increase', + 'command': '.uno:ParaspaceIncrease' + }, + { + 'type': 'toolitem', + 'text': 'Decrease', + 'command': '.uno:ParaspaceDecrease' + }, + { + 'type': 'toolitem', + 'text': 'Right-To-Left', + 'command': '.uno:ParaRightToLeft' + } + ] + } + ], + 'vertical': 'true' + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-DrawSection', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'separator69', + 'type': 'fixedline', + 'text': '', + 'enabled': 'true' + }, + { + 'id': 'SectionBottom5', + 'type': 'toolbox', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'type': 'toolitem', + 'text': 'Text Box', + 'command': '.uno:Text' + }, + { + 'type': 'toolitem', + 'text': 'Vertical Text', + 'command': '.uno:VerticalText' + } + ] + } + ], + 'vertical': 'false' + }, + { + 'id': 'Home-Section-DrawSection1', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB43', + 'type': 'container', + 'text': '', + 'enabled': 'true', + 'children': [ + { + 'id': 'GroupB12', + 'type': 'container', + 'text': '', + 'enabled': 'true', ... etc. - the rest is truncated _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
