summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2015-07-30also handle line width correctlyMarkus Mohrhard
Change-Id: Ia564d3c9b821a09586a0bcb32ee3f827e71f43de
2015-07-30provide structure for chart line panelMarkus Mohrhard
Change-Id: I75204a012e4bc59f40a06db814bb9057a1cf8598
2015-07-30split the line width panel into two piecesMarkus Mohrhard
The new LinePropertyPanelBase has no reference to SfxBindings anymore. Change-Id: I7d1d1bb351066dca8bfeedc559048f8337e47f67
2015-07-29svx: remove duplicate "Kuerzen" functionMichael Stahl
Change-Id: I319ba12684398bcdfcd8d8ede1648e1d213e75a7
2015-07-28mpLBColor and mpFTColor are actually unused nowMaxim Monastirsky
Change-Id: I81c8194e555d9221ce2a074238b52d76b75ed278
2015-07-28svx: fix crash in JunitTest_svx_unoapiMichael Stahl
618fd9d91a87113a1fbb5f829bd0d61207ff78af added a mpLBColor widget with a type that does not match what is in the .ui file. Change-Id: I17c58448c1d6cf43652702d60d5600ce8de64224
2015-07-28Newly introduced widgets must be clear()-edKatarina Behrens
Change-Id: Ibae1aa4fc8df3f5b0a2448cca27f129993eea86f
2015-07-28Simplify: group widgets and enable them all at onceKatarina Behrens
Change-Id: I2140cf83886654033d8fcb2acfb651041f24fa0d
2015-07-28Line Controls are disabled when none entry is checkedRishabh Kumar
Change-Id: Ie0ece4ca4b463642ea7b45bd3e27338fa5d3b9b8 Reviewed-on: https://gerrit.libreoffice.org/16146 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-27loplugin:staticmethodsNoel Grandin
Change-Id: I151c96d20fe374454924fb0e1c01d9a10be73406
2015-07-27remove some unused definesNoel Grandin
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-27Add missing SAL_OVERRIDE..Tomaž Vajngerl
Change-Id: I82d1adb30d678c06308efb2bb825a4c1b4a064cf
2015-07-26fix some small regressions in no-chart area panelMarkus Mohrhard
Change-Id: I04239c0bcf78ee9029a2a17514d10d28c3b99d58
2015-07-26we should not disable items because they are set twiceMarkus Mohrhard
Change-Id: I73130922a773df353db509b0ea62d0013a1df292
2015-07-26avoid crash with color listbox for nowMarkus Mohrhard
Change-Id: I36ac6513546961ec8d8d1e9437a8ef88574acbf4
2015-07-26extract some code for reuse by chart2 sidebarMarkus Mohrhard
Change-Id: I44e2378dafa66f53588027cca56dc52cb4cec794
2015-07-26these two are exclusiveMarkus Mohrhard
Change-Id: I98cf55f9b39f79fb844c57eef137093eb79ca958
2015-07-26better way to handle unused argumentMarkus Mohrhard
Change-Id: I32d0ac824aab9cfd2f7994aa81b63206dd6a5a9a
2015-07-26fix the widget nameMarkus Mohrhard
Change-Id: I889bf792dca59dca6750e4fb05d819a205f6ea21
2015-07-26move header file to public include dirMarkus Mohrhard
we will need it in chart2 so make it available Change-Id: I9ef1feebc2e0086e0647349b4e92f9fc9cdd4e8c
2015-07-26split area property sidebar panel into two partsMarkus Mohrhard
The AreaPropertyPanelBase is independent from the dispatcher, SfxBindings and some other sfx2 stuff. There are still a few open points about some of the controls used but it is a step forward. Change-Id: I8eed42522abb3d3efc46bad352da9cbaa0b88b12
2015-07-26remove excessive whitespaceMarkus Mohrhard
Change-Id: Ia77c12fc0da9c983a07595175ce855979d92dd08
2015-07-26remove unused propertyMarkus Mohrhard
Change-Id: Ia4b0c6985c9e52fed756edc08b959d3b60a122f0
2015-07-24Move spinbox limit definition to .ui fileKatarina Behrens
Change-Id: I5ef6e76d00e5b034109f5b3a0cabfd7b7fa798bc
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Ib32a73e4f74ce7ccd19327ecaed84c16b5c60779
2015-07-24svx: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I512ed27ef812498e021e320259b1e0862969a10e
2015-07-24convert WindowAlign to scoped enumNoel Grandin
Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52
2015-07-24convert GA_ constants to enum classNoel Grandin
Change-Id: I51a197ed530c0a0e432620af23070c90a89a9ac3
2015-07-22tdf#92600 fix missing font preview in character set widgetLászló Németh
The previous fix for tdf#92600 (missing bold text in dialogs) brought back the regression in the special character set widget: the characters show always the default font of the Control class instead of the chosen font, see in the Insert->Special Character... dialog window of Writer. Change-Id: I2bdc2300f481dd680877f84ea2a717b9e749c64c
2015-07-22ListBox in grid: properly set selection on change from modelLionel Elie Mamane
In particular when changing row. 1) Teach DbCellControl about "SelectedItems" as known value property. 2) Fix DbListBox::updateFromModel to actually use the SelectedItems it reads from the model, as opposed to throwing it away. Change-Id: I7074c13b3d271bf2362aa059378aa857682a040b
2015-07-22tdf#92725 FormattedField: when model value is NULL, force empty display stringLionel Elie Mamane
as opposed to implicitly keeping whatever unrelated string was there before. Change-Id: Ifaf1b41e951e97f209ecb617b32ec4f7522b1d08
2015-07-21Listen to error only while operating on controller.Lionel Elie Mamane
Else, on any action done directly (not through the FormControllerHelper) on the controller and raising an SQL error, this would silently swallow the error message, and the operation would fail without any message to the user. E.g. when validating an insertion or modification in a grid control by moving the cursor to a different line (as opposed to clicking the "Save Record" button). Change-Id: Ie569d9c826609f803f7b312c0469907155558ef2
2015-07-21janitorialLionel Elie Mamane
Change-Id: I727c5af7659e9591563c0784fee5d0d9317ebc24
2015-07-21form document view activation: prioritise activation of already active formLionel Elie Mamane
This avoids arbitrarily switching to the first form in the document, which would do a (premature!) save to the database of the modifications pending in the active form. This may lead to a database error, when the data is not in a shape to be written to the database, e.g. when on an insertion row and not all mandatory fields have been filled in. This then pops up an error message to the user. Change-Id: I30bb533598ca707b892bb7155e54ce05d4ddf275
2015-07-21tdf#36796 Status updates for custom shapes buttonsMaxim Monastirsky
We're dealing here with 2 bugs: 1. Single shape buttons (like rectangle, ellipse etc.) don't get the pressed state when active. The cause is that all commands of the same kind (Basic Shapes, Symbol Shapes etc.) are handled as one internally, allowing only one type of status updates. It used to transport the current active shape, but it was changed to a boolean value in the fix for i#41753, and since then used for the pressed state of the group buttons. 2. The pressed state of a group button shows always, even when a user activates a shape from a place other than the drop-down of that button. But in this case the image of the group button doesn't update with the current shape, thus confusing the user on what is currently active. The cause here is that we use (since i#41753) the XSubToolbarController interface to update the last selected function (instead of the old-style status based update), and ToolBarManager notifies a controller about a new selection only if it was made from a particular toolbar that the controller claimed to use in the getSubToolbarName method. Since 7352a7c17875e5adcc4226c45f4a03e11c44ff49 there is a similar regression for other group buttons in sd (like lines, 3D Objects and other), with the same cause. This is also fixed now. Change-Id: Ida074a001ff78bf5bd5bcb8151516daa6e27cbce
2015-07-21bah, removed too muchDavid Tardon
Change-Id: I388f191fecd5f1d632f1540d280a04c163ce6fc9
2015-07-21drop obsolete codeDavid Tardon
Change-Id: I741c5f5ed895b06a445f42e20ef004a8c7c1a100
2015-07-20svtools: change these SvTreeListEntry functions to unique_ptrMichael Stahl
... parameters to make it clear that they take ownership. Change-Id: I572c5fa6268438a86d0a4fa1d2aef15382cb5607
2015-07-19Fix typosAndrea Gelmini
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-17cleanup: use SAL_N_ELEMENTS for array sizeCarlos Luque
To be consistent across code in the calculation of the number of elements of an array. Change-Id: Iff73e570231caccdece3cf0e925d58bc0925ccc2 Reviewed-on: https://gerrit.libreoffice.org/17168 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-17svx: this was supposed to be "image/x-eps"Michael Stahl
Change-Id: Ieb9d7f23a0ef1e4546c488a678dbfde085156216
2015-07-17tdf#92571: add mime types for several image file formatsCarlos Luque
The new mime types were added the followings: - eps -> image/x-eps - wmf -> image/x-wmf - bmp -> image/bmp - pct -> image/x-pct These new mime types are written in the attribute "media-type" of each image in the file "manifest.xml" Change-Id: I16edb625e331d3f917c6e8929df004191e317acc Reviewed-on: https://gerrit.libreoffice.org/17123 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-17Convert form control buttons to the generic controllerMaxim Monastirsky
Change-Id: Ibecf33160d5d021e84e796f6b16db673f644699d
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17StyleManager: move style search to its own methodTomaž Vajngerl
And remove obsolete CreateStylePreviewRenderer method with style name as input parameter. Change-Id: I0fdf54fd40148b417250b5a6bf2453994eb83634
2015-07-17create the stlye preview renderer with style as parameterTomaž Vajngerl
Change-Id: Ie191467305279253f165f13980c125f6b7b9fdde
2015-07-16Convert Alignment button to the generic controllerMaxim Monastirsky
Change-Id: I76ead43fa1cfe7ba1b62d2b13c4f4d7658a9f290
2015-07-16Convert FontWorkShapeTypeControl to the generic controllerMaxim Monastirsky
Change-Id: I7824136aa2780c4062a66f7a5284a342862f319a
2015-07-16loplugin:unusedmethods svx(part2)Noel Grandin
Change-Id: I161360e2f3113c4814fe1c2c095e602b2c93dcd7 Reviewed-on: https://gerrit.libreoffice.org/17120 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods svxNoel Grandin
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>