summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31Resolves: #i124085# disabled CF_DIBV5...Armin Le Grand1-0/+3
(no advantages but some problems), increased png support (cherry picked from commit c991f7cae8dcb306cb0d1f32bc5fcd8ea0a1ea81) Change-Id: I52bef1295b32eb3692a0428c96edd0c55287f34a Reviewed-on: https://gerrit.libreoffice.org/8784 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-28write (no)wrap of text only for custom shapes to .pptx (fdo#71961)Luboš Luňák2-0/+36
Apparently checking the TextWordWrap property in DrawingML::WriteText() gives false by default for objects that do not have it set, which happens to be everything except for custom shapes, which seem to be the only ones to actually obey it. So all normal text would be exported as nowrap to .pptx and read back as custom shape that has non-wrapping text. I tried to make the property return true (which is what it should be in practice), but that appears to be an exercise in futility, or I'm not mad enough to follow the complicated property sets and whatnot. So just write it out only for custom shapes. UNO purists, if any, are welcome to change the dynamic_cast to something UNO-better if they manage without an ambiguous base class error. Conflicts: sd/qa/unit/import-tests.cxx Change-Id: I3ed906285fde88d902ac9c801986a82a7515638b Reviewed-on: https://gerrit.libreoffice.org/8774 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-24fdo#75328 Do DiscoveryService socket setup off the main thread.Andrzej Hunt2-13/+26
Change-Id: I795f365981d8e7983c9f32531c9ec2ae4793c8f4 (cherry picked from commit c0fb2640665d552b39deb2192d59fa11ea701d51) Reviewed-on: https://gerrit.libreoffice.org/8643 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-17cp#1000025: Import casemaps from pptx.Muthu Subramanian3-0/+14
(Ported from: 887bc4dd3e62fe6dd19dc9d1c3ba273a5b21b5ec and 9dbcb79782d6a5b80c21a0c093537d18425b826f) Change-Id: I211491e06273aedf5c8ddbd0ca3fc35f3d168aaa Reviewed-on: https://gerrit.libreoffice.org/7848 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-12hidpi: Sidebar, fontwork, autoformat and other improvements.Keith Curtis1-0/+4
This is a second batch of HiDPI changes. It fixes the following areas: Sidebar * Impress Master pages preview * deck title height * tab (icon) bar * valueset dropdown control * wider maximum width * Draw and other misc. buttons which didn't get fixed by earlier change to Toolbar.SetItemImage There are several more sidebar issues, but it is much improved. Other changes * Writer and Calc auto-format dialog text * file-properties document image * fontwork gallery preview size * Calc table border control Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3 Reviewed-on: https://gerrit.libreoffice.org/8519 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12hidpi: Make many places Hi-DPI aware.Jan Holesovsky3-2/+5
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f Reviewed-on: https://gerrit.libreoffice.org/8517 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12n#862516: Remember slides sorter view setting.Muthu Subramanian1-0/+2
Keep the number of slides per row when moving across tabs. Change-Id: I316dac87c9dc8c88149b510f93be88940d91d98c Reviewed-on: https://gerrit.libreoffice.org/8545 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-02-13Fix unit test case.Muthu Subramanian1-1/+1
This would test for white spaces in text import. (cherry picked from commit a850e62cd26a58a6ee9f3a2c8faa75ab10e96f8f) Signed-off-by: David Tardon <dtardon@redhat.com>
2014-02-13fdo#74468 fix timing of slide transitionsDavid Tardon1-0/+3
Regression since commit 16428c9600964a4945cf6fd0d938dea047d1248b. Change-Id: Id274c21e08d10d2e727f3b5a3fd852cd297e4637 (cherry picked from commit 78ff9d90f2a74792c437087ede11559c111c5c98) Reviewed-on: https://gerrit.libreoffice.org/8029 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-02-12fdo#73363: sd: fix mis-detection of Visio files as PPTMichael Stahl1-0/+8
SdFilterDetect::detect() erroneously detects all binary MSO files, and because the Visio types would be checked after PPT, Visio is pre-empted. Change-Id: I6ec3647a508dc8d79b47bfff6de35ccae39416ee (cherry picked from commit e62339f856efa0b8ef03df3bf8b93e098c4ac0d3) Reviewed-on: https://gerrit.libreoffice.org/7976 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06fdo#33852 do not remove too much from the pathDavid Tardon1-1/+4
Change-Id: I1cf89f300530e761df5a287097d05f95d8af2017 (cherry picked from commit eba6a6789c8832f961ac7054588ed84d04b65480) Reviewed-on: https://gerrit.libreoffice.org/7899 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-02-05fdo#62082 Fix buttons in Custom animation toolbarSamuel Mehrbrodt2-40/+35
* Use small button size * Fix duplicate arrows * Change "Remove" icon * Remove no longer used icons Change-Id: I28a22704fc0696d00d97ac3b6b6fc0c98c3433ed Reviewed-on: https://gerrit.libreoffice.org/7868 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-04fdo#74519 - don't drag around and use an uninitialized variable.Michael Meeks2-6/+1
Change-Id: I08b43a6658a600398b434a0c90e0e16863402b33 Reviewed-on: https://gerrit.libreoffice.org/7856 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2014-01-16place some elements side by side to regain a lineCaolán McNamara1-55/+55
Change-Id: I9b838b6c00bc6e456adcf5d63c9936c08bf0d1aa (cherry picked from commit 5eaa0135c3ffc46ce601ea4cbaaa17eabe44e6ee)
2014-01-13fdo#73436 Let SdXImpressDocument handle css.drawing.* requests directlyStephan Bergmann1-1/+3
...instead of handing off to base class, so that potential wrapping in SdXShape (in create) is not skipped. Change-Id: I57fb10ef478688a5a0c1c3c736efbd55a7172423 (cherry picked from commit a675873cb2bad78a5da3e3b089bebf01ca60f898)
2014-01-10swap entries to optional checkbox is on last rowCaolán McNamara1-14/+9
so there isn't a hole if the remote control option is hidden Change-Id: I514b76d35ef831f4c74ea43f18b2fa812059cfd2 (cherry picked from commit 4e7333c6a66382e740748ee7dd8c48179ba62b7b)
2014-01-08designate which elements should shrink when limited widthCaolán McNamara1-2/+18
draw/impress print options page (de) Change-Id: Ie4cf8902d3db68a156d10bd4d1b2c7db33539f9c (cherry picked from commit 45b72633d1bea5e75a27f5fd93e91071e04c050c)
2014-01-07fdo#72998: Custom shapes have improper size.Muthu Subramanian2-3/+3
Change-Id: I4f8b7f80f89ad713e274acf6fc93bb415e660baf
2014-01-04Resolves: fdo#72666 safe fix for 4-2Caolán McNamara1-0/+1
Change-Id: I355f8b0f660b158cf05576e9a5a8d5fe7643d259 Reviewed-on: https://gerrit.libreoffice.org/7268 Reviewed-by: Siqi LIU <me@siqi.fr> Tested-by: Siqi LIU <me@siqi.fr>
2013-12-16initial install-package-foo target for partial installsBjoern Michaelsen1-2/+2
make packageinfo target add uiconfig file translations add missing l10n config files add missing help files in packageinfo Reviewed-on: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6982 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-12-12pages with equal Priority and Class getting droppedCaolán McNamara1-3/+8
Change-Id: Ib053dc4b6e5fb5f01f48c71a4b295a53c0ec6715 (cherry picked from commit 9790588da4b2de455ffc7a2cc69f26539823c3da)
2013-12-12fix occasional crash on dragging and dropping pages in slidesortersCaolán McNamara2-7/+38
pages go into the cache, and sometimes they get deleted before the cache gets processed. Remove deleted pages when they go away Change-Id: I291072a8541f4ca36979e9914975d81cc23a9497 (cherry picked from commit abe9d1463282690313aaf91d2a54011d10b900b9)
2013-12-10sd: PPT export: fix assert on 0-length text portionsMichael Stahl1-1/+3
Not sure if such are legit, but this should fix the crash. Change-Id: Idf8a3a67ddae464533d431f1a6a2ebea6d6c2213 (cherry picked from commit 34140139840a181157690038fe845f5b33866b10)
2013-12-05fdo#68724: sw: fix crash on Insert->File with Hybrid PDFMichael Stahl2-3/+6
This is an unfortunate combination of 2 special cases: - the Hybrid PDF has its own XFilter implementation to extract the embedded ODF document - Writer needs to create a SwReader with SwPaM for Insert Since the PDF XFilter uses a special service in sfx2 to implement the import, handling this requires a new method in SfxObjectShell that calls back into Writer to create the properly setup SwReader. Change-Id: Ie85f3bfa322bfe883c479e1cb198a8bf0cbbac23 (cherry picked from commit c5138cad87575283cdf0670355f2b2cddae93fc8)
2013-12-02Resolves: fdo#71527 make presenter console not crash/uselessThorsten Behrens4-16/+8
Basically reverts the pieces of 21ec9beae29b19b8ec6f0a16fd0e708e4f210208 to make XSpriteCanvas a XBitmapCanvas again Otherwise PresenterHelper::loadBitmap is not an XBitmapCanvas and so VclFactory::createBitmap cannot succeed (cherry picked from commit 639aa8e72639fd01e9004977f1cfaafc13b1e45f) Revert "Resolves: fdo#71527 make presenter console not crash/useless" This reverts commit 639aa8e72639fd01e9004977f1cfaafc13b1e45f. (cherry picked from commit 72aa51185fb7b1ff2ad9006f2067a680b70ab66d) Revert "Resolves: fdo#71527 don't crash in presenter console" This reverts commit bae01385c895a100b5371879889e606927cff877. (cherry picked from commit b807b2d9291a2328a55de55d67c4874803d8b7fd) Fix fdo#71527 no unguarded ptr dereference here. This is the real problem - mxPane can be validly NULL. (cherry picked from commit 1b10205c2cb952ab43e30706c05f78d6e8f642c3) Further XCanvas != XBitmapCanvas cleanup. It seems I missed a few places in 21ec9beae29b19b8ec6f0a16fd0e708e4f210208, getting that straight now hopefully. (cherry picked from commit 05d2994c136650deca2d80fedf6b14d10109986e) 0ac1a7ada530791e2d34d2f0802213c869ea48a1 d149bae0904fd6c2120209d69490d0b257ac3f64 e8d055db9bfb68cb9031fa970518343f5aec6619 34fc8df2d1ee65bef0639b3de9487ff311bed89a Change-Id: I197adf98e915102f383ee050a8ea16d1e41cecf2
2013-11-30mark non-translatable .ui strings explicitely as suchAndras Timar1-2/+2
so bin/ui-translatable.sh will not find false positives Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
2013-11-30make some .ui strings translatableAndras Timar1-1/+1
Conflicts: svx/uiconfig/ui/linkwarndialog.ui Change-Id: I3e2a93ac7521b4b484a96da22efac0b4cb52b333
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann10-17/+53
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20Merge sddll files in sdMarcos Paulo de Souza4-322/+229
Change-Id: I65de77467c929be30d8f38a4d86fa672b397aff6 Reviewed-on: https://gerrit.libreoffice.org/6714 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20fdo#70047 Only copy slides when CTRL key pressed.Andrzej J.R. Hunt1-7/+1
The dragging logic is able to determine whether or not slides are being moved or copied, previously it was forced into copying mode if no unselected slides remain, which is the case when trying to move a single existing slide (or all slides), whereas copying mode should only be enabled with the CTRL key. Change-Id: If219eb8e870ff201b71e655430828d906533fe04 Reviewed-on: https://gerrit.libreoffice.org/6564 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20convert slide design to .uiCaolán McNamara7-166/+222
Change-Id: I0ecda6e3a29e51dfd1cd36fa8b0a02c8327d4c2c
2013-11-20Resolves: fdo#71527 don't crash in presenter consoleCaolán McNamara1-2/+8
but we're now dropping slides in there for some reason so this is just a don't crash band-aid and not the fix for the deeper problem Change-Id: I2f70471d03979ffb86b6289e7a432f4505c1b556
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin2-3/+4
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin4-4/+4
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-18Related: rhbz#1014990 valgrind reports yet another unint variableCaolán McNamara1-10/+18
Change-Id: Idf6a0a1e12fffee6c090add41247723f1d9cf576
2013-11-18Related: rhbz#1014990 valgrind reports yet another uninitialized variableCaolán McNamara2-12/+33
Change-Id: Idf15ee825a34aa7788c422475aa6cea8ff802581
2013-11-18Related: rhbz#1014990 valgrind reports uninitialized variableCaolán McNamara1-0/+1
Change-Id: Ibaa2ed0ee2f1f3f00bceec91ccced968e4913e47
2013-11-18sad little semi-colon dangling in spaceCaolán McNamara1-1/+1
Change-Id: I297fb09996c694b920b4ae56e6da2f7a009c9386
2013-11-17missing translatable="yes" attributesAndras Timar2-2/+2
Change-Id: I138c8f245e4bfb2f23dd4cd8a629d8e5e3aac56b
2013-11-16cppcheck: reduce scopeJulien Nabet1-2/+1
Change-Id: Ifa54cc132f0c6591c57639f85e789b08a60b7f4b
2013-11-15convert 500th dialog (vectorize) to .uiCaolán McNamara8-337/+453
Change-Id: Ib1a8716091a16eb970c9f218f4a8e496de72ff51
2013-11-15missing .uiCaolán McNamara1-0/+175
Change-Id: Ifac13b48a951e002e2fa3eed19c2bd00ff4cca67
2013-11-15convert bullets and numbering dialog to .uiCaolán McNamara6-123/+31
Change-Id: I303684cd0d4e2f3092cc776cd0b77725d6741bc6
2013-11-15convert impress remote dialog to .uiCaolán McNamara12-142/+151
Change-Id: I4ed22a776720bd6de64d08767a03a746276acba4
2013-11-15rework to get panel and dialog working at the same timeCaolán McNamara6-212/+204
Change-Id: I0a2adcd606842c6b39665ecc641d2fd92c4eb7e7
2013-11-15convert impress table design panel to .uiCaolán McNamara7-246/+286
Change-Id: I4ed28ad5ba94c055fbab51148d9258624dcfdb14
2013-11-15convert draw table design dialog to .uiCaolán McNamara6-71/+93
Change-Id: Ieb9e7f9d2b8ff89aa83e44f4f1d3f634adf71b25
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann2-3/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14convert cross-fade dialog to .uiCaolán McNamara7-157/+212
Change-Id: I51f90299f0a2f9573dd8cfd1e6b875e7c76af125