summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2017-11-18silence some coverity warningsCaolán McNamara4-4/+4
Change-Id: I5a530e37156b5cd36e8a07ac20851880a46f520d Reviewed-on: https://gerrit.libreoffice.org/44875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-17sd: enable language status bar itemHenry Castro5-36/+41
Change-Id: I7cb725cdcfc92366694fc8cb24c1443dd74d102e Reviewed-on: https://gerrit.libreoffice.org/44851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2017-11-17tdf#113660: show Master Slide label in handout viewXisco Fauli1-0/+1
Change-Id: Ib26837fe8eab9f024a15e5b6a48e4d9dfa7252a5 Reviewed-on: https://gerrit.libreoffice.org/44797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-17TypedWhichId for EE_CHAR* constantsNoel Grandin14-60/+50
Change-Id: I261f8a949ddd858dee196118bb42993a101a2a28 Reviewed-on: https://gerrit.libreoffice.org/44829 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17tdf#108450: The shrink part of grow/shrink animation finally worksKatarina Behrens1-0/+17
this automagically fixes also ODF export i.e. shrink to 25% in both directions gets saved as smil:by="-0.75,-0.75" Change-Id: I977deefb11cc4baa6a3caac5c9774940b5bc047e Reviewed-on: https://gerrit.libreoffice.org/44814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-17TypedWhichId for EE_PARA* constantsNoel Grandin7-23/+17
Change-Id: I64d1765336f39c3e3ded4d58ebdee80e97624276 Reviewed-on: https://gerrit.libreoffice.org/44799 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-16silence coverity#1421084 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ib6e8e7cfd9135d6176eac9f43336d5f6c2c6507b
2017-11-16use implict conversion operator in TypedWhichIdNoel Grandin13-39/+39
instead of spreading calls to Which() everywhere. Change-Id: Ie32d106e44f5cb583908eeebe254ab8b8168ae61 Reviewed-on: https://gerrit.libreoffice.org/44760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-16Removed duplicated includeAndrea Gelmini1-1/+0
Change-Id: Ic59458337966b35f46279e653a73ab601787d7b9 Reviewed-on: https://gerrit.libreoffice.org/44764 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-15remove now unused ToolPanelModuleCaolán McNamara4-142/+0
Change-Id: I30c91acf28fc8c9d1815796b0a0d7924b42a06f8 Reviewed-on: https://gerrit.libreoffice.org/44767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-15impress constantly trying to create an internal SidebarViewCaolán McNamara1-3/+0
I think since the sidebar was integrated that this is dead code belonging to the sidebars impress-only ancestor Nothing creates the SidebarView[1], so attempt fails, a failed attempt is scheduled in to try again on a configuration update timer configuration update timer fails to load missing SidebarView but broadcasts configuration update on each attemp when the presenter console gets a configuration update it refreshes its ui by loading the current slide if the current slide has notes and those notes are long enough to be scrolled and the user has scrolled to the end, then when the slide is reloaded the notes are at the top again. So presenter console notes scroll to the top after 5 seconds because the configuration update fired, because the previous configuration update didn't work. This is old lady that swallowed a fly level stuff [1] and I think its a typo here anyway and msSidebarViewURL should have been msSidebarPaneURL Change-Id: Ibfff16bb1092a49a8a54ca9697b5dc3819448af3 Reviewed-on: https://gerrit.libreoffice.org/44766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-15tdf#108144: tabbed notebookbar add margins to seperatorsandreas kainz1-5/+26
Change-Id: I374873eed5e89c0788869150187219078d22f986 Reviewed-on: https://gerrit.libreoffice.org/44757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2017-11-15Resolves: tdf#113826 use brush vs background conversion mode of dialogCaolán McNamara1-39/+4
Change-Id: If33e1672048c570887c2c53da646f86852bc6a6c Reviewed-on: https://gerrit.libreoffice.org/44740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-15TypedWhichIdNoel Grandin20-76/+73
use a strong-typedef template to give which IDs a type, which we can carry around to do a (a) little bit more convenience when Get()'ing them and (b) a little bit of enforcement of which PoolItem subclass each ID uses Fix a bug in casting EE_PARA_BULLETSTATE to the wrong subclass in AccessibleEditableTextPara::_correctValues Change-Id: I015ce8b3b0f6d21308af182afa3caf122c877a5b Reviewed-on: https://gerrit.libreoffice.org/44587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-15Fix typosAndrea Gelmini1-1/+1
Change-Id: I8bdced3fa572074aedabdcfce841adf525ae8b81 Reviewed-on: https://gerrit.libreoffice.org/44710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-15sd lok: ensure default viewHenry Castro4-5/+32
In Tiled rendering case, the only default view is supported Change-Id: Ia6df85dba28f8ebb41bdc20ae48916b0437ea185 Reviewed-on: https://gerrit.libreoffice.org/44737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2017-11-14Translate German comments and debug stringsJohnny_M1-1/+1
Change-Id: I12c92ecc270e65cb99e38e9179cf354a8c0708aa Reviewed-on: https://gerrit.libreoffice.org/44633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-14Fix typosAndrea Gelmini2-3/+3
Change-Id: Id8df807bb96e036f0cef07cd1095b2d3336efe36 Reviewed-on: https://gerrit.libreoffice.org/44711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-13Let's have activex control test also a slowcheck testTamás Zolnai1-1/+1
Change-Id: I55f8f0ca9478e676832ebbb08e98dbd1cf0fa4fc Reviewed-on: https://gerrit.libreoffice.org/44666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-13Move sd unit tests to slowcheckTamás Zolnai1-2/+2
Similar to sw modules we have mostly filters tests here which takes a bigger amount of time. Change-Id: I1305fa7904b74f849762ce4e4d7a005680b3a055 Reviewed-on: https://gerrit.libreoffice.org/44656 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-13MACOSX_SDK_VERSION is always at least 1090Tor Lillqvist1-8/+4
Change-Id: I802d9aae2220ae6b8f67e3387c3b329f6b02163c
2017-11-13Fix typosAndrea Gelmini3-3/+3
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91 Reviewed-on: https://gerrit.libreoffice.org/44654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-12tdf#77755 Consistency at status barsheiko tietze2-4/+4
Slide is now the left-most item in Impress/Draw's status bar and layout status comes after context Change-Id: If79bd7839d7241fe58e923e189fd33a48bfe275b Reviewed-on: https://gerrit.libreoffice.org/44604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-11-12Replace list by vector for weakRef (sd)Julien Nabet2-14/+12
Change-Id: I4c303b402e4b4d7e27cd42acf88dda90f0c8b119 Reviewed-on: https://gerrit.libreoffice.org/44643 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-12Replace list by vector for InteractiveSequence (sd)Julien Nabet4-55/+43
+ use for range loops (there's still work about this) Change-Id: Ib1d1584f3f4456dfa79834f89c51b4528b776096 Reviewed-on: https://gerrit.libreoffice.org/44642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-12ofz#3577 force refreshCaolán McNamara1-7/+12
looks to me that once the bt was found with a given test document that even if the document is fixed all similar bts are considered duplicates and other bugs that can end up here aren't disambiguated. Later bugs reports have "groups" where they are disambiguated so lets "fix" this in the fuzzer and when fixed reenable and see if a new test case is filed and/or if groups appear Change-Id: Ic680607a654eea6b3874db626c1742734245bd6b Reviewed-on: https://gerrit.libreoffice.org/44645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-11tdf#111835: Hide Master slide / close master slide button in notes viewTamás Zolnai2-10/+39
These buttons are designed for normal and master slide view. Change-Id: Ifc093a1da7e2336a1a83332e893dbc619519aaba Reviewed-on: https://gerrit.libreoffice.org/44635 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-11tdf#111738: Duplicated numbering alignment option on numbering dialogTamás Zolnai1-1/+1
Change-Id: Ifb18d5da84cc47da59448549f3c617e8040c246c Reviewed-on: https://gerrit.libreoffice.org/44636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-11tdf#112627: Set 'Master Slide' when Context is changedXisco Fauli2-4/+13
Change-Id: Iba9a99d3819ddc5462ea969a3529481ddab2f4dc Reviewed-on: https://gerrit.libreoffice.org/44566 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-11-11A user object id is *NOT* a SotClipboardFormatIdEike Rathke2-4/+4
Do not try to squeeze it into such.. especially if SotClipboardFormatId::... enum identifiers are used in a user object id context that is completely not related to the identifier name this is totally confusing. commit fb14be5f8f74f83ba89e15f891ddf1f753dcc62f Date: Thu Mar 12 14:53:28 2015 +0200 create new 'enum class' SotClipboardFormatId to unify types overdid with that. Change-Id: I34b570be9f52b7b94ca8af6b23983393ac3a3a55 Reviewed-on: https://gerrit.libreoffice.org/44612 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-11-11Resolves: tdf#113405 don't try and assign a master page to a master pageCaolán McNamara1-2/+6
when in master view mode go straight to adding the master page to the list of masters Change-Id: I345ce30b44099cd546267fb2acae0b1cc8a73dbe Reviewed-on: https://gerrit.libreoffice.org/44606 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-10tdf#113725: Sidebar: Controls are crammed in Slide content panelTamás Zolnai2-1/+6
Need to trigger a layouting to get the right panel size after we show / hode context related items. Change-Id: I791921ecb491bb65c53a4fe9562207d47f66a88a Reviewed-on: https://gerrit.libreoffice.org/44565 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-10loplugin:unusedmethodsNoel Grandin1-2/+0
Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454 Reviewed-on: https://gerrit.libreoffice.org/44553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-09tdf#111826: Hide master slide button in handout viewXisco Fauli1-0/+2
Change-Id: I4d3efcbe9e720ab43fa18d6c475ef749f1f9d61a Reviewed-on: https://gerrit.libreoffice.org/44516 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-09new loplugin simplifydynamiccastNoel Grandin9-32/+27
simplify dynamic_cast followed by static_cast Change-Id: I965afcf05d1675094cfde53d3590a0fd00f26279 Reviewed-on: https://gerrit.libreoffice.org/44460 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-09rename AvoidConfig to FuzzingCaolán McNamara5-15/+15
cause that's what its really used for and a couple of cases are not specifically about avoiding config but avoiding uninteresting disk acccess and what not Change-Id: I4c6454f98388579fcd0bf9798321d30408ab65ee Reviewed-on: https://gerrit.libreoffice.org/44491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-07loplugin:constparams in sdNoel Grandin13-18/+18
Change-Id: Id4b68ca0509111396ed354f4cda43d663083cad0 Reviewed-on: https://gerrit.libreoffice.org/44388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-06tdf#112547 sd: add unit testMichael Stahl2-0/+221
Change-Id: If63f004c95208d49743f389746ca430ad91e1231
2017-11-06TSCP: need to enumerate the marker and IPPart properties tooTomaž Vajngerl1-3/+3
Change-Id: Ibc8643667c3ae352107a93dcce2be02b1a9af06f Reviewed-on: https://gerrit.libreoffice.org/44344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-06TSCP: Insert objects to all master slides, improve object placingTomaž Vajngerl1-95/+105
Change-Id: Ic8b122748157bf63b5c934a4745bcdc011594153 Reviewed-on: https://gerrit.libreoffice.org/44342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-06TSCP: put more duplicated methods to commonTomaž Vajngerl1-51/+8
Change-Id: Ic49e0dad1351684db3372214604d12b48d0be907 Reviewed-on: https://gerrit.libreoffice.org/44337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-04Replace lists by vectors in animation parts (sd/animations)Julien Nabet3-4/+2
Change-Id: Ie5306041e5cde5617e460ae4d98861e8d26e389d Reviewed-on: https://gerrit.libreoffice.org/44297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-04TSCP: add a full text. value of the header/footer as doc. propertyTomaž Vajngerl1-0/+6
Change-Id: I4742066c34802017790c1c21ec04a7760d4fe1f7 Reviewed-on: https://gerrit.libreoffice.org/44279 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-04Resolves: rtl: tdf#60315 slide pane context menu misplacedCaolán McNamara1-10/+5
so use same (slighty crazed) logic as DrawViewShell::Command to get the right place when rtl is enabled Change-Id: Icb4a39310ab98bd186cbafd516ca5f323da8cce1 Reviewed-on: https://gerrit.libreoffice.org/44274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-03Revert "A first step to refactor ShapeList (sd)"Julien Nabet3-7/+16
This reverts commit c5857a0371dcc7977e68d48f08f2a3ecefb67b89. Change-Id: I59326867bdf71dcf20a86e03499884452675c557 Reviewed-on: https://gerrit.libreoffice.org/44284 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-03TSCP: Paragraph signature RDF namespace now urn:bailsAshod Nakashian1-3/+3
And remove PARAGRAPH entries from ClassificationResults to restore adding the parens correctly. Change-Id: Id0f07758e4daad8d0736800e211e35e9c7e026cf Reviewed-on: https://gerrit.libreoffice.org/44145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-03TSCP: flesh out ClassificationResultAshod Nakashian1-9/+9
Change-Id: Ie6ee33cc21f6f27ae1d58a0e47f367b0539e4378 Reviewed-on: https://gerrit.libreoffice.org/44117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-03TSCP: use the BAC identifier as the RDF keyAshod Nakashian1-5/+5
DOCX RDF -> SmartTag logic expects urn:bails namespace to dump the RDF, and it also needs to have the rdf file in tscp/bails.rdf, hence the move. Change-Id: I9ae496c97abe97d3596de46ffccd5f7c80e37d34 Reviewed-on: https://gerrit.libreoffice.org/44116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-03A first step to refactor ShapeList (sd)Julien Nabet3-16/+7
Change-Id: I5b036a9e2ba2b4c5eb784d7264adaa525fd4c08d Reviewed-on: https://gerrit.libreoffice.org/44156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-02coverity#1420536 Unchecked dynamic_castCaolán McNamara1-2/+4
Change-Id: I289f61fe7e9d6b8c37b70a8fce56090c72af9abf