Age | Commit message (Collapse) | Author | Files | Lines |
|
The uno::Sequence copy c'tor creates a flat copy and increments the ref
count. So if you use new and later delete together with the copy
constructor you get a double delete.
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
(cherry picked from commit 61600b62068bf7837c532c8b32377984ee76af1e)
Signed-off-by: Eike Rathke <erack@redhat.com>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
|
|
createTextCursorByRange() likes to throw runtime exception, even though it
just means 'we were unable to create the cursor'.
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
|
|
In ODF 1.1 and 1.2 this attribute is of type boolean, so only write the
new values if the extended format is selected.
(regression introduced with e479f47f7d48dbd0d701bf347b6a2d5121ba3d34)
|
|
XMLTextParagraphExport::addTextFrameAttributes: delay writing of the
fo:min-width and fo:min-height attributes so that they end up at the
draw:text-box element, and not at draw:frame where they are invalid.
Testing reveals that the ODF import can already handle reading the
attributes from the draw:text-box elements, so there doesn't seem to be
a backward compatibility problem.
|
|
Signed-off-by: Petr Mladek <pmladek@suse.cz>
|
|
|
|
|
|
These have type positiveInteger, so don't write 0 values:
20.191 fo:hyphenation-push-char-count
20.192 fo:hyphenation-remain-char-count
(cherry picked from commit 59a5c37d0df9b5612552c4b749191385ca0adc80)
|
|
The following 3 attributes have been added in ODF 1.2, so don't write
them into ODF 1.1 files:
style:layout-grid-base-width 20.297
style:layout-grid-snap-to 20.305
style:layout-grid-standard-mode 20.306
Additionally, style:layout-grid-snap-to was written wrongly as
style:layout-grid-snap-to-characters, which does not exist in any ODF
spec.
For backward compatibility with previous OOo/LO versions, write the
wrong attribute in addition to the correct one in ODF extended mode,
even though validators complain about it (consider removing that
some years from now).
(cherry picked from commit c1e1ef80e8428514499b061e00801a6a6298d0b0)
|
|
|
|
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299691906 -3600
# Node ID 0b9b11216b0d3401f8824542dd5f2794eb141035
# Parent 69091b8fc77c9951fcdc52b800a37a92dc70bf84
impress210: #i41995# fixed distinct shape and page id
|
|
Do the tempfile handling in SdrMediaObj, not in the window;
this has the advantage that it works even in the presence of clipboard
documents without SfxBaseModels and thus without storage (sc, sw).
The SdrMediaObj instances share ownership of a temp file.
|
|
|
|
|
|
|
|
|
|
|
|
* Read dates with years consisting of less than 4 digits.
ISO 8601 specifies that years are to be written with a minimum of 4 digits.
However, be lenient in what we accept.
* Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
An unnamed form element without parent container lead to a crash when trying to
obtain a unique name by iterating over (now not) existing container elements.
|
|
The export is working, while the import part is still in progress.
|
|
This allow to run make in a module wihtout the need to source
Env.Host.sh.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix for fdo#35190 - Impress writes invalid ODF for the table
styles (text:style-name instead of table:style-name).
|
|
|
|
|
|
|
|
|
|
|
|
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 :)
|
|
remove duplicate methods from SvXMLUnitConverter:
convertTime (all variants), convertDateTime (DateTime variants),
convertTimeDuration.
move convertAny from SvXMLUnitConverter to sax::converter.
|
|
move convertNumber64 from SvXMLUnitConverter to sax::converter.
remove duplicate methods from SvXMLUnitConverter:
convertBool, convertPercent, convertColor, convertNumber, convertDouble,
indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
clearUndefinedChars
|
|
|
|
|
|
|