summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
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
2012-12-20fdo#58427: fix another crash in SvxFontPrevWindow::PaintMichael Stahl
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
2012-12-20convert columns dialog (and sections/frame/page tab page) to .uiCaolán McNamara
Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
2012-12-19Some cppcheck cleaningJulien Nabet
Change-Id: I750058d7e25de26bf82e76ff09c69257ae09c5ba
2012-12-19regenerate pchPeter Foley
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-19fdo#56267, fdo#56980 propagate shape change to subclassesDavid Tardon
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
2012-12-19Revert "fdo#58399 - revert attempts to untangle and accelerate this mess."David Tardon
This reverts commit bb3f2900a867fdcb6df916fff58199b4ce94dd05.
2012-12-18fix conditionals detectionLuboš Luňák
Change-Id: I50b335375b8b2ac67c50f887a4eb58456b9cea33
2012-12-18fix assertionDavid Tardon
Change-Id: I67bf571062c5246402979170e0395ede320dac82
2012-12-18update PCH headers using the current pch scriptLuboš Luňák
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
2012-12-18remove manual entry of 50 to 600 now that we support items in .uiCaolán McNamara
Change-Id: I68e5547916af4986dfab31aac9e25cc8fad8d0e0
2012-12-18set numbers in svx/uiconfig/ui/compressgraphicdialog.ui to translatable="no"Rene Engelhard
as otherwise we get uiex's output is invalid: svx uiconfig\ui Change-Id: I39b776cdb3561be0bffb8e9ebe3bf9f2660162f6
2012-12-17fdo#58399 - revert attempts to untangle and accelerate this mess.Michael Meeks
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.
2012-12-17fix problematic calc object selection after object create (at non 100% zoom)Noel Power
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
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-17String aNam uppercased but otherwise unusedCaolán McNamara
Change-Id: Ifd8c5edd3711357374efb2aba0ed108a36d3c740
2012-12-14Remove 2 unused methods from CompressGraphicsDialogJulien Nabet
Change-Id: I51ce4a231a43dc32a36303d293c718ee44b371a1
2012-12-13fix non-PCH MSVC buildLuboš Luňák
2012-12-13PCH for Library_svx and Library_svxcoreLuboš Luňák
2012-12-13PCH for Library_sdLuboš Luňák
2012-12-12Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara
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
2012-12-12fdo#58029 - substantially accelerate re-rendering of complex formsMichael Meeks
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
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-12-11fix variable namingJack Leigh
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>
2012-12-10Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10move .ui to be consistent with the other onesCaolán McNamara
set one button as the default one set the ??? placeholder texts as not for translation Change-Id: I71928318e762c1e331a90b9bc865bca3dca56423
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-10do not return reference to a local objectDavid Tardon
regression introduced by fdb7fe63db5ba17036a71fe4f7f25f834bef8f95 Change-Id: Id3f89b61b464763a37c5f063c0d541154ec40105
2012-12-09Compress graphics dialog converted to new widget layout.Tomaž Vajngerl
Change-Id: Iff1ffba10c5aaf3d438acf0a69467a0ac9e0f7cf
2012-12-06Avoid seeking a cursor to where it already isLionel Elie Mamane
Change-Id: I817aef57f3e028d77cf13f8cca1ecc7afcea9725
2012-12-06just use return value optimizationCaolán McNamara
Change-Id: I2c7937c238d90192383e20923f62233821445c10
2012-12-06convert number format page to .uiCaolán McNamara
Change-Id: Icaae0aa69156ebffab5750a1820a0a7a94a39022
2012-12-06fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new styleNoel Grandin
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
2012-12-06Translate German comments in tbcontrl.cxxSamuel Mehrbrodt
Change-Id: I071feef9c7df4ad5ab72cd9caef5cbcbec1ae53d Reviewed-on: https://gerrit.libreoffice.org/1249 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-06Modify the default Style list in Writer, give them a custom order.Samuel Mehrbrodt
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>
2012-12-05findbar: show up/down buttons when searching for selected textIvan Timofeev
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
2012-12-04added Change picture menu item to graphic shape popupRadek Doulik
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
2012-12-04fdo#40339: line style toolbar dropdown list not updatedIvan Timofeev
... 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
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-03API CHANGE: roll back the XStyle changes to add a new Hidden property on StyleCédric Bosdonnat
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
2012-12-03fdo#56980 drop cached shape engine on invalidationDavid Tardon
Change-Id: I9591375e1f7d1b6f69ca9a39add52a94ac852c7f
2012-11-30API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()Cédric Bosdonnat
Change-Id: I44770c05d51104b45d94145db8263187205daa84
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-29Remove unused method & remove header include by using forward declaration.Kohei Yoshida
Also, SvViewDataEntry has lost one friend. Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29Get it to build.Kohei Yoshida
Change-Id: Ie239d3d0f8f4ec81a4c5dbed3a1a132117875c7c
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29Change default shape colorAlexander Wilms
Change-Id: I922fe667d6bf892916681988cd8599c7db9dc106
2012-11-28Fix various build breaks.Kohei Yoshida
Change-Id: Ie33a4a02f9820e0d52ca3f17c6b410ebe1e6e8f0