path: root/vcl/source/edit/textdoc.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-08-16sal_uLong to sal_Int32/longMatteo Casalin1-2/+2
Change-Id: Ia4ae190da37351b8c2b7ee9fc953508c5b1ab062
2015-08-16Avoid unnecessary OUString copiesMatteo Casalin1-6/+3
Change-Id: Ic76c9b75bcc72d8ae6a54d6ebba49acb77073bea
2015-08-16sal_uLong to sal_uInt32 as TextPaM paragraph numberMatteo Casalin1-10/+11
Applied also to related functions. Also fix a couple of minor issues while at it. Change-Id: I615094d047c87a0f4854054e720492d3ab25c575
2015-08-16sal_uInt16 to sal_Int32Matteo Casalin1-1/+1
Change-Id: If23175eebaccc4bfce2d921ed8d1ae66832178de
2015-08-16sal_uInt16 to sal_Int32Matteo Casalin1-4/+4
Change-Id: I6981781d2842d06631216edc7509d96d878285b6
2015-08-01sal_uInt16 to sal_uInt32Matteo Casalin1-2/+2
Change-Id: Ib95d8812b0ce288b9691a398fe0396e73ea9af97
2015-08-01sal_uInt16 to sal_Int32Matteo Casalin1-1/+1
Change-Id: I723d7c187ec186ccc68f061ba2357712a5f31869
2015-08-01sal_uInt16 to sal_Int32Matteo Casalin1-7/+7
Change-Id: I19785cc516daf03aee8783a23399929785d30c5f
2015-07-06improve the returnbyref lopluginNoel Grandin1-56/+54
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2015-01-19fdo#75757 Remove inheritance from std::vectorMichaël Lefèvre1-17/+16
Take care not reproducing fdo#86552 again. Change-Id: I4a5967e76afcb5467addc81bc9eca61bb65865e7 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-12-19Resolves: fdo#86552 undo want to take ownership of nodes, but can'tCaolán McNamara1-36/+44
Revert "fdo#75757 remove inheritance from std::vector" This reverts commit 63d8977f9fb0618d36dc8e0ee2f8068b1af92fe6. Change-Id: Idc9902a77ee2c1cb21b9e3b477b2d960772a022e
2014-11-18fdo#75757 remove inheritance from std::vectorMichaël Lefèvre1-44/+36
For TextDoc, also removing ToolsList Change-Id: Id818f61f562317ce106414937253f1748a33315a Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-07-27fdo#75757: remove inheritance to std::vectorTakeshi Abe1-63/+36
... by boost::ptr_vector. Originally TextCharAttribList::Clear() was never called with false, so this drops the argument. Change-Id: I0306cd787dd38de0960af38afe9c08a910195b26 Reviewed-on: Tested-by: LibreOffice gerrit bot <> Reviewed-by: David Tardon <> Tested-by: David Tardon <>
2014-04-02Kill superfluous vertical whitespaceTor Lillqvist1-2/+0
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-02-21vcl: sal_Bool -> boolStephan Bergmann1-18/+18
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-01-13drop unnecessary tools/string.hxx includesCaolán McNamara1-1/+0
Change-Id: I2439ed19b554381f80e882aacbac05167622df92
2014-01-13longparas: drop STRING_MAXLEN limit in TextDocCaolán McNamara1-7/+0
Change-Id: Iabe74f423c2d65bad637e56e5ab44dd808d41df1
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara1-2/+1
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-08-12fix up some other single arg String::Erase conversionsCaolán McNamara1-1/+1
Change-Id: Id04301261c100cb122d63fe75324967cf95b23ab
2013-08-12convert vcl/source/edit/textdoc.hxx from String to OUStringNoel Grandin1-19/+19
Change-Id: Ie53f89d3112edb75d69d04777df1406ea4f980fa
2013-08-12XubString->OUStringCaolán McNamara1-7/+8
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-05-18sal_Bool to boolTakeshi Abe1-10/+10
Change-Id: I5bc7eba1ba17162916c016218b8e5f43627ce047
2013-04-16fdo#39468 Translate German comments V2 - vcl/source/edit/{textdata, textdoc}Christian M. Heller1-59/+38
made the changes suggested by Thomas and Petr Change-Id: I0f9e8dcda27a714628edaa5e1e8fd875c8f67593 Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks1-23/+14
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export impress212: drawinglayer gbuild environment changes impress212: DffPropSet -> minor code improvements, removing table impress212: #158494# fixed excel import (text rotation) Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement #118728# changed indentifying definitions for Svg file detection #118838# LineGeometry creation for complicated cases optimized to create single Polygons #119176# corrected file type detection for SVG for svg files without xml header #118728# Extended Svg file detection #118529# solve break converters and convert commands for OLEs and images svg: added WaE changes from branch svgreplacement to trunc svg: corrected missing member initialization fix for #118525#: Using primitives for chart sub-geometry visualisation #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... #116758# Secured VDev buffer device to Vcl deinit #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early #118829# enhanced Svg gradient quality, obstacles avoided #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state #118796# corrected null-pointer usage in SVG text exporter #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... 118779# Added svg content streaming in/out to ImpGraphic stream operators linecap: correctons for WaE and mac drawing svg: uses current system Dpi for Svg replacement image creation Patches contributed by Mathias Bauer (and others) gnumake4 work variously Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. cws mba34issues01: #i117714#: remove assertion Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods extend macro->string handling for empty strings avoid magic constants for SALCOLOR_NONE initialize slant properly in ImplFontMetricData constructor (author=iorsh) #i118675# make check for extension updates more stable #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines gnumake4 work variously from Hans-Joachim Lankenau plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake mingwport35: i#117795: MinGW port fix for vcl2gnumake Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. 118881: Ignore empty paragraphs after bullets. Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-10-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud1-2/+2
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: Reviewed-by: Norbert Thiebaud <> Tested-by: Norbert Thiebaud <>
2012-08-07fdo#46193 MessBox was made copyableZolnai Tamás1-0/+636
Part of MultiLineEdit was moved down from stvools to vcl with name VCLMultiLineEdit. MessBox uses it to display the message in read-only mode. Some of svtools' classes - which are necessary to implement VCLMultiLineEdit - were moved to vcl as a whole, and their includes are rewrite. Note: ExtTextView and ExtTextEngine classes would be leaved in svtools if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK end IMPL_LINK_NOARG make it impossible to use template syntax. Change-Id: I26543868d8081c225c7125404d23369de3c3afcd