summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-02SVG: don't use dashes if parsing stroke-dasharray failsChr. Rossmanith
Change-Id: Ib256e4a4921e11defe7018f82273739c9ecc3105 Reviewed-on: https://gerrit.libreoffice.org/19735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02tdf#87309: Use black as default currentColor if no color was...Xisco Fauli
...expecified in File - Open too. Change-Id: I616e66a296d7c44e5a8784b3a5f32f14ce7a668d Note: Chrome and Firefox use back as well so IMHO it makes sense to do it this way. Reviewed-on: https://gerrit.libreoffice.org/19567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I3d94c94a9829161663a7ed18421ace38ce95a659 Reviewed-on: https://gerrit.libreoffice.org/19733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to be so verbose in constructing uno::ReferenceNoel Grandin
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030 Reviewed-on: https://gerrit.libreoffice.org/19724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29tdf#95356 Now text decorations are applied correctlyMarco Cecchetti
Now the default for using the SVG tiny profile is false. Now the default for use native text decoration is true. Fixed the following issues: 1) Text decoration (underline, strike-out) was not exported. 2) Commit 0a4e913 (tdf#56467: improve export of formulas to SVG) had a side effect: all exported text portions have position attributes (x,y) even if they are on the same line (y_old == y_new): this caused that underlined text belonging to 2 different `tspan` element was not underlined by a continuous line but there was a gap where a `tspan` ended and the next `tspan` started. 3) In commit (tdf#37650: further improvement of svg export) StartTextShape method is invoked even when positioned characters are used but the `implWriteText` method always adds a `text` element by itself so there is no need to call StartTextShape. The changes for non-positioned characters have been embedded inside the `WriteTextPortion` method. Change-Id: Iee0d6a6816dcbd2d97f2fbdf969f012de678604e Reviewed-on: https://gerrit.libreoffice.org/19672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27sal_uLong to ErrCodeMatteo Casalin
Change-Id: I2b4b2673aa27de664f6c6780e67c70559ec61971
2015-10-26TBBase::indent_printf() only #if OSL_DEBUG_LEVEL > 1Eike Rathke
... so the next unusedcode round doesn't remove it again. Change-Id: I3bcbafb0461f09fcfbb0e14f4f1a1713a540b5a3
2015-10-26reintroduce TBBase::indent_printf()Eike Rathke
This partly reverts a90c6eb99c8c2167c4b1ec75a21a30a344bfea43 which erroneously removed the method as unused because it is used only with OSL_DEBUG_LEVEL > 2 Change-Id: I6fa52775b6a013c0086ba9d7ae21720a9ab8aa01
2015-10-22Satisfy std::hash<> specialization requirementsStephan Bergmann
Change-Id: I3a618bd02994437a1dbe048e43653056006e8d4b
2015-10-22crashtesting+ubsan: rhbz1013652-3.svg outside the representable value rangeCaolán McNamara
Change-Id: I1ddfd8f7ee779a87825345bf29feb14150713cbc
2015-10-20sc: initial png exportMiklos Vajna
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20svg export: left mouse click is working againMarco Cecchetti
Change-Id: I5a80fe3eb55caa6e57c7842e5ac74cd1abb93f0b Reviewed-on: https://gerrit.libreoffice.org/19471 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-10-20new loplugin: badvectorinitNoel Grandin
look for places calling the 1-argument vector fill constructor and then immediately called push_back, which is generally a sign that its leaving empty slots. Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517 Reviewed-on: https://gerrit.libreoffice.org/17525 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: If7a81c87ebc2e7f72498fbee025b0e98bc84ce60
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I380dd94c8ea48ab6dc1be074d9a5801501e24c18
2015-10-19Writer image export: cmd. line, default to white backgroundTomaž Vajngerl
This commit fixes the writer image export (jpeg, png) that didn't work because the export pixel size was set to 0 by default. Now the default is set to document size (which depends on system DPI). When exporting to a PNG the background was transparent, which may not be desired. The background color is now by default white and can be changed for DocumentToGraphicRenderer, but the dialog or command line don't support such an option - for now. Change-Id: I16ffd3cd60c47b52768f43ae4c4c170fc821033b
2015-10-19cleanup some local var declarationsNoel Grandin
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-16lok svg export: Default to exporting all slides, use the interactive SVG.Jan Holesovsky
The slides to export can be tweaked via a "PagePos" parameter. Change-Id: I66f19521bd8f699710eefafb29f54036d7e604c3
2015-10-16svg export: Some whitespace cleanup, fix typos.Jan Holesovsky
Change-Id: I0de8b5229a83d2ed1ccecbd5608c94881b9baad3
2015-10-16spellingNoel Grandin
Change-Id: Ibd062310a3ae597cbab98729b394b26838e71d67
2015-10-16convert "continue" flag to an enumNoel Grandin
Change-Id: I160de1152978f301c514d9107c9e9082bab3cf05
2015-10-14coverity#1326215 Dereference after null checkCaolán McNamara
and coverity#1326214 Dereference after null check coverity#1326213 Dereference after null check coverity#1326212 Dereference after null check Change-Id: I0596ace920dd4134f1a55272fdc60c761fefac16
2015-10-13Reduce scope of variableStephan Bergmann
Change-Id: Ifa8cf3fcb7b33ffb03ef89d2f88cf4ab8287e43f
2015-10-13Reduce scope of variableStephan Bergmann
Change-Id: Id55865a539c90ef7e1fa1a2da2cc614e71115e6c
2015-10-13clang-analyzer-deadcode.DeadStoresStephan Bergmann
since 1cbec9cd986100de185f6dc10301a54f6604e6af "Resolves: #i119480# Fixed import of curves from PPT" Change-Id: I90107e4163503fd83676c4e104d1c7db08f12a18
2015-10-13clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I8082afe49a568b1cba9ce25dde9cad5e283244e4
2015-10-13Read this MSO_Anchor value as a sal_uInt32 tooStephan Bergmann
...for consistency with 0fad62c2178d6b8157b07ff30fe9e2fc8173d393 "-fsanitize=enum" Change-Id: I96e2a791811b5f45735d2ccb0686bcc12fe9a5a2
2015-10-13remove some useless commentsNoel Grandin
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-13inline typedefNoel Grandin
Change-Id: I6ec88fbdb9bc0e86f4e53eb765eabd5382a25b88
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12cppcheck:variableScopeNoel Grandin
Change-Id: I037feb335499629300309851dcda3bb661f03d4f Reviewed-on: https://gerrit.libreoffice.org/19316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-11ignore orcus::sax::malformed_xml_error etc tooCaolán McNamara
e.g. kde323651-1.pptx etc Change-Id: I59319733902a0c1298094bc1541d763938334ad4
2015-10-10fix gnumeric importMarkus Mohrhard
Change-Id: I65e4d4df9b75304096ec51e07f5985023ad3071c
2015-10-09filter: convert OSL_FAIL to SAL_WARNMichael Stahl
That literal %s was irritating. Change-Id: I2925b26b1f3d1c101106ca616d18b24b41210c72
2015-10-08full fill mostly fulfillCaolán McNamara
Change-Id: I9dc05c6eea33ede422f6a4c7b76a41c496f3ceca
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ic9d76c173d3948c973a96a97debccc771c2c9ede
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I028994045b13625e09589190e3cc259c49714e20
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I4c9013fca76b213a725e39a47e61775caf5e8519
2015-10-06Add Microsoft Write conversionSean Young
Change-Id: I528fd1e83c2cdd89fb13504beb9f86da9e02122d Reviewed-on: https://gerrit.libreoffice.org/19182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-05cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I80950aaf1385bd76b012eab7866fd16848751f45
2015-10-03Fix typosAndrea Gelmini
Change-Id: Icde566ef79dc4ed8cb67a89c743f0a6c1b3c8f14
2015-10-02Revert "vcl event filter"Caolán McNamara
that's just a local toy for now, didn't intended to push that This reverts commit 4afbd0292e09d9850a3cd0d1f169c73c5a3296db. Change-Id: I20b758d4582022ffda35c4aed7251948e721f821
2015-10-02vcl event filterCaolán McNamara
Change-Id: Ib10dccec244f3168f1ac4a892a09012adf38a839
2015-10-02Fix typosAndrea Gelmini
Change-Id: Ib30f4e5f16518cbbe71cf03998513ebd8c2a4d1a Reviewed-on: https://gerrit.libreoffice.org/18949 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01loplugin:refcountingStephan Bergmann
Change-Id: If98d81e37ee939feec70db737fdbdb5f53b555c4