summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2014-01-02fdo#73215 filter: don't try to handle pictureFrame in GetOOXMLPresetGeometry()Miklos Vajna1-1/+0
"pictureFrame" is not a valid drawingML shape type, VML export used to write just "rect", by removing an explicit entry for ESCHER_ShpInst_PictureFrame we now do the same. Change-Id: I57683b7f5f80bfef8c3b6fb9ae9f33e4599a7eb2
2013-12-29Need boost_headersTor Lillqvist1-0/+2
Change-Id: I936ee814bcc614cc5ec858c453f5e8e5d0cac60b
2013-12-29Detect UTF-16 encoded XML filesMaxim Monastirsky2-54/+34
This code doesn't support leading blank characters, since it's invalid, and the filter doesn't handle it anyway. Change-Id: I494e9f85351539d27577dc7df8be420c0c66570e Reviewed-on: https://gerrit.libreoffice.org/7204 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-12-22Fix other typosJulien Nabet3-7/+7
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-20typo fixesAndras Timar16-33/+33
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud1-1/+1
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2-0/+4
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann14-28/+28
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-15Fix static linkage and use SAL_N_ELEMENTSMatteo Casalin1-3/+3
Change-Id: Iced21e010b3c06a5f36731f63d41ab55a5c8a2e4
2013-12-13EscherGraphicProvider::GetBlibID: raw number is Sun bugtracker, use fdo prefixMiklos Vajna1-1/+1
Change-Id: I1ecd3b9c74fb973769036defba96d73c5995175f
2013-12-13fdo#65836 Do not compress WMF / EMF file incase of OOXML exportNikhil Walvekar3-13/+16
Change-Id: Ic498e5703ab48719f998be6da3f245843cc0979d Reviewed-on: https://gerrit.libreoffice.org/6849 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-13fdo#70338 : Fixed file corruption issue after save for docx.Sushil Shinde5-0/+64
- File was giving corruption message if saved in LO. - Issue due to video file. - Attached file contain .mov which was not handled properly. - Added mov extension support in graphic filter. Reviewed on: https://gerrit.libreoffice.org/6818 Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
2013-12-12filter: whitespace fixes in rtfutilMiklos Vajna1-70/+75
Change-Id: Ifb1a112d632410ae685fa09f3ddff8a021ddd68b
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann1-9/+6
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Open .tab files with CalcMaxim Monastirsky2-1/+3
.tab extension is a known extension for tab-separated values according to Wikipedia. Also add .tsv .tab files to the list of known text files, so XML detection code won't run on it, and won't output errors to console. Change-Id: Ifb8edc40900cb4669264e1e989c01efd61ff24bf Reviewed-on: https://gerrit.libreoffice.org/7038 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2-3/+3
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann1-6/+9
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann1-9/+6
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-09WaE: C4310: cast truncates constant valueTor Lillqvist1-2/+2
Change-Id: I187382713aa85fa43e674f96e0a8cfb1f7ac0d03
2013-12-08fdo#46262 Detect XML files with UTF-8 BOMMaxim Monastirsky1-1/+15
Also convert sal_Char (deprecated) -> char Change-Id: Ibf66f6a9ea751bab96f43671fe95a835c073d9e0 Reviewed-on: https://gerrit.libreoffice.org/6942 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-08fdo#39206 Add support for image transformation in SVG ImportSamuel Mehrbrodt1-1/+16
Change-Id: I268599b0c13bbacf5db526fed79453a5443145a5 Reviewed-on: https://gerrit.libreoffice.org/6968 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-08fix infinite loop during exportMarkus Mohrhard1-0/+2
Change-Id: I75bfafbc7343aaddbbc5c7433e28b5d4154177dc
2013-12-07CID#736170, CID#736171, CID#736172 Out-of-Bounds read/writeJulien Nabet1-8/+7
Let's be sure that nMaxcolorIndex < 256 Change-Id: I349184ad92c8e7b10a90a32e093972bfaee52467 Reviewed-on: https://gerrit.libreoffice.org/6970 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann1-2/+2
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-05Get rid of DECLARE_STL_STDKEY_SETStephan Bergmann1-2/+8
Change-Id: I4817694d183d525fa5a29eb9693a20d491549e5d
2013-12-04add test-case for CVE-2013-3906-1.tiffCaolán McNamara1-0/+0
Change-Id: I2cac26f3e949cbef16fb0c03e99d6aa9b04a7553
2013-12-03filter: handle ooxml shapes in EscherPropertyContainer::GetCustomShapeType()Miklos Vajna3-10/+34
The problem was that the shapes produced by the drawingML import had types like ooxml-triangle, and EnhancedCustomShapeTypeNames::Get() only handles VML/binary MSO shapes (e.g. isosceles-triangle). Add an OOXML mode, and in that case use msfilter::util::GETVMLShapeType() instead, and only fall back to EnhancedCustomShapeTypeNames::Get() if necessary. Change-Id: Ic93ba4719133dd3e96c17d2562642a03e559fefa
2013-12-03fix spelling delimeter -> delimiterNoel Grandin2-4/+4
Change-Id: I12a330e922f8f6ffe9c746a26e5b32c0bbae626a
2013-12-02msfilter: add a drawingML -> VML mapMiklos Vajna1-0/+229
This can be used later for the VML or binary export of shapes imported from drawingML. Note that without this, drawingML shapes won't be exported to VML, as e.g. for a triangle it expects a 'isosceles-triangle' type, while the shype's type is 'ooxml-triangle'. Change-Id: I59abc27febdd026c181a7ff38b16c93567058cb9
2013-12-02oox: move lcl_GetPresetGeometry to msfilter, so filter can use itMiklos Vajna1-0/+425
Change-Id: Ia741d392a87eaa2f02615a6c9626417a420f205c
2013-11-26fdo#72034 OOXML 2007/2010 -> 2007/2010/2013Andras Timar17-17/+17
Change-Id: Id5bec8634a66361f4369fe02a3061974d00e7a1f
2013-11-26Moved 'DateTimeToOString' from 'filter' package to 'tools' packageAdam Co1-44/+0
After the move now other classes can convert DateTime to OString also Reviewed on: https://gerrit.libreoffice.org/6816 Change-Id: I0ceb9a5cc26103a6cb36d7765a717770ec3fbe7d
2013-11-25filter: un-break the SWF export dialogMichael Stahl2-4/+1
The mpResMgr is no longer initialized but still checked. (regression from 191dc43f97ed8bec78ee540676a91815cad71104) Change-Id: I8330a74e9209eaca1fee70e7b8ba332482fa0c1d
2013-11-25rhbz#1030009 Remove global XModel refStephan Bergmann1-7/+0
...that is apparently effectively unused since 2627bdaddc6f694dc7fc6ba347a305af0f88ee2c "INTEGRATION: CWS fwk02ea: #i28639# always used supplied status indicator" anyway but causes crashes during exit when it holds an SwXTextDocument ref. Change-Id: I542545c793855b41731de72650bf07d5748fcb9f
2013-11-23Lenght -> LengthJulien Nabet3-35/+35
Change-Id: Ic338484627a1b74fba2d4d0794f8865290177464
2013-11-22fdo#68594: Revert bnc#758621 commit.Muthu Subramanian1-8/+0
Reverting: 55c63ccfd460895af22e91979967cec15d80b72d Seems some other fix, fixes the bug as well.
2013-11-22replace OUString::reverseCompareTo("xxx") with operator==Noel Grandin1-6/+6
operator== with OUString and literal internally does a reverse-compare (via OUString::equalsAsciiL) anyway, so no need to keep explicit calls to OUString::reverseCompareTo with literal argument Change-Id: I799d9bcd0d5c308a9547ce7cacb2db6042fdb643
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin2-21/+20
Convert code like: aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) to: aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") which compiles down to the same code. Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-5/+0
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin1-1/+1
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20fix mime type for PalmDocDavid Tardon1-1/+1
Change-Id: I3d1b24edd0165068efb31a34817ed9631fc05ec5
2013-11-20fix FictionBook2 mime typeDavid Tardon1-1/+1
Change-Id: I921f33c2c712da5b542a40bfe4db1fba0f034e3f
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin3-5/+5
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19fdo#66854 keep shadow distance of non-supported MSO shadow typeAndras Timar1-1/+4
this is a slight improvement of d7367b709dc4e97714fb2084b872a96389e768fb the rendering of star from #i119634# bugdoc was kept the rendering of the yellow circle shadows from fdo#66854 bugdoc was improved Change-Id: Ife53328ef665131fb954eb33c2e8269ad10da0fe
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin12-46/+42
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2-3/+3
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-18enable more formats supported by libmwawDavid Tardon10-11/+133
Change-Id: I60d5ff673843236436af12f86f40916b7d266cd3
2013-11-16fdo#33243 Fix SVG export presentation placeholder texts exportedKurosawa Takeshi2-9/+23
Change-Id: I3eea9989128635616bc154466f169aed201bb5dc
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann2-2/+1
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0