summaryrefslogtreecommitdiff
path: root/sd/source
AgeCommit message (Collapse)AuthorFilesLines
2014-10-07Disable sdremote by default, and improve flow control.Michael Meeks1-1/+5
It was intended to disable sdremote by default when it exited experimental mode. This reverts commit 576943b9bf7506829de97d2194c4bee35a485436. Change-Id: I2c1b5443e334021bd9574316167f48b1af6200e5 Reviewed-on: https://gerrit.libreoffice.org/11837 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-09-18IsDraw doesn't mean the app/page is DrawCaolán McNamara1-2/+3
it means a slide in impress. commit 7b31e45ec7106d2cfbdbb7915d97667ba710f81c Date: Mon Jun 23 20:55:21 2014 +0100 Make Draw use paper size when printing - fdo#63905 Previously, Draw/Impress use the default size from the printer. Now Draw uses the paper size (specified in page formatting). Impress still uses the old method - not sure if this is correct but printing handouts etc probably complicate print/paper size. suggests the intent is for this to not affect Impress and to only affect Draw, so this does that (cherry picked from commit f1f89f0202232635e7fbbd7ca47de51755b2bce0) Conflicts: sd/source/ui/view/DocumentRenderer.cxx Change-Id: I481a824ef244fd837992c893f6de0c051af0a26b Reviewed-on: https://gerrit.libreoffice.org/11511 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-08-22Make Draw use paper size when printing - fdo#63905Eilidh McAdam1-5/+28
Previously, Draw/Impress use the default size from the printer. Now Draw uses the paper size (specified in page formatting). Impress still uses the old method - not sure if this is correct but printing handouts etc probably complicate print/paper size. Reviewed-on: https://gerrit.libreoffice.org/9866 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com> (cherry picked from commit 7b31e45ec7106d2cfbdbb7915d97667ba710f81c) Conflicts: sd/source/ui/view/DocumentRenderer.cxx Change-Id: If90bae4ac59cd95dd50fcd8deb25fd900756193e
2014-08-20Resolves: fdo#82355 crash on loading pptCaolán McNamara1-2/+3
regression probably triggered by... commit 2e3c45afc6c5ea74f1f8b4a7dce806e537870546 Date: Fri Mar 4 07:38:16 2011 -0800 Remove usage of deprecated List container. but that just stopped at the first NULL by chance Change-Id: I767e3bc3130d99cedceb4172857d1741c677b19b (cherry picked from commit f47baab6d35752b0babba768e299416ea5dd447d) Reviewed-on: https://gerrit.libreoffice.org/11029 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-18check TRG_HasMasterPage before TRG_GetMasterPageCaolán McNamara1-1/+1
bff + valgrind Change-Id: Ie08ddfe06dc0850cf44955cc9f9079b3856b19e3 (cherry picked from commit fad62d928a4b4cd3aa96e16d7ab8f8db0331b8c0) Reviewed-on: https://gerrit.libreoffice.org/10954 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-08fdo#81552 Fail nicely if avahi doesn't let libreoffice publish itemsBryan Quigley1-10/+18
Needed some minor changes for 4-2. Reviewed-on: https://gerrit.libreoffice.org/10735 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 3c57701cf0a169bd8d1893d1b2271d48b8072147) Change-Id: Ie264a032a71bda336158e18bd2b14c569f23f42d Reviewed-on: https://gerrit.libreoffice.org/10822 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-06bnc#862514: Handle corner case in slide sorter correctly.Jan Holesovsky1-2/+10
We should never return -1 when bIncludeBordersAndGaps is true; but that could have happened in a corner case: * export SAL_USE_VCLPLUGIN=gen * start LibreOffice * open a presentation with many slides * resize the window so that it shows the slides _exactly_, no slide is cut off in the slide sorter * point the mouse pointer into the left "Slides" sidebar (slide sorter) so that it does not cause any mouse-over effect (somehow between the left border, and the slides - there is space that can do this) * turn the mouse wheel all the way down so that the last slide is at the bottom * turn the mouse wheel up _once_ * turn the mouse wheel down _once_ - it will look like the view does not change (the last but one is still at the bottom), but you can see the scrollbar jump to the top * and now you can again start turning the wheel all the way down to repeat the procedure :-) Reviewed-on: https://gerrit.libreoffice.org/10683 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 48272a9a720039e79c6a684f1f037811ea42ed0c) Change-Id: I0253c89513222a1f2eb3263068997d10eea0f130 Signed-off-by: Matúš Kukan <matus.kukan@collabora.com>
2014-07-15fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida1-0/+10
When creating an embedded chart object during import, we don't want to create a default chart which would only mess up the chart data. With this change, ChartModel::initNew() is a no-op. (cherry picked from commit c5539bb585370f095cb6c09e38a7dd005d237295) Signed-off-by: Andras Timar <andras.timar@collabora.com> Conflicts: chart2/source/model/main/ChartModel_Persistence.cxx sc/source/ui/drawfunc/fuins2.cxx sw/source/uibase/table/tablemgr.cxx Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc (cherry picked from commit 1eccdc5c39587d4019cb4c88f8483b1fe14d5dda) Signed-off-by: Andras Timar <andras.timar@collabora.com>
2014-07-15fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida10-21/+35
(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9) Signed-off-by: Andras Timar <andras.timar@collabora.com> Conflicts: xmloff/source/chart/SchXMLExport.cxx sd/source/ui/view/sdview3.cxx chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx chart2/source/controller/main/ChartTransferable.cxx chart2/source/controller/main/ChartTransferable.hxx chart2/source/model/main/Axis.cxx chart2/source/model/template/ChartTypeTemplate.cxx chart2/source/tools/AxisHelper.cxx chart2/source/view/main/ChartView.cxx comphelper/source/container/embeddedobjectcontainer.cxx dbaccess/source/ui/browser/dbexchange.cxx dbaccess/source/ui/inc/JoinExchange.hxx dbaccess/source/ui/inc/TableRowExchange.hxx dbaccess/source/ui/inc/dbexchange.hxx dbaccess/source/ui/querydesign/JoinExchange.cxx dbaccess/source/ui/tabledesign/TableRowExchange.cxx embeddedobj/source/commonembedding/persistence.cxx embeddedobj/source/inc/commonembobj.hxx include/comphelper/embeddedobjectcontainer.hxx include/svtools/embedtransfer.hxx include/svtools/stringtransfer.hxx include/svtools/transfer.hxx include/svx/dbaexchange.hxx include/svx/dbaobjectex.hxx include/svx/fmview.hxx include/svx/galmisc.hxx include/svx/svdobj.hxx include/svx/svdoole2.hxx include/svx/svdxcgv.hxx include/svx/view3d.hxx include/svx/xmlexchg.hxx include/xmloff/xmlexp.hxx reportdesign/source/ui/dlg/GroupExchange.cxx reportdesign/source/ui/dlg/GroupExchange.hxx reportdesign/source/ui/inc/dlgedclip.hxx reportdesign/source/ui/report/dlgedclip.cxx sc/inc/column.hxx sc/source/ui/app/drwtrans.cxx sc/source/ui/app/lnktrans.cxx sc/source/ui/app/seltrans.cxx sc/source/ui/app/transobj.cxx sc/source/ui/inc/drwtrans.hxx sc/source/ui/inc/lnktrans.hxx sc/source/ui/inc/seltrans.hxx sc/source/ui/inc/transobj.hxx sc/source/ui/inc/viewfunc.hxx sc/source/ui/view/viewfun5.cxx sc/source/ui/view/viewfun7.cxx sd/source/ui/app/sdxfer.cxx sd/source/ui/dlg/sdtreelb.cxx sd/source/ui/inc/TabControl.hxx sd/source/ui/inc/View.hxx sd/source/ui/inc/sdtreelb.hxx sd/source/ui/inc/sdxfer.hxx sd/source/ui/view/sdview2.cxx sd/source/ui/view/tabcontr.cxx sfx2/source/doc/objxtor.cxx svtools/source/misc/embedtransfer.cxx svtools/source/misc/stringtransfer.cxx svtools/source/misc/transfer.cxx svtools/source/misc/transfer2.cxx svx/source/engine3d/view3d.cxx svx/source/fmcomp/dbaexchange.cxx svx/source/fmcomp/dbaobjectex.cxx svx/source/fmcomp/xmlexchg.cxx svx/source/form/fmexch.cxx svx/source/form/fmview.cxx svx/source/gallery2/galmisc.cxx svx/source/inc/fmexch.hxx svx/source/svdraw/svdoole2.cxx svx/source/svdraw/svdxcgv.cxx svx/source/tbxctrls/colrctrl.cxx sw/source/core/uibase/dochdl/swdtflvr.cxx sw/source/core/uibase/inc/swdtflvr.hxx sw/source/core/undo/unins.cxx Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a (cherry picked from commit 4ee53683df4beda260aff26d2c9e56fe643f45bb) Signed-off-by: Andras Timar <andras.timar@collabora.com>
2014-07-15fdo#81284 Don't write to zero length filesMaxim Monastirsky1-0/+6
Change-Id: I4eddcda3977f43b39abdaa8d9089ff661092361c Reviewed-on: https://gerrit.libreoffice.org/10310 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-14sd: stop calling graphics styles "Image Styles"Michael Stahl2-2/+2
(regression from a71a562a9958fc58a5fb914bcf7f8056a353f618) Change-Id: Ie3a44a80c720f59831bc2b1da91792fb8aa24d62 (cherry picked from commit b55b96589f7fe0b2f426c2472da7174ab95aab87) Reviewed-on: https://gerrit.libreoffice.org/10307 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-10Resolves: #i119287# corrected default style for draw objects...Armin Le Grand1-0/+16
created using UNO API (cherry picked from commit d07778f62ed386672a60ef7570a89b5fa109e026) Conflicts: sd/source/ui/unoidl/unopage.cxx (cherry picked from commit 0aa3dee5e88a1494a7a6a8401e084cbdb4324727) Signed-off-by: Andras Timar <andras.timar@collabora.com> Conflicts: sd/source/ui/unoidl/unopage.cxx Change-Id: I016d801edefb5ab32b7b6a8e13a1dc3e8fdb866e
2014-06-30fdo#63378 Enable Impress Remote Dialog menu item for all view shells.Andrzej Hunt2-0/+24
Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c (cherry picked from commit d61468314bbfd2a79929b48e62d7e5ed354ab79b) Reviewed-on: https://gerrit.libreoffice.org/9976 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-27fixes for up-casting to Reference<XInterface>Noel Grandin2-3/+3
Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Signed-off-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 533c6cb6bad6ef0432e8eebbfd4daf90ef71f3b4) Conflicts: framework/source/uifactory/menubarfactory.cxx Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Reviewed-on: https://gerrit.libreoffice.org/9921 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-10Resolves: fdo#79360 impress hangs on using sidebar new styleCaolán McNamara3-22/+34
because those styles are "pseudo-styles" and a new one cannot be added. The possibility is supposed to be disabled, and it is disabled in the floating stylelist. The old code assumes there can only be one of these stylelists and when a stylelist queries if the "new" should be disabled the callback asks the stylelist what family is selected, but only asks the floating one. So, floating closed, sidebar open, the new is not disabled. Implement the ancient TODO now that we have to. Instead of asking the stylelist what family is selected, query the frame for what is the current SID_STYLE_FAMILY as set by whatever is the active stylelist. What's disturbing is the SID_STYLE_FAMILY values are not SfxStyleFamily, but indexes that have to be mapped to SfxStyleFamily. I bet there are a pile of bugs around that, especially with little islands of different conversion codesites (cherry picked from commit 7a211e834fc271d3f28d7f8c49197c925242d862) Conflicts: sfx2/source/appl/appmisc.cxx convert from NId to FamilyId instead of FamilyId to NId should be equivalent for comparison purposes (cherry picked from commit f48f5138ecedd3bb9ec0b454b9fe216001610156) remove unused virtual method, slim this down initially (cherry picked from commit fa551c422426962194b6bff4234f12eb5bdf57ca) (cherry picked from commit 3988f17d14ee28b4bb117ca9961708ad3a867fb1) Conflicts: sd/source/ui/view/drviewsf.cxx sfx2/source/appl/appmisc.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/inc/templdgi.hxx sw/source/core/uibase/app/docst.cxx Change-Id: I85c8032d7c26ae6eea245685748f89b2a860e767 Reviewed-on: https://gerrit.libreoffice.org/9573 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-06-10Resolves: fdo#78404 #i123468# Added SdrEndTextEdit before replacing...Armin Le Grand1-0/+8
EmptyPresObj, also secured ReplaceObjectAtView to check for active TextEdit, assert this and make an emergency correction (cherry picked from commit 623cd778689bd0851652b2db00b24c308dfb657a) Conflicts: svx/source/svdraw/svdedtv.cxx (cherry picked from commit 3b729ab35b5064dcd21f125dfd0aa7d7e709fd9f) Change-Id: I0e9ae1b1cd84e04c37c4de38aca7752804782384 Reviewed-on: https://gerrit.libreoffice.org/9482 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-06-05Resolves: fdo#78953 secured usage of LayerTabBar in Draw...Armin Le Grand6-21/+81
was #i87182# secured usage of LayerTabBar in Draw... ensured initialization when used as OLE (cherry picked from commit 903afaa8ea0766e01ba41a227d2794c2c40b129a) Conflicts: sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx sd/source/ui/view/drviews3.cxx sd/source/ui/view/drviews7.cxx sd/source/ui/view/drviewsb.cxx (cherry picked from commit b1cf64fe51fd0bb1e9bc8c3bb38d5cc7254d8d5f) Conflicts: sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx sd/source/ui/view/drviews3.cxx sd/source/ui/view/drviews7.cxx Change-Id: I86bb17bf422356247a319f89e54d1ead97b368b8 Reviewed-on: https://gerrit.libreoffice.org/9654 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-05-25fdo#64047: n#863021: Add set-all language menu.Muthu Subramanian2-0/+120
Problems: * Doesn't reset the spell error markers * Modifies only at object level * Currently has only setting for 'all text' * Maybe provide a current slide only option? Change-Id: I4695423fed3ed9422185b23803eedd12ef434bea (cherry picked from commit 0833f4046a1afa77aeed97a131c5325c44be1bb3) Signed-off-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/9314 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-25CustomAnimationCreateDialog: select previously set misc animationZolnai Tamás1-1/+1
Regression from 9695f38ca4ab26b40524f2eade98c45f0360131d. Change-Id: I8777fd8fa3e31c67b6645044d262fd4c5f645634 (cherry picked from commit dd1f8ac3575a929e71b39d5f7043be057ebaa727) Reviewed-on: https://gerrit.libreoffice.org/9480 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21Related: fdo#78151 fix 'pIds unsorted' warningCaolán McNamara1-2/+2
Change-Id: I00c533a25a851d8bf57f1b0758e98915d2291ee9 (cherry picked from commit 52871279e9811d437ebe881e30b6c76208c84e65) Reviewed-on: https://gerrit.libreoffice.org/9413 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-05-15Revert "fdo#45260: Objects having line thickness misplaced while pasting."Andras Timar1-3/+1
This reverts commit c35c4769d8cabe0f01ef9911056d7a9d1d2f4b04. Fixes fdo#78413 Change-Id: If0865cced045410d4e8f9603b55568ade6781b39 (cherry picked from commit de8f5f2af78877bc63b462195ce63341f6ba7817) Reviewed-on: https://gerrit.libreoffice.org/9297 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-15Related: rhbz#1071604 don't paint anim. effect iconDavid Tardon1-1/+2
... unless the slide does have custom animations. This drops dep of Draw on libanimcore, which is in module impress, so it might not be present. If it is not present, the Pages panel is not drawn. Change-Id: I9d7377a4fb3289e230887752bc4a105ca1c9f812 (cherry picked from commit 90af0348216a5a3c2eecd660e012500d2917b279) Reviewed-on: https://gerrit.libreoffice.org/9300 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-09rhbz#1071604 don't crash if slide layout configs are missingDavid Tardon1-12/+26
Change-Id: I5cbf4ed0683cc5736a45fb980827b1b56bd0c74c (cherry picked from commit df71f13b80c30cb98e310baf8f6aee11f8cbe81d) Reviewed-on: https://gerrit.libreoffice.org/9289 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-05-07Application::PostUserEvent returns a pointer dressed as sal_uLongStephan Bergmann2-2/+2
cherry picked from commit ce53796bfaf6df5c4415fda8f641cad8a3e144a6, plus more cases from 93f5d5a9190e0e03bf4822663652a4b068c44f75: "The opaque PostUserEvent IDs are actually pointers so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing 'too late' and probably causing a crash." Change-Id: Ia5ca45e35766a7cebf0b53bcac1bd9dff29ad6ea Reviewed-on: https://gerrit.libreoffice.org/9259 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-28Related: rhbz#1032774 slide restarter should disable auto-exitCaolán McNamara3-6/+22
The scenario is a pps that exits the app when the presentation is complete. But using "switch screens" in the presenter console will stop and restart the presentation. So protect that "stop" against existing by disabling the autoexit and restoring it afterwards (cherry picked from commit b7197cfe5d207b171412760c6d72353f31947e93) Conflicts: sd/source/ui/slideshow/slideshow.cxx Change-Id: Id986ad7e3cfafb8068540fb90d05443f329b554c Reviewed-on: https://gerrit.libreoffice.org/9166 Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com> Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-04-27do not crash when pasting impress page into another impress page (cp#1000067)Luboš Luňák1-0/+2
Put an Impress page into clipboard, create new document, click 'Click to add title', paste -> crash. Introduced by 5aee0c13cc62a81a38d4132db7972dc301c21b3d. Change-Id: Ibe61a780244ce98205e5ae3964971d7d75e30870 (cherry picked from commit dffcd67a9a9865c9eca9756eea4e85445b50a15e) Reviewed-on: https://gerrit.libreoffice.org/9178 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-04-24Resolves: fdo#60040 crash after undoing master page applicationCaolán McNamara1-7/+7
regression since 839cb94a2bd9dfadb6a7e11a97f0540a78f79b6b Change-Id: Ie7068ecd1655ecae169948dc1e08330dc4200bf9 (cherry picked from commit f756fb84a1629d455ccbd7af1f3975ac307fb957) Reviewed-on: https://gerrit.libreoffice.org/9150 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-04-18coverity#1202882 Dereference before null checkCaolán McNamara1-3/+2
Change-Id: Ie61df08c11b687c0b4a3ae212b3f9a6c95171396 (cherry picked from commit c152349f69acfb6bb873ed1cd12ca1b6dc325f1f) Reviewed-on: https://gerrit.libreoffice.org/9095 Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com> Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-04-17fdo#74697 Add Bluez 5 support for impress remote.Andrzej Hunt3-72/+605
This time we: - Don't break SAL_WARN with an fprintf like syntax. - Replace DBUS_TYPE_UNIX_FD with it's definition 'h' as we might be building on dbus-glib versions that do not support it (however presumably anyone running bluez 5 will have a dbus version that is new enough to support this, i.e. purely a build-time issue). - Remove various C++11'isms. Change-Id: I736cad2122cd3789a5c7fb62c39e409d41fc1e32 Reviewed-on: https://gerrit.libreoffice.org/8924 Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com> Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> (cherry picked from commit b15666fd7582729c75bd0dd1bd0cb5d7c5a77f0c) Reviewed-on: https://gerrit.libreoffice.org/8931 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-04-17Resolves: fdo#76916 'User paths' is missing in tab MotionMotion Paths tabCaolán McNamara1-4/+4
(cherry picked from commit 8b9858b0aeae8bfb3af6dd8fcfce6cecdb9b8fab) Conflicts: sd/source/ui/animations/CustomAnimationCreateDialog.cxx Change-Id: I38deeae3135badde23b9d454d548193af654caab Reviewed-on: https://gerrit.libreoffice.org/9076 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-04-16Slideshow: Fix regression related to media animationsZolnai Tamás1-1/+1
Misc effects tab page animations were lost. Regression from 9695f38ca4ab26b40524f2eade98c45f0360131d. Change-Id: I81f7321d7dd87f5b0f6b4acbecbd60241ab1e430 (cherry picked from commit 81e98150cc04ad764abc668dc12b91d3de90369e) Reviewed-on: https://gerrit.libreoffice.org/9054 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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-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 Holesovsky1-0/+3
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-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 Mehrbrodt1-2/+0
* 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-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-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-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-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 Souza3-320/+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>