summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-10-05SwUndoPageDesc: take care of SwPageDesc::aFirstMiklos Vajna
Change-Id: I05621cc1bf6d4201120c8757d5c2886723d7d18c
2012-10-05I can't see why the hyphenate cmds have toggle entriesCaolán McNamara
because the dialogs are modal ones so no different than most commands. (Probably cut and paste and few notice using themes where empty toggles have no frame and are indistinguisable from non-toggle) Change-Id: If82b59e7cebb71bc834a48970283b2cf68e5fdf9
2012-10-04sal_Bool->bool in svl::SfxStyleSheetBaseNoel Grandin
Change-Id: Id506fa56d07be56d63715703e354625715275933
2012-10-04rhbz#820283, fdo#55462: sw: better fix for DOCX table import crash:Michael Stahl
The fix in 6d2e09db4a677068095b0bebd08fbbb96620d60c is completely bogus. Only vertically merged boxes result in dummy boxes with negative span, while horizontally merged boxes result in different numbers of boxes per line. So instead of inserting boxes, adjust the width of the last box in rows that are missing boxes, such that all lines have the same width. Change-Id: I4e90e852b314bf6f7885bde7b450dab7c668469e
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04Use MenuButton for non-editable GtkComboBoxText instead of ComboBoxCaolán McNamara
its more similar for the non-editable list. Requires some love to MenuButton to reflect the selected entry and resize appropiately Change-Id: I4b37931e35a5f326d6fd4e445eb741bece6b55a6
2012-10-04sw: proper fallback for first page in InsertNewPage()Miklos Vajna
For left/right share, the fallback is easy: the left page always falls back to the right page, if there is a fallback. In case of first page, the situation is more complicated, as there are multiple fallbacks (left/right). Since commit 9ff68a2, first page fallback was decided during registering part of the SwPageDesc to SwPageFrm, which is bad, as without a document export/import, a changed IsFirstShared() didn't have any effect: the LeftFmt/RightFmt was in use, so FirstFmt had no SwClients -> nobody was notified when that setting changed. This commit changes first pages to always use FirstFmt, and (if a fallback is needed) sets FirstFmt to point to LeftFmt/RightFmt as necessary. Change-Id: I4654baf293d72070fcf7e9eea408a43a31079e60
2012-10-04sal_Bool to boolTakeshi Abe
Change-Id: I6a4c4f4c8129100770ca976d508ca3a98e67a846
2012-10-03testShadow: test shadow width to be non-0 to avoid precision errorsCédric Bosdonnat
Change-Id: I956f2c7f55d7e4966971bc310858967298d2933d
2012-10-03SwFrm::dumpAsXmlAttributes: dump Fmt pointerMiklos Vajna
Change-Id: Id9030f5a260fbfce88b6b238e075a7358993b355
2012-10-02Remove dead codeTakeshi Abe
SW_CRSR_TIMER was undefined Change-Id: Ib851170ea61547e0ceaa6721c0b2fb90fecaecd3 Reviewed-on: https://gerrit.libreoffice.org/747 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-02various rather mad uses of GetParent()->GetParent()Caolán McNamara
Change-Id: I0f0d5771d82c7a577ef86ce5ab1ca10a0aaeb89a
2012-10-02GetParent()->GetParent() does't take into account containersCaolán McNamara
The assumption was that the page is directly a child of the parent dialog => ka-boom Change-Id: Ia0e7f33273d7a3c6b726c74371b8ee8a809ee5bb
2012-10-02Fix build.Jan Holesovsky
Change-Id: I291cb5422f5338d64e6d8973c8dc863f4fb982f5
2012-10-02initialize various fields in constructor.Michael Meeks
Change-Id: Ib2165121786353062a52e6dd65cca6dab8584e60
2012-10-02Resolves: fdo#55524 convert insert break dialog fullyCaolán McNamara
Change-Id: Id25bde8db310a83b52ebda7d47d0b1dcda79ed45
2012-10-02SwXPageStyle: make sure SHARED_FIRST is added to both HEADER and FOOTER setsMiklos Vajna
It makes no sense to alter only the header set, as this property affects both. Change-Id: I7a34f97d144f877f808506e6ed961745994bb9a1
2012-10-02fdo#52673 fix for layout problems with version 3.6 and upWinfried Donkers
Change-Id: I626ec5bce931005dccbc8f4d235e8208ae98f9a5
2012-10-02docx export: always write tblInd attribute (even when equal to 0)Pierre-Eric Pelloux-Prayer
Otherwise when opening the docx in Office table may get misplaced. Change-Id: Ic1df8d941c72a224d2db189ededfc5e134e5683a Reviewed-on: https://gerrit.libreoffice.org/718 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-10-02docx export: add unit test for 9751056Pierre-Eric Pelloux-Prayer
Change-Id: I25aa07d3e1811fdf4ab0124e14794e70d7de82ec
2012-10-02docx export: export default table cell margins, based on 1st cellPierre-Eric Pelloux-Prayer
Change-Id: I1a697c2a60c7979774242fb6c9b0f66baa3bb72e Reviewed-on: https://gerrit.libreoffice.org/716 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-10-02docx import: add table position unit testPierre-Eric Pelloux-Prayer
Change-Id: I21aa721e20be4b7f9984bf6910a94a7b7bf09c7a Reviewed-on: https://gerrit.libreoffice.org/715 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-10-02docx import: set table above/bottom spacing to 0Pierre-Eric Pelloux-Prayer
Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I3e0397dd3d5d14f1e584ac7bc3d22d4638393b06
2012-10-02Resolves: fdo#54862 extra ++n causing merged cells to be skippedCaolán McNamara
commit 567c1db25bd705faac44203e4a3d01d0f5e1385c reverted a pile of other commits, including 858b5b4f36a357fe7192e7c2ed9cc3cdfc81fd8f but didn't revert the ++n of that commit, leading to merge groups getting skipped Change-Id: Ie2b46ebc433df636ebe0092f4a992631b7f06a3f
2012-10-01fdo#55496: fix lifecycle of SwMailMergeOutputPage:Michael Stahl
Its member m_pDocumentPrinterCopy contains a SfxItemSet that points at the SwDoc's item pool; the SwDoc is freed in SwMailMergeWizardExecutor::LinkStubCancelHdl. But the SwDoc::setPrinter method does seem to work fine if the printer that is set is the same as the one it already has, so it does not seem to be necessary to clone the printer; just get it and set it again. Change-Id: Ic591f68f6e0bab4e42cb22a9cb0a47e97f5e938f
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01n#782345 testcaseMiklos Vajna
Change-Id: Id5204572ab9fddf3f15b5fd1b96d8f25e7166878
2012-10-01Deduplication of TemplatePopup_Impl for disable-dynlinkingTor Lillqvist
Change-Id: I3e49ab8bd3411be8fcfa7ab43b50cbb2d82b6de0
2012-10-01fdo#52475 fix import of RTF_CHCBPAT with value 0Miklos Vajna
0 means auto, and for fdo#50539, this value was ignored. However a next sample shows that we should send something to the dmapper: COL_AUTO. Change-Id: I8d7d35125c9027dfb45288bbfbfa81ba4799e78d
2012-09-30sw: finish cleanup of rtfimport testMiklos Vajna
Change-Id: I10433c3c40a0c648bd651ed786ecd5523bf58f61
2012-09-30sw: clean up one more testMiklos Vajna
Change-Id: Icfcdbedaf6b123fc726e2298ac47698940b36091
2012-09-30sw: more testcase cleanupMiklos Vajna
Change-Id: I39681fbf57c828e5d6e80ae7c3155f2f60410a1a
2012-09-30sw: cleanup in rtfimport testMiklos Vajna
Change-Id: Idef3ee3fa246b314c4b6b8a59b2b366dadfb679a
2012-09-30fdo#31405 CommandType is a LONG, so use a sal_Int32 to retrieve itLionel Elie Mamane
Else, operator>>= flat out refuses to extract it, even though the particular value in this particular call would fit. Also OSL_VERIFY the result of >>= (instead of ignoring it) to facilitate future detection of similar problem Change-Id: I859c38c3589dc9e9ef5bdd882663aa3386a43237
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28sw/qa: more getProperty() usage in extrasMiklos Vajna
Change-Id: Ic4782f3d315b6ef860153fdeb1890bba083f9630
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28n#782061 testcaseMiklos Vajna
Change-Id: I6aa95063ac8fe825b47decc68b08a35d81e4d59d
2012-09-28fix up mergeCaolán McNamara
Change-Id: I1ce7e72c2c0d1a2cf56df66197510e6870c18047
2012-09-28adapt sort-dialog code to use new layoutCaolán McNamara
Change-Id: I925ebfaf1343be84d47736bd0d5703adfd1692d7
2012-09-28add sort dialog .uiGokul
Change-Id: I725cd86094f8605f093c730e7b18f4c1e4a9adea
2012-09-28set the default button on various dialogsCaolán McNamara
Change-Id: I63b1cc73d8ed240c40dec07fe1f8470da8410464
2012-09-28adapt zoom dialog code to layout widgetsCaolán McNamara
Change-Id: I7da387db88b8a4449dc1dc7099527f786b0d565e
2012-09-28convert add/remove autoformats to new layout dialogsCaolán McNamara
Change-Id: I79d658b4e8e1342c012a4bc52b3204ccceaa5520
2012-09-28convert String Input dialogGokul
Change-Id: I484f7b495d529664717cf2f9f3f1f4edc7c1ad01
2012-09-28adapt code to new table autoformat dialogCaolán McNamara
Change-Id: I7bc8c1b37fa9757c5d47902d54865d0319135517