summaryrefslogtreecommitdiffstats
path: root/svx
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of (most uses of) GUITor Lillqvist2012-12-251-1/+1
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* fdo#56980, fdo#58267 don't leave stale SdrObject refs aroundDavid Tardon2012-12-241-0/+32
| | | | | | | | When a new SvxShape is set on this SdrObject, remove itself from the previously set SvxShape (if any). Otherwise it will try to reset the SdrObject's SvxShape in its destructor... Change-Id: I89d952a722b643a06f8eea87aad68f8bd230f811
* Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann2012-12-214-4/+0
| | | | Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-213-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* fdo#58427: fix another crash in SvxFontPrevWindow::PaintMichael Stahl2012-12-201-2/+7
| | | | | | | | | | | In Writer, Search&replace -> More options -> Formats used to have a window title of "Example" but not any more; let's add another fallback for the example text to makeRepresentativeTextForFont, which seems to give "Lorem ipsum" here. (regression from widget layout) Change-Id: I8dd9c099be31ed4390b04e8069a74960b58c6084
* convert columns dialog (and sections/frame/page tab page) to .uiCaolán McNamara2012-12-202-0/+50
| | | | Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
* Some cppcheck cleaningJulien Nabet2012-12-196-21/+14
| | | | Change-Id: I750058d7e25de26bf82e76ff09c69257ae09c5ba
* regenerate pchPeter Foley2012-12-192-138/+138
| | | | Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
* fdo#56267, fdo#56980 propagate shape change to subclassesDavid Tardon2012-12-193-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | It turns out (as witnessed by fdo#56267) that my fix for fdo#56980 only cured the symptom, not the cause. The real problem is caused by the following sequence of events during ODF import: 1) an SvxCustomShape object is created (XShape iface) 2) an SdrObjCustomShape object is created for the SvxCustomShape, but it is not associated with it (yet) 3) another SvxCustomShape object is created internally by the SdrObjCustomShape and they are associated 4) an EnhancedCustomShapeEngine is created for this SvxCustomShape by SdrObjCustomShape 5) the SvxCustomShape from point 1 is set to the SdrObjCustomShape At some point (I did not follow this explicitly) the SvxCustomShape cached by the EnhancedCustomShapeEngine loses its (weak) reference to the SdrObjCustomShape. This leaves it gutted and all subsequent calls to render() return an empty XShape. The solution is simple: let SdrObjCustomShape know that the associated UNO shape has changed, so it can drop the custom shape engine. Change-Id: I267838ea4857dfcd646f40c811f3ae572237a1e6
* Revert "fdo#58399 - revert attempts to untangle and accelerate this mess."David Tardon2012-12-192-12/+20
| | | | This reverts commit bb3f2900a867fdcb6df916fff58199b4ce94dd05.
* fix conditionals detectionLuboš Luňák2012-12-181-7/+0
| | | | Change-Id: I50b335375b8b2ac67c50f887a4eb58456b9cea33
* fix assertionDavid Tardon2012-12-181-2/+2
| | | | Change-Id: I67bf571062c5246402979170e0395ede320dac82
* update PCH headers using the current pch scriptLuboš Luňák2012-12-181-0/+7
| | | | | | | Removing PCH for sal, as that one is too complicated to be updated automatically right now (#include <premac.h> needs to be handled, Change-Id: I3ffe9526942f58d0f66430af109b13f7ec1d6c90
* remove manual entry of 50 to 600 now that we support items in .uiCaolán McNamara2012-12-181-8/+0
| | | | Change-Id: I68e5547916af4986dfab31aac9e25cc8fad8d0e0
* set numbers in svx/uiconfig/ui/compressgraphicdialog.ui to translatable="no"Rene Engelhard2012-12-181-7/+7
| | | | | | | | as otherwise we get uiex's output is invalid: svx uiconfig\ui Change-Id: I39b776cdb3561be0bffb8e9ebe3bf9f2660162f6
* fdo#58399 - revert attempts to untangle and accelerate this mess.Michael Meeks2012-12-172-20/+12
| | | | | | | | | | | Reverts commits: 76350361f386b78e1bc9edb75af89e7ff3afe356 67f899e1d2db0dccde4b9587a52b7157fe1fb0be 1d77d4eada214e14938336070b248c18705939ff 1d16f59023b1b19d01ca69b8c9735be6d3baf5d9 The bug has a great series of linked bugs and stack-traces; the weakref / mixed tools & UNO lifecycle here is simply hideous.
* fix problematic calc object selection after object create (at non 100% zoom)Noel Power2012-12-171-0/+1
| | | | | | | sometimes difficult to select custom shapes etc. created at non 100% zoom levels. workaround was to use selection tool to select an area. Change-Id: I112a60ebf37a37b16f6af5e70358853088e648a8
* UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara2012-12-171-3/+2
| | | | Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
* String aNam uppercased but otherwise unusedCaolán McNamara2012-12-171-3/+0
| | | | Change-Id: Ifd8c5edd3711357374efb2aba0ed108a36d3c740
* Remove 2 unused methods from CompressGraphicsDialogJulien Nabet2012-12-142-31/+0
| | | | Change-Id: I51ce4a231a43dc32a36303d293c718ee44b371a1
* fix non-PCH MSVC buildLuboš Luňák2012-12-131-2/+2
|
* PCH for Library_svx and Library_svxcoreLuboš Luňák2012-12-1315-45/+1095
|
* PCH for Library_sdLuboš Luňák2012-12-132-2/+4
|
* Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara2012-12-123-3/+3
| | | | | | | The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a candidate for getting focus when pressing tab Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
* fdo#58029 - substantially accelerate re-rendering of complex formsMichael Meeks2012-12-121-17/+4
| | | | | | | | Some writer VCL Windows appear to have thousands of children. Remove an N^2 in handling them, and let VCL do the job instead. i#103611 continues to stay fixed for simpler code. Change-Id: I63ddc0647f22c7e60feaaff6b795712c04693c05
* Remove xml2cmp leftoversStephan Bergmann2012-12-1227-1030/+0
| | | | Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
* fix variable namingJack Leigh2012-12-112-78/+78
| | | | | | | | | | Changed to pointers by fdb7fe63db5ba17036a71fe4f7f25f834bef8f95 but names not updated Change-Id: I45d04c209842a26fb731ad495e969c9477a6984d Reviewed-on: https://gerrit.libreoffice.org/1298 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis2012-12-101-1/+1
| | | | Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
* move .ui to be consistent with the other onesCaolán McNamara2012-12-102-47/+59
| | | | | | | set one button as the default one set the ??? placeholder texts as not for translation Change-Id: I71928318e762c1e331a90b9bc865bca3dca56423
* callcatcher: remove unused rtf filter and associated methodsCaolán McNamara2012-12-104-25/+1
| | | | | | update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
* do not return reference to a local objectDavid Tardon2012-12-102-2/+2
| | | | | | regression introduced by fdb7fe63db5ba17036a71fe4f7f25f834bef8f95 Change-Id: Id3f89b61b464763a37c5f063c0d541154ec40105
* Compress graphics dialog converted to new widget layout.Tomaž Vajngerl2012-12-098-456/+819
| | | | Change-Id: Iff1ffba10c5aaf3d438acf0a69467a0ac9e0f7cf
* Avoid seeking a cursor to where it already isLionel Elie Mamane2012-12-061-2/+12
| | | | Change-Id: I817aef57f3e028d77cf13f8cca1ecc7afcea9725
* just use return value optimizationCaolán McNamara2012-12-0610-115/+72
| | | | Change-Id: I2c7937c238d90192383e20923f62233821445c10
* convert number format page to .uiCaolán McNamara2012-12-062-6/+22
| | | | Change-Id: Icaae0aa69156ebffab5750a1820a0a7a94a39022
* fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new styleNoel Grandin2012-12-061-12/+4
| | | | Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
* Translate German comments in tbcontrl.cxxSamuel Mehrbrodt2012-12-061-37/+30
| | | | | | | Change-Id: I071feef9c7df4ad5ab72cd9caef5cbcbec1ae53d Reviewed-on: https://gerrit.libreoffice.org/1249 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Modify the default Style list in Writer, give them a custom order.Samuel Mehrbrodt2012-12-061-8/+10
| | | | | | | | | | Asking on UX-Advise, there were no negative voices for this change: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Default-Styles-in-Writer-td4020441.html Change-Id: I780eaecc29c88493f09194399dfc00be1484c549 Reviewed-on: https://gerrit.libreoffice.org/1248 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* findbar: show up/down buttons when searching for selected textIvan Timofeev2012-12-051-0/+1
| | | | | | | | | 1. Type and select some text in Writer 2. Ctrl+F Result: the text appears in the combobox, but the up/down buttons are still disabled. Change-Id: I9cd9f0bad52967a9934577c9bb743085b108fa94
* added Change picture menu item to graphic shape popupRadek Doulik2012-12-043-5/+35
| | | | Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
* fdo#40339: line style toolbar dropdown list not updatedIvan Timofeev2012-12-041-1/+4
| | | | | | | | ... because XLineDashItem::GetName returns the so-called "api name" (from RID_SVXSTR_DASH_DEF_START..RID_SVXSTR_DASH_DEF_END range), while the listbox is filled with corresponding translated names. Change-Id: I9edeeee6f6219f2b31fb02c24c70f3fef4f0efcb
* fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák2012-12-031-8/+8
| | | | Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
* API CHANGE: roll back the XStyle changes to add a new Hidden property on StyleCédric Bosdonnat2012-12-031-2/+0
| | | | Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
* fdo#56980 drop cached shape engine on invalidationDavid Tardon2012-12-031-0/+1
| | | | Change-Id: I9591375e1f7d1b6f69ca9a39add52a94ac852c7f
* API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()Cédric Bosdonnat2012-11-301-0/+2
| | | | Change-Id: I44770c05d51104b45d94145db8263187205daa84
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-308-15/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-306-12/+11
| | | | Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
* Remove unused method & remove header include by using forward declaration.Kohei Yoshida2012-11-293-0/+3
| | | | | | Also, SvViewDataEntry has lost one friend. Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
* Get it to build.Kohei Yoshida2012-11-293-5/+4
| | | | Change-Id: Ie239d3d0f8f4ec81a4c5dbed3a1a132117875c7c
* Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida2012-11-298-41/+37
| | | | | | We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1