summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-12-18sw: update README of qa/extrasMiklos Vajna
Change-Id: I7fc9fb44cbcabfc6d9e766777a3425794beb2bb2
2012-12-18docx export: graphics relativeFrom attributes now matches import codePierre-Eric Pelloux-Prayer
Change-Id: I9f543c08f5e19c11c7e1b8020b8c5f62ae040f6e Reviewed-on: https://gerrit.libreoffice.org/1342 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-18Replace chained O(U)StringBuffer::append() with operator+Christos Strubulis
Change-Id: I0fcd70cff092c7d90b57b9af9dcec99f23750f1c Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-18split out statistics info page and convert to .uiCaolán McNamara
Change-Id: I0c940128e535cfadbd7ac917601dd9da0d0a347a
2012-12-18fdo#58376 testcaseMiklos Vajna
2012-12-18SwFrm::CheckPageDescs: if bOdd is false, we want left formatMiklos Vajna
2012-12-18fdo#58376 SwFrm::CheckPageDescs: fix crash on fallbackMiklos Vajna
The problem was that fallback worked like this: if we have no page style, then right falls back to left, and left falls back to right. This is no longer enough when 'first' is missing: for odd 'first' pages, first we should fall back to right.
2012-12-18SwMSConvertControls::InsertControl: typoMiklos Vajna
2012-12-18sw: kill C2U in filterMiklos Vajna
2012-12-18removed useless #if 1Cédric Bosdonnat
Change-Id: Idac86a48ceecf6fac1d84f8c4fb168ebe427717a
2012-12-17fdo#58286: sw HTML export: fix missing end tags on FrmFmtsMichael Stahl
SwHTMLWriter::OutFrmFmtOptions must return a value that includes the parameter rEndTags. (regression from 3852a6f54880af8ed9161227baa555580c7d4517) Change-Id: I280a0de57e254f75b69d08d93e23bf7c765058ec
2012-12-17118878: Writer crash after column number and width of frame are modifiedYong Lin Ma
Patch by: Lin Yuan Review by: mayongl Reported by: Ji Yan
2012-12-17fdo#53525 - Revert "writer:crash(i118878) when addingMichael Meeks
columns and chang. properties in a frame" This reverts commit de1c42d9f552bc57b28d50f4313bc982c63b84d4.
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann
The STLport was only built for the benefit of old extensions on platforms that once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We deliberately break such old extensions for LO 4.0 by no longer shipping that backwards-compatiblity cludge. Keeps STLport listed in readlicense_oo/ because of o3tl/inc/o3tl/compat_functionality.hxx. Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?). Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from l10ntools/inc/helpmerge.hxx that was once added with 854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01 (1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename -> MoveFileEx" but now starts to cause trouble on Windows. Also disables warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both tools/wintypes.hxx and the Windows API) in a number of places that include windows.h -- however the old STLport caused those warnings to not show. Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-12-17Resolves: fdo#58237 set listbox to be expandableCaolán McNamara
which is currently also a synonym as shrinkable so the listbox is shrunk to fit. we do need to get around for forcing widgets to stay within their available space in boxes (should work fine in grids) Change-Id: I38a570b2d59952f3457252c57399e2d6ab9e12c6
2012-12-17sort style list in outline numberingCaolán McNamara
Change-Id: I17139da65d0adbdaaa2c7bafb066fc6f74c42700
2012-12-17Resolves: fdo#58284 outline numbering list is of wrong typeJulien Nabet
Change-Id: Ifb1fa41bef033b4f0624f46a945d5a5c47bada4a
2012-12-17n#792778 testcaseMiklos Vajna
Change-Id: I0f86c70f5068b32e2a1cf1ac605e32b7e5903e94
2012-12-17n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna
Previously textframes inside groupshapes were tried to be imported as TextFrames, but then their addition to a GroupShape failed, so the text simply ended up as a normal paragraph. Fix this by importing members of groupshapes as drawinglayer objects, just like how the WW8 import does. Also fix two testcases, which implicitely tested that the groupshape VML element is ignored on import. Change-Id: I1a9fba8a5fd532203a825e55b1d5996277ea12fa
2012-12-17sal_Bool to boolTakeshi Abe
Change-Id: I8fe2b267454a3a4c235e6de7f44aa127657d0429
2012-12-17UniString::Fill -> OUStringBuffer::padToLengthCaolán McNamara
none of these strings starts out before "Fill" longer than the size they are asked to be filled to so there are no trailing unfilled bits to consider all of which means that we can get rid of UniString::Fill now Change-Id: I8da21e9787017da9243a2c1d7118d3fbcca2a7fb
2012-12-17remove rather pointless uses of aEmptyStrCaolán McNamara
Change-Id: I66fdf76c9e6aceca594bac6e1007676250ac7301
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-15Some cppcheck cleaning in sw/Julien Nabet
Change-Id: I73365ed32a47e41c6f58191ee111d9b05741b421
2012-12-14Do not defer ~XMLRedlineImportHelper activity to ~SwXMLImportStephan Bergmann
At least with one Clang build, executing sw_unoapi test aborts at shutdown of soffice.bin with 20 __cxxabiv1::__cxa_call_unexpected 21 XMLRedlineImportHelper::~XMLRedlineImportHelper 22 XMLRedlineImportHelper::~XMLRedlineImportHelper 23 SwXMLTextImportHelper::~SwXMLTextImportHelper 24 SwXMLTextImportHelper::~SwXMLTextImportHelper 25 UniRefBase::release 26 UniReference<XMLTextImportHelper>::~UniReference 27 UniReference<XMLTextImportHelper>::~UniReference 28 SvXMLImport::~SvXMLImport 29 SwXMLImport::~SwXMLImport 30 SwXMLImport::~SwXMLImport 31 cppu::OWeakObject::release [...] 79 binaryurp::Bridge::dispose [...] 98 desktop::Desktop::DeregisterServices 99 desktop::Desktop::doShutdown 100 desktop::Desktop::Main due to ~XMLRedlineImportHelper calling setPropertyValue on an SwXTextDocument that is !IsValid() and thus throws a RuntimeException. SwXMLImport::endOocument already contains ClearShapeImport with a comment that indicates it is necessary for a similar reason, so add a ClearTextImport that ensures any ~XMLRedlineImportHelper activity is done before the SwXTextDocument becomes invalid, and not only at shutdown of the remote bridge that still holds a (Java) reference to SwXMLImport. Change-Id: I9891879c91bfea79fa9e22691be1826f61fdd70a
2012-12-14Add exception messagesStephan Bergmann
Change-Id: I17dc1673d5126e00328baa1e7a8ed9b59572f08d
2012-12-14SwXMLImport::CreateTextImport -> xmlimp.cxxStephan Bergmann
Change-Id: Iea502cbe8becaf460f50e1ec954cf2cb6c18e252
2012-12-14-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I7a65695e8ccca57cf3bd0fd3495ecbd6fe147fa9
2012-12-14sal_Bool to boolTakeshi Abe
Change-Id: I43a98cfaf0a508e99f7f6b413e67d4c1ebdacfba
2012-12-14drop converted TP_OPTPRINT_PAGE pageCaolán McNamara
Change-Id: Ieac443b40fd5fa3b1b13b492e1b97a5df35835b5
2012-12-14merge NONE stringsCaolán McNamara
Change-Id: I4a2babc74c39579c26ac89445769a6f52ae68221
2012-12-13Resolves: fdo#32181 #i68503# don't emit pesky space unless in tagged pdf modeCaolán McNamara
which means that they are not there to be underlined Change-Id: Ic02372c5284384e18198ebea44c36e83ccb6bf2a
2012-12-13Related: fdo#38606 keep style dialog open when apply is clickedCaolán McNamara
i.e. don't close and reopen, just stay open Change-Id: I11cdc492e3c4adfb75c9a0dfa52e5ba351914858
2012-12-13expand edits and comboboxes to fill dialog if resizedCaolán McNamara
Change-Id: I468cb3dd2664d7ab05b0c9bd3ffb8e652c7af066
2012-12-13migrate 'Caption options' dialog to .ui fileJack Leigh
Change-Id: I58dbb70faf22c5958b65e5192664b7d12d62f04c Reviewed-on: https://gerrit.libreoffice.org/1312 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-13sal_Bool to boolTakeshi Abe
Change-Id: I56e3889774b13fc040f72d576b8ea530bf31f9a5
2012-12-13update PCH headersLuboš Luňák
2012-12-13PCH for Library_mswordLuboš Luňák
2012-12-13SwFmtAnchor::SetAnchor(): assert that position is on SwTxtNodeMichael Stahl
Change-Id: I1c2a1cc2de4984cdcf1e5b8d0eafbd1471538e4a
2012-12-13fdo#58142: fix frame selection in SwPageFrm::GetCrsrOfst:Michael Stahl
The function does not handle the case where a paragraph was hit but no background frame was hit properly, which may or may not (depending on the platform) cause it to return a position of a frame when that is undesirable, such as when called from SwWrtShell::UnSelectFrm(). When UnselectFrm() leaves a frame selected pasting multiple pictures leads to a crash. (regression from e8fbe97900f13305b17015d9044993bde4adab36) Change-Id: I3604825f654c523a37f47a9fc660647d8b3e7077
2012-12-12Remove unused inline functionTakeshi Abe
Change-Id: Ib229ff454769113d1e3798f8c8b2d6a2c8019efa
2012-12-12sal_Bool to boolTakeshi Abe
Change-Id: Id8c5f0a67b5906f78a1fd82f06c491f3276b827d
2012-12-12Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a candidate for getting focus when pressing tab Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-11tweak caption strings for frames to be start/endCaolán McNamara
rather than above/below seeing as the caption is entered into the frame (rather than outside the frame) at either the start or end of the frame contents Change-Id: I633ab6a03e9d47aab72cbade1cd812c8aa6c5a94
2012-12-11titlepage.src is unused nowCaolán McNamara
Change-Id: Ia2846861e103d719e6dd7cc80ddd200d4c69c1a2
2012-12-11fdo#57320: sw: HTML export: hidden text should not be visibleArne de Bruijn
Change-Id: I974675b43b56d064a693bcb2d356580243c19393
2012-12-11sal_Bool to boolTakeshi Abe
Change-Id: Idf6003acc7ee07997150f77c886947dc1476218f
2012-12-11Drop unused functionTakeshi Abe
Change-Id: I4d33262fbff0c802379eea2c048048c85f4c373c
2012-12-11prefer my own cjk char-as-word countingCaolán McNamara
Change-Id: I120acd40b83cad074869b404d4e74b5ec69d493d
2012-12-11sw: splitted -> split in SwRTFReaderMiklos Vajna
Change-Id: Iffa3296a15cbfaef8b7eca0648d9d954c92b3d4a