summaryrefslogtreecommitdiff
path: root/editeng/source
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02some tweaks in RTF filterMichael Stahl1-1/+5
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-06-12fdo#46112: tweak condition to prevent guessing only...Michael Stahl1-1/+2
...if there are actually individual line widths given; fixes the sw_rtftok test. Change-Id: If5f6ef54b93c5bfccfd011f25d9d9301637d388e (cherry picked from commit 30aa036181480c76f909c2dda86b2682cac1fd73) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2012-06-12fdo#46112: fix Calc ODF border line import:Michael Stahl1-1/+10
There are 2 problems here: - the border widths are tripled on import, because that is effectively what SetWidth does for DOUBLE borders; set a divisor of 3 similar to e2ffb71305c5f085eec6d396651c76d6daee3406 - the 3 individual line widths are ignored and the 3 lines end up with the same width, while older versions had numerous pre-defined border styles with asymmetric line widths; fix this by always guessing the width from the 3 parts for DOUBLE lines Change-Id: Ibdde7e034e25433835765330e81db0825efd9eb8 (cherry picked from commit 70a6a4d425558340bb49507975343a3e0a1bdde8) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2012-05-22fdo#40874: make recorded border macros run:Michael Stahl1-3/+40
When the new BorderLine2 struct with its added members was introduced, the PutValues methods that are called by the macro recorder with seqeunces of Anys were not adapted, so running recorded macro for ".uno:BorderInner" ".uno:BorderOuter" ".uno:SetBorderStyle" fails. (regression from b624e6e6cf2ecfc6e6e983af45212fce5e731006, 7db30f7aa037f52eb07cbb4fd2796bd869204af8) Change-Id: Icd8a11d7f5c8d79c57020f213a1554540b6c666d (cherry picked from commit 18ab7f52ebf78f41f824b2245a8a180d97081716) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-05-18fix for gcc 4.7: unable to find string literal operatorMatúš Kukan1-1/+1
(cherry picked from commit fcc8db1d2be9a25f79cbcc14043b495d240bb8bf) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-10Resolves: fdo#37044 two different TransliterationChgData structsCaolán McNamara1-12/+13
There are two structs called TransliterationChgData with different layout. The crashes on MacOSX must be due to this. Rename them so they've different names. Change-Id: I887a33bed26b339e229b7fb1ef8dddd192f6fae3 (cherry picked from commit 7080d629c82422a419d38051536c7711f8abe53e) Conflicts: editeng/source/editeng/impedit4.cxx Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-01fdo#46805 - special-case appending items to autocorrect listsMichael Meeks1-0/+14
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-04-23fdo#47436: Fixed crash while opening odt file.Dezsi Szabolcs1-1/+2
Signed-off-by: Andras Timar <atimar@suse.com>
2012-02-24fdo#45560: Fixed docx textbox borders style and width importCédric Bosdonnat1-0/+48
(cherry picked from commits e3e7623bf6cecf0e32912347a58e5a2c7297099d, 2c7a532b7e2b8cf41792292610df96755b131987 and fda2c3639de6b673faf2ccd84b6d4318e592fbf0) Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Conflicts: sw/inc/unoprnms.hxx
2012-02-03resolved fdo#42784 BorderLine with only InnerWidth set does not workEike Rathke1-0/+16
(cherry picked from commit 971f826a96f0938bfcfd8dfe26edd50d8e031bb4) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-01-27fdo#38542: SvxBorderLine::GuessLinesWidths:Michael Stahl1-3/+18
Importing style:border-line-width="0.002cm 0.088cm 0.141cm" (which older OOo/LO apparently could write) fails, because GuessLinesWidths can't find a matching style (result: standard "double" border, 3 equal width parts). Try to create a custom BorderWidthImpl of type DOUBLE instead, that preserves the individual widths. Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
2012-01-07make measurement units localizableAndras Timar1-6/+6
2011-12-22Correctly handle empty paragraphs in slideshow animation fdo#43684Thorsten Behrens1-0/+21
Fix a problem with empty paragraphs, that previously did not get proper end-of-para / end-of-line markup, thus the slideshow mis- counting them when getting index-based animation targets.
2011-12-22Revert "aw084: #i108052# Added code to mimic old behaviour and call user ↵Thorsten Behrens1-21/+0
layout link when empty paragraph is rendered" This reverts commit 9d40293f147212120ce2a2e960c1ef23168a428b. The change was causing extra paragraph markers to be emitted, e.g. leading to fdo#43837 and fdo#43684.
2011-12-05aw084: #i108052# Added code to mimic old behaviour and call user layout link ↵Armin Le Grand1-0/+21
when empty paragraph is rendered # HG changeset patch # User Armin Le Grand <armin.le.grand@oracle.com> # Date 1300894213 -3600 # Node ID 773a354b3c4694565fa5ef4588c21c6b2b2eed7f # Parent 1e5618c51d1690a7c619f75d6b79c220c39854f8 aw084: #i108052# Added code to mimic old behaviour and call user layout link when empty paragraph is rendered
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke3-15/+22
2011-11-28ByteString->rtl::OUStringToOStringCaolán McNamara3-10/+11
2011-11-27remove include of pch header in editengNorbert Thiebaud84-168/+0
2011-11-25gsl_getSystemTextEncoding -> osl_getThreadTextEncodingDavid Tardon3-3/+3
2011-11-24RTF import: partly fixed the WMF images scaling.Cédric Bosdonnat1-8/+1
2011-11-23callcatcher: remove newly unused codeCaolán McNamara2-151/+0
2011-11-23callcatcher: remove recently unused codeCaolán McNamara1-6/+0
2011-11-21callcatcher: update listCaolán McNamara1-7/+0
2011-11-21ditch last ENABLE_STRING_STREAM_OPERATORSCaolán McNamara1-1/+0
2011-11-21Convert Sal to rtl::O(U)StringDavid Tardon1-1/+1
2011-11-19callcatcher: remove some unused codeCaolán McNamara1-9/+0
2011-11-19add narrow (one letter) month namesEike Rathke1-3/+3
While introducing Calendar2 and the XCalendar3 interface anyway, as well the "one letter" narrow month names sometimes needed in calendaring can be added. These are not always the first capitalized letters of the months in all locales, and might even not necessarily be just one character. Introduces a new struct css::i18n::Calendar2 that is not derived from css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to hold the NarrowName elements. In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now have an optional element DefaultNarrowName. If not specified, the first character of DefaultFullName is taken. LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and sequences of CalendarItem2 structs. Application code adapted. The number formatter now displays narrow month names (genitive if applicable) for the MMMMM code, previously it displayed the first 16 bit code point of the full name (not even utf-16 aware). Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-15avoid crasher from unusual odt document fdo#42785Michael Meeks1-14/+20
2011-11-11callcatcher: remove some unused codeCaolán McNamara2-9/+5
2011-11-09_SVSTDARR_sal_uIt16S is a typo and doesn't do anythingChristina Rossmanith1-3/+0
2011-11-08callcatcher: some unused methodsCaolán McNamara1-7/+0
2011-11-07callcatcher: update list, drop some newly unused methodsCaolán McNamara2-108/+0
2011-11-07callcatcher: remove some unused methodsCaolán McNamara1-17/+0
2011-11-04update unused listCaolán McNamara4-32/+0
2011-11-03remove unused methods in EditEngineFelix Zhang1-175/+1
2011-11-01eliminate SvUShorts typeDaniel Di Marco2-24/+23
2011-11-01callcatcher: unused Drop codeCaolán McNamara1-16/+0
2011-11-01can go behind appropiate ifdefCaolán McNamara2-1/+4
2011-10-24autocorrect: non-breaking space before % in French fdo#41015Andras Timar1-3/+3
2011-10-21Fix for bug fdo#41997, cleanup vcl enumerationOlivier Hallot2-2/+2
2011-10-17these can be constCaolán McNamara1-1/+1
2011-10-11#i108468#: clean up xmluconv code duplication, measured approach:Michael Stahl1-2/+5
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt: should be sufficient, since the largest number is SAL_INT32_MAX * 10^7. remove duplicate methods from SvXMLUnitConverter: convertMeasurePx, convertMeasure (static variants) remove entirely duplicative class SvXMLExportHelper: GetConversionFactor, GetUnitFromString, AddLength change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit. change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit. rename some methods to turn compiler into merge conflict detector :)
2011-10-07WaE: could do away with nToken altogether, but this is more readableCaolán McNamara1-1/+2
2011-10-07cppcheck reduce scope of var in editeng/..txtrange.cxxPierre-André Jacquod1-9/+6
2011-10-07cppcheck reduce scope of var in editeng/.. impedit3.cxxPierre-André Jacquod1-2/+1
2011-10-07cppcheck reduce scope in editeng/..svxrtf.cxxPierre-André Jacquod1-2/+2
2011-10-07WaE: unsafe mix of type 'sal_Bool' and type 'bool' in operationTor Lillqvist1-2/+2
2011-10-07WaE: assignment within conditional expressionTor Lillqvist1-0/+9
2011-10-05callcatcher: unused methodsCaolán McNamara1-6/+0
2011-10-04callcatcher: various unused methodsCaolán McNamara1-40/+0