summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2013-08-19Use standard idiomStephan Bergmann
Change-Id: I77b2732e04435ee93044b65c4925de43cc20187f
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-15cppcheck: fix duplicateBranchJulien Nabet
Git history shows it was like this since first commit (2009-12-15) Moreover I noticed these lines: 220 if ( mpCGM->pElement->nAspectSourceFlags & ASF_FILLCOLOR ) 221 nFillColor = mpCGM->pElement->pFillBundle->GetColor(); 222 else 223 nFillColor = mpCGM->pElement->aFillBundle.GetColor(); even if nFillColor can have another value in case below 249 case FIS_GEOPATTERN : 250 { 251 if ( mpCGM->pElement->eTransparency == T_ON ) 252 nFillColor = mpCGM->pElement->nAuxiliaryColor; 253 eFS = drawing::FillStyle_NONE; 254 } this change is still safe since it's just a simplification. Change-Id: Icf41dbeee6405780483649e0968dd30e8a533882
2013-08-15Resolves: fdo#33983 use 'Slides' instead of 'Pages' for impress pdf exportCaolán McNamara
Change-Id: Id380514f8f74783a0a0baf61cc9358f2b1bcbc47
2013-08-15fdo#59524 Enable encryption for docx, pptx and standard OOXML formatsTomaž Vajngerl
Change-Id: Id00fde15188be3fb7209d8f14f2f2f07ebd211b0
2013-08-14fdo#59524 Encryption for MS Office 2007 Spreadsheet documentsTomaž Vajngerl
This enables saving of MS 2007 spreadsheet documents with a password. The encryption used is the same as used in Office 2007 (however different than in Office 2010 and 2013 which use "agile" encryption). Change-Id: I3539e811d95b6f9178246ab269d13bb385a48bd2
2013-08-04Mark as const/staticTakeshi Abe
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
2013-07-30convert xslt filter dialog to .uiCaolán McNamara
Change-Id: I02bb629af1f4811f382469b8e2aaaba272f07034
2013-07-30drop unused help ids & fix mnemonic widgetsCaolán McNamara
Change-Id: I80c21126e2728ffa18c87a98e500cc941d462de1
2013-07-30Convert xml filter tabpage transformation to .uiabdulmajeed ahmed
Change-Id: Ice69f7d036d414c82f6c313a8dc025f736b97e68 Reviewed-on: https://gerrit.libreoffice.org/5201 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-30Related rhbz#98977: Handle multiple LibXSLTTransformer::terminate callsStephan Bergmann
Trying to reproduce rhbz#98977, temporarily changing TRANSFORMATION_TIMEOUT_SEC (filter/source/xsltfilter/XSLTFilter.cxx) to zero, loading a dummy "Microsoft Excel 2003 XML (.xml)" file shows a "General input/output error" msg box and "Cancel" leads to a crash due to duplicate calls to m_tcontrol->terminate() from both XSLTFilter::importer and XSLTFilter::endDocument (both filter/source/xsltfilter/XSLTFilter.cxx). Change-Id: Ia103d944f3e1f14ca2cf5552ca3a48348132d38e
2013-07-29Remove effectively unused INetURLObject OString overloadsStephan Bergmann
Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
2013-07-28reduce use of UniString from ResID ctorCaolán McNamara
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-24fdo#46037: no more comphelper/configurationhelper.hxx in filterJulien Nabet
Change-Id: I8b839dcf1f1a6247800f0bf054b2872b1acf800a Reviewed-on: https://gerrit.libreoffice.org/5082 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24set mnemonic widgets and a few other little tweaksCaolán McNamara
Change-Id: Ic0ae45085ca933e41591f932524f4ddef4de5714
2013-07-24Convert Xml-Filter-TabPage-General to .uiabdulmajeed ahmed
Change-Id: Ia2ce0ce28b8a078b99651b38bdd3cbeaea3d8772 Reviewed-on: https://gerrit.libreoffice.org/5029 Tested-by: abdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-24add test-case for CVE-2013-2577Caolán McNamara
Change-Id: I69f42b8ea53b68495cb4666a93ece47f6679582e
2013-07-22fdo#66274: Saving document as RTF result in text 'Use Rich Text Format Format'Julien Nabet
Change-Id: Id617816c8530b7536238b5aa4a471c57a2a0b82e Reviewed-on: https://gerrit.libreoffice.org/4999 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-17Fix memory leak with osl_getCurrentSecurity ().Mark Wielaard
The result of osl_getCurrentSecurity () should always be deleted again with osl_freeSecurityHandle (). Change-Id: If0991937fcb24207d1f78166f61c4be22d423629 Reviewed-on: https://gerrit.libreoffice.org/4947 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-16fdo#63133: Write tools/tempfile.hxx outPalenik Mihály
I deleted TempFile class and changed it to utl::TempFile class -which in unotools/tempfile.hxx- in the followings: Storage, StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function. I modified header in precompiled_sw.hxx. Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1 Reviewed-on: https://gerrit.libreoffice.org/4938 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-15filter: need more boost_headersMichael Stahl
Change-Id: Id927d5494bed8d4d8fa27f38dfcde14b95081cc1
2013-07-11Fix memory leak in SvxMSDffManager::CheckForConvertToSOObj.Mark Wielaard
Use boost::scoped_ptr for temporary SvMemoryStream. Change-Id: I6235d7868bd20963aa5fdda32b1dd3b82cf0b182 Reviewed-on: https://gerrit.libreoffice.org/4760 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-09Fix memory leak in SvxMSDffManager::ImportShape.Mark Wielaard
When a new DffPropertyReader is created and assigned to pSecPropSet make sure the old one is deleted first. Change-Id: Idd14fdf4e3a03a625a10a89dde71ad66cbdba792 Reviewed-on: https://gerrit.libreoffice.org/4761 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09 fdo#66645 XHTML export: ignore incorrect style on math objectsFrédéric Wang
Change-Id: Ied09a189184380aa3eba30261c7517f6bccf6d09 Reviewed-on: https://gerrit.libreoffice.org/4751 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-08error: comparison between pointer and integer (Clang trunk towards 3.4)Stephan Bergmann
...the check in itga.cxx was useless anyway, as new[] does not return null. Change-Id: I4de5a46e14a83ab134d0a098a62748e909dc9c00
2013-07-08-Werror,-Wdeprecated-register (Clang trunk towards 3.4)Stephan Bergmann
...in files generated by gperf; an alternative could be to use -isystem instead of -I in gb_Library_use_custom_headers. Change-Id: I316684ab5342977655a5642903b13e127adaf95c
2013-07-08convert pdf signing page to .ui formatCaolán McNamara
Change-Id: I037036e410a6f9d7da7bc34721c105e81470d5d9
2013-07-08convert pdf options dialog to .ui formatCaolán McNamara
Change-Id: I7c186ea77bbadd20ac881dcb0aa2cf7db525dc1e
2013-07-08convert pdf export general page to .uiCaolán McNamara
Change-Id: I94d86f9807e67bd4f352321fde1c83913b5a4fed
2013-07-04convert pdf view page to .ui formatCaolán McNamara
Change-Id: I738dd72f66658f60025152c9c3db765dbcb981ac
2013-07-02... fix more -Werror=address (wrong TempFile ctor called)Michael Stahl
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
2013-07-02filter: fix more -Werror=address (wrong TempFile ctor called)Michael Stahl
Change-Id: I2242b12b75dfbd1ae6fdb4283c065168ac9df4d2
2013-07-01 fdo#66278 - MathML export: distinguish inline/display equations.Frédéric Wang
Change-Id: Ia764c2fd64ab772342ce86f67ee290ab38dc4a83 Reviewed-on: https://gerrit.libreoffice.org/4607 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29SVGWriter: fix build with C++98 compilersMichael Stahl
Change-Id: Idae0823767291081ed51a478583273daaa0cd1c3
2013-06-29SVGWriter can now be initialized properly. Removing some strange code peaces.SJacobi
Change-Id: Ia3011d002c4028008b207505352384f6bb72ce10 Reviewed-on: https://gerrit.libreoffice.org/4619 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-29String to OUString and cleanupThomas Arnhold
Change-Id: Idc18c1a6a64edea3399c8747ec0f096a2f964b68
2013-06-29remove some createFromAscii usageThomas Arnhold
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-28stray debuggingCaolán McNamara
Change-Id: Ie9408fecfdb9216a6a80d92a2c215ebf25997e9f
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28convert pdf security page to .uiCaolán McNamara
Change-Id: Ie785f4b112b8992707f886720d92bd34d0823f39
2013-06-28always call setDeferredProperties for dialog get/set titleCaolán McNamara
Change-Id: I57f9cc8fbdb9d2a304c346e03893fa55d6a61bd5
2013-06-27Always embed 14 standard Postscript fonts in PDFKhaled Hosny
Ealier version of PDF standard allowed for not embedding the so called standard PostScript fonts in the PDF files and all PDF readers had to include them or a "suitable substitute". This behaviour had many issues and is deprecated for 10 years now. The current version of PDF spec says: Beginning with PDF 1.5, the special treatment given to the standard 14 fonts is deprecated. Conforming writers should represent all fonts using a complete font descriptor. For backwards capability, conforming readers shall still provide the special treatment identified for the standard 14 fonts. This commits removes support for not embedding these fonts, and the, now redundant, option to embed them. This has the side effect of elimanating the cause of fdo#66108 and fdo#41547. Change-Id: I4f1fc4137a2de7baeef9e504f2e4f84fbec0a491 Reviewed-on: https://gerrit.libreoffice.org/4495 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-27use standard row spacingCaolán McNamara
Change-Id: Icbdc1399d4abd9222c1b1fced68c1e3012b05020
2013-06-27roundtrip VBA project blob for pptNoel Power
Need to save out the VBA project storage to ensure we don't get any nasty warnings trying to open ppt files containing old controls Change-Id: Ic2ff3ac5863ee3b901b1ee48f7d45e82dcb27ff9
2013-06-26#119467# Form controls cannot be saved into .ppt file in AOO3.4Jianyuan Li
Reported by: Du Jing Patch by: Jianyuan Li Review by: sunying
2013-06-26fdo#65123 Revert "n#782833: (PPT) Fix font size at end of para."David Tardon
This reverts commit e36d227ee584aa07fa48dda7710ac6b7a850fcc3. The description in the orig. commit: "Font size at the end of the para when there is a new(empty) line is set using an extra charprops definition." That would mean the extra StyleTextPropAtom record does not have a record header, which seems pretty fishy. I suspect the real problem is somewhere else (or the ppt is broken). But I cannot check it, because I cannot access the bug. Conflicts: filter/source/msfilter/svdfppt.cxx Change-Id: I1d555cd2905ef8f297d1a96f56bebbea8f83ad62
2013-06-25Related: fdo#65716 title substitutionsCaolán McNamara
Change-Id: I1d9fe14cdfd77ef79089cdf9c20a876238862bae
2013-06-21take a copy of the prop rather than pointer to refCaolán McNamara
follow up to af2053c318564ef56235482f058d30ae26ecf77d Change-Id: I3493077076554b714600c4bb4e93ce44bc690190