summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2012-12-18SwFrm::CheckPageDescs: if bOdd is false, we want left formatMiklos Vajna1-1/+1
2012-12-18fdo#58376 SwFrm::CheckPageDescs: fix crash on fallbackMiklos Vajna1-1/+4
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 Vajna1-1/+1
2012-12-18sw: kill C2U in filterMiklos Vajna2-35/+33
2012-12-18removed useless #if 1Cédric Bosdonnat1-2/+0
Change-Id: Idac86a48ceecf6fac1d84f8c4fb168ebe427717a
2012-12-17fdo#58286: sw HTML export: fix missing end tags on FrmFmtsMichael Stahl1-1/+2
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 Ma1-2/+2
Patch by: Lin Yuan Review by: mayongl Reported by: Ji Yan
2012-12-17fdo#53525 - Revert "writer:crash(i118878) when addingMichael Meeks1-27/+19
columns and chang. properties in a frame" This reverts commit de1c42d9f552bc57b28d50f4313bc982c63b84d4.
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann1-0/+7
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 McNamara1-1/+5
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 McNamara1-0/+1
Change-Id: I17139da65d0adbdaaa2c7bafb066fc6f74c42700
2012-12-17Resolves: fdo#58284 outline numbering list is of wrong typeJulien Nabet1-0/+1
Change-Id: Ifb1fa41bef033b4f0624f46a945d5a5c47bada4a
2012-12-17n#792778 testcaseMiklos Vajna2-1/+34
Change-Id: I0f86c70f5068b32e2a1cf1ac605e32b7e5903e94
2012-12-17n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna1-12/+15
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 Abe5-67/+67
Change-Id: I8fe2b267454a3a4c235e6de7f44aa127657d0429
2012-12-17UniString::Fill -> OUStringBuffer::padToLengthCaolán McNamara2-4/+9
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 McNamara4-8/+8
Change-Id: I66fdf76c9e6aceca594bac6e1007676250ac7301
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara1-3/+3
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-15Some cppcheck cleaning in sw/Julien Nabet9-22/+8
Change-Id: I73365ed32a47e41c6f58191ee111d9b05741b421
2012-12-14Do not defer ~XMLRedlineImportHelper activity to ~SwXMLImportStephan Bergmann1-0/+1
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 Bergmann1-2/+8
Change-Id: I17dc1673d5126e00328baa1e7a8ed9b59572f08d
2012-12-14SwXMLImport::CreateTextImport -> xmlimp.cxxStephan Bergmann2-10/+10
Change-Id: Iea502cbe8becaf460f50e1ec954cf2cb6c18e252
2012-12-14-Werror,-Wunused-private-fieldStephan Bergmann2-2/+0
Change-Id: I7a65695e8ccca57cf3bd0fd3495ecbd6fe147fa9
2012-12-14sal_Bool to boolTakeshi Abe12-79/+79
Change-Id: I43a98cfaf0a508e99f7f6b413e67d4c1ebdacfba
2012-12-14drop converted TP_OPTPRINT_PAGE pageCaolán McNamara2-185/+0
Change-Id: Ieac443b40fd5fa3b1b13b492e1b97a5df35835b5
2012-12-14merge NONE stringsCaolán McNamara4-20/+17
Change-Id: I4a2babc74c39579c26ac89445769a6f52ae68221
2012-12-13Resolves: fdo#32181 #i68503# don't emit pesky space unless in tagged pdf modeCaolán McNamara1-1/+3
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 McNamara6-111/+155
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 McNamara2-2/+24
Change-Id: I468cb3dd2664d7ab05b0c9bd3ffb8e652c7af066
2012-12-13migrate 'Caption options' dialog to .ui fileJack Leigh9-255/+395
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 Abe10-70/+71
Change-Id: I56e3889774b13fc040f72d576b8ea530bf31f9a5
2012-12-13update PCH headersLuboš Luňák1-27/+0
2012-12-13PCH for Library_mswordLuboš Luňák4-3/+274
2012-12-13SwFmtAnchor::SetAnchor(): assert that position is on SwTxtNodeMichael Stahl1-0/+5
Change-Id: I1c2a1cc2de4984cdcf1e5b8d0eafbd1471538e4a
2012-12-13fdo#58142: fix frame selection in SwPageFrm::GetCrsrOfst:Michael Stahl1-6/+8
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 Abe1-4/+0
Change-Id: Ib229ff454769113d1e3798f8c8b2d6a2c8019efa
2012-12-12sal_Bool to boolTakeshi Abe8-82/+82
Change-Id: Id8c5f0a67b5906f78a1fd82f06c491f3276b827d
2012-12-12Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara2-5/+5
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 McNamara1-2/+2
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 McNamara9-310/+7
Change-Id: Ia2846861e103d719e6dd7cc80ddd200d4c69c1a2
2012-12-11fdo#57320: sw: HTML export: hidden text should not be visibleArne de Bruijn4-2/+17
Change-Id: I974675b43b56d064a693bcb2d356580243c19393
2012-12-11sal_Bool to boolTakeshi Abe8-28/+28
Change-Id: Idf6003acc7ee07997150f77c886947dc1476218f
2012-12-11Drop unused functionTakeshi Abe1-1/+0
Change-Id: I4d33262fbff0c802379eea2c048048c85f4c373c
2012-12-11prefer my own cjk char-as-word countingCaolán McNamara1-49/+0
Change-Id: I120acd40b83cad074869b404d4e74b5ec69d493d
2012-12-11sw: splitted -> split in SwRTFReaderMiklos Vajna1-2/+2
Change-Id: Iffa3296a15cbfaef8b7eca0648d9d954c92b3d4a
2012-12-11fix include guardLuboš Luňák1-1/+1
2012-12-11remove wrong and unused forward declaration for 'class vector'Luboš Luňák2-3/+0
2012-12-11PCH support for Library_swLuboš Luňák9-12/+1141
With MSVC2010 compile time goes 20 minutes -> 7 minutes. With Clang it's however 7 minutes -> 10 minutes, apparently the overhead caused by all the extra data is bigger than the gain.
2012-12-10Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis2-4/+4
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10fdo#57780: sw: lcl_ArrangeLowers: register drawing ...Michael Stahl1-2/+2
... objects at the right page. This was effectively disabled for all anchor types except FLY_AT_PARA by a misplaced ! in the conditional, and C++ not being a type safe language. Change-Id: I64af2141e577ac896292eecd9f8c46c62a0548db