summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-12-04be more explicitDavid Tardon
Change-Id: I33b639b3505d5db2ea8b708d80e68e576ec53308
2014-12-04impl. Clone for all subclasses of SdrPageDavid Tardon
Change-Id: Ie370161e51ff83cb605bc57d317ff945404e5611
2014-12-04ooo#93212 avoid slicing during construction of SdrPageDavid Tardon
Also hide copy ctor and assignment operator of all derived classes, to ensure that Clone() is the only method to make copies of them. Change-Id: Icb3b50c63b086abe8c9add32e3041fe19692d20b
2014-12-04HAVE_FEATURE_DESKTOP is always defined, it is 0 or 1Tor Lillqvist
One should not use #ifdef (or #if defined) on the macros from <config_features.h>. Fix mistake introduced in 663a8c79700da18e45ed5f69391f5fc1f2406229.
2014-12-04Don't use this quick hack on Android.Andrzej Hunt
It *seems* to cause missing areas (at least in Impress). (i.e. the bottom half or right side of headers on slides can sometimes go missing, not using this hack fixes the problem for me). Change-Id: I205531666e0ad12470020e5ff2568ebf16bc2f01
2014-12-04callcatcher: update unused codeCaolán McNamara
Change-Id: Ia25b857738bb7b6c3baf18c68ef0d1bc0b3e142e
2014-12-03Linked graphic is not displayedZolnai Tamás
Regression from: 17475638138c92162be1c0f34cf1f9cc95c63579 Change-Id: Ie2d484fbe065c24d19938c8c9c68818bd1076f2d
2014-12-03Factor out SdrModel::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: Ic2cc6507390edfd0bc5a38b655a3b652fd5ec33e
2014-12-01Move accessibility relations to .ui fileKatarina Behrens
Change-Id: I910f01cbe2f3a87ff9c629a72231dd8106ddf973
2014-12-01-Werror,-WswitchStephan Bergmann
Change-Id: Ibe98acde990d5c9feb6c66455e1e82fa8232ac9e
2014-12-01-Werror,-WswitchStephan Bergmann
Change-Id: Ia787aaca4a5ec4af37063e35e96c8aba06bdd8fa
2014-12-01Factor out SdrPage::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: Ida16087b1d954454c672ddeec78b8dfe0e5a45fe
2014-12-01fdo#84938: replace EVENT_ constants with enumTobias Madl
Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-30fdo#85486 - Clean up unnecessary enumerations from xenum.hxxRadu Ioan
Removed XDashStyle Change-Id: Id14802a007a90508ee033e1dc964c57d3d5ef582 Reviewed-on: https://gerrit.libreoffice.org/13213 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-11-29fdo#82616: set limits on spinboxes according to size of workareaKatarina Behrens
Do it the same way as position'n'size dialog does, for that matter move shared code into a separate header/class. This fixes regression from .ui migration that omitted spinbox limits Change-Id: I884904719b2608dd80aecc5d7ffb3923de71774d Reviewed-on: https://gerrit.libreoffice.org/13174 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Katarina Behrens <bubli@bubli.org>
2014-11-28SdrObject::TRSetBaseGeometry: Value stored to 'fRotate' is never readMiklos Vajna
Change-Id: I3a0be6c9ac0d763e3de48ff5f1c2599392754315
2014-11-28Fold URE: Linux ure/lib/* -> program/Stephan Bergmann
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-28Factor out SdrObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: I043f740c73f1b39d81383f4f1eab2aae009ac2ba
2014-11-28fdo#83076: More space around the 'Custom Value'.Jan Holesovsky
Change-Id: If75b5a9dddf308972f3c86f6c3b4bf12327f858e
2014-11-27svx/_bmpmask sal_Bool -> boolJulien Nabet
Change-Id: I1e1a0ea67f2c8656bd98d478a10183312eb76950
2014-11-27fdo#86557: svx: fix crash when creating new "XML Form Document"Michael Stahl
Strangely it doesn't crash on Linux. (regression from 713735fc89b9e0222d8b62d051153da6932b3ebd) Change-Id: Ie29c795f5edec7d8fdf949027359c0c509edb15c
2014-11-27bCheckVertical is not usedMaxim Monastirsky
Change-Id: I092098a2520c4856f1d394ddbe288bbc444e7db8
2014-11-26sidebar: Try to fix initial spacing valuesMaxim Monastirsky
Process SID_ATTR_METRIC status before any other, and call SetMax methods before SetValue, so indent values won't be truncated by a wrong max value. Change-Id: I36d8c0cce9561902aa2c4d531740f56c80207012
2014-11-26Cleanup some leftovers from the line spacing popup conversionMaxim Monastirsky
Change-Id: Ia2e35461958ea5d79241fa2231bd7ef164fc378d
2014-11-26Unused includesMaxim Monastirsky
Change-Id: I262b3106bf426a12b2e826eeefd02351e67c7a9b
2014-11-25fdo#85858: svx: fix mouse dragging of table row separators in WriterMichael Stahl
Add a work-around for Writer's usage of LONG_MAX to SvxColumnDescription: on 64-bit platforms the LONG_MAX added in SwView::StateTabWin() for SID_RULER_ROWS will overflow in vcl's LogicToPixel mapping and that causes wrong positioning of the row highlight lines. Probably Writer should use something other than LONG_MAX (no reason why these types need to be bigger than 32-bit anyway) but that needs a bigger cleanup. (regression from 4c60f722afdc0be5c129ce5f5ed6786d09d0051e) Change-Id: I08147462356368d48959a85a85ef7dd8dcae0943
2014-11-25all these ids and their associated resources were unnecessaryCaolán McNamara
Change-Id: I3f538668c9c5f1727b8cf49ab72fd5879e12f156
2014-11-25We now only need one bit of information hereCaolán McNamara
whether there *is* an id, or whether there is not an id. An id of 0 seems to be used as a flag that an interface is some sort of superclass which can be subclassed by something else and have its toolbars etc reused. Convert this to a bool so we don't need an a resource id for each one and just drop the third arg for the normal "final" case and use a different define for the inheritable case Change-Id: I98380f03d73d57bf8cba02d339097e384518abaa
2014-11-25-Werror,-WuninitializedStephan Bergmann
(in SvxGraphCtrlAccessibleContext ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: Ic6791043828b7b9f69c76867e26ee02a5ee66817
2014-11-25-Werror,-WuninitializedStephan Bergmann
(in TableModel ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: I2a54a1123384bdeaee917ad9f1f0047f13c3860f
2014-11-24so these ResIds are only being used for the numerical valueCaolán McNamara
Change-Id: I21c67b56424de59d7231f8420055775cd5f67aae
2014-11-24RID_DEFAULTIMAGELIST_[L]C global fallback now known to be unusedCaolán McNamara
Change-Id: I93e358a9761f8f4fb22310239dbce8f621529eb8
2014-11-24move RID_APPTITLE to desktop where its usedCaolán McNamara
rename the other ones and remove the unused ones Change-Id: I0e636cd5d1799e0f9cb815a4bfa20b16039ecb3f
2014-11-24remove unused defines from app.hrcCaolán McNamara
Change-Id: Ib58c20897a765d81020fc440a48abc4aa966619f
2014-11-24fdo#86622 sidebar: Distorted icons in Graphic sectionMaxim Monastirsky
Similar to: 36f275cb0f19d11151abf85f3c191a2736bd73da 92a0793265c66d289828c0193097b14b7e7e2d0f Regression of: eaa89db886ba49472e22d77cea957a08c1113cd0 Change-Id: I98893989fff9f9893f6b3b52b24a43676fe7c6f7
2014-11-24Do not depend on libxml include in widely included fileStephan Bergmann
...and hope xmTextWriterPtr expanding to struct _xmlTextWriter * is a stable feature of the libxml2 API Change-Id: Ic5076df5a8b33f71c605b3aef737a99ea96b1753
2014-11-24svx: missing libxml2 externalMiklos Vajna
Change-Id: I416e504d1f16530096056ea915dcfdb74f302c4c
2014-11-24Kill unused (debugging) sidebars.Jan Holesovsky
Change-Id: I7d0af9d7c65e2d9d45b32870af495b2cd3eef749 Reviewed-on: https://gerrit.libreoffice.org/13084 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-11-23fdo#85486 - Clean up unnecessary enumerations from xenum.hxxRadu Ioan
Removed XLineStyle Reviewed on: https://gerrit.libreoffice.org/13029 Change-Id: I583575a04988ccf932374e411672ba14a3f3cb2f
2014-11-23loplugin:literaltoboolconversionStephan Bergmann
Change-Id: Ibecd561c1d27e129ad1f481bdb7f8a7bb4d0f8d8
2014-11-23fdo#86546 Open the right tab for more bullets and numberingMaxim Monastirsky
Change-Id: Ib8dda6eab89c92fa9bea98e3570896ea02692585
2014-11-23some localizations (e.g. Slovenian) need more space for translated button textAndras Timar
Change-Id: I407d8d92c9669f606e4f8fbb95a37932f8f14956
2014-11-22fdo#86550 make some strings localizableAndras Timar
Change-Id: Ie3b47e30b22b4bbae86f575ca1c9f3639afd3afd
2014-11-22Make NfCurrencyTable a separate header & forward-declare it in zforlist.hxx.Kohei Yoshida
Change-Id: I17b52c277ab6ec8b15e88729feee0a269b75087d
2014-11-22fdo#86517 make predefined palette names localizableAndras Timar
Change-Id: I3930757c02f9f976fb52cd75c9edab7cf75078c6
2014-11-22fdo#86573: Impress does not show pictures anymoreZolnai Tamás
Regression from: 286e2f5c6ec829bc0987b1be7016699f7ef03e5e Sometimes SdrGrafObj import the image file just as a preview (with low resolution) and late when the real picture is needed it just throws this preview and tries to load the image again. This preview works only with package URL so in this case we should not forget that URL. Plus two other related potential image loss situation: - SetUserData() is called with empty image URL - Image preview is thrown when we actually have no package URL from we can import the image again. Change-Id: Ib21f400eb6d28133e8598e6b201209e5dd1a976f
2014-11-22svx: punish evil-doers who put duplicate properties into custom shapesMichael Stahl
LO 4.3.2.2 is evidently able to export an ODF document that violates XML Well-formedness constraint: Unique Att Spec. <draw:enhanced-geometry draw:mirror-horizontal="false" draw:mirror-vertical="false" svg:viewBox="0 0 21679 2134682997" draw:text-areas="0 0 ?f3 ?f2" draw:mirror-vertical="true" draw:type="ooxml-rect" draw:enhanced-path="M 0 0 L ?f3 0 ?f3 ?f2 0 ?f2 Z N"> Not sure how to reproduce this, but the attributes there are apparently a serialization of SdrCustomShapeGeometryItem's aPropSeq, retrieved from a "CustomShapeGeometry" property, so add some input validation and assertions there. Change-Id: I91151365b507779a4bdc9cce2057d34f2376f005
2014-11-21make glxtest available in salmainMarkus Mohrhard
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-21Resolves: fdo#86466 Wrong background color shown in format table in impressCaolán McNamara
regression from commit 440e2031ce8cffc8dc573e359a330236f9c11dfb bnc#882627: Allow to edit spacing to contents even with no borders visible. which was an attempt to fix regression from commit 9e5342509b302ba1f816f21cc3ad1cb7093982e0 Date: Mon Jun 3 14:22:07 2013 +0200 copy values from the original item set ... because SfxAbstractDialog::GetOutputItemSet() only contains the items that have been _changed_ in the dialog. Now format color shows the expected color, and loading the sample for bnc#882627 and selecting cells and changing the border distance (etc) doesn't cause bulleting and paragraph alignment properties to be stripped away Change-Id: Id414e09faa221d151f393971654b17bbe9f46d81