summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-30wrtw8sty.cxx: convert anachronistic SvArray callsMichael Stahl
... which came in via caaeb0a046a0c712224c21e3e8531e67efd4216f Change-Id: I76066f1847075e645f4847c9ce44a599ed8703f4
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-11-30Revert "i#116420, fdo#33477: Implemented VertOrient on Writer table cell..."Michael Meeks
This reverts commit 2d96b310b4894dd06eb541474a5dc05346a28efd. Conflicts: sw/source/core/docnode/ndtbl1.cxx
2012-11-30masterfix OOO340: #i117701# prevent warning in xmlitem.cxxKurt Zenker
2012-11-30sal_Bool to boolTakeshi Abe
Change-Id: I3b201985d204995c4b9eb707e7ef650c55985751
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29sw: fix RTF export of text frames anchored to empty paragraphsMiklos Vajna
Regression from d4069372484f18b242a42a1996767f57b031fff6 Change-Id: I28e095819e0c2f1a4b110741ace366329937f863 Reported-by: Michael Stahl <mstahl@redhat.com>
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29.dot files sometimes rejected by writerCaolán McNamara
because CWW8 appears twice, once for normal .doc and once for .dot. So a .dot files is tested twice if it's supported by the WW8 filter. Depending on the (effectively arbitrary) order they appear in the list .dots may fail the "is a normal non template .doc" test after the "is a template .dot" test and get rejected as a CWW8 candidate. Change-Id: I88aec29fdd5f9ec4dd4ad2813ff3c6b8fa5c5461
2012-11-29optional ppFlt argument never usedCaolán McNamara
Change-Id: Ib2c68091f14d04818ae5e7db0ad7b8a1ec151f4f
2012-11-29Simplify SwIoSystem::IsFileFilterCaolán McNamara
bRet = bRet && (pFltr->GetUserData().equals(rFmtName)); is already inside an if bRet = bRet && (pFltr->GetUserData().equals(rFmtName)); condition bRet = xStg.Is() && IsValidStgFilter( *xStg, *pFltr ); is already inside an if ( xStg.Is() ) condition Change-Id: I2115041d99b6fcbae7a829557c37627d03b5ee24
2012-11-28OUString::concat() does not modify in-placeTor Lillqvist
Change-Id: I71286414fe173bf9f698fcfbeb48524914dea2e9
2012-11-28Resolves: fdo#41554 ww6 file cannot be openedCaolán McNamara
it falls into a (apparently) ww8 specific old school macro parser we use to scrape out some toolbar info and tries to allocate some nutso numbers which throws and aborts the import. Skip importing these in ww6 document, and tweak the code to be a bit more forgiving in ww8 documents where the load fails via exceptions Change-Id: I9bba60db3b95ece54f68d4fa23031f46545697da
2012-11-28SwRTFReader::Read: catch all exceptionsMichael Stahl
... so the filter does not crash soffice with unhandled exceptions. Change-Id: Ia09815009dfb0c9e5163b94aecb76e3e70e6f945
2012-11-28API CHANGE: add a "position" parameter to XParagraph/TextPortionAppend methodsMiklos Vajna
So we can use the new RTF import for clipboard pastes in Writer without inserting text content to the end of the document only. Notes: - SwXText::insertTextPortion: the MovePara() call is removed, as all it did was trying to move the cursor beyond the end of the document. - SwRTFReader::Read: the double fake paragraph insertion / deletion is motivated by the ODT filter. - RtfFilter::filter: if TextInsertModeRange is not passed, then the behaviour is not changed. v2: - added missing @since tags - added insertTextContentWithProperties() method - removed unused appendParagraph() method Change-Id: I24cddb00a78e3b798e7d88764e59e6a77a6e98a4 Helped-by: Michael Stahl <mstahl@redhat.com>
2012-11-29sal_Bool to boolTakeshi Abe
Change-Id: I7b00701ed44bb747a3f85e1638f0f82c1ee15299
2012-11-28De-duplicate _ReadFieldParamsTor Lillqvist
Change-Id: Ib08f5ab8e6155f1b9be100377657678b8c480060
2012-11-28fix misuse of toAscii(Lower|Upper)CaseNorbert Thiebaud
OUString are immutable so these api, contrary to what happen with String, do not change the object but create a new copy Change-Id: Ib48a8d11e485d4b8556f4427880aaaca32d4e82c
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-27String and OUString cleaning in xmloffNorbert Thiebaud
Change-Id: I85d7fd7733814c60a048a7f87d43fbcbb83b0eb0
2012-11-27convert the last SvNumberformat::GetOutputString and users to OUStringNorbert Thiebaud
Change-Id: I9766872069ef5c2ee740dcbd8ac288aa8063a752
2012-11-27String::Fill -> OUStringBuffer::padToLengthCaolán McNamara
Change-Id: I1a2bba922d583b9f38bb6617d46c4fc0874f4844
2012-11-27we don't need to convert a system localeEike Rathke
Change-Id: I1b964fc34f078ddf400927ddce4c19130db43ad8
2012-11-27fdo#56513 second header/footer lost saving as .docLuke Deller
This reverts changeset 723f772d for i#106749, then applies an alternative fix for that issue. Change-Id: Ib5a1788b67517c8d3cf80fd76801e30587535366 Reviewed-on: https://gerrit.libreoffice.org/1170 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-27fdo#48317 - Support jumping to next/previous changeMuhammad Haggag
Added two new writer commands: NextTrackedChange (FN_REDLINE_NEXT_CHANGE) and PreviousTrackedChange (FN_REDLINE_PREV_CHANGE). Rewrote the logic for Accept/Reject change (FN_REDLINE_ACCEPT_DIRECT and FN_REDLINE_REJECT_DIRECT) to work well with the newly introduced commands. Change-Id: I03d583bef4225409f69934f16db1854564c2db5f Reviewed-on: https://gerrit.libreoffice.org/1156 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2012-11-27avoid unnecessary LanguageTag conversionsEike Rathke
Change-Id: Ic85bfad73814e9d2a28efc368526f3c1b5a84ad1
2012-11-27added a FIXME markerEike Rathke
Change-Id: If6f15e57154da159999d570178eea896e43c4d45
2012-11-27sal_Bool to boolTakeshi Abe
Change-Id: If000e5980fc7982a21f62b1c90b362abc52019a0
2012-11-27Remove undefined functionTakeshi Abe
Change-Id: Ie9867136a13ced288b90b030b49e7377715647a4
2012-11-27warning C4805: '!=': unsafe mix of bool and sal_BoolMichael Stahl
Change-Id: I42e2de6b4837c2fa334003e670a1aed8881476e5
2012-11-27fix bug 53508Maxime de Roucy
In the format paintbrush function : Apply the paragraph automatic attributes to all the nodes in the selection instead of just the last node. Change-Id: I655f00cbf44d3d80c19a7ef623bc1c7cb505ead9
2012-11-26use secondary-group packing to left group help and adapt to OK->Insert changeCaolán McNamara
Change-Id: I0325f42e78efbf819c6883b69d5a8903e05ac36e
2012-11-26New Layout for 'Insert Table' DialogSamuel Mehrbrodt
As discussed in http://nabble.documentfoundation.org/Libreoffice-ux-advise-New-Layout-for-Insert-Table-Dialog-td4020074.html Change-Id: Icd1a77d845aa14a918077ccefd7f9892ad05f199 Reviewed-on: https://gerrit.libreoffice.org/1172 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-26set default script text in .uiCaolán McNamara
and move last javascript string into global strings Change-Id: I51f0e18e77ab1696d5b70c98698b81ac6122f970
2012-11-26Migrate 'Insert Script' dialog to .ui fileJack Leigh
Change-Id: Icd3cd8579e9fa8fa4d01fc234317b3b0b03525aa Reviewed-on: https://gerrit.libreoffice.org/1152 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-26sal_Bool to boolTakeshi Abe
Change-Id: I31fa2f4a711f01ca134e8a977eb2147637fc7830
2012-11-26sw/qa/extras: default style change name changedMiklos Vajna
Regression from 2e4f4171d6a29858108922619d680606b633d8f2. Change-Id: Iaaf1cf180458e9b745875aae457e1e3355566385
2012-11-25Fix doxygen comment.Jan Holesovsky
Change-Id: Ia08f5da3e1da257b7d45ffefbd14cf474ee5a95f
2012-11-25"Default Style" is better name than just "Default" for page styles too.Jan Holesovsky
Change-Id: I82ca81ed34db3ba79233534bc5616196ccde7276
2012-11-25sal_Bool to boolTakeshi Abe
Change-Id: Ieb7ddea4c5934717a22e2fdc78883a5d13cfc448
2012-11-25cppCheck: Possible NULL pointer dereferencejailletc36
Change-Id: I1d740eea5c26e0515835c4dc6199a387b6fa8f6b Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1154 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-11-25SwFEShell: fix doxygen commentsMiklos Vajna
Change-Id: I49c0e34cf7e73e04be9020ef27b3d7e7e78028f0
2012-11-24use 2 decimal digitsIvan Timofeev
Change-Id: I4444c7b0072996efe38c643ac8a6b6a432981329
2012-11-24use consistent spacing in Outline Numbering dialogIvan Timofeev
Change-Id: I10d9148127060428a67844a45642bd7d01516de4
2012-11-24fix typo: "Tap stop" -> "Tab stop"Ivan Timofeev
Change-Id: Ia04ccf1dd918f2a52af66b132ab54432cf2e3ca5
2012-11-24kill a few more SvxCreateLocale() & Co remaindersEike Rathke
Change-Id: I2b70bf76a495b9edb79b5b3c4ae1b06abed30f54
2012-11-24get rid of Svx...Locale...() double conversion nonsenseEike Rathke
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-24Title Page dialog: don't stretch spin buttonsIvan Timofeev
Change-Id: Ifce5de33ae60c775b5324102f16304018e24c75e
2012-11-24SwRTFWriter::WriteStream: fix leakMiklos Vajna
Change-Id: I86205aeeefd727090b780bc41a959200affa9920