summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2014-03-19convert OUString::match to OUString::endsWithNoel Grandin
Convert code like: rTxt.match( "---", rTxt.getLength()-3 ) to: rTxt.endsWith( "---" ) Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-19Add dash-dot and dash-dot-dot line styles.Kohei Yoshida
We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
2014-03-18Disable unit tests which use library objects from libmerged on Windows.Matúš Kukan
For some reason on Windows the linking fails with 'one or more multiply defined symbols found' error. Change-Id: If2af0822a837665e8f0a31d04cd42bf4d1f054f0
2014-03-17Make this non-inline.Kohei Yoshida
Change-Id: I2002f7278b63b7678a5274e4213ab9dfb50e525e
2014-03-17codemaker,editeng: prefer passing OUString by referenceNoel Grandin
Change-Id: If3e2dd3905cc33f1e7fc9fbfbb9f2bb49a756a34
2014-03-15fdo#63154 Remove some solar.h referencesAlexandre Vicenzi
Remove some solar.h from tools. Replace sal_uLong by size_t, sal_uInt32 and sal_Int32. Change-Id: I38961db046337a3ea4ef75d64afa424d81391f34 Reviewed-on: https://gerrit.libreoffice.org/8582 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-14fdo#68779: RTF import: set borders without explicit widthMichael Stahl
Word reportedly uses 0.75pt as a default if \brdrw is missing. Change-Id: I263c56f756c65ff6bb30870aa70806564d5826a6
2014-03-11oox export: associate editeng CharInteropGrabBag with sw via SIDTomaž Vajngerl
Change-Id: If25356aa88f435e53b6014773e23d18723507053
2014-03-11editeng: sal_Bool->boolNoel Grandin
Change-Id: I7a7b5e9ae1762cace1f87b379b32398b231745fd
2014-03-10editeng: register GrabBag as a Char attributeTomaž Vajngerl
and hopefully this fixes the tests.. Change-Id: Ib736ee1c0bfcebb2515009ddad7e3c76cb58a095
2014-03-10editeng: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I4135695eccb486e5df180f98a247755ba85a9454
2014-03-10editeng: Add CharInteropGrabBag to editeng.Tomaž Vajngerl
Change-Id: I91c816499f463febc536d79e4a9fd9804f74df00
2014-03-10RTF writing now uses SfxStyleSheetIterator to iterate over style sheetsTobias Lippert
Change-Id: I9d5e86eecf1849d8ae7f9e7052c434844e27ddfd Reviewed-on: https://gerrit.libreoffice.org/8481 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-07coverity#735418 Logically dead codeCaolán McNamara
Change-Id: Iad5d984cd923758daee8d5d6d76694586a34b9e0
2014-03-07coverity#982456 Dereference after null checkCaolán McNamara
Change-Id: I7222d394c47b73b8a84cd069fed3eb268090a70b
2014-03-06coverity#1190356 Dereference null return valueCaolán McNamara
Change-Id: I9a857423cd190b2da9f535e8897a9c9baba40b73
2014-03-05Simplify DrawWaveKeith Curtis
This patch simplifies the DrawWave logic. Callers of that code would try to figure out what size wave to draw and pass down a style integer to DrawWaveLine, but DrawWaveLine already has logic which trims the height of the wave so it doesn't need the hint. This doesn't change the UNO API (::com::sun::star::awt::FontUnderline::SMALLWAVE), but it does get rid of internal usages and maps those small waves to normal. Note that changing the zoom in Calc right now causes spelling underlines to disappear. That bug is not related to these changes. Conflicts: editeng/source/editeng/impedit3.cxx Change-Id: I3caa2a74a0f5228b924d4e1b0a77f96eaef5fa00 Reviewed-on: https://gerrit.libreoffice.org/8168 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05remove unused code SvxNumRule::Create(SvStream&)Noel Grandin
Change-Id: I82205010e613a07df24f22071eec74f53578671d
2014-03-05remove unused code SvxNumberFormat::Create(SvStream&)Noel Grandin
Change-Id: If8cfea11552bf008ab4381ecec50aadf58a98a45
2014-03-05remove unused code accessibility::AccessibleParaManager::Release(int)Noel Grandin
Change-Id: I1f3bbd1baf16c27fb5c01055295ccabb3d6eb3d7
2014-03-05remove unused code editeng::MisspellRange::MisspellRange()Noel Grandin
Change-Id: Id137b4789652ca54290106a33d2c230723834a52
2014-03-05remove unused code editeng::Section::Section()Noel Grandin
Change-Id: I1201ebf5f97f95690835d343be8d1b6f5382dbe6
2014-03-04fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida
Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: Icfda5e8e774b9b5a6c3d99b636e4ce772b93139d
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I767aa3d25f6d18e8a6e23b4d3f8d038d581ac292
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I4fc276e320294d57eb667b6db8e5eff078bc28b3
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I0aa375d35c796cfa1929f9c0e735eaaa05561ee4
2014-03-03editeng: sal_Bool->boolNoel Grandin
this had to be done in conjunction with changing include/svx/unoshtxt.hxx because there are two virtual methods "bool IsValid" in two different base classes and some subclasses are overriding both base-class methods at once. Change-Id: Ib43fc5000b443057caaa513b4efeaa6fd16e4260
2014-03-02WaE sign/unsigned compNorbert Thiebaud
Change-Id: I12cb5aa89caa3670101f4632701e33851885c1db
2014-03-02Fix editeng missing spellchecking redline on loadNorbert Thiebaud
Change-Id: I16bfbff85978702c93932d723180a7f9166bd39e
2014-03-02Add EditPaM::operator !() and simplify EditSelection::IsInvalidMatteo Casalin
Change-Id: Id47d77e63eff2267f5e4112b88dfb90c3ec95bd8
2014-03-02sal_Bool to bool and some optimizationsMatteo Casalin
Change-Id: I6a42b78caaff962368b83def8e291d6b6c50abb1
2014-03-02Return value of EditSelection::Adjust is never usedMatteo Casalin
Change-Id: I32770f34819cf737beeef4d22a26538d9ac357a5
2014-03-02sal_Bool to bool, with some optimizationsMatteo Casalin
Change-Id: Ia1c73cf97e93a999147ce82ebb18767743adf2fc
2014-03-02Use EditSelection::HasRangeMatteo Casalin
Change-Id: I6be00dc99e40bb190647cd5007431d4cca750024
2014-03-02Avoid temporaries just used as return valueMatteo Casalin
Change-Id: I4b7fc7103cac3acd5561754fc15b7f7b40c041fe
2014-03-02Use existing method instead of hand-writingMatteo Casalin
Change-Id: If28620d1e0c8b719e2d0de41831e52b238113308
2014-03-02EditLine::CalcTextSize - nIndex is updated but never readMatteo Casalin
Change-Id: Iec96535e154e0467fe5e89264782efa30837bff9
2014-03-02Avoid a check and use plain arithmeticMatteo Casalin
Change-Id: Ie475a6f7d523d5aa6c0ef1952adce56caeac347b
2014-03-02Use OUStringBuffer instead of rtl_uString in EditDoc::GetTextMatteo Casalin
Change-Id: I292c2b726de3e6c27f05fdf7612fe057ae9f94ad
2014-02-28fdo#63154 Remove unused solar.hAlexandre Vicenzi
Removed from dbaccess. editeng, filter, framwork, formula, lotuswordpro, reportdesing, rsc, uui Conflicts: framework/source/uielement/menubarwrapper.cxx reportdesign/inc/RptDef.hxx uui/source/iahndl.hxx Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273 Reviewed-on: https://gerrit.libreoffice.org/8118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28sal_Bool -> bool in mostly vcl moduleChris Sherlock
Conflicts: include/vcl/settings.hxx svtools/source/table/tablecontrol_impl.cxx sw/source/core/frmedt/fecopy.cxx vcl/inc/canvasbitmap.hxx vcl/inc/headless/svpframe.hxx vcl/inc/unx/salframe.h vcl/inc/win/salframe.h vcl/inc/win/salprn.h vcl/inc/win/salvd.h vcl/osx/DragSource.cxx vcl/osx/DragSource.hxx vcl/osx/DropTarget.cxx vcl/osx/DropTarget.hxx vcl/osx/OSXTransferable.cxx vcl/osx/OSXTransferable.hxx vcl/osx/clipboard.cxx vcl/osx/clipboard.hxx vcl/osx/salprn.cxx vcl/qa/cppunit/canvasbitmaptest.cxx vcl/source/components/fontident.cxx vcl/source/control/edit.cxx vcl/source/control/spinfld.cxx vcl/source/gdi/gdimtf.cxx vcl/source/gdi/virdev.cxx vcl/source/helper/canvasbitmap.cxx vcl/source/window/dockwin.cxx vcl/unx/generic/dtrans/X11_selection.hxx vcl/unx/kde/UnxFilePicker.cxx vcl/unx/kde/UnxFilePicker.hxx vcl/unx/kde4/KDE4FilePicker.cxx vcl/unx/kde4/KDE4FilePicker.hxx vcl/unx/kde4/KDESalFrame.hxx Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0 Reviewed-on: https://gerrit.libreoffice.org/8219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-28remove unused code EditTextObjectImpl::SetParaAttribs(int, SfxItemSet const&)Noel Grandin
Change-Id: I7a021c6e33161b09707d3bbdfbf4b3eb2d941f45
2014-02-27Remove visual noise from editengAlexander Wilms
Change-Id: Id7582119a5628cb7f54347678580ce7e47f6d703 Reviewed-on: https://gerrit.libreoffice.org/8255 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic59e48341f69b8c6e6fe77b05eeebac56a2c53e7
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978