198 Commits

Author SHA1 Message Date
Szymon Kłos
e681749ffa tdf#105040 Notebookbar: added shortcuts toolbox
In the tabbed notebookbar the shortcuts toolbox is introduced.
It is placed before tab labels, after the menu button.
Customization is possible, buttons are loaded from the
newly created toolbar "Notebookbar shortcuts".

NotebookbarTabControl was moved to the sfx module.

Change-Id: Ifa4a1688c6e92c2f03bd386608e3e9d1c28069d4
Reviewed-on: https://gerrit.libreoffice.org/35194
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-15 15:54:19 +00:00
Andrea Gelmini
3063d55b8b Fix typos
Change-Id: I338dacd3cfe915714a9038e1dea4a60d586e9394
Reviewed-on: https://gerrit.libreoffice.org/34806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-03 07:05:43 +00:00
Maxim Monastirsky
cdf4b2bba8 Related: tdf#105672 Load toolbar properties from .ui
- Supports toolbar-style, icon-size, orientation.
- Defaults are:
    toolbar-style = icons only
    icon-size = what's set in Tools > Options... for Sidebar/Notebookbar
    orientation = horizontal
- Remove no longer needed BigToolBox (use toolbar-style=both + icon-size=3 instead).

Change-Id: I185388255a351dfd6719a363b7e399bf36b0b25d
Reviewed-on: https://gerrit.libreoffice.org/34281
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-15 00:19:45 +00:00
Szymon Kłos
b192a87149 tdf#105962: added missing controls to avoid crash in impress
Change-Id: I0df6da42b02188f417964afa607ec9ea2c23f8ea
2017-02-14 22:15:48 +01:00
Maxim Monastirsky
54d5b1828e tdf#105672 framework managed menu button
This adds a menu button that can use a popup menu controller
to manage its menu. It supports 2 cases:

- Use any controller that is registered in Controller.xcu,
  by specifing its .uno command.

- Manage an arbitrary popup menu with MenuBarManager
  (assuming its items have proper .uno commands in their
  MenuItemData::aCommandStr). It means that a menu that
  was defined in a .ui file, can be used inside that .ui
  file without any additional code.

This commit uses the new control to fix some currently
non-working buttons in Calc's Notebookbar (but there are
more that can be fixed the same way). It's not clear how
long we will continue to use buttons (instead of
toolboxes) for the Notebookbar, but hopefully this control
will be useful in other places too.

Change-Id: Ie00cde7cd7e39948948960ca2eff76e9db837109
Reviewed-on: https://gerrit.libreoffice.org/34103
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-09 22:49:51 +00:00
Caolán McNamara
5bd30fea44 fix svxlo-ColorListBox->svxcorelo-SvxColorListBox glade catalog
Change-Id: Ia007045c71e85fcca2afeacec6ef77d5f0b633f1
2016-12-15 09:31:46 +00:00
Caolán McNamara
64a708cba9 Revert "Reverts a commit series that cripple windows ci."
with addition of...

- svxlo-SvxColorListBox
+ svxcorelo-SvxColorListBox

This reverts commit db380aab1063e8a5e40111c40ee9f7921aa82601.

Change-Id: I3af7aa0abb1a430bce64188244404fcbd480b128
Reviewed-on: https://gerrit.libreoffice.org/30598
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-07 21:04:50 +00:00
Norbert Thiebaud
db380aab10 Reverts a commit series that cripple windows ci.
Revert "SvxShadowTabPage::Construct was removed"
 f9a2c1c12ecad833c63b894c89d6008907477eb5.
Revert "replace OColorPopup with SvxColorWindow"
 f300754bb1c6a347c92bb9548be7a65237176542.
Revert "drop AutoColorInvalid/SID_ATTR_AUTO_COLOR_INVALID"
 347c2c334589b18cc62af292674bb3df1dd54b71.
Revert "replace last ColorLB use with a listbox of colors"
 604b35bf55351751a396e34dcca3f85e75860fd5.
Revert "simplify, its just a vector of colors"
 351a97ce6bda3075677b59fa1387ba3d1ab17d7a.
Revert "replace user draw with an Image of the color"
 df738e0f8ceedb4bad756960be14d9c41adc165d.
Revert "strip down to the used pieces"
 commit 08d6cd788f2584ce10ab8fa10665245e953c59d9.
Revert "move now combined ColorLB to location of last user"
 a19b18ad7c9eb0197c10e6d7e451ec4542e4bc9e.
Revert "fold ColorListBox and ColorLB together"
 a989a0b1f2b425f05b58d0e44ce2de31c842ed65.
Revert "move ColorListBox beside sole thing that uses it"
 760a198e697f3070a5e0e029e4eff7be220eb9cd.
Revert "extensions leaks out details of Color Selector, patch it up"
 8bea644d6117a49405e6426dc97214220fc869d1.
Revert "inherit FillAttrLB from ListBox not ColorListBox"
 d2ce812f1d3a7a2aad89ca0bd11948b63d2db7b0.
Revert "unify color selectors"
 43bc3031483d172eccd72c3804e2d4fc2ef37de4.
2016-11-05 13:42:40 -05:00
Caolán McNamara
43bc303148 unify color selectors
Note: this removes the use of auto-color from writer's asian text grid, because
its always invisible as far as I can see in practice.

Change-Id: Ie850790d740a4d56c43015e493e093678cef3b4e
2016-11-04 17:14:26 +00:00
giacco
184e0d1090 tdf#95387 UI: "Custom Animation" probably should be called just "Animation"
modified some .ui

Change-Id: I95657829251b91ff07a750945eddf213bc82e3c5
Reviewed-on: https://gerrit.libreoffice.org/30150
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-21 20:04:19 +00:00
Caolán McNamara
33603a582b convert writer navigator to .ui format
Change-Id: I83f834ea050372362b50de61753c2b3e33c67778
2016-10-11 15:32:14 +01:00
Caolán McNamara
141a4ac1d2 convert calc navigator to .ui format
Change-Id: I74d718b128ea1d795ab01da1234f58cfe1852aff
2016-10-07 21:16:56 +01:00
Susobhan Ghosh
213a11b94c Add custom widget entries to glade catalog
Change-Id: I0c51c70adcc81b04695ef07627e751a83c8d2f4d
Reviewed-on: https://gerrit.libreoffice.org/28381
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-08-26 07:45:35 +00:00
Szymon Kłos
6488d249b0 GSoC notebookbar: container with context support
+ added sfxlo-ContextVBox
+ notebookbar's .ui file must contain control
  implementing NotebookbarContextControl interface
  with id "ContextContainer"

Change-Id: Ice81e23c4ba742564ebceeda95be120ea3f58c99
Reviewed-on: https://gerrit.libreoffice.org/28247
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-08-25 11:46:39 +00:00
Szymon Kłos
b8cff0ca4d GSoC addedsfxlo-NotebookbarToolBox to the glade catalog
Change-Id: I42baf03695955158b38c912a8a461bc5745daa49
2016-08-19 10:29:08 +02:00
Szymon Kłos
ce59d3be31 GSoC notebookbar: BigToolBox
+ New container: sfxlo-BigToolBox
+ Writer: Paste button with dropdown menu

Change-Id: I8fa9ff2cbf594078cc2347bef790b8647ce4e6ea
Reviewed-on: https://gerrit.libreoffice.org/28156
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-17 07:20:16 +00:00
Akshay Deep
72e6f08c69 GSoC Emoji Control
Tab Window
Add emoji.json to installation directory
Read the JSON data from code
Filter emojis according to categories
Insert Emoji at cursor position
Toolbar control

Change-Id: Ia5a577ce41398132872914ebfa499e4d4077d57e
Reviewed-on: https://gerrit.libreoffice.org/26700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-28 20:54:44 +00:00
Szymon Kłos
b949604b91 GSoC notebookbar: file menu
+ added icon to the notebookbar, after click the file menu will appear

Change-Id: I30e1ed7e2c4a194e150c7196652904fd4e5c9e8e
Reviewed-on: https://gerrit.libreoffice.org/27347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 08:59:59 +00:00
Rishabh Kumar
45e9ccb699 Remove PatternLB dead code
PatternLB is replaced by SvxPresetListBox in tppattern.cxx

Change-Id: Ie4ec100963b714e07807f8b600cca2e165fb4641
Reviewed-on: https://gerrit.libreoffice.org/27353
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-21 06:20:44 +00:00
Szymon Kłos
e8fc80a0f0 GSoC notebookbar: dropdown with hidden objects
+ added dropdown for hidden content

Change-Id: I86c9277d91b18fbe9e8505ccf170196fdb28638f
Reviewed-on: https://gerrit.libreoffice.org/27241
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-18 08:09:47 +00:00
Szymon Kłos
855007f94c GSoC notebookbar: File tab
Change-Id: I98640b0b4585b2fe1088b13b07dce82a185fd8bf
2016-07-11 18:27:26 +02:00
Szymon Kłos
4f71b88ad0 GSoC notebookbar: impress table tab
Change-Id: I50338e2f5405171785ea610a9febc3d4f5df96e5
Reviewed-on: https://gerrit.libreoffice.org/27052
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11 13:14:37 +00:00
Szymon Kłos
d3dd6b5c41 GSoC notebookbar: container with priority
+ extended vcl builder to parse priority
+ IPrioritable interface for controls with priorities
+ added IPrioritable as a base for VclContainer
+ Added PriorityHBox - box which shows controls if we have enough space
  PriorityHBox listen vcl events from SystemWindow to detect Resize

Change-Id: I74ac1a80e7d0a061f5e7a8584dbb2abf956053c7
Reviewed-on: https://gerrit.libreoffice.org/26983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-08 13:23:24 +00:00
Rishabh Kumar
0f8ca94774 Icon view listbox for XHatchList
Change-Id: I40d39c28bbc217cb63a3857c8a90dba72d196878
Reviewed-on: https://gerrit.libreoffice.org/26896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-05 07:52:19 +00:00
Szymon Kłos
5ee7caad68 GSoC added button with small padding
+ vcl builder setups action for custom buttons
+ new control: vcllo-SmallButton with WB_SMALLSTYLE property

Change-Id: I54891969f26d237eac8e45532906d76040264272
Reviewed-on: https://gerrit.libreoffice.org/26781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-30 13:38:45 +00:00
Rishabh Kumar
76585ae33f Convert Bitmap tab to Pattern tab
Change-Id: I5cf02f1889090539f7adb826483c91a1ef3c3925
Reviewed-on: https://gerrit.libreoffice.org/26015
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-28 19:37:44 +00:00
Szymon Kłos
c4e0d6596d notebookbar: added slide transition tab
- created VclVBox control which creates SlideTransitionPane
- SlideTransitionPane extended with second constructor
  which loads ui in horizontal mode
- introduced CloseMethod for NotebookBar to kill widgets in right order

Change-Id: Ic3ba35cb7734aa744a4804c5b670fed7c1bec204
Reviewed-on: https://gerrit.libreoffice.org/25844
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-28 07:53:22 +00:00
Szymon Kłos
1df394503f GSoC notebookbar: switching tabs depending on context
+ sfx2::sidebar::EnumContext moved to the vcl module
+ TabPage contains vector with context values
+ vcl builder reads control's contexts from the "class" mark
+ ContextTabControl shows tabs depending on context

Change-Id: I661b0d3f35d46ace2a2e8eb1d374148f0c60017d
Reviewed-on: https://gerrit.libreoffice.org/26447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-27 17:51:56 +00:00
Akshay Deep
77725bf4df GSoC: Remove TemplateRemoteView from Template Manager
Conflicts:
	include/sfx2/templatedlg.hxx
	sfx2/source/doc/templatedlg.cxx

Change-Id: Ia0623707e452c79346d92b5a5ab75a4063928c20
Reviewed-on: https://gerrit.libreoffice.org/26658
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-27 07:42:22 +00:00
Rishabh Kumar
58664b1d43 Fix widget's library name
Change-Id: I22c66a63bfc71971da87db00b364e56ec55f7222
Reviewed-on: https://gerrit.libreoffice.org/26052
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-08 11:25:06 +00:00
Steve Hart
1b9956c2b1 tdf#34882 Adding hex and decimal code search
Change-Id: I809bac4b28e679c7dad8ed3ad28e36379bce4760
2015-11-17 16:19:20 +02:00
Caolán McNamara
3fac8cf4f9 add sfxlo-TemplateLocalView to glade catalog
Change-Id: Ia73125ba2e547f87c1f28bdc917333346a01a251
2015-09-01 10:39:20 +01:00
Caolán McNamara
9a5361df8c add some missing glade prototypes
Change-Id: Iff936ca81c594b588b0dd8b66970fa6135a4c53e
2015-05-05 17:21:57 +01:00
Caolán McNamara
11d0c28601 convert RID_SVXFLOAT_3D docking window to .ui
This is an epic dialog with lots of moving parts

Change-Id: I4e53580ac5b01f4a717d2fe594a18c8e83b45a6f
2014-12-30 15:43:39 +00:00
Michael Stahl
8505c7970a fdo#86557: svx: fix crash when creating new "XML Form Document"
Strangely it doesn't crash on Linux.

(regression from 713735fc89b9e0222d8b62d051153da6932b3ebd)

Change-Id: Ie29c795f5edec7d8fdf949027359c0c509edb15c
2014-11-27 21:58:15 +01:00
Caolán McNamara
892a7be963 Resolves: fdo#83010 remove svx::WrapField
in favour of a wrap property on NumericField

Change-Id: I62c6bdb69a16f37ae6018a2fe41070fb18dbe4a0
2014-09-25 17:20:31 +01:00
Efe Gürkan YALAMAN
5911154175 Start Center Template Manager Tweaks
Template Manager and the related Start Center view has same
transparent highlight color as Recent Documents. Also Template
thumbnail containers should have the same size as Recent Docs view.

Change-Id: I22e417a5c5ca5a849577d5a438a193371368fe24
Reviewed-on: https://gerrit.libreoffice.org/11467
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25 12:28:41 +00:00
Maxim Monastirsky
dca88d025f Revert "Add svxlo-SvxColorValueSet to the glade catalog"
This reverts commit 9df22b4ac0f97346701d0284abc74499310e660f.
2014-09-18 09:51:55 +03:00
Tomaž Vajngerl
9df22b4ac0 Add svxlo-SvxColorValueSet to the glade catalog
Change-Id: I2f6e9e7dbca3b2cd8a7d712c5516b526ddda83b8
2014-09-17 10:19:59 +02:00
Szymon Kłos
3067d228cd TAB_WIZ_TYPE_SELECT and TAB_WIZ_NAME_MATCHING conversion to .ui
Conflicts:
	dbaccess/UIConfig_dbaccess.mk
	dbaccess/source/ui/misc/WizardPages.src

Change-Id: I1a628dd6220f3f180cc01353380fe4aa7e166cf4
Reviewed-on: https://gerrit.libreoffice.org/10776
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-06 13:15:04 +00:00
Rachit Gupta
e6caeefce4 Converted RID_SVX_MDLG_HANGULHANJA to Widget Layout.
Also, removed the unused hrc/src files.

Change-Id: Ice45dde1af7492e40e0847ead06bb26f4e58ed9c
Reviewed-on: https://gerrit.libreoffice.org/10595
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-07-29 11:59:06 +00:00
Szymon Kłos
03fe3215e3 PAGE_DBWIZARD_TEXT, PAGE_TEXT, DLG_TEXT_CONNECTION_SETTINGS conversion to .ui
Change-Id: Iea5105cc33b436e9c0728df799b1ceb63f20e46e
Reviewed-on: https://gerrit.libreoffice.org/10579
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28 12:34:26 +00:00
Rachit Gupta
e153510659 Convert RID_SVX_MDLG_HANGULHANJA_EDIT to Widget Layout.
Change-Id: I63d61a9caeb356e6b5bd340c1f9a5415869a91a1
Reviewed-on: https://gerrit.libreoffice.org/10518
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-25 09:19:09 +00:00
Palenik Mihály
bfdacadec9 Convert DLG_TEMPLATE_INFORMATION to .ui
Change-Id: I66469c17a46c1157b8e3801c0dc2b252c569a4bd
Reviewed-on: https://gerrit.libreoffice.org/10213
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 15:05:36 +00:00
Palenik Mihály
de8648c3c8 Convert RID_CUI_DIALOG_COLORPICKER to .ui
Conflicts:
	extras/source/glade/libreoffice-catalog.xml.in

Change-Id: I161681859c924cc97afa9886b80005e70fa2a87c
Reviewed-on: https://gerrit.libreoffice.org/10210
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 14:39:28 +00:00
Szymon Kłos
713735fc89 RID_SVX_XFORMS_TABPAGES conversion to .ui
Change-Id: I0f3647e95b2150eb8753aa333eeb492fee76bd2a
Reviewed-on: https://gerrit.libreoffice.org/10192
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 08:18:23 +00:00
Szymon Kłos
4bbf35572d RID_SVXDLG_IMAP conversion to .ui
Change-Id: I6d0ecb693177436a47d1115cdab6d5ec20254f4f
Reviewed-on: https://gerrit.libreoffice.org/10105
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-09 09:54:57 +00:00
Palenik Mihály
554a613172 Convert RID_CONDFORMAT to .ui
Change-Id: I23ac6a7328a43c2fb63f2f804f6718f64e73eb8e
2014-07-08 16:14:45 +01:00
Palenik Mihály
a5cc3ce566 Convert DLG_COLLECTION_VIEW to .ui
Conflicts:
	include/svtools/fileview.hxx
	svtools/source/contnr/fileview.cxx

Change-Id: I78b590410ec4e55eeecd2da8ab79738f05e403b5
Reviewed-on: https://gerrit.libreoffice.org/9981
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02 08:47:13 +00:00
Szymon Kłos
360796b491 RID_SVXDLG_NEWHYPERLINK conversion to .ui
Conflicts:
	cui/UIConfig_cui.mk

Change-Id: I8f06518f2d84e333b553c247ca3d9a28d1280eea
2014-06-24 10:05:21 +01:00