summaryrefslogtreecommitdiff
path: root/include/svx
AgeCommit message (Collapse)AuthorFilesLines
2014-03-25fdo#75260: Improve double line drawing for writer table.Kohei Yoshida1-9/+10
(cherry picked from commit 1c6fb266567c8e397e3c65663b21f0fa50696aa5) (cherry picked from commit 77b6c1602aaa0bd059077765e7fabb53d9e6ddeb) (cherry picked from commit 32391d25293935fbbf0075e3ccf68625951427f0) (cherry picked from commit 24b4fbfa39f212c769bf4d966258a8fb4c98c201) (cherry picked from commit 07909e0045d9f94329861fe2e7b3403a5c4befed) (cherry picked from commit 335470edf00cabb47abb9d7dcc4dd3a5a0e79616) Change-Id: Id350531f09b3ded66fd05ea7ebeefe8771260b62 Reviewed-on: https://gerrit.libreoffice.org/8635 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-24fdo#74751: fix reverse base point diagram on RTL UIFaisal M. Al-Otaibi1-1/+1
Change-Id: Ib8e9f40b5576116f0220ffa70390f95b28c8bae0 Reviewed-on: https://gerrit.libreoffice.org/8200 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-29fdo#73487, fdo#73886: Overhaul cell borders to make them look sane.Kohei Yoshida1-15/+8
Change-Id: Ie563f272b60ec8b6b8a4ff0df7256902997610c1 Reviewed-on: https://gerrit.libreoffice.org/7597 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-10fdo#72005: Insert the border rectangle to the bottom of the stack.Kohei Yoshida1-4/+10
This will make the border and fill shape to be drawn first, then everything else drawn on top. This commit may look large, but it's actually a very trivial change. The important part is in SvxShapeGroup where new methods have been added to allow different insertion positions for the new shapes being inserted, and have the chart2 code make use of it to insert the fill rectangle to the bottom rather than to the top. (cherry picked from commit 10840ad753b60886ea5175060cb0ec2a77e1579a) (cherry picked from commit d1846cd8d4530d620b996f27a0ea7ab0c91639b5) Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e Reviewed-on: https://gerrit.libreoffice.org/7379 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann3-3/+6
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-15convert 500th dialog (vectorize) to .uiCaolán McNamara1-0/+1
Change-Id: Ib1a8716091a16eb970c9f218f4a8e496de72ff51
2013-11-14rhbz#887420 Implement "block untrusted referer links" featureStephan Bergmann4-14/+20
For now, this checks for a trusted referer (if the BlockUntrustedRefererLinks configuration prop is set) in utl::MediaDescriptor::impl_openStreamWithURL and SvxBrushItem::GetGraphicObject. Checking in additional places will probably be necessary to block /all/ unwanted communication. Also, some places marked /*TODO?*/ currently pass in an empty referer (which is always considered trusted) and will probably need to be adapted. Ideally, Referer URIs would never be empty (and consistently use something like <private:user> for cases where access is explicitly initiated by the user and should never be blocked), but that's a very daunting task, so start small by identifying the places that potentially need blocking and adding appropriate Referer URIs there. Also, Referer information should always be computed as freshly as possible from the context in which an access attempt is made, but, again, always carrying the information from the context all the way to the relevant functions is a very daunting task, so for now store the information upon object instantiation in some cases (SvxBrushItem, SdrGrafObj, ...). The Referer URI (css.document.MediaDescriptor property; SID_REFERER) was already used to track macro execution, and there is one place in SfxApplication::OpenDocExec_Impl where opening of hyperlinks (explicitly clicked by the user) is done that needs the current document's URI as Referer to check execution of macro URIs but needs an empty (or <private:user>, see above) Referer to not block non-macro URIs. Special code has been added there to handle that. Change-Id: Iafbdc07a9fe925d9ee580d4f5778448f18f2ebd9
2013-11-09fdo#65108 inter-module includes <> include/svxNorbert Thiebaud320-333/+334
Change-Id: I5335182ea16695c77c2855b34c98220aea2befa1
2013-11-05remove further external include guardsThomas Arnhold2-4/+4
Change-Id: I23ec3b7372425fb35d4b0c50c5719a2170251ffc
2013-11-05fixincludeguards.sh: swThomas Arnhold1-3/+2
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-11-01Remove dead declaration w/o a definitionStephan Bergmann1-3/+0
Change-Id: Ic0a1f07a2e16695fafbd63414397a8565d7c6861
2013-10-30fixincludeguards.sh: svx/itextprovider.hxxThomas Arnhold1-2/+2
Change-Id: I32ebe61a8431e357ffdc057b019fdd3b75dd68a8
2013-10-28remove local css namespace definitionsThomas Arnhold2-2/+0
As we have it globally in sal/types.h those are not necessary. Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-24fdo#69079 - fix multiple user gallery creations.Michael Meeks1-1/+3
Change-Id: I0539e2708b973b8bea7bd63488277f00201c6c46
2013-10-23fixincludeguards.sh: include/svxThomas Arnhold532-1339/+1339
Change-Id: I2c280be12f36c1538e922286745aabc62482423d
2013-10-22imapdlg.hxx: cleanupThomas Arnhold1-18/+3
Change-Id: I27240d18099f73e6a327ad1c259ddc3f32a02ce6 Reviewed-on: https://gerrit.libreoffice.org/6387 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist7-8/+8
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21remove unnecessary tools/string.hxx includesCaolán McNamara3-3/+0
Change-Id: I8ed341aeef90584dfc545a794f999e3adc08dd72
2013-10-21remove uses of COMPARE_*Caolán McNamara1-1/+1
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-17remove some unused codeThomas Arnhold2-2/+0
Change-Id: If3e7c03aedf7b953c7bd3017534b3d5fbeeb6192
2013-10-16Resolves: #i122738# corrected update of FillStyle/FillAttribute UI elementsArmin Le Grand1-2/+0
(cherry picked from commit 2fc5d2946561258b012b80443cac025d851afda8) Conflicts: svx/inc/svx/fillctrl.hxx svx/source/tbxctrls/fillctrl.cxx Change-Id: I3be23f7ec199c49beb7c5cecfb835977e2bedcea
2013-10-16remove some stuffThomas Arnhold1-16/+0
Change-Id: I766c01c3ea4c03f4c76ef70fd16037d8196242a1
2013-10-12Unicode is Unocode on all platformsTor Lillqvist1-7/+1
Change-Id: Iea8065f8d0f8e305cf2b1f56ba7ddd4189306ad2
2013-10-09update unusedcode listCaolán McNamara1-3/+0
Change-Id: I201985753fc53f037807e7870c6786a442717d6e
2013-10-08Resolves: #i123350# Added Clear() implementation to SdrUndoManager...Armin Le Grand1-0/+3
to only delete text edit part of the undo stack (cherry picked from commit 81e916525fa63b188b2a3b9bb7030e4d451a4808) Conflicts: svx/inc/svx/sdrundomanager.hxx Change-Id: I19594e4cfa52a24dbcb95639ac3c6b9f39908cc7
2013-10-07define colors as hexadecimalIvan Timofeev1-2/+2
Change-Id: I31ac3c6bf09e18bb4bcd95c004a76045ad50cc92
2013-10-07change default line color to Tango: Sky Blue 2Ivan Timofeev1-1/+1
Change-Id: I3e2139cb1d12fe1849d87b438ab3f55fc21fa574
2013-10-06RulerItem: indent and cleanupTomaž Vajngerl1-53/+36
Change-Id: Ice76e03b6cac32263fb1909175b105ccc544e234
2013-10-01Convert change password dialog to widget UIManal Alhassoun2-14/+10
Change-Id: I0ff0eda77b849927fe6cffe5cf203c46ba9ef340 Reviewed-on: https://gerrit.libreoffice.org/6089 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-01convert remnants of String in SVX to StringNoel Grandin3-11/+12
Change-Id: I66fd6387c3fcd33c6ae0b431810abf6679345767
2013-10-01convert SvxNumberFormatShell::SetComment4Entry from String to OUStringNoel Grandin1-1/+1
I seemed to have missed this in my earlier conversion process. Change-Id: I9266fac26425d552520ce68bdcce9b8f4cdbe9a6
2013-09-30merge queue_layout and queue_resizeCaolán McNamara1-1/+10
so that any window derived class, and not just dialogs, can trigger layouting of their children. Merge together the handful of hacked-up impls of this. Do that then for the sidebar PanelLayout so that when the label of the custom animation frame changes that the frame allocates enough space for the new label to display fully Change-Id: I9a95f6c3f60cd6cea47656e66cb9ffcc154a3a5a
2013-09-29Kill internationaloptions page, it has been unused for years.Jan Holesovsky1-3/+0
Change-Id: Ia528bf60a8af81b17ca18ad5eb305bed59818d05
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara18-56/+50
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara19-0/+53
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-20Use consistent spacing in this madness at leastTor Lillqvist1-74/+74
Change-Id: Icee043f43072244e28405e4dff3ce4b51fbb3cd9
2013-09-20Move one block to maintain numeric orderTor Lillqvist1-6/+6
No, I didn't check if all the others are in correct order. Change-Id: Ic676fa79ea864d75abd183df2662007f05cca75d
2013-09-15cleanup ruler items (rulritem.hxx) - remove comments, identationTomaž Vajngerl1-9/+9
Change-Id: I450ebe3ceab0acf03221970b33c8da4cbb2c6a52
2013-09-15Use vector instead of scoped_array to hold ruler itemsTomaž Vajngerl1-6/+6
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
2013-09-15Ruler: disable snapping, tooltipsTomaž Vajngerl1-1/+6
It is now possible to disable snapping of the ruler at dragging with holding the ALT key and coarse snapping with ALT+SHIFT key. Tooltips are shown when hovering over indents and borders. Change-Id: Ib1e9639e1e2824f2a75b5abd35765bbbd02c87f7
2013-09-15SvxColumnItem: indents, useless comments, clean-upTomaž Vajngerl1-43/+43
Change-Id: Ib1eb99e9e43526422e7e90e72cdbdaaeed678955
2013-09-14callcatcher: update unused code listCaolán McNamara1-1/+0
No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
2013-09-12Convert connector tab page to widget UIOlivier Hallot1-5/+6
Also: * Rename dimensionline.ui to dimensionlinetabpage for naming consistency * Fix connector and measure dialogs for connectors and dimension lines Change-Id: I921890b33a5f9807a6e12341ef7f374312abfc8b Reviewed-on: https://gerrit.libreoffice.org/5920 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-10CID#738542 uninitialized memberCaolán McNamara1-0/+1
Change-Id: I77a08ab89aa4cdc5895fdd5152154ede8de10ba2
2013-09-10convert singletons to preferred rtl::Static patternCaolán McNamara1-60/+10
Change-Id: I44c4f742027124c517a37fd8b6a62fc69f62d55f
2013-09-10CID#1038283 Resource leakCaolán McNamara1-6/+6
Change-Id: I7f8433a76079dc76d888fd250b3033d772887e4d
2013-09-09unify strip previews optimal size in one placeCaolán McNamara3-2/+2
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
2013-09-09Convert dimension lines tab page to widget UIOlivier Hallot1-5/+5
Change-Id: I1d5176609e2acd0d70991a541196e2b9857576f8 Reviewed-on: https://gerrit.libreoffice.org/5879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09Seems an explicit destructor is neededTor Lillqvist1-0/+2
Otherwise it is unresolved in an optimising Clang build when linking libsc. Change-Id: I5f4d3facfe79793607396b83722ebd65ad8bb2ba
2013-09-06Resolves: #i122985# Various speedups for graphic object swappingArmin Le Grand1-2/+4
(cherry picked from commit f18ad6132d79540431bf04f090a7472e21a23e49) Conflicts: svtools/source/filter/jpeg/jpeg.cxx svx/inc/svx/svdundo.hxx svx/source/svdraw/svdograf.cxx vcl/source/gdi/pngread.cxx Change-Id: I733551fa9447eb8f45e9163a9c0189f013b03e82