summaryrefslogtreecommitdiff
path: root/sw/source
AgeCommit message (Collapse)Author
2013-02-12fdo#60092: fix STL regression in SwInsertDBColAutoPilot::DataToDocMichael Stahl
(regression from f7d681dc34e60eb8532403079d007ca1250f4941) Change-Id: Ida92854efe6ddffffb8fe10e5ef1f42c53747f40
2013-02-12fdo#46808, Adapt linguistic2::DictionaryList UNO service to new styleNoel Grandin
Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12fdo#46808, convert i18n::InputSequenceChecker to new-styleNoel Grandin
Change-Id: I29678d74ae3c6dc38d3d09e2cf4a0d4f28f789a1
2013-02-11fdo#59573 position after fieldmark and before annotation anchor is read-onlyMiklos Vajna
Also revert "SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlight" (commit 57c8c34fcdc2d594d2da3593eb9d86d0daf4e18c), as it draws confusing vertical lines inside the comment when it has multiple runs. Change-Id: If0f60e4a28878c2b31327ae3c04ae11470bc1f52
2013-02-11import different first page header/footer from docLuke Deller
When a Word section has a different first page header/footer, this used to be imported into LO as a chain of two page styles. Now that LO supports a single page style with different first page header/footer we can import to that. This change also incidentally fixes fdo#57908. bnc#654230 had the same underlying problem, so the workaround committed for that (which includes comments expressing lack of understanding) has been removed. Change-Id: I6df7e9abc8f2a327a3b33e06322ca943f6f24605 Reviewed-on: https://gerrit.libreoffice.org/2065 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11export different first page header/footer to doc/docxLuke Deller
Change-Id: Iba39bf12c2419bb480e91ccb45851ec869c40e01 Reviewed-on: https://gerrit.libreoffice.org/2062 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11fdo#55430 switches off text mode when clicking an other object.Lennard Wasserthal
This patch complements 85ea03ae536831649b104694d08dced4d4c8663f (and 6fbba11da54b52554941f00b07e42cc5d7a1643c, which didn't work correctly before) This also fixes issues when clicking on another object to stop text editing. Switches off text mode, and instantaneously selects the other object. (Rotation doesn't belong into the ./sd/ text routine AT ALL, which also caused bug 37482, which is resolved differently from now on) (Creating text fields doesn't belong into the ./sc/ shape text routine either, and if this executed, it causes funny glitches) Known issues: text mode stays on when you use drag'n drop (the one WITH waiting, to move to other applications etc). Change-Id: I3c8cdedbfae58165ebeda5887c1b6573832eb495 Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1344 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11fdo#46808, use linguistic2::LanguageGuessing service constructorNoel Grandin
Change-Id: I5c650a96ea99a1cf16ca8aa61f2db4986790040b
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11use static/reinterpret_cast and minor rewriteMaxime de Roucy
Change-Id: I9d2f21394c03e29d573dc197da90a91c96d55409 Reviewed-on: https://gerrit.libreoffice.org/2047 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-11Comment translation german - englishMatthias Freund
Change-Id: I76c5124ff13abe4610b8cc9a07ba75e038c02e8b Reviewed-on: https://gerrit.libreoffice.org/2092 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-10Comment translation german - englishMatthias Freund
Change-Id: Ifc4be6a2253eaf89c996c0c2619b6d71e2fb5b5c Reviewed-on: https://gerrit.libreoffice.org/2089 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-10Comment translation german - english - correctionMatthias Freund
Change-Id: I4aec4bcf67cb2e07a4cf6d1db705438d0b94b5b7 Ooops: the width ! Reviewed-on: https://gerrit.libreoffice.org/2083 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-10Comment translation german - englishMatthias Freund
Hope it helps a lot. Change-Id: If10593f81d4b2a00b8305e955ca7e6a15ed47aff Reviewed-on: https://gerrit.libreoffice.org/2074 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-10sal_Bool to boolTakeshi Abe
Change-Id: Iaada35250bdc7bc9393d2cfdceb8171aaafad9ee
2013-02-10Comment translation german - english.Matthias Freund
sw/source/ui/wrtsh/delete.cxx Change-Id: I92487e7474c4e27cee939812edf410e9a26731e7 Reviewed-on: https://gerrit.libreoffice.org/2070 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09fix compile for change to boost 1.53.0 declaring smart pointer operator bool ↵Mark Wright
as explicity for C++11 compilers Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79 Reviewed-on: https://gerrit.libreoffice.org/2064 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09Remmark translation german - englishMatthias Freund
This is only partly translated, i do the rest another day. I hope it helps a lot. Change-Id: I35d23c9e75d0880df76eaf652fcc9b0fb1bb2112 Reviewed-on: https://gerrit.libreoffice.org/2069 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-10sal_Bool to boolTakeshi Abe
Change-Id: I4e1c0136798c8666517ee42407484dbd9b364880
2013-02-09fix buildCaolán McNamara
Change-Id: I410479392141d10688edf16115309ccc4c1edad1
2013-02-09translate German comments, remove obsolete codeWinfried Donkers
Change-Id: I4d6e3149f94234e2b884ab81e752805d07a63712 Reviewed-on: https://gerrit.libreoffice.org/2049 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-09SwFrm: rename member variables missing their prefixMiklos Vajna
Change-Id: I88e7abb29e18859ae4fdce5a613e6d233f9d27a1
2013-02-09translate German comments, remove obsolete codeWinfried Donkers
Change-Id: Icfb1e2985f746d7a451037e2d411ebbfeed26a54 Reviewed-on: https://gerrit.libreoffice.org/2054 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-09Remove unused methodsThomas Arnhold
GetOptimalSizePixel and GetHCtrlWidth are never called Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-08SwFrm::_UpdateAttrFrm: notify layout when gradient settings are changedMiklos Vajna
Change-Id: I7623fd0987fb737346f1c099563dd1e6343d9dc2
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-08Resolves: fdo#43650 Disable tooltip when scrolling writer docs via mouse wheelRuslan Kabatsayev
Change-Id: I8e0d27b26afef08cc6ef963a2baadcddc78f6b27
2013-02-07SwPageFrm::RemoveFlyFromPage: fix a11y problem:Michael Stahl
This problem can be reproduced with the bugdoc from fdo#60234, by dragging and dropping the lower left drawing object. The ATK bridge is notified of the change, and updates its list of children by calling getAccessibleChildCount() and then getAccessibleChild() in a loop. Unfortunately the count returned does not match the available children (the difference is the object that is being dragged). The implementations in SwAccessibleFrame::GetChildCount() and SwAccessibleFrame::GetChild() use slightly different iterators for the SwPageFrm, and the SwAccessibleChildMap one is implemented as a std::map, using the OrdNum of the drawing object as a key. On the dragged object, that OrdNum has been reset to 0 in RemoveFlyFromPage, but it is still in the pSortedObjs of the SwPageFrm, and so it is not inserted into the map, and iteration over the map is missing one element. 149 return _SwAccessibleChildMap::insert( aEntry ); Value returned is $22 = {first = {first = {eLayerId = SwAccessibleChildMapKey::HELL, nOrdNum = 0}, second = ...}, second = false} Fix this by removing the object from pSortedObjs before disposing the a11y frames. Change-Id: I4e4bb37759382e32150cff6def02d80a55e4a702
2013-02-07Remove useless member variableTakeshi Abe
Change-Id: I6a28c7285786c08cd52cee59f2babcfa336a00d5
2013-02-06Resolves: rhbz#907933 crash on removing second last para in cell...Caolán McNamara
if (basically) the last para is on next page Change-Id: Iaff610ea94a829e73bfb8c694a27e0e9b4f6e295 Reviewed-on: https://gerrit.libreoffice.org/2012 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-02-06sw: let drawinglayer manage gradient styles of our textframesMiklos Vajna
With this, the hacks from commits 81a46fc86a530f028a5bd2f5e52fe0372d50ee38 and d7efffebd9651dd866349915360ade64b97d7301 are no longer necessary.
2013-02-06Show character count with word count in writer statusbar, fdo#59962Robert Roth
Change-Id: I65f9ce6bc9851c97e25aaf5b131a4b319f00fed0 Reviewed-on: https://gerrit.libreoffice.org/2013 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-05Drop unused functionTakeshi Abe
Change-Id: Ib7951202399816a8bdb5806751857c6c0cafceff
2013-02-05sal_Bool to boolTakeshi Abe
Change-Id: Ie3901ac8dc2cb46f6d06cbc2c80760570a474bf9
2013-02-05sw: kill RTL_CONSTASCII_USTRINGPARAM in defines of SwXFilterOptionsMiklos Vajna
Change-Id: I4d210ecfa846c5c78970d11057c029efe0c78a3b
2013-02-04String to OUString.Kohei Yoshida
Change-Id: I3a0eff8ca0c8b654a38ee2df1022ca162bcb67aa
2013-02-05fdo#60250: InsertNewPage: copy margins for mirrored pagesMichael Stahl
When there is no explicit first page, set the proper left or right margins, which are different for mirrored page styles. (regression from a964cf666abb0c4df4e29ea8709532b7d45c104f) Change-Id: I56ccc6f7987accefc27d627d2427ee37d83bd758
2013-02-04fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
2013-02-03sw: unused includes in frmtoolMiklos Vajna
Change-Id: Iddd1c24211597822f6dd480c76f841607bc13364
2013-02-03sw: remove class SwEventListenerContainerMichael Stahl
Change-Id: I576f5a0bdf04224d7032e0f592d2ad5cd9e77908
2013-02-03sw: remove SwEventListenerContainer in SwXTextCursorMichael Stahl
was totally pointless since this one doesn't even implement XComponent Change-Id: I0b8d9b0299f6fd06f2bfe5f75be4cbef5fd672b3
2013-02-03sw: replace SwEventListenerContainer in SwXParagraphMichael Stahl
Change-Id: Icda5087a4d80309701799df85b1dc9412e8c876a
2013-02-03sw: replace SwEventListenerContainer in SwXTextSectionMichael Stahl
Change-Id: Ic7e42f42d40593334c85afd5ec264e6fb2dcfbb1
2013-02-03sw: replace SwEventListenerContainer in SwXReferenceMark,SwXMetaMichael Stahl
Change-Id: Iba34cbc9afcd372426a90f3fd5e2d5fa997d7c5e
2013-02-03sw: replace SwEventListenerContainer in SwXDocumentIndex(,Mark}Michael Stahl
Change-Id: I52b826ca071f71597f7d10f0ee44bf6c2d2468c1
2013-02-03sw: replace SwEventListenerContainer in SwXFootnoteMichael Stahl
Change-Id: I03c1b3ad6a774f00993279c0830029708ee966ba
2013-02-03sw: replace SwEventListenerContainer in SwXBookmarkMichael Stahl
Change-Id: Ic3df366ffac317e0ebbda140a521fc95623ddafa
2013-02-03sw: replace SwEventListenerContainer in SwXTextPortionMichael Stahl
Change-Id: Iac39d68388daa1a6d8e8a41e9ff59d290d5d050b
2013-02-03sw: replace SwEventListenerContainer in SwXTextField,SwXFieldMasterMichael Stahl
Change-Id: I554ca3455ebddf6a4595175e8d71ae38b8b43e59