summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-07-30OUString: remove unnecessary casts and appendsMatteo Casalin
Change-Id: Ib64b976ac94cba64d9f7c0cbfead3890277ec9ca Reviewed-on: https://gerrit.libreoffice.org/5188 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-07-30String to OUStringMatteo Casalin
Change-Id: Ia9bebaf92bf570c10d01a9ed3db437f70098a07d Reviewed-on: https://gerrit.libreoffice.org/5185 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-30fdo#64350: fix for page border shadow exportAdam Co
Change-Id: I3ae7a532eea7e81b9a302a98c00a514d307e8605 Reviewed-on: https://gerrit.libreoffice.org/5146 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-30String to OUStringMatteo Casalin
Change-Id: Ie7c04d75bcdf5b9a2b3c941b7cd8fac20a37999c Reviewed-on: https://gerrit.libreoffice.org/5181 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-30Bail out earlyMatteo Casalin
Change-Id: I4b80a029d5342b180a9f53777f714527b4d3f982 Reviewed-on: https://gerrit.libreoffice.org/5180 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-29fdo#67467: fix crash when renaming table in AutoFormat dialogIvan Timofeev
this reverts 5031e17d4b11181be94448702b1026bd38e0b3c4 and uses ptr_vector::release instead of ptr_vector::erase to prevent object deletion. The use of "transfer" leads to "Assertion `(void*)&from != (void*)this' failed". Change-Id: I77467ce9e1d9dd4b833032ebbe920cbb34d36675 Reviewed-on: https://gerrit.libreoffice.org/5172 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-29fdo#67274 Always embed images from gallerySamuel Mehrbrodt
This patch removes the options to link images from the gallery. Users should never link to the gallery. The links wouldn't work anymore if you just change the operating system, because the gallery is on a different place. Changes: * Removed option in "Bullets and Numbering" dialog to link graphical bullets * Change the Gallery image context menu. Before: Insert Copy Link Background Page Paragraph ... Now: Insert Insert as Background Page Paragraph ... Change-Id: I699042a7d7a27369775f9ee4c14c4a6964489a92 Reviewed-on: https://gerrit.libreoffice.org/5141 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29Resolves: #i120864# Text is overlapped by the drawing object...Jian Hong Cheng
when open the .doc file * sw/source/core/text/itrform2.cxx Core function Patch by: Jane Kang,<kangjane2012@gmail.com> Found by: Yan Ji,<yanji.yj@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org> (cherry picked from commit 182062bbeb5a5a34d2bc59791b1d20ff565a1bb8) Change-Id: Iaabb457ade39ef7bfd5b8d07e97c8a98b678a163
2013-07-29Resolves: #i35763# fix WW8: Wrong import/export of underlining coloursLei De Bin
more detail pls check http://wiki.services.openoffice.org/wiki/Writer/Underline_Color Reported by: gonzalez Patch by: Chen Zuo Jun Review by: Lei De Bin (cherry picked from commit 74f769f8c9ff5f4bba2ee08f4921ca54dd0c4c82) Conflicts: sw/source/filter/ww8/ww8atr.cxx Change-Id: Ie9c01c3c7fcd74c059e97ff98a1c67b15c5fcd5c
2013-07-28fdo#39468 Comment translation GER-ENG in sw/source/ui/uiview (last)Matthias Freund
Change-Id: Id54b3f9a6972db1c82fdc80897329dd71e48ae2d Reviewed-on: https://gerrit.libreoffice.org/4902 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-28fdo#39468 Comment translation GER-ENG in sw/source/ui/uiview (Part 5)Matthias Freund
Change-Id: Ib4dcbce29ef5772a9405db838d904c405c0249e0 Reviewed-on: https://gerrit.libreoffice.org/4874 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-28sidebar: Make WrapPropertyPanel .ui resizable.Jan Holesovsky
Change-Id: I75b7a9e42f937528897114b1d056716ebdce697d
2013-07-28sidebar: Small cleanup in WrapPropertyPanel.Jan Holesovsky
Change-Id: Ie751dfef7ce48942a51577979e16b88a52919f56
2013-07-28sidebar: WrapPropertyPanel conversion to .uiPrashant Pandey
Change-Id: I06e8c0928d6e6357c99bf5f6c7cbf9cc338dd1c1
2013-07-28Change Page Preview Zoom dialog's button layout to be horizontalStefan Knorr
Change-Id: I7f1bd32ebf4c9e6df794404d4177043e1b5cb790
2013-07-28Try to improve visual appearance of Word Count dialogStefan Knorr
Change-Id: Ie51aeb7de1ac0efd2ae90bccd5121e9f34fbe88b
2013-07-28Change Insert Footnote's button layout to be horizontalStefan Knorr
Change-Id: I04ae00e5cb81abfe12d7b08bc4f31927988dc09d
2013-07-27Revert "SfxStyleSheetBasePool: remove internal iterator"Michael Stahl
This reverts commit 3a46d91f8de420f38dd763028e91229c846dff52. This breaks the Stylist, not sure why (does it depend on something setting the search flags before?) so revert for now. Change-Id: Ia50feeebae8bf852c827e4f270e81e9f08d2b1ac
2013-07-27fdo#67365 testcaseMiklos Vajna
Change-Id: I921eda30f60e5466e381922193c2a46be10ad65c
2013-07-27SfxStyleSheetBasePool: remove internal iteratorMichael Stahl
The clients always start with First() anyway so they might as well use external iterators, which makes calling First() in certain situations just so the internal iterator is invalidated unnecessary. Change-Id: I0948576c20410136448e8b85311c21a257469bc7
2013-07-27remove some more SfxObjectShell methods that only call each otherMichael Stahl
Change-Id: I71807adff43ce2cfb748764edcc5880cdbba746f
2013-07-27SfxStyleSheetBasePool::Make: remove nPos parameterMichael Stahl
The only caller who could have used a non-default value was SfxObjectShell::Insert(). Change-Id: I18174a54a9c0246850dc6347d0147e8640ad101d
2013-07-27turns out nobody calls those SfxObjectShell methods, remove themMichael Stahl
Change-Id: Ic04fc47e88f0d12a0889fd9e28ff0fc42c6556aa
2013-07-27rename SfxObjectShell::Insert / Remove ...Michael Stahl
... to something more unique, and use SAL_OVERRIDE. Change-Id: I0f991870974cad42c86d6af162359dafb475c5aa
2013-07-27fdo#67303: sw: speed up setting IsHidden property on stylesMichael Stahl
Importing an ODF document with 4089 styles is ridiculously slow, spending most of the time in SwStyleSheetIterator::First() to reset an existing iterator. Since the SwStyleSheetIterator can handle the case when First() has not been called anyway, just add a new method that resets the bFirstCalled flag, which takes next to no time. (regression from a0dcf961879ab644a52f801f65466756cb144b72) Change-Id: I8741b4c0cd51f8c244462ce28a754abc427d0df3
2013-07-26convert GetSelectEntry family to OUStringCaolán McNamara
Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
2013-07-26fdo#66474 DOCX import: fix handling of mixed fixed/auto cell widthsMiklos Vajna
Instead of checking if any cells have fixed width, check if all calls have fixed with. Regression from 74c5ed19f430327988194cdcd6bdff09591a93fa. Change-Id: I58d3d16cbaa2c54a8a1ac309910336c72dcb39b7
2013-07-26String -> OUStringIvan Timofeev
Change-Id: I244de2137f6a7b26f21de24ff9273c5c3672d12e
2013-07-26String -> OUString, sal_Bool -> boolIvan Timofeev
Change-Id: I078599f1c109f85ff6ba5895c31912d5def98c27
2013-07-26SwGlossaryList: don't use output parameters, convert to OUStringIvan Timofeev
Change-Id: Iae21524d85a832ba17ba120f491bb13d1bdfcffa
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-26RTF import: fix groupshape import when shapes don't contain textMiklos Vajna
Without this, the groupshape itself was created, not it had no child shapes. Change-Id: I5d3276498eb3ffe840f3d42dad16661849596da4
2013-07-26Related: bnc#820504 RTF import: don't anchor shapes TO_PAGEMiklos Vajna
This is the RTF equivalent of f5b7acac624f07fa95835b6054b8d295901bb1dd, which avoided TO_PAGE-anchored shapes in the VML importer. Change-Id: I58a5cdb311ac43ddba00bc441005fb37a4899cee
2013-07-26fdo#65718 : fix for exporting of image distance from textAdam Co
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: Id33a9d491b2d89b05189b566641dadcef3176dc3
2013-07-26Add more usefull log areasZolnai Tamás
Change-Id: Ic9d8ee7cee5b1b4b54151825e025e0d4815d3bb1
2013-07-26Missing magic in fontZolnai Tamás
Change-Id: Ic3f4d12729c0309e03992c06f8a57da3d004c24a
2013-07-26CharBrd 3: painting of border for simple textZolnai Tamás
-Use the frame painting for character border -Increase the size of the portion (height, ascent and size) -Shift the text drawing rectangle -Make the text cursor to skip the borders Change-Id: Ia40fed5d7a93f85b73b7fa019ec4ede9421d89d1
2013-07-26Use SwTxtInfo height and ascent for portionsZolnai Tamás
By now this is the same as the font's ascent and height but it can change. Change-Id: Ia40fed5d7a93f85b73b7fa019ec4ede9421d89d1
2013-07-26Make some changes in SwFont's bordersZolnai Tamás
Change-Id: I901094a45f339b0702481a3fd60f3b7effc96143
2013-07-26Use optional member data for borders in SwFontZolnai Tamás
Change-Id: Ib7e51aea8253128178e534eb8281975959e59810
2013-07-26CharBrd 2: new character attributeZolnai Tamás
- Add new character attribute id - Update attribute set and attribute stack - Convert character set item to general item and back when execute "Borders" tab page. - Add new SwFont attributes for different borders (top, bottom, right, left) This will be used for painting. Change-Id: I344babc3645931537cfa37d64f1f6c6c02c1cee3
2013-07-26CharBrd 1: Add Borders tab pageZolnai Tamás
- Differentiate character dialog types (border is available only for simple text) - Tab page must be added for two dialog(SwCharDlg and SwTemplateDlg) - SvxBoxInfoItem (SID_ATTR_BORDER_INNER) is initialized before execute dialog (used as input). Change-Id: I73723a018b6cf4cd292ba44b1bd7e1af3c6a6deb
2013-07-25Change String class to OUString class in css1atr.cxxPalenik Mihály
I changed String class to OUString class in css1atr.cxx and its dependencies. Change-Id: Ibc216e28196bfdeec027b5d5eba4df5009e4e5a4 Reviewed-on: https://gerrit.libreoffice.org/5053 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-25Resolves: fdo#67113 split insert autotext and field controlsCaolán McNamara
autotext is a modal dialog and insert field is a modeless dialog so I don't want autotext to show a toggle in insert->autotext At the same time we want the autotext entry in the insert toolbar to have a dropdown and we appear to want to be able to close the insert field dialog from the toolbar. So split the combined handler class into two and remove the other if/else branch in each with the insert field a SfxBoolItem and the insert autotext an SfxVoidItem. Change-Id: I3d59052ee70a00d63f7706166290b00ad9ae22c0
2013-07-25Related: fdo#67113 restore some code, it has side effectsIvan Timofeev
these lines were removed in 8275c8fc33b63aa40a0a8a8c215f32b9986edab6 fixes missing AutoText menu entries and AutoText insertion via menu Change-Id: Ifa498d1cbfc096cca7751de9c9667fda6f1b3b48
2013-07-25fdo#59427 first step for template menuCor Nouws
takes care for File > Template > Save and File > Template > Manage however the menu for the latter comes from uno:NewDoc and thus has to be changed > TODO Change-Id: I0600847724fc5ccb3ef13d57355d8eb54970cc9b Reviewed-on: https://gerrit.libreoffice.org/4284 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-07-25fix for SwCombinedCharField constructor with wrong initAdam Co
Change-Id: I71548e5fe60a8da8e89022b16a2f892900f3e4c2 Reviewed-on: https://gerrit.libreoffice.org/5089 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fdo#60990 testcaseMiklos Vajna
Change-Id: I35dcb21e55e262db274d7e811d79f9fafc6d6c25
2013-07-24Related: fdo#60990 w:textbox -> v:textboxMiklos Vajna
By accident, Word accepted this, but not our importer. Change-Id: Ie6a7846f1cb594b85245af74053d680af9e77d0e
2013-07-24fdo#60990 VML export: handle paragraph/run properties of shape textMiklos Vajna
Change-Id: Iaeb7f9826308ea94a036cb4bfa87bf65f0cfe22f