summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)AuthorFilesLines
2015-04-23Fix build with boost-1.56.0.Jörg Sonnenberger1-1/+2
Change-Id: I61686bf61ff1e0561c385492c563e4495456ca47 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> (cherry picked from commit 45dfbdca6a9afba1a6aef21623ec025ded635a4d) Reviewed-on: https://gerrit.libreoffice.org/15446 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-01-08fdo#76780 don't limit PositionY to available widthLionel Elie Mamane1-1/+0
Change-Id: I3a429d0a6f771f6bfde2331ddc8544c92d8147f7 Reviewed-on: https://gerrit.libreoffice.org/13517 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 0d63a64ecaeb4517c710876b1170e28ae71a44a2)
2014-07-04fdo#78908 Revert "Merge back branch alg_writerframes to trunk"Miklos Vajna1-1/+1
This reverts commit 6e61ecd09679a66060f932835622821d39e92f01. Better not to have this on libreoffice-4-3 without 7d9bb549d498d6beed2c4050c402d09643febdfa (Related: #i124638# Second step of DrawingLayer FillAttributes..., 2014-06-02). Conflicts: cui/source/inc/backgrnd.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tparea.cxx include/basegfx/numeric/ftools.hxx include/svx/svxids.hrc include/svx/unoshprp.hxx sc/source/ui/drawfunc/drawsh.cxx sd/source/ui/func/fuarea.cxx sfx2/source/dialog/tabdlg.cxx sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/swatrset.hxx sw/inc/unobrushitemhelper.hxx sw/qa/extras/rtfexport/rtfexport.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unobrushitemhelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx Also: Revert "cppcheck: Prefer prefix ++/-- operators for non-primitive types" This reverts commit 80ec4885e97b3fcb34b93e71ced52a4aab43ce93. Revert "WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'" This reverts commit d5d10b03b1f3e4bf784ad35254cb55d719a8c1b3. Revert "i#124638 support for DrawingLayre FillStyle for GraphicFrames and ..." This reverts commit 4a0b5e569d070c286daefb0fdfe45c0dd15d241c. Revert "svx: fix SID_OFFER_IMPORT and SID_ATTR_CHAR_GRABBAG having the same SID" This reverts commit b66d87086804460c1986df1b832fd6b2ea075a90. Revert "SwXStyle::getPropertyValue: don't try to read a float into a sal_Int32" This reverts commit 1e3c7b854baac2502bed72ff8e3e1b21b507735b. Revert "SwXTextFrame: also restore semi-lost BackColorTransparency property" This reverts commit 102bb87ca1a5dee3a09442bf503a54bb703c79ea. Revert "SwXTextFrame: restore semi-lost BackColor property" This reverts commit 5ce92b73ce06c805c66e53c48aa2c70c722aaf60. Revert "DocxAttributeOutput: port to FillAttributes" This reverts commit ec221b7339f8fe5520926ef85b450daa94392780. Revert "MSWordExportBase::OutputItemSet: handle fill attributes as frame ones" This reverts commit 84c40768f8acb0342dcfa223133497f57620fc14. Revert "sw: put getSvx* and setSvx* to a namespace, now that these are public" This reverts commit ebf960960a69c1edb5da1994c330ddddbecac44d. Revert "sw: fix DOC/DOCX/RTF export of TextFrame background color" This reverts commit c7837b8caad61b8c0dfd3704a133cdeaffd69b06. Revert "sw: still use SvxBrushItem for page style background" This reverts commit e826950e9d7736a6e3f9042755ba1b528f58a505. Revert "cui: unused code in SvxAreaTabPage::ClickBitmapHdl_Impl" This reverts commit 2032e9f5d7683e49b8753d7c7362899c690005b6. Revert "cui: unused code in SvxAreaTabPage::ClickGradientHdl_Impl" This reverts commit f4fa202b31277276dc4f05046c82152c0830ef21. Revert "cui: unused code in SvxAreaTabPage::ClickColorHdl_Impl" This reverts commit 1478e89e08a54f02a137c74c0cde6ae75e80d9f3. Revert "cui: unused code in SvxAreaTabPage::ClickHatchingHdl_Impl()" This reverts commit e9c9f3f793a91525ac4fb74f8791ba74222515e4. Revert "svx: fix Writer's insert -> frame crash" This reverts commit 831b8751fc9f423fd4e459623e54801c0a020eb3. Revert "sw: adapt frame/templatedialog4.ui to FillAttributes" This reverts commit 55916fc50a5b2d6273bca8c9ef6253011cf4fdbc. Revert "-Werror,-Wunused-variable" This reverts commit d0542fe7251d9c6538331b22a4b5e2e294a92e97. Revert "loplugin:implicitboolconversion,literaltoboolconversion" This reverts commit 47862e75de51a4ac7476acff773b504fdc0d6e76. Revert "loplugin:saloverride" This reverts commit be89e8b8ac19c0feca8850ccaddd90205c63dbe5. Revert "loplugin:literaltoboolconversion" This reverts commit 355b31fe347479f63906e41300042ec5cb38837c. Revert "-Werror,-Wunused-private-field" This reverts commit df9d13dd2e754184a4c6e321b8910ee1bc0cafa1. Revert "-Werror,-Wunused-const-variable" This reverts commit d757a98001a65baf4066c2eda037a08ab1beda46. Revert "unused XFillStyleItem ctor" This reverts commit b735fe1d67e6ad7ad448e448f237dcabef1a1c38. Revert "unused XGradient::VclGradient" This reverts commit 5bbc90be755aae4b87125f9d748828d74efe645d. Revert "fix "transparency" of floating tables in docx import (fdo#77723)" This reverts commit 313b59d787357ef3da34e2833fefcf1143b09b5e. Change-Id: If855b090f94288d384f8733f88ef1172e68c50a6 Reviewed-on: https://gerrit.libreoffice.org/10077 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-06-23fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida5-7/+7
(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9) Conflicts: sd/source/ui/view/sdview3.cxx xmloff/source/chart/SchXMLExport.cxx Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a Reviewed-on: https://gerrit.libreoffice.org/9836 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-05-29reportdesign: Fix applying the last used colorMaxim Monastirsky3-0/+9
The last used color is stored inside SvxColorToolBoxControl, so we must call its Select method to do that. (This also fixes using the last shape, See previous commit for a fix of exactly the same problem in chart2.) For the font color, there was also another problem: The SID used for that button is SID_ATTR_CHAR_COLOR2. The problem is that SvxColorToolBoxControl::Select actually calls for that SID the ".uno:CharColorExt" command instead of ".uno:FontColor" (which activates in writer the format paintbrush mode). Given that since commit 584b415924bba22db23a4258062e54973de0ed7c this command also receives the last used color as argument, the easiest solution is to register ".uno:CharColorExt" here as well. (cherry picked from commit 426033250db0b9b6344980655ca0be59efe6a6a5) Change-Id: I2db25a7fb537ce10dfec7b1c2d049dd77d9f8f6b
2014-05-29reportdesign: Update shape buttons with sub toolbar selectionMaxim Monastirsky1-1/+6
Change-Id: Ie39f1005182da118475fdf9c4e463bfb902d4446 (cherry picked from commit 16ba360f2a526654cedfcd4cda230442c3a8a522)
2014-05-28fdo#67937 "print on group change" defaults to TRUELionel Elie Mamane1-2/+2
Thus it needs to be saved when it is *false*. Change-Id: I01bae547afe71ede12fb852c1a9040b7e45bf7b9 Reviewed-on: https://gerrit.libreoffice.org/9502 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu> (cherry picked from commit 7b8e9ea4f9645599f45f7e2f708bab2837dafd0d) Reviewed-on: https://gerrit.libreoffice.org/9505 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold8-15/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante1-1/+1
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17Comment why it's not a copy paste errorJulien Nabet1-0/+1
See http://nabble.documentfoundation.org/Question-unoType-for-getXmlToken-dbaccess-reportdesign-module-td4109071.html Thank you Lionel! Change-Id: I999bad0d6de0327bea7ba04a6c61a497d45f53a0
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet9-15/+15
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14update_pch: add reportdesignThomas Arnhold10-1/+698
3m44s reduced to 53s... Change-Id: I9a7601e4cb23430b850fe4303e7da877ab1d63e2
2014-05-14fix-includes.pl: reportdesignThomas Arnhold25-67/+67
Change-Id: I01ad1f4c3a8e0ee8173ceb147ce20945b7d5433d
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky1-5/+2
instead of 5 (mostly identical) classes. Also the following bugs were fixed: * All pickers now use split buttons. (fdo#45671) * Color palette now indicates the current color. (fdo#73891) (Previous changes related to that bug are reverted as part of this commit.) * Selecting a color from a float panel now updates the button. (fdo#77683) * For Font color/background color in Writer, the color that is shown on the button, is always the one that's actually used. (Can be a different color after hiding the toolbar.) * For Font color/background color in Writer, the button now indicates when we're in the format paintbrush mode. (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c for some reason.) Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-13Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet2-73/+73
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-11Fix previous commit (reportdesign part, following)Julien Nabet1-1/+1
Change-Id: Ib55bdc21fa6081c55777465115538905c1cab5e0
2014-05-11Fix previous commit (reportdesign part)Julien Nabet1-32/+32
Change-Id: I490326abccac237bd70209d2a3dd623ebd5c59a2
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet5-43/+43
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet1-1/+1
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
2014-05-08typosThomas Arnhold1-2/+2
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08reportdesign: sal_Bool->boolNoel Grandin24-87/+208
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
2014-05-08RFC: add IsValueChangedFromSaved to VCL button and listboxNoel Grandin1-8/+8
Add a method bool IsValueChangedFromSaved() to the various Button and Listbox classes. Use it to simplify code like if ( maBoldAppFont.GetSavedValue() != TriState(maBoldAppFont.IsChecked()) ) to if ( maBoldAppFont.IsValueChangedFromSaved() ) Change-Id: I26b291d0980237497063ee301d63a49c7d2bc227 Reviewed-on: https://gerrit.libreoffice.org/9250 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann1-2/+2
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-05-06remove uncompiled source filesThomas Arnhold5-114/+0
Change-Id: I0c581bb48f101a84d0f0c4ceb7b064cff0d509d6
2014-05-02reportdesign: sal_Bool->boolNoel Grandin85-505/+510
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01
2014-04-29coverity#1210196 Uninitialized pointer fieldCaolán McNamara1-3/+0
Change-Id: Ib6add605efa2588ac357185687b22c2a6b8863ca
2014-04-29coverity#1210201 Uninitialized pointer fieldCaolán McNamara1-3/+0
Change-Id: I94c4853524eea306dd53a7a747f94735e0be0752
2014-04-23huge hrc and src file cleanupThomas Arnhold3-6/+1
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-22clean up hrc filesThomas Arnhold1-2/+0
and remove some unused stuff Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
2014-04-21remove comments why a file gets includedThomas Arnhold1-1/+0
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-19fixincludeguards.sh: reportdesignThomas Arnhold109-315/+315
2014-04-19Remove gcc3 workaround for bug long since fixed in gccChris Sherlock4-8/+4
Change-Id: Ieb1c41481a79ab8713663caee3d5373640ff0ec8 Reviewed-on: https://gerrit.libreoffice.org/9102 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-14fdo#76294: Fix the build.Kohei Yoshida3-4/+24
Change-Id: I123751e9f08faaccc06649c2f8b29a9a33548312
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann9-39/+23
Change-Id: I367acc372d6b5996430a2c560e776a469b7e0007
2014-04-14typo: noone -> no oneThomas Arnhold1-1/+1
2014-04-14typo: currect -> currentThomas Arnhold1-1/+1
2014-04-10It's "its", not "it's"Tor Lillqvist2-3/+3
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-06fdo#72276 introduce .uno:ZoomMenu so we can split the menu entries/labelsJoren De Cuyper1-1/+1
Currently .uno:zoom is used for the topmenu and submenu. Deleting the '...' behind the text will delete it for both, which is not correct. Therefore I introduce .uno:ZoomMenu for the topmenu. Change-Id: I75bcae572be0cca7216c34d81e0b99f4c59c0aab Reviewed-on: https://gerrit.libreoffice.org/8503 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-04-04coverity#738784 Uninitialized scalar fieldCaolán McNamara1-10/+9
Change-Id: Ibe261cb6b7c91b6a72fc24aef05ef269c69c390f
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin46-283/+283
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03dbaccess: sal_Bool->boolNoel Grandin2-19/+19
Change-Id: Ida8ee14bb6350fad815d741ca7a2b7db04a8ed11
2014-04-02coverity#707967 Uninitialized scalar fieldCaolán McNamara1-0/+3
Change-Id: I65aa00d79efe15f63c272fbcd5d3e0dea2c28dfc
2014-04-02coverity#707969 unused nMasterPageNameIndexCaolán McNamara1-1/+0
Change-Id: I1a91871eb9f1952625b94b15d9ab8a4712487048
2014-04-02coverity#707970 Uninitialized scalar fieldCaolán McNamara1-7/+9
Change-Id: I70cc8c7667d9cfb2fc043e3889c7fb5adc9abd52
2014-04-02coverity#707971 Uninitialized scalar fieldCaolán McNamara1-2/+11
Change-Id: I5c1045253c082a00397cf0f048baee947232c9b1
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann3-4/+4
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-31xmloff: sal_Bool->boolNoel Grandin2-5/+6
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
2014-03-31xmloff: sal_Bool->boolNoel Grandin1-36/+36
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31xmloff: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I1c97da5b7bbac348150399afbf386613433e5551
2014-03-31xmloff: sal_Bool->boolNoel Grandin1-2/+2
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094