Commit graph

535 commits

Author SHA1 Message Date
Szymon Kłos
b982be1228 Styles preview widget
Change-Id: Ib9723c9793244069407ceaa4935a11da08db3795
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95998
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-17 12:08:55 +02:00
Shivam Kumar Singh
c98affa44e Changed the source code location for Inspector
The Inspector has been instead of defining in svx
now defined such that the main implementation is
in sw folder whereas there is a common interface in
svx.

This change has been done as a progressive step towards
cleaner code.

Change-Id: I49af862f87b4315385c2e275b1079394c326b119
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95657
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-13 01:09:59 +02:00
Caolán McNamara
b9fb2a6291 let the parent toolbar decide the focus of the buttons
Change-Id: I481fbc1b65b806cdb9eb41d6648fe9476f1326fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96020
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-10 21:41:43 +02:00
Julien Nabet
31bc7c1ea8 Fix context moreoptions (svx/tablewindow)
Change-Id: I730fa4295f8515280d3e179350da4c06649b0854
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95653
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-06 21:16:32 +02:00
Shivam Kumar Singh
a9b47360c2 Removed the "Font.." things from the Inspector
Removed all the font related stuff and added a common property listing box
for the 'Character' Properties.
Another patch coming up for 'Paragraph' properties.

Change-Id: I71de4d4fe6536f49e0e700c850e2e714287c5e04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95228
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-06-02 12:00:32 +02:00
Mike Kaganski
39b1e22923 tdf#49247, tdf#101181: gtk needs "upper", otherwise the control is disabled
Change-Id: I3a3204ab0ad2376ee88adca5935813e241e6a049
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94831
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-26 13:08:32 +02:00
Mike Kaganski
ebd391767d tdf#101181: drop useless "GlowEffect" boolean property
Just use GlowEffectRad to indicate effect presense: radius of 0 means
effect is disabled.

Change-Id: Ic06bba34f5a851f120d3d00cb7e20c429ead9ee1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94732
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-24 07:25:07 +02:00
Shivam Kumar Singh
9d6e64ba57 Added a new tab "Styles Inspector" at the side bar
Patch significance :-
1) Added a new tab "Styles Inspector" at the side bar
2) Added the "Character Styles" properties in the inspector

Change-Id: I717f0a555d9c90f833c61b641c8eba53f93d4655
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93909
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-18 11:01:41 +02:00
Mike Kaganski
fcb945e37d tdf#49247: add sidebar panel for soft edges effect
Shapes are handled in all modules; images only in draw/impress (TODO).

Change-Id: Ib96eb4c36fdb69dd605f9b5a507f67a279797286
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94162
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-14 08:12:51 +02:00
Gabor Kelemen
1a732142f2 Fix translation domains in .ui files
Found with bin/ui-checkdomain.sh

Change-Id: I2a3ec2593b9ce0a19efced9020b95dff796e4702
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94153
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2020-05-13 22:40:30 +02:00
Pranam Lashkari
a0e45956ce fixed clear Direct Formatting button to sidebar in impress
Change-Id: I81cd30b3ce7087122c260dca99e86a3c857447b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93813
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-11 23:00:28 +02:00
Adolfo Jayme Barrientos
8f1187a276 tdf#36158 Fix a lurking last instance of old “Notes” name
This completes commit 1288a19858
(from 2011-05-22).

Change-Id: Ic0950c9500870a68d3e0c17b77e7fcebdc787c11
2020-05-11 07:12:35 -05:00
Mike Kaganski
c1c67cca7d tdf#101181: support for transparency attribute of glow effect
Read/write support for ODF and OOXML (in ODF, loext:glow-transparency
attribute of style:graphic-properties has been added).

Added UI on glow sidebar panel.

Not used in actual painting yet.

Change-Id: I21b25d9c52c8611cd796f056374377ebf13cc2f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93565
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-06 17:30:27 +02:00
Luboš Luňák
626ccb3c22 allow disabling Skia's Vulkan use in safe mode (tdf#132439)
Change-Id: I2991ace387356f049fba1a730041bbb4c62c876c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93562
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-05-06 14:24:38 +02:00
Aditya
b41b339529 tdf#118655:Move Wildcard/Comments option above Regular expressions
Place "Wildcard/Comments" option in find and replace dialog above
 "Regular expressions" option and the "sounds like (Japanese)"
 option in place of the older location of "Wildcard/Comments".

Change-Id: I83dffb0689f128ad31b9223bc98ecc5914e4bf41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93410
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2020-05-05 20:34:47 +02:00
Caolán McNamara
0db6e58fd4 Resolves: tdf#132604 GtkToolButtons that should be GtkToggleToolButtons
Change-Id: Ie481fd0599e0cbd22ea1be7e353016f951837a1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93318
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-02 20:16:15 +02:00
Pranam Lashkari
f94caa1ad4 resolved clashing of two ids
Multiple SvxFillAttrBox objects having the same ID 'fillattr' caused
the problem in online making it hard to distinguish for different function

Change-Id: Ic5a29ea75fb442d7e495761faf4a10d6ab212829
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92977
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-28 07:57:34 +02:00
Caolán McNamara
3d79f395ea weld SvxColorDockingWindow
Change-Id: Iabefa16f850d3d76017adfd77fb6be30ed467887
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92895
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-25 21:50:47 +02:00
Caolán McNamara
16309a9516 weld StylesPropertyPanel
and SvxStyleToolBoxControl, etc.

use a GtkOverlay to support the submenu hackery in the Style
wysiwyg combobox dropdown

Change-Id: I17baa56f382243070ee49e6d707e97324e4f4d67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85720
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-24 17:48:00 +02:00
Pranam Lashkari
9ed6169976 resolved: Impress mobile Choosing a different type of shape fill crashes
Change-Id: Idd8dbba866b64089055880ffad9b5cbd9b12ca85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92688
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-23 13:18:09 +02:00
andreas kainz
5b7561e758 Sidebar line alignment update
Change-Id: Icfe5a6337ca4510ea6aaa44823ef623ce6860c18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92663
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-23 11:22:08 +02:00
andreas kainz
90e73c8cb9 tdf#130156 add alignment commands to the sidebar
Change-Id: I302acc25b65ef20a0338401e763d400076f6e36d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92634
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-22 17:57:12 +02:00
Caolán McNamara
b081a34dfc some of these need to be GtkToggleToolButton
Change-Id: I1ebfac22b006de560c5208906b4d2a1efc011f8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92654
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-22 09:39:45 +02:00
Caolán McNamara
850b8de31c weld sidebar text panel
includes

weld SvxFontNameToolBoxControl

Change-Id: Ie48338243600c07f9f8c609701c137175133f8e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92585
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-21 11:52:58 +02:00
Caolán McNamara
2e0a32b516 weld FontNameBox
with custom row rendering

Change-Id: Ia909b5b9ad56b6ea4611e9ea0a1e2cb0064a8cd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91841
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-21 10:19:41 +02:00
andreas kainz
c46d30d0f7 Gallery sidebar: shape section get more vertical space
Change-Id: I37409b991d3f111d257a69721c8cdf443126e75d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92233
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-15 07:44:55 +02:00
Pranam Lashkari
ed7a51ea8b use "To Background" and "To Foreground" only in writer sidebar
Change-Id: Ib7ccac192721b663c9655417fc3d639766d0424d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91604
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-07 12:17:25 +02:00
Julien Nabet
97db1d17be tdf#131125: Fix improperly used ampersand
"Find & Replace" => "Find and Replace"

Change-Id: I055fb74d8c6ac0fbe3b11ca8ce9b6f0cc4ad80fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91785
Tested-by: Jenkins
Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-04-07 11:36:14 +02:00
Caolán McNamara
a4f747e9cd remove newly unused stuff
Change-Id: Idce9955294372817c0dd1f40ebd38f16fc90eab5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91007
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-06 21:24:55 +02:00
Mert Tumer
f905411741 added Clear Direct Formatting button to sidebar
Change-Id: I8d723f50cdc9bb768c082b7b5d9eafe1a6d7f9f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91398
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-31 22:04:21 +02:00
Caolán McNamara
bc94b6d201 Resolves: tdf#131582 center image, don't stretch it
Change-Id: Ic46e4ee2136973826604cf16c447393498e09e61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91076
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-03-26 09:39:55 +01:00
Mike Kaganski
5a100a3b62 tdf#101181: add sidebar panel for Glow effect
... in Writer, Calc, Draw and Impress for CustomShapes.

The artifacts that become apparent using the controls, e.g. remnants
of the effect when decreasing radius (in Impress), or glow not drawn
until reload after enabled or radius set to 0, should be fixed in a
separate commit.

Change-Id: I6107597161bc67ae8c3e62c260ef6ad241c7dedf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91056
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-03-25 21:42:54 +01:00
andreas kainz
cdb632d3ee Line Sidebar fix alignment
Change-Id: I696b0e8862cc3e01ad39fac780de4af1ea116003
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90460
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-03-15 20:32:54 +01:00
Julien Nabet
0069521a72 tdf#131337: fix range for "Surface angle" (tab "Shading" in "3D Effects")
Should be to 90° max instead of 1000°
Regression from:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=11d0c28601dc89c48e67a7b39ba82dd52e660334
author	Caolán McNamara <caolanm@redhat.com>	2014-12-28 16:30:18 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2014-12-30 15:43:39 +0000
commit	11d0c28601 (patch)
tree	75e0e9d836
parent	04299dba24 (diff)
convert RID_SVXFLOAT_3D docking window to .ui
This is an epic dialog with lots of moving parts

Change-Id: I867723f65273bf46b0693910d88e11a9197384c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90493
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-03-14 18:53:22 +01:00
Julien Nabet
3d38514166 tdf#131044: 3D Effects dialog should allow to set 1 vertical segment
See https://bugs.documentfoundation.org/show_bug.cgi?id=131044#c0
for a scenario

Change-Id: Ie247b6441df91e6831cfa18e66771af5d070dad8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89933
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-03-04 09:00:17 +01:00
Szymon Kłos
d7cab304e7 Fix build
Change-Id: Ia38f9a66c5743b524e84887e5dc23535710f2db6
2020-02-20 19:17:39 +01:00
Michael Meeks
5786678564 sidebar: provide indent field boxes with useful id for hiding on mobile.
Change-Id: I45feb65dbc48810f27e4f7151de46bafcb54af00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89128
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-20 18:43:06 +01:00
andreas kainz
b68117b5b4 Line Sidebar arrangement update
Change-Id: I6b80382f159c92dce703f8d07d69fe183ff90d27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88666
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-02-18 08:17:22 +01:00
Caolán McNamara
13b15ca63a weld MatchCaseControl Item Window
Change-Id: I33a8d96c449e653284d570ef534dcc453f27ad5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88619
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-14 09:58:21 +01:00
Caolán McNamara
3b8c42a94b weld FindTextFieldControl
Change-Id: Ib5861855d37c72d2be2b11b77173a141db90444e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88614
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-13 20:55:46 +01:00
Caolán McNamara
6c01bbab45 weld FillControl item window
Change-Id: I5f943a9cf881494fe8a9fecea6a957a7085a5582
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88378
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-11 12:28:19 +01:00
Caolán McNamara
1783d7b1f5 cypress: mobile: Font size combobox is broken on core/master.
so https://cgit.freedesktop.org/libreoffice/online/commit/?id=08d6c3fdf9bac4ad8318151ab1402690eb950f52
isn't needed

Change-Id: I8836969ae064342835287a63065e591f083f2220
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-11 12:28:03 +01:00
Caolán McNamara
559b41687f surface attribute disappeared
Change-Id: I195fc92ff6fea962ceca06df5e5e562d729bcc5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88374
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-11 09:59:24 +01:00
Caolán McNamara
48a307b697 weld SvxFmAbsRecWin item window
Change-Id: I6a11d8ba226b28447e2ab04925090491d6953132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 15:20:40 +01:00
Caolán McNamara
abfdfe6ac1 weld SvxFmTbxCtlRecTotal label item window
and SvxFmTbxCtlRecText label item window
and SvxFmTbxCtlRecFromText label item window

Change-Id: I5c5bbdacfe7e69abd44b9a548deadbf6c4d2a7d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88283
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 15:20:26 +01:00
Caolán McNamara
75bd1ba4cd weld ImplGrafControl ItemWindow
Change-Id: I1c3551ffe510d49ea7ddce9d896f59857f4b2946
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88213
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 20:49:04 +01:00
Caolán McNamara
06164bdf2f weld ImplGrafModeControl ItemWindow
Change-Id: Ib71436cf9ecb312ea9f273bb974954556868e613
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88189
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 16:16:44 +01:00
Caolán McNamara
97a5da9615 weld SvxMetricField
split off SdPagesField as its not really a MetricSpinButton and can
be a SpinButton with a custom output function.

while I'm at it use ngettext to provide better plurals for the output.

Change-Id: Idc9ce0513c9fce60c8713c7361fd40f0dbd01f64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88100
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-06 18:17:02 +01:00
Caolán McNamara
8950cb8ae6 weld SvxFontSizeBox_Impl
which enables making a native gtk widget a member of a toolbar

This widget wants to distinguish between a value getting selected
by the menu or not, which is fairly tricky

Change-Id: I9014785530bd0d82ffa66842f940feb2d3237e68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87971
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-06 12:26:37 +01:00
Caolán McNamara
61fd0e0c27 weld ParaLRSpacingWindow & ParaULSpacingWindow
Change-Id: I9bd00ab28a84383cc484b5c58532f355da131999
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87818
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-02-02 21:39:35 +01:00