summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
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
2012-11-24sal_Bool to boolTakeshi Abe
Change-Id: I1bd921c55223671d3474c882b059b46fb87fd694
2012-11-24Removed horizontal rule ugly 1990 thingCédric Bosdonnat
Change-Id: Ifafd8b2ffd9af90b6ac4ed2ee0ccd3c5e980731c Conflicts: sw/source/ui/misc/insrule.cxx
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23Toggle Header/Footer edit when loading if neededCédric Bosdonnat
Change-Id: Ia8b469ccbb2d41c70429c725708bc853edcdd537
2012-11-23fdo#52182: Fixed click in frames located in header/footerCédric Bosdonnat
Using a distance to click to select the best object to select between normal text and background object. Change-Id: Ib5b53161c7af2c16f4df379382f2e53fc6d8092b
2012-11-23Show typeid in layout xml dump for debugging purposeCédric Bosdonnat
Change-Id: Ie36ba37d521b4a73455488cee61ef55a6fcc9c0f
2012-11-23Header/Footer: fixed the selection of frames anchored to header/footerCédric Bosdonnat
Now, double-click actually selects a frame anchored in header/footer. Code has been cleaned a bit as well. Change-Id: Idb7f3520527a0cb6efe0ea41c62f452bc87c4e8d
2012-11-23Header/Footer: fixed click on frames over the header/footer area.Cédric Bosdonnat
The main problem here was due to the click to show the separator when there is no header or footer under the frame. That code was just exiting MouseButtonDown too early, which isn't good. Moved the seperators showing code out of the SwCrsrShell as it has no clue about the document-position and may lead to problems. Change-Id: Ia62333b52c5d0659bbe7ec4fcfe6e664db132435
2012-11-23Resolves: fdo#57236 crash on export to htmlCaolán McNamara
SfxItemSet takes a sequence of (start, end) property ranges not a sequence of isolated properties reading 1b0f7ee1e04d7b0fe81f7458ae2116615e0f6889 it appears that the properties the new code wanted to query are included in the original ranges already Change-Id: Ifecdf23270d7f3d875d1c0cd942bab659bbabf29