summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2014-09-25fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptxHeena Gupta2-1/+23
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 Bergmann1-1/+1
Change-Id: I25e3599a37d720cbcf70ea13ab30234e54637d53
2014-09-25fdo#63483: support for modify passwd in Impress and DrawKatarina Behrens2-1/+29
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 Abe2-17/+17
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 Bergmann3-0/+4
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 Mehrbrodt1-2/+0
from e16c8534f446a7cc311d6d5026aae5457e4f8e6c Change-Id: I05154dd06b062aaf7fdffe1aa3792f9710293021
2014-09-24fdo#47302: Added insert->fields->page title buttonJennifer Liebel10-2/+80
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 Mehrbrodt3-4/+0
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 Bergmann1-3/+1
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-24unused using-declarationsMatúš Kukan1-7/+0
Change-Id: I2bfb15821579b2636f6ae6b453b821ddfa0ccfcc
2014-09-23Fix build breakages with gcc 4.7. It doesn't like '<::'.Kohei Yoshida5-6/+8
"<::" -> "< ::" Change-Id: Ie83b0e6c09972b175ce72e37d20b5122a16e922b
2014-09-23loplugin: cstylecast, update PTR_CAST macro to use static_castNoel Grandin3-8/+8
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 Grandin259-712/+710
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 McNamara1-4/+5
Change-Id: If38365d949ad91d50138798a0a386f9543eb4f22
2014-09-22fdo#78826 HIG: missing colons and capitalization in sdAdolfo Jayme Barrientos25-525/+163
* 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 Grandin1-2/+2
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-21Related fdo#80538 Re-adding toolbar separatorsYousuf Philips2-0/+2
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 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 Change-Id: I481a824ef244fd837992c893f6de0c051af0a26b
2014-09-18fdo#82577: Handle FontNoel Grandin33-63/+63
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úš Kukan3-0/+37
Change-Id: Ie45818c54d756628e9cbc2619e5ad43cedcac92c
2014-09-17Move the scrollbar and layer tabs in a separate row in DrawSamuel Mehrbrodt7-63/+13
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 McNamara1-13/+15
Change-Id: I9826f69d03de85ea8d2b2c025121599877798852
2014-09-17Remove redundant class SvxLineColorToolBoxControlKrisztian Pinter1-1/+1
Change-Id: I882ee959baae429307218d3076a2a198ff960ddd
2014-09-17bnc#584721: Import subtitle block to master slidesZolnai Tamás2-0/+27
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ás2-1/+18
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ás2-0/+20
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 Abe2-29/+27
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 Monastirsky2-0/+20
Change-Id: I84c33e5b646ba43b9cad1d9ed106e7ead911e5c0
2014-09-15sd: sal_Bool -> boolStephan Bergmann4-6/+6
Change-Id: Ic59f5f89017c2a50185596e1e264dcde260d3e70
2014-09-14Related: fdo#83572 Improve zoom modeMaxim Monastirsky2-9/+22
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 Monastirsky10-3/+57
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 Bergmann1-1/+1
(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 Bergmann64-412/+412
...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 Lillqvist1-1/+0
Change-Id: I6f6560e2c2aaf4b71480fc2ffc7ef2f6e2474ab0
2014-09-11fdo#75757: remove inheritance to std::vectorTakeshi Abe1-4/+24
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ž Vajngerl3-38/+67
Change-Id: I058cf5bdd3d11fb28b3e497c1a13e4ffc7e4ed84
2014-09-10fdo#75757: remove inheritance to std::vectorTakeshi Abe3-54/+66
from ParagraphObj, by using boost::ptr_vector. This is also a supposed fix for ParagraphObj::operator=(), because ParagraphObj::ImplClear() now makes the vector empty while its original code kept deleted pointers. Change-Id: I7710eb33fc05bed55474ff00baaeb8e19cd79f3d Reviewed-on: https://gerrit.libreoffice.org/11379 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann23-212/+212
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-10Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SETStephan Bergmann11-26/+26
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
2014-09-10callcatcher: update unused codeCaolán McNamara4-28/+0
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-09-09semibold->boldCaolán McNamara2-17/+17
Change-Id: I563f4530f2003ea3090cd15696ea53143f7b3aa6
2014-09-09crashtest: sep should be curSepCaolán McNamara1-1/+1
Change-Id: Ic83165ee4af86d0ed0bc77505aae8f50cfc1471a
2014-09-09bnc#480256: OOXML import: unit test for table background propertyMatúš Kukan2-0/+48
Change-Id: I97bf0bd1ea8cf8ece30a2fa328c5c7a8b0549a4a
2014-09-08coverity#1237355 Dereference null return valueCaolán McNamara1-7/+5
Change-Id: I66956979c494f96f76eb0a7840f28c8edc91d816
2014-09-06Related fdo#82088: dropping aliases again :)Stefan Weiberg20-85/+77
Change-Id: I41f6472423b60e3699ed6158cc5eccb10de1538d Reviewed-on: https://gerrit.libreoffice.org/11295 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06Related fdo#82088: removing aliases in headersStefan Weiberg1-3/+3
Change-Id: Id3496d1720630dd7a873edd04b664fc279c1c25e Reviewed-on: https://gerrit.libreoffice.org/11294 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin15-57/+49
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06DockingWindow LayerDialog appears unusedCaolán McNamara18-404/+0
along with SID_LAYER_DIALOG_WIN There is a seperate normal Layer Dialog, but no apparent way to create this Docking Window Change-Id: I57b6928c14586f48cdf5e3e7588b6aa8560ecec1
2014-09-05fdo#82681: return IsUserDefined w/o negationKatarina Behrens1-1/+1
when the predicate is called StyleSheetIsUserDefinedPredicate Returning negation thereof somewhere, somehow, corrupts one of SfxItem pools. Thus, invalid read happens and crashes Impress and Draw. Now the loop in SdStyleSheetPool::UpdateStdNames does nothing (it iterates through user-defined styles, but its body does something for non-user-defined styles), so more investigation here is needed. This is partial revert of commit 3440766f0ad43454287a874b5fd34b6f2af6bdf1 Change-Id: I06f0da320c49674dac2adf43b7c374babbdadb57
2014-09-05CppunitTest_sd_import_tests: missing DoClose() callMiklos Vajna1-0/+1
This leaked two files in /tmp during every run. Change-Id: I8dc0574c210925fa5d6704ffad9c106186a50151