summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-09-27fdo#53682 Merge 'Insert Image' and 'Insert Audio/Video' in submenuSamuel Mehrbrodt
Change-Id: I4ddbd134ba15a48c0c529a11bcb1cd1f71f3a51a
2014-09-26fdo#83808 Scale images proportionally by default in Impress/DrawSamuel Mehrbrodt
Change-Id: I16cacb90150aef3aa2ad4607e05298f0bc47c1ae
2014-09-26remove unnecessary casts in misc calls to SvStream.Write*Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: Ib80032e8626f5476a89b958f590441994594f4e4
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
2014-09-26remove unnecessary casts in calls to SvStream.WriteInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26remove unnecessary casts in calls to SvStream.WriteInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: Ie44bec6b988f3e46fe78d14b740818c9141f5df0
2014-09-26remove unnecessary casts in calls to SvStream.WriteUCharNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
2014-09-26remove unnecessary casts'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-26remove unnecessary static_cast'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods e Please enter the commit message for your changes. Lines starting Change-Id: Ibfe7635451ef7b8813d7a59c78c5223092a17ad5
2014-09-26bnc#897769: OOXML import: Import border lines using reference too.Matúš Kukan
Do not ignore 'lnRef' element. Also fix typo to apply 'seCell' properties to the right cell (southeast). Change-Id: Ia45f7016f358b70e6db06a232c569335ce9d7051
2014-09-25fdo#84235 Remove Navigator from Context menuSamuel Mehrbrodt
Change-Id: Ie84fe35db0dfca08e2b270636f06bef90c1455ab
2014-09-25Fix validation problems pointed out by CppunitTest_sd_export_testsMiklos Vajna
Regression from e8bdd38882522591723097c028ca7a6927ee70c4 (fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptx, 2014-09-11), there were two problems here: 1) Using the wrong filter when the output is expected to be suitable for validation. 2) Writing empty custom property values, which is not valid. Change-Id: Ic18c789c53bd40cc8aa07385cb5fd0d5c7ada6ab
2014-09-25fdo#83751- Add test case for custom properties in pptxHeena Gupta
Change-Id: I83fb0462c662e0da1f1c5c6dfec4bd8d94d97b87 Reviewed-on: https://gerrit.libreoffice.org/11420 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-25fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptxHeena Gupta
Change-Id: Ic4b8acfc3cbd8c86b765a950d61742c229f3fb6d Reviewed-on: https://gerrit.libreoffice.org/11390 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-25editeng: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I25e3599a37d720cbcf70ea13ab30234e54637d53
2014-09-25fdo#63483: support for modify passwd in Impress and DrawKatarina Behrens
iow, allow opening Impress and Draw ODF documents read-only Change-Id: I379b9f92b9bfb20e99998177d9a5fae80069d98f Reviewed-on: https://gerrit.libreoffice.org/11495 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-25Stop using unnecessary std::auto_ptrTakeshi Abe
No need to allocate mpMasterPages dynamically. Thanks David Tardon for pointing it out. Change-Id: Id91ce50b190c7807f4c59d211110c28409c244ca Reviewed-on: https://gerrit.libreoffice.org/11484 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Revert "fdo#73151 Always open Styles&Formatting dialog in the sidebar"Stephan Bergmann
This reverts commit 473ed449a4b6f550dc1af47a07c6e0ef243a98b2, which made JunitTest_toolkit_unoapi fail, as AccessibleDropDownListBox.createTestEnvironment (qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java) was no longer able to find its AccessilbeRole.COMBO_BOX AccessibleDropDownListBox, which it apparently expected to find in a docked stylist (cf. DesktopTools.dockStylist in AccessibleDropDownListBox.initialize).
2014-09-24Fix falloutSamuel Mehrbrodt
from e16c8534f446a7cc311d6d5026aae5457e4f8e6c Change-Id: I05154dd06b062aaf7fdffe1aa3792f9710293021
2014-09-24fdo#47302: Added insert->fields->page title buttonJennifer Liebel
Change-Id: Iebc8298a7e6a7d423d2667eec8a46a936cc4d2cd Reviewed-on: https://gerrit.libreoffice.org/11599 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24fdo#73151 Always open Styles&Formatting dialog in the sidebarSamuel Mehrbrodt
This removes the floating window for Styles&Formatting as discussed in fdo#73151. Change-Id: I352d27a4d30632dcfda8963c23629e62ab850524 Reviewed-on: https://gerrit.libreoffice.org/11253 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24Replace some std::auto_ptr function parameters with std::unique_ptrStephan Bergmann
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-24unused using-declarationsMatúš Kukan
Change-Id: I2bfb15821579b2636f6ae6b453b821ddfa0ccfcc
2014-09-23Fix build breakages with gcc 4.7. It doesn't like '<::'.Kohei Yoshida
"<::" -> "< ::" Change-Id: Ie83b0e6c09972b175ce72e37d20b5122a16e922b
2014-09-23loplugin: cstylecast, update PTR_CAST macro to use static_castNoel Grandin
I introduce a template method into the PTR_CAST machinery to maintain constness. There is now a FIXME in sd/../docshell.cxx because I needed to use a dynamic_cast there to work around the games it appears to be playing with OLE in-place activation. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, dropping the GCC-extension, unnecessary use of typeof from tools/rtti.hxx Change-Id: Iba5ace1aa27e02b34fcc91af1e658c43371afd03
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23n-up printing done by vcl, brochures by draw/impressCaolán McNamara
Change-Id: If38365d949ad91d50138798a0a386f9543eb4f22
2014-09-22fdo#78826 HIG: missing colons and capitalization in sdAdolfo Jayme Barrientos
* Title Case for headings and command buttons * Sentence case for radio buttons, check boxes, etc. Change-Id: I68342d2f4c66e2253dded31d80783b3629a3d1d6 Reviewed-on: https://gerrit.libreoffice.org/11577 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-22remove unused fields pName and pMethodName in SfxSlot classNoel Grandin
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-21Related fdo#80538 Re-adding toolbar separatorsYousuf Philips
Change-Id: I29c2171495c0419fa5b6a7b99725d6098331afd0 Reviewed-on: https://gerrit.libreoffice.org/11523 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-18IsDraw doesn't mean the app/page is DrawCaolán McNamara
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 Change-Id: I481a824ef244fd837992c893f6de0c051af0a26b
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17bnc#591147: unit test for media files importMatúš Kukan
Change-Id: Ie45818c54d756628e9cbc2619e5ad43cedcac92c
2014-09-17Move the scrollbar and layer tabs in a separate row in DrawSamuel Mehrbrodt
The reason for this is that the height of the scrollbar is theme-dependent and makes the tabs unreadable if it's too small. The same has already been done for Calc (fdo#36772). Change-Id: Ibe22cf5e7d5863ccf276c19bfa969f5b5fc16a5a Reviewed-on: https://gerrit.libreoffice.org/11480 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-09-17Resolves: fdo#80911 don't swap notes page width/heightCaolán McNamara
Change-Id: I9826f69d03de85ea8d2b2c025121599877798852
2014-09-17Remove redundant class SvxLineColorToolBoxControlKrisztian Pinter
Change-Id: I882ee959baae429307218d3076a2a198ff960ddd
2014-09-17bnc#584721: Import subtitle block to master slidesZolnai Tamás
For some reason subtitle block was skipped for layouts. It seems we can enable it for layout too, it appears well on master slides. Change-Id: I23ec7d4fcce045099bfca9e94a8c9335beaf7468
2014-09-17bnc#584721: Do not add extra title and outliner blocks to master slideZolnai Tamás
There are master slides / layouts imported from PPTX in which there is no title or body layout block, but so far Impress added these by default to the master slides if they were missing. Now they are skipped by the importer code. Change-Id: I256a4e78639ea39d0f87a94e6676422c7dbcde4a
2014-09-17bnc#584721: Right text inside the title area on master pageZolnai Tamás
With setting bClearText to true the default text used inside LO will be removed. Before that change the imported text was appended to the end of the LO default text. Now it contains only the imported text. Change-Id: I9f5eb0e20468a35c64130a433367cd3845ac7e3c
2014-09-16fdo#75757: remove inheritance to std::vectorTakeshi Abe
from RecentlyUsedMasterPages::MasterPageList. Change-Id: Ifeb62d141a6394c7bd79a047a4904c372a8ebe66 Reviewed-on: https://gerrit.libreoffice.org/11413 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-15fdo#83619 Retain dropdown part after customizationMaxim Monastirsky
Change-Id: I84c33e5b646ba43b9cad1d9ed106e7ead911e5c0
2014-09-15sd: sal_Bool -> boolStephan Bergmann
Change-Id: Ic59f5f89017c2a50185596e1e264dcde260d3e70
2014-09-14Related: fdo#83572 Improve zoom modeMaxim Monastirsky
Make this mode permanent, and add also zoom out/pan functionality. Hold Ctrl for zoom out, Shift for pan. Change-Id: I5bd8adfcc4d403c35b33185e5894a2b020d604d0
2014-09-14fdo#55903 Immediate effect for zoom in buttonMaxim Monastirsky
That's what apparently people expect from this button to do, similar to the nearby zoom out button. This is also consistent with a similar button in math, and in print preview (both are using the same icon and same tooltip). The zoom mode that was assigned to this button until now, moved to a dedicated button (thus could be further improved to host other functionality as well - see the next commit). Change-Id: Ie640c72cf1aab1e3fc8a14211702a33a86bb3672
2014-09-12Keep files of failing tests aroundStephan Bergmann
(Arguably, such files should be stored in a workdir/CppunitTest/... directory removed and freshly created before every test run, instead of in TMPDIR.) Change-Id: I12e5073f4e8098cfd99456101fbc2d6ab919f093
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-11WaE: Unreferenced function definitionTor Lillqvist
Change-Id: I6f6560e2c2aaf4b71480fc2ffc7ef2f6e2474ab0
2014-09-11fdo#75757: remove inheritance to std::vectorTakeshi Abe
from LayeredDevice::LayerContainer. Change-Id: Icc4b16db92daadbd742e83e90c95477c0c465f5b Reviewed-on: https://gerrit.libreoffice.org/11397 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11get rid of QUERYINT macro in sdTomaž Vajngerl
Change-Id: I058cf5bdd3d11fb28b3e497c1a13e4ffc7e4ed84