summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)AuthorFilesLines
2013-07-10fix reading fonts from .odp using style::font-name (fdo#65338)Luboš Luňák1-2/+2
b40bcde076f9fabf24810d2520e878d604d99637 made writing .odp use style:font-name and office:font-face-decls, instead of using fo:font-family . But the reading back was broken, as xFontDecls is not set in XMLTextImportPropertyMapper::handleSpecialItem(), so the font data was ignored. And xFontDecls was not set because it's set while reading office:font-face-decls, which is at the top of the xml document, but even before the xml is parsed, the call to SdXMLImport::setTargetDocument() calls GetShapeImport(), which creates XMLShapeImportHelper instance, which calls XMLTextImportHelper::CreateParaExtPropMapper(), and XMLTextImportPropertyMapper is created with rImport.GetFontDecls() still being NULL at that point. And it actually doesn't seem to make any sense to just pass around all the pointers to XMLFontStylesContext, as eventually it's always just the one from SvXMLImport. So simply dump all that and make the one single place that actually uses it (i.e. XMLTextImportPropertyMapper::handleSpecialItem()) refer directly to SvXMLImport::GetFontDecls(). Change-Id: Ib1b3e4b1bcaf87ca3e4703d1cc1563ad6b3f9ce7 Reviewed-on: https://gerrit.libreoffice.org/4816 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-09fdo#66582 avoid crash because of missing modelDavid Tardon1-1/+1
The SdrObject is still under construction at this point, so it does not make sense to broadcast changes, because there are not any listeners anyway. Change-Id: Ib05e30843b4b0e125d5cae18a481e16fb7e21ba1 (cherry picked from commit 6e2815a0ffdb5811f220978734354b1033801927) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4781 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-03re-base on ALv2 code. Includes:Michael Meeks2-42/+24
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-27fix typos reported by localizersAndras Timar1-1/+1
Change-Id: I0b9a36f0c6f081ff35f0b8bc6e420d881036576c
2013-05-24fdo#64279 do not crash opening report for editingDavid Tardon2-0/+30
There are two problems: 1) The classes derived from SdrObject cache their SvxShape, but do not implement impl_setUnoShape(). 2) There is a lifetime issue in association of a SdrObject and its SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject for a shape, but also inserts it into the page. At this point, the shape has not been attached to the object yet. That means that the object creates another shape at one point during the InsertObject call, which is then destroyed again. But reportdesign shapes own their objects, which means that destuction of the shape causes destruction of the object too... My first idea was to disable the insertion in SvxDrawPage::CreateSdrObject, but it has been there since the dawn of time, so I did not gather the courage to do that. Instead, I put in a hack to allow to skip the insertion. Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3 (cherry picked from commit 02d03eb4ad6e64744659c5fe04282b25b66c28d8) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-05-23Revert "fdo#46808, Convert chart2::Title service to new style"Stephan Bergmann2-15/+16
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a: For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the direct properties of the old-style css.chart2.Title service into attributes, but left out all the properties inherited by the old-style service from css.style.ParagraphProperties, css.drawing.FillProperties, css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement, whatever that is supposed to be). This needs more thought, to either make available all propertiers as attributes, or none. For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument, sch.ChartTitle), for hard-to-debug reasons. Conflicts: chart2/source/model/main/Title.cxx chart2/source/model/main/Title.hxx offapi/com/sun/star/chart2/XTitle2.idl sc/source/filter/inc/xlchart.hxx (cherry picked from commit f30399c540f01f16f097b86ff518251324d558d7) Conflicts: sc/source/filter/inc/xlchart.hxx Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-22Related: #i121442# Adapt existing code in other modulesAriel Constenla-Haile2-36/+43
(cherry picked from commit 6c640ee420df6f7c9f3ab981e49ee304f1d2319e) Conflicts: reportdesign/source/ui/misc/statusbarcontroller.cxx sfx2/inc/sfx2/stbitem.hxx svtools/inc/svtools/statusbarcontroller.hxx svtools/source/uno/statusbarcontroller.cxx Change-Id: If03a201214a4afe09efa4e3e996aded9b6a57bdf (cherry picked from commit 25ec90bfa85ab829e47f442742c63dd41960b973)
2013-05-21fdo#46808, Convert chart2::Title service to new styleNoel Grandin2-16/+15
API CHANGE: The chart2::XTitled interface now takes and returns a XTitle2 instead of an XTitle. Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-05-15String.AppendAscii DropRicardo Montania1-3/+2
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-13fdo#46808 Convert chart2::FormattedString service to new styleNoel Grandin1-3/+3
API CHANGE: dropped the following services from the new unified interface because the current service does not implement them. service ::com::sun::star::style::CharacterProperties; [optional] service ::com::sun::star::style::CharacterPropertiesAsian; [optional] service ::com::sun::star::style::CharacterPropertiesComplex; Change-Id: I7cb6a5d4e998975b1272f4f4da03feea30cd30b6
2013-05-12Fix possible inefficient checking for variables emptinessJulien Nabet1-1/+1
Change-Id: I95a6784d5448b63b0cdde436484915692f8633be
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák9-46/+46
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-03fdo#48056 revert part of return "correct name for shapetype"Lionel Elie Mamane6-4/+23
Keep hardcoded values as *fallback* only, but trust m_aProps.aComponent.m_xShape->getShapeType when present. Change-Id: I5a024a9bc5f87d226ab3c857817dfe91ad975acb
2013-05-02fdo#60780, refactor Save a Copy and fixÁdám Csaba Király1-0/+4
Refactor Save a Copy, basing it on Export functionality. SID_SAVEACOPY takes its parameters, and sends a SID_EXPORTDOC request with them, using SID_SAVEACOPYITEM to differentiate Save a Copy from regular Export. Fix storing docx to url, by preventing finalizeFilter method, in filterbase.cxx, from writing back to the original file's MediaDescriptor. Change-Id: I876dbe17e43b26a43f29e797fdb157e31889ee1e Reviewed-on: https://gerrit.libreoffice.org/3355 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-04-24janitorialLionel Elie Mamane1-1/+1
Change-Id: I5b5c679c4c6d1e0b2742249f60aec213834f7501
2013-04-24fdo#33091 recognise General format in all languagesLionel Elie Mamane1-5/+9
As opposed to only the current UI language Change-Id: Iaaaec78e9cbe1891c3e42f207a6da552b2a2bf7d
2013-04-24Fix MSVC build: A ? : operator doesn't automagically construct an OUStringTor Lillqvist2-3/+3
Change-Id: I0bf2dcd24a7b59682c90a8910279117f1bf0467f
2013-04-24reportdesign: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer neededMiklos Vajna28-1043/+576
Change-Id: I85fedf6f3db0ffa59eaafe94d370b05660468c24
2013-04-24gbuild: drop uses of removed packagesDavid Tardon2-5/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22remove no longer needed MAP_CHAR_LEN macroMiklos Vajna1-64/+63
Change-Id: I591d37c6f43abaaaba124d511fa5767be280481e
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks5-110/+20
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-2/+2
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin1-1/+1
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-5/+5
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 informations -> informationThomas Arnhold1-1/+1
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-11deliver all uiconfig files by UIConfigDavid Tardon3-48/+38
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02 Reviewed-on: https://gerrit.libreoffice.org/3229 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-10add explicit template instantiations to appease Apple llvm-g++ 4.2.1Michael Stahl1-3/+7
Without these linking fails with unresolved auto_ptr< formula::FormulaTokenArray> symbols which is clearly a compiler bug. Change-Id: I14faf8e318522f913370ac186b5114ae5db997ad
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin3-22/+17
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08fdo#46808, Convert svt::ToolboxController to XComponentContextNoel Grandin2-4/+4
.. and all of it's friends Change-Id: I408d9308d1d1a4f8ed0055ac5f4042d729c44d1e
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák165-2124/+2124
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke4-5/+5
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks1-2/+2
/usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s*/ /g; s/\s+toolbar:helpid="helpid:\d+"\s*/ /g; s|" />|"/>|g; Change-Id: Iebb40c7e168835e02a63c17b93adee4139069ee0
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks1-13/+13
/usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s+/ /g; s/\s+toolbar:helpid="helpid:\d+"\s+/ /g; s|" />|"/>|g; Change-Id: I3489a943476f9dae1bd6009e3cd2ea7ea04b6275
2013-04-01remove boilerplate commentsThomas Arnhold6-17/+1
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01remove unused GetCurDocViewWinThomas Arnhold2-7/+0
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
2013-03-29ResMgr with LanguageTagEike Rathke1-3/+1
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28add rpt, rptui, and rptxml to Library_mergedPeter Foley1-4/+0
Change-Id: I8c20d81043602229a3fd936af6e7cdc337c40951
2013-03-27-Wunused-macrosStephan Bergmann9-49/+2
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-23Related coverity#704244 Logically dead codeJulien Nabet1-1/+1
Change-Id: I5a008c56c1318c9271d4487b2b7ad3c4a80c02a6
2013-03-23drop unused member varDavid Tardon1-1/+0
Change-Id: I68004a90cbfdf6bf6c5b09998406a5479e5c50d6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold16-50/+50
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-1/+1
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold43-377/+377
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19reduce whitespaces between include and filenameThomas Arnhold1-1/+1
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl1-1/+1
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-12reportbuilder: make "Group on" not-"Each Value" actually workLionel Elie Mamane3-3/+14
Change-Id: Id5d73f9aac48ebfb6987e5bf0df37e62f1817bdc
2013-03-11fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky2-2/+2
To prevent future clashes with uno name space rename the com.sun.star.report package to org.libreoffice.report. Bump the version to 1.2.4. Change-Id: Ia06cb7ad8c1528c1d5b5eeb70f1e4b2aa854b70f Reviewed-on: https://gerrit.libreoffice.org/2578 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-09Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann1-3/+6
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab