summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-07-09add some nasty html testcasesCaolán McNamara
Change-Id: Icc3f40475415433955a3735b7a8228a9fcc1a7a0
2013-07-09add fail and indeterminate dirsCaolán McNamara
Change-Id: I12a1d09e474389f98eca24db57a944ad740cbf85
2013-07-09fdo#65932 testcaseMiklos Vajna
Change-Id: I7105b85f063be801caa3cd397fcdfa24e74caa28
2013-07-09mem leaks in writer font options tabpageCaolán McNamara
Change-Id: I7378f1a230fc55a97bc06d154939502f6ddcc792
2013-07-09we don't really want homogeneous spin fields and labelsCaolán McNamara
Change-Id: Ic97254e338cdac63fd08ee59daf401e92f656f1b
2013-07-09fdo#66565 RTF import: don't produce cell widths smaller than MINLAYMiklos Vajna
In case we have a table of a given width and the second (or later) row has fewer cells, we have to add a fake cell to such a row. However, it doesn't make sense to do this when the difference is only a few twips: we can't create such a small frame inside the cell later anyway. Regression from c3b0f13546b30e5db3aecd311c7178e4e0933208. Change-Id: Ibc0f02d4184b58bd423c3405e786e1ec25b9dd13
2013-07-09Remove warning by using the right printf commandsArnaud Versini
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09set font boxes to be sortedCaolán McNamara
Change-Id: Iebd6ce2c210ccc56a72d6a59171015b9729e9b73
2013-07-09.ui layout for optpage/fonttabpageCsikós Tamás
Change-Id: Ib41ac1b5febbb288f7a05f3823dee6ff32feb315 Reviewed-on: https://gerrit.libreoffice.org/4771 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-09remove now unnecessary manual SetPosPixel layout workaroundsCaolán McNamara
Change-Id: Id25c562620ee1bdf6cdf1182b7342067c70c5479
2013-07-09modern .ui widgetlayout for optpageCsikós Tamás
Change-Id: I257f4c5878caabd5394bb2641ebf6d82a833e5f1 Reviewed-on: https://gerrit.libreoffice.org/4756 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-07-09DocxAttributeOutput::FormatSurround: missing breakMiklos Vajna
Change-Id: I8d767c2d92b4d5ca77e83565527b2bd1e29091ec
2013-07-08error: friend declaration specifying a default argument must be a definitionStephan Bergmann
...(Clang trunk towards 3.4); this appears to be specific to C++11, which added at the end of 8.3.6/4 [dcl.fct.default]: "If a friend declaration specifies a default argument expression, that declaration shall be a definition and shall be the only declaration of the function or function template in the translation unit." Change-Id: I750c60a2206d7af41322ebb31aa6deca2491067f
2013-07-08Related: fdo#66040 RTF import: by default, do create a group shape for \shpgrpMiklos Vajna
The bugfix was just for the special case when we must create textframes due to the contained tables, this one add support for the default case when we want a real group shape. Change-Id: I74b77b233235959266a24660c970a79e41d8b272
2013-07-08bnc#822175 DOCX filter: export wrapping of text framesMiklos Vajna
Change-Id: I5c5128686e96a97570b8cdf109dd75976a071ca8
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-07remove unused SwDoGetCapitalBreak::pExtraPosMichael Stahl
Change-Id: I6b64d25c3bddc73ba168ed0c7b6a0f12d0042fad
2013-07-07fdo#66478: sw: un-break hyphenationMichael Stahl
The main problem is calling SetHyphPos with a stack pointer. Converting STRING_LEN <-> -1 can't hurt though. (regression from a2f6402b1fe769a430019042e14e63c9414715dc) Change-Id: I59a4e3b16b418082de468c7d7f7f38a9b0bccd01
2013-07-05SwHTMLParser: avoid a spurious ~SwindexReg assertMichael Stahl
The pPam that is passed to SwHTMLParser would be reinitialized by SwReader::Read anyway. Can be reproduced with bugdoc from fdo#65935. Change-Id: I3b7dcc9c83d9d2eac05ee6ec38909dea7350d245
2013-07-05cleanup src filesThomas Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-05accidental push of merge in progress, sighCaolán McNamara
This reverts commit c61c5a240314f1899a2160a97e00e2108104e4bd.
2013-07-05Related: #i122635# Add layouting to some sidebar panels.Andre Fischer
(cherry picked from commit 4f9ac2af7157786ee6fba46551bd6782730d8b55) Conflicts: sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx sfx2/Package_inc.mk sfx2/inc/sfx2/sidebar/SidebarToolBox.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.cxx svx/source/sidebar/text/TextPropertyPanel.hrc svx/source/sidebar/text/TextPropertyPanel.src sw/source/ui/sidebar/PagePropertyPanel.cxx Change-Id: I94bfc87c9eeddd0c39bd979dd26b11c95b1e3c72
2013-07-05fdo#39001 RTF import: fix fake empty page at the end of the docMiklos Vajna
In case we have a \sect, there was no \sbknone (so it counts as a page break as well) and there is nothing after it, we should not make extra efforts to make that have some effect, but adding at least one empty paragraph to that new page. Change-Id: Ibcbecabcb590ed34ef96a97698e4ab8f638d3483
2013-07-04bnc#820504 VML import: don't anchor shapes TO_PAGEMiklos Vajna
In theory, this is a problem because Word formats only support AT_CHAR and AS_CHAR, so importing something as AT_PAGE is buggy. In practice, this also leads to unvisible shapes, since f0d001a378c64ea457e722266e60c96522c72e9b. Change-Id: Ie730d67a789ef12734cede1f9b6c27764a66f237
2013-07-04fdo#66543: fixed line number attribute START VALUE wasnt imported and exportedAdam Co
Change-Id: I09e0356f994f5eb328f741723ac7dbfea51419ed Reviewed-on: https://gerrit.libreoffice.org/4693
2013-07-04Resolves: fdo#66407 convert writer general options tab to .uiCaolán McNamara
Change-Id: I315c12b94663c0047150eed7ecbd6366f7e57bc4
2013-07-03Ugly workaround for historic sxw files produced once by libwpd/wpd2sxwFridrich Štrba
Change-Id: I2d22c12896b241d79ded723acb0a6753cc1468ee
2013-07-03sw: remove SwDoc::ShareLayoutMichael Stahl
It is a crude hack that is no longer necessary because the underlying problems that caused crashes when deleting the layout have been fixed. Change-Id: I601bdb0dc0aff5f4ddb8b8f4ba4c8d1f72c76666
2013-07-03Finishing touch on Drop Caps widget UI conversion.Olivier Hallot
Change-Id: I896d64d602cab9671373c619a6a02807ec6bc6ac Reviewed-on: https://gerrit.libreoffice.org/4643 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-03restore title on Format Number single tab dialogsCaolán McNamara
Allow a .ui to be given to the SingleTabDialog ctor. There are *three* single-tab Format Number dialogs, we really should combine them together into one dialog. Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
2013-07-03Resolves: #i120718# page border and shadow to doc.Jian Hong Cheng
The shadow depth and color changed * source/filter/ww8/ww8par6.cxx MS Word Binary compatibility Patch by: Fan Zheng,<zheng.easyfan@gmail.com> Found by: dongjun zong,<zongdj001@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org> (cherry picked from commit 513bfe206105974552c2b93fbe9dc8be854375e0) Change-Id: If090141a92d9aa00f60b622a5d8dcbe8d92860c0
2013-07-02vertically align center widgetsCaolán McNamara
Change-Id: Iedd7fc4e05aa59e59725f2087ded704aae0b6115
2013-07-02SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl
As the recent regression after merging AOO patch adding code serializing "long" variables has shown, this overload (which was added in 7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea. In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl and _ZN8SvStreamlsEl in these files: - sbxvalue.cxx: this appears to be a legitimate use with sal_Int64 - dateitem.cxx: this was accidentally changed by commit 9830fd36dbdb72c79703b0c61efc027fba793c5a - atrfrm.cxx: this was added for Table Autoformat enhancement in 7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the sal_Int64 operators were added, so the file format is now platform dependent Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
2013-07-02Translate German comments, fix some WSPhilipp Weissenbacher
Change-Id: Ib017480e45cf76a95297e6563229d49c13ea6a51 Reviewed-on: https://gerrit.libreoffice.org/4660 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02Related: #i120513# Remove autocompletion suggestion...Armin Le Grand
when inserting comment via menu/shortcut Author: orw, alg (cherry picked from commit bfeefdb5affc187c4ae04d82915ac65ea3fc73e4) Conflicts: sw/source/ui/shells/textfld.cxx Change-Id: I42dbfb46f784262d941f1c9b3e0b4a0b623067d9
2013-07-02convert Data Sources Unavailable Warningbox to .uiCaolán McNamara
Change-Id: Iea809c54fd080003f1dc7ccae6b666dcc5e66b6f
2013-07-02convert (old) mail merge dialog to .uiCaolán McNamara
Change-Id: Id812851c93807b15709930112ec839ba64884110
2013-07-02... fix more -Werror=address (wrong TempFile ctor called)Michael Stahl
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
2013-07-02remove post .ui conversion unused ResId loadersCaolán McNamara
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
2013-07-02fdo#46361 testcaseMiklos Vajna
Change-Id: Ie7ce4fb5c32ff4b3c1f3d7ee92d8358ae67fc6c1
2013-07-02fdo#46361 oox: handle multiple w:p for groupshape textboxesMiklos Vajna
One testcase had to be adjusted, as it seems previously we stripped all newlines at the end (I consider that as a bug), and now we only strip the last one (so the resulting number of paragraphs on the shape and in the source document equal). Change-Id: Ic22b96c2992b53c72e2609e2286622173b86065c
2013-07-02OUString convertion for unotoolsNorbert Thiebaud
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-01fdo#65650: fix Writer ODF import of list style with bullets and colorMichael Stahl
For such lists xmloff tries to set a BulletColor property but SwXNumberingRules::SetNumberingRuleByIndex() throws a RuntimeException and does not set any of the list properties on the NumRule. (regression from abf18610998aa8330f8330f1d769508e47ef5b20) Change-Id: Id3e80ee1ed67497786258a1096bc5c8dec90ce21
2013-07-01fdo#66165: WW8 export: fix duplicated paragraph breaksMichael Stahl
MSWordExportBase::OutputTextNode(): in commit 8f2a21eac4a904db3cc4c448179e2d2cf5878ef4 (which is not merged) a "WriteCR( pTextNodeInfoInner );" was moved up a few lines, so it shows up as context in the other commit, and the bug is that the cherry-pick 83ba821c10392c08334f7d8d3775fe3e8d08f8fd erroneously adds this context line so now there are 2 WriteCR(). Change-Id: I08434b284f3d8d8426fa997623be352c37d6c7c2
2013-07-01Resolves: fdo#66027 #i122116# Remove GalleryExplorer member functionsAriel Constenla-Haile
(cherry picked from commit e94681fb47e3c5bdba486cd8feca92705d44840d) Conflicts: sc/source/ui/app/typemap.cxx sc/source/ui/view/galwrap.cxx sc/source/ui/view/makefile.mk sc/source/ui/view/tabvwsh9.cxx sd/source/ui/view/drviews9.cxx svx/Package_inc.mk svx/inc/GalleryControl.hxx svx/inc/galbrws2.hxx svx/inc/svx/galbrws.hxx svx/inc/svx/gallery.hxx svx/source/gallery2/GalleryControl.cxx svx/source/gallery2/galbrws.cxx svx/source/gallery2/galbrws2.cxx svx/source/gallery2/galexpl.cxx sw/source/ui/shells/basesh.cxx Change-Id: I49c2b99ca551f058b852c0e5e28cc2fe8c205031
2013-07-01Robustify WW8FormulaControl::FormulaRead reading SvStream.Mark Wielaard
The >>operator of SvStream doesn't initialize a variable if the stream is faulty. So initialize the variables before usage to prevent reading wrong/random bits. Change-Id: Ia66dd6d8574c36e7229a58347f2e2c1e0fe2e248 Reviewed-on: https://gerrit.libreoffice.org/4636 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-01Resolves: rhbz#979758 crash on 'Diagrammen in LibreOffice' help pageCaolán McNamara
Change-Id: I269846840b8e2f67838da525c020a305901cf903
2013-07-01add missing .uiCaolán McNamara
Change-Id: I3cf3d730fee95a54d8b51779835eda8d24d50ff3
2013-07-01convert predefined label warning dialog to .uiCaolán McNamara
Change-Id: I6f7cbc6aea1acbd7c803cd418ba2e9ed71fb2c50
2013-07-01don't show section/table nodes as plain start nodes in debug dumpLuboš Luňák
Change-Id: I8b4901d98c210f5a3228981a2b180f2fcc06c768