summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2013-05-18Resolves: #i116244# need to reset rotation...Armin Le Grand1-115/+115
This reverts commit f47ed987388e4df58ba74b9aca574a7d1fba396a. update layout tests Change-Id: I8a9daaa78acc98bf497241ebce856d5798b187f5
2013-05-18Resolves: #i118267# Add undo actions for adapted arrowhead sizes...Armin Le Grand1-6/+24
when linewidth is changed (cherry picked from commit 8e63413dbf514303095790630a2d77d854c3da95) Change-Id: I538805726ca29e3cdb05dc32577b91b7157d0e0f
2013-05-18Add unit test for xml:id loading.Thorsten Behrens2-0/+52
Guard against xml:id load breakage, that cause fdo#64512 and fdo#60075. Both connector shape and animation references need it to work. Change-Id: I7883d1d27eae02f605c83217a2e1b83934b31483
2013-05-16bnc#819614: Test for the runaway lines fix.Jan Holesovsky3-1/+6884
Change-Id: I60c072720392822eb5866310f3607271d72815b7
2013-05-16XShapeDumper: Dump more values, to be able to test n#819614.Jan Holesovsky6-281/+7529
Change-Id: I19cbae855996bffb18206b9003e22a2bcc0c75d9
2013-05-15Resolves: #i119551# Avoid grouping shapes on import from PPT...Andre Fischer1-15/+42
under certain conditions. Reported by: Li Feng Wang Patch and review by: Ma Bingbing and Armin Le Grand (cherry picked from commit f425d556504e055216d9402241ff598a97204509) Conflicts: sd/source/filter/eppt/epptso.cxx (cherry picked from commit 8c23e31acc61406103c1565960e4c5b391902754) Change-Id: I7e610b754ff7215201bc1ac47d618869e4e8fe2b
2013-05-15Revert "Resolves: #i119551# Avoid grouping shapes on import from PPT..."Caolán McNamara1-42/+15
This reverts commit 8c23e31acc61406103c1565960e4c5b391902754. wrong one
2013-05-15Resolves: #i119551# Avoid grouping shapes on import from PPT...Andre Fischer1-15/+42
under certain conditions. Reported by: Li Feng Wang Patch and review by: Ma Bingbing and Armin Le Grand (cherry picked from commit f425d556504e055216d9402241ff598a97204509) Conflicts: sd/source/filter/eppt/epptso.cxx Change-Id: I7e610b754ff7215201bc1ac47d618869e4e8fe2b
2013-05-15sd unittests: Do not dump the font name, depends on installed fonts.Jan Holesovsky11-83/+83
Change-Id: Id401feed7d629cbc0c24428b0c1273afdb31be89
2013-05-15sd unittests: Update XShapeDumper to dump also (some) font properties.Jan Holesovsky11-317/+317
+ update the expected dumps together with that. This allows testing of the other part (wrong text color and size, commit 55c63ccfd460895af22e91979967cec15d80b72d) of n#758621 too. Change-Id: Ie93feb9d9d05eb4e11106bf9aa1f237947351b4e
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist13-32/+32
2013-05-15fdo#64586: Fix incorrect import non-empty placeholders + unit test.Jan Holesovsky4-3/+34
Change-Id: Ibcb61dfa12c67fd9f93713ba7eb93f947b122f07
2013-05-14adapt code to use paste special .uiCaolán McNamara1-181/+0
Change-Id: Iaac28f442aa38dd6610c89ba04ea2d1ccfca35c5
2013-05-14sd unittests: Fix the loading of .ppt tests, and introduce test for n#758621.Jan Holesovsky5-20/+108
This also adds instructions how to easily add tests for which it is enough to check the drawinglayer dump. Change-Id: Ieaf261a9be0c8da2fa81c075dadebcac0c07def5
2013-05-14sd unittests: Cleanup in filters-test.Jan Holesovsky1-52/+1
Change-Id: I4dde07c4f796fa33b23cc3e67924270bb3e45ec1
2013-05-14sd unittests: Move Autofit test to the import tests.Jan Holesovsky2-20/+20
Change-Id: I6c49345fa518f19c942ff0fd7849c689d0cd5db6
2013-05-14sd unittests: Move a smoketest where it belongs.Jan Holesovsky3-31/+31
Change-Id: I495f8698f58a2a4a11999e8e439eddd6a703b321
2013-05-14sd unittests: Reorganize the Impress tests to be a bit more focused.Jan Holesovsky2-194/+179
Change-Id: I222c824681fc7bcc25c6f591f09c69fae8c812ec
2013-05-14sd unittests: Better name for the import tests.Jan Holesovsky3-15/+15
Change-Id: I62c47cbfd71e7606770552368e97e1c92fadf211
2013-05-14typo fix: s/inavlid/invalid/Andras Timar1-1/+1
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
2013-05-14this .ui is unneccessary, zoom is already converted (in cui)Caolán McNamara1-368/+0
Change-Id: I7e5b6523f3595667d3d1bfe42d864d5c7476bf43
2013-05-13zoomandviewlayout.ui widgetAlia Almusaireae1-0/+368
Change-Id: I8d607a5960ffc3c69ffa97ca3e2ebae555044581 Reviewed-on: https://gerrit.libreoffice.org/3794 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13pastespecial.ui widgetAlia Almusaireae1-0/+181
Change-Id: I1e26bfe16a64aee8d94dc6a8042a8a4cd722ade1 Reviewed-on: https://gerrit.libreoffice.org/3790 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13Related fdo#35546: Remove "1 Image with Title" Layout for Photo Album DialogSamuel Mehrbrodt3-153/+45
There will be an option for all Slide Layouts to have a title. Discussed and decided here: https://wiki.documentfoundation.org/Design/Meetings/2013-05-11 Change-Id: I891511d6cf8183e45b41a9358f4821f7de551836 Reviewed-on: https://gerrit.libreoffice.org/3858 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13restore STR_PHOTO_ALBUM_TEXTBOX to fix buildCaolán McNamara2-0/+6
Change-Id: I7b8924406735d687cf16123880942530a8b42c7a
2013-05-13Related fdo#35546: Remove the "Text box" function from Photo Album DialogSamuel Mehrbrodt5-281/+196
This has been discussed and approved in the Design Team IRC Chat on 2013-05-11 Change-Id: I70b861c09af2dfa79c9f773a47791b101888c8f9 Reviewed-on: https://gerrit.libreoffice.org/3857 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13Related fdo#35546: Further improve Layout of Photo Album DialogSamuel Mehrbrodt1-243/+231
With suggestions from http://nabble.documentfoundation.org/Streamlining-the-Photo-Album-Creator-td4054397.html * Moved "Album Layout" to the right * Changed buttons to GTK Stock buttons, added VCL equivalents * Improved the wording of the Layout options Change-Id: Icfb24a8678d096bb596bcdeabbf539e9fe1835db Reviewed-on: https://gerrit.libreoffice.org/3852 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13Related fdo#35546: Simplyfy Code in Photo Album DialogSamuel Mehrbrodt2-71/+17
Create a method for enabling/disabling the Up/Down/Remove buttons. This also fixes some wrong behavior. Change-Id: Ie40a4f3bb4402b988071b315617404c802b7e92a Reviewed-on: https://gerrit.libreoffice.org/3855 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13fix buildCaolán McNamara1-1/+1
Change-Id: Ib29160cc3468bc4a06e269e5cd5121d5689cb1dc
2013-05-13Resolves: #i120172# Add missing undo action for changing PresObj indexAndre Fischer1-0/+7
Reported by: Shan Zhu Fixed by: Andre Fischer (cherry picked from commit 1289f5be48f50b38b16fb0ad34c7743317e8c79d) Change-Id: I6c65dbe9bc87a64ebb2b46a9dc2fda855900c810
2013-05-12Resolves: #i118813# Update slide sorter after page format is modifiedAndre Fischer2-14/+31
(cherry picked from commit b8f5370aeea74b68333885450f7ec34918c1d8c8) Conflicts: sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx Change-Id: I42553defdce1636190e8c5c226774135e179e25d
2013-05-12Resolves: #i119740# Fixed export of fill property of animations to PPTAndre Fischer1-0/+10
Patch by: Tang Meng Review by: Andre Fischer (cherry picked from commit c4c014f74afaa9ca1b31c750b0445cf3f34e61a6) Change-Id: I5a57fed3b8ee13d88eaed6ed6e98a6d167f9fa89
2013-05-12bnc#758621: Set presentation object as non-empty only if not a placeholder.Jan Holesovsky1-3/+3
Based on work of Felix Zhang <fezhang@suse.com>, thank you! Change-Id: I26c7cef17b9a5f3d73107b5c974983e58c347d52
2013-05-12bnc#758621: We don't need this index for anything.Jan Holesovsky1-9/+1
Worse, it prevents us to enter part of the code that we need to execute in some (valid) circumstances. Change-Id: I15084b5efa10fbd5cd0d42856c2745c93d6765da
2013-05-12bnc#758621: Kill unused aPlacementId, it is never set.Jan Holesovsky1-2/+3
Based on work of Felix Zhang <fezhang@suse.com>, thank you! Change-Id: I733a2b69d01f86bcaf0fa401671d475d9b4641a6
2013-05-12Revert "bnc#758621: show preset texts in slide placeholder"Jan Holesovsky1-35/+7
This reverts commit 95bb951826c7fbaafb055008416f4f1d5cfc95dc. Mid-air collision :-) I've been working on an improvement based on this patch when Muthu pushed it - the following commits are based on the Felix's work, thank you Felix! Change-Id: I12d649219911815e6b97d62f4584fa4d258d8917
2013-05-12Resolves: #i119902# Rename all master pages in a template...Andre Fischer1-2/+11
not only the first one. Patch by: Ma Bingbing Review by: Andre Fischer (cherry picked from commit 7daa651fbc74a6fc08d713282b9e25cda14e39e9) Change-Id: Ibd8bf8c6f04785c93b7dae70b57fd9eb14623aaf
2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl3-0/+6
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke28-116/+121
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-10bnc#758621: show preset texts in slide placeholderFelix Zhang1-7/+35
2013-05-10WaE: private field 'pFilenameLab' is not usedTor Lillqvist1-2/+0
Change-Id: I1c68a1fd425d54e2d01ff63580e62dc0fb6416e2
2013-05-09icoverity#705451: comparison of array against NULLMarkus Mohrhard1-3/+1
Change-Id: I544760548866d55807a3291a31b4ce948a751946
2013-05-09Related fdo#35546: Cosmetic fixes for Photo Album DialogSamuel Mehrbrodt2-83/+57
* Display spaces in filenames correctly * Adjust Spacing in Dialog * Remove the label showing the full path Change-Id: I5c5d3d54b7e21063628c4cdb4a92f534ec4a3088 Reviewed-on: https://gerrit.libreoffice.org/3834 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-09fdo#56995 Created global option to disable presenter console in Impressmmeof6-4/+34
Changes made are as Follows /officecfg/registry/schema/org/openoffice/Office/Impress.xcs To add the new global checkbox to Libreoffice Impress>General>Start A new xml block for EnablePresenterScreen was added <prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" > /sd/source/ui/app/optsitem.cxx To add the setter/getter for the new checkbox button, namely: SetEnablePresenterScreen IsEnablePresenterScreen EnablePresenterScreen added to index number 26 of: GetPropNameArray() /sd/source/ui/dlg/tpoption.cxx SdTpOptionsMisc() editted to attach EnablePresenterScreen to CBX_ENABLE_PRESENTER_SCREEN aCbxEnablePresenterScreen ( this, SdResId( CBX_ENABLE_PRESENTER_SCREEN)) Also Added to FillItemSet() and Reset() functions /sd/source/ui/dlg/tpoption.src b/sd/source/ui/dlg/tpoption.src enableSdRemote size changed to Size = MAP_APPFONT ( 116 , 10 ) ; Pos = MAP_APPFONT ( 12 , 171 ) ; 158 was correct but 171 was added on request To allow enableSdRemote(CBX_ENABLE_SDREMOTE) and enablePresenterScreen( CBX_ENABLE_PRESENTER_SCREEN) to be drawn adjacent. enablePresenterScreen checkbox CBX_ENABLE_PRESENTER_SCREEN added /sd/source/ui/inc/optsitem.hxx Set default value for enablePresenterScreen as 1 or TRUE sal_Bool bEnablePresenterScreen : 1; Added getter/setter named same as above for interface definition sd/source/ui/inc/tpoption.hrc Defined CBX_ENABLE_PRESENTER_SCREEN as 42nd checkbox #define CBX_ENABLE_PRESENTER_SCREEN 42 /sd/source/ui/inc/tpoption.hxx Added interface declaration of aCbxEnablePresenterScreen which was attached to CBX_ENABLE_PRESENTER_SCREEN /sdext/source/presenter/PresenterScreen.hxx Added interface declaration of bool isPresenterScreenEnabled() to PresenterScreen class to allow presenterscreen to get if the option is checked /sdext/source/presenter/PresenterScreen.cxx Added definition of isPresenterScreenEnabled(const css::uno::Reference<css::uno::XComponentContext>& rxContext) Input : Current Process Context Output : The 0/1 value of EnablePresenterScreen from presenterconfig In PresenterScreenListener::notifyEvent( ) Added if(mpPresenterScreen->isPresenterScreenEnabled(mxComponentContext) mpPresenterScreen->InitializePresenterScreen() To initialize PresenterScreen only when enabled Change-Id: If8242e607323df57d8e78d08cf2129d03c0c9e4f Reviewed-on: https://gerrit.libreoffice.org/3762 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-09Resolves: #i121233# Added bitmap scaling methods BMP_SCALE_SUPERArmin Le Grand6-8/+8
added from symphony, also BMP_SCALE_LANCZOS, BMP_SCALE_BICUBIC, BMP_SCALE_BILINEAR and BMP_SCALE_BOX. Changed defaults for internal scalings, enhanced PDF export when reduched DPI is used, added BMP_SCALE_BESTQUALITY and BMP_SCALE_FASTESTINTERPOLATE as new default for Bitmap::Scale (cherry picked from commit bf734a151dc5169b65cf5d2a127e4142b765326c) Conflicts: canvas/source/vcl/canvasbitmaphelper.cxx canvas/source/vcl/canvashelper.cxx sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/pdfwriter_impl2.cxx vcl/source/helper/canvasbitmap.cxx (cherry picked from commit 593c86280b64d97725adde0c0a0cc4f090fb2310) Change-Id: I41cf0a7e11bdbc6510e22e762486420995ba739b
2013-05-09Related fdo#35546 Improve Layout of "Insert Photo Album" DialogSamuel Mehrbrodt2-149/+132
No Objections from the Design list: http://nabble.documentfoundation.org/Streamlining-the-Photo-Album-Creator-td4054397.html Change-Id: Ib880023b956c6d94d8110829d0c32281854a0705 Reviewed-on: https://gerrit.libreoffice.org/3833 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-08make clear that this is a false positive reportMarkus Mohrhard1-1/+1
2013-05-08svx: remove Package_sdiMichael Stahl3-6/+8
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
2013-05-08sfx2: remove Package_sdiMichael Stahl3-4/+6
There are just a handful of sdi files in sfx2 anyway so just put sfx2/sdi on include path. Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-07oox: remove Package_generated and Package_tokensMichael Stahl1-0/+4
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8