Age | Commit message (Collapse) | Author | Files | Lines |
|
Mapper().props() was called directly, so all bookmarks pointed to the
start of the A1 cell instead of the correct text range.
(cherry picked from commit 3d922d7da4fa11b8c22bbdffd141fa1398b2fcd4)
Conflicts:
sw/qa/extras/rtfexport/rtfexport.cxx
Change-Id: I40eeb85b61d2ae9138cd666d4a6a3c08eda47da3
Reviewed-on: https://gerrit.libreoffice.org/23913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
|
|
(cherry picked from commit abe8ea175ad9fc282a1e702acb74da5d7c967cbe)
Change-Id: I590d015aa50350cceef70313498e72474d242789
Reviewed-on: https://gerrit.libreoffice.org/22506
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
(cherry picked from commit b0058366190b63fcbc112b43d387f7600a7fe55d)
Change-Id: I562419b6d4fb791ef5b255effe9a4510d930bdbc
Reviewed-on: https://gerrit.libreoffice.org/21884
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The core of this change is that RtfAttributeOutput::PostitField() now
uses WriteOutliner() to handle comment text, instead of trying to output
the plain text as-is.
To have working roundtrip of the comment text, a few more changes are
needed:
1) When emptying the Styles buffer, also empty the StylesEnd one.
2) Annotations don't want a trailing \par, so don't write one for the
last paragraph.
3) Inform the MSWord_SdrAttrIter about where the editeng content will
end up, and make WriteOutliner() accessible outside RtfSdrExport.
Change-Id: I9cbcf4ce5dc3a099d310c6f321ea8e52f8644f9b
(cherry picked from commit 7060525a64ef1048b387f0a6a9f842d78b52fb9a)
|
|
Change-Id: I9d74642156d7bb79577671bae24346c75178c5c7
(cherry picked from commit 5cbe4bcc281c77f4929caf1c387f7732fc8f113b)
|
|
Change-Id: Ibb6e612165ec6e5d771bdf9efa13a88a72233d6f
|
|
RTF import, export, and ooxml export for ruby text are implemented.
tdf#49073 - FILEOPEN: Furigana (ruby text) and characters with them are
missing in opened .docx files.
tdf#50786 - [TASK, METABUG] FILEOPEN, FILESAVE, FORMATTING : Japanese
ruby-character handling is broken
Change-Id: I4a5c30bad180241e3344e9da7efe7da4369fb325
Reviewed-on: https://gerrit.libreoffice.org/17241
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I3ed42ae4dc007c15d4649f57e1691534088549fc
|
|
Commit fe444d1f74abe417962be0bcd3340f40f2446b58 (fdo#62536: sw: fix
AutoCorrect bold/underline on existing AUTOFMT, 2013-06-20) adds an
empty inet format hint on the text node during autocorrection, on export
we can safely ignore that to provide well-formed output.
Change-Id: Iafae941a13e29dcc7d8b4bade5ce94a486b59638
|
|
Regression from commit 1f77a5e8d5bf8a7f1b7bd7206996d2b2efc59462
(n#203704 fix RTF export table output for subtables, 2012-02-08), the
problem is that RtfAttributeOutput::StartTableRow() has two callers
depending on if it's the first or a later row, but the m_bTableRowEnded
flag storing if that method is called is only set in one case.
Fix the problem by moving the update of the flag to the method itself.
Change-Id: Ieae1fb53f9528fc74d037d2fd783b3979b17cab8
|
|
Previously SvxHyphenZoneItem was serialized to some custom RTF extension
that even our own RTF import ignores since LO 3.5.
Change-Id: Ia99d9750ad0b1a07105eeef2bee07e6fdbfe7876
|
|
Change-Id: Ide8cb5f45d3eb60c45d86d58a9ab12bbc9f4cf47
|
|
Handle \highlightN and \chcbpatN separately.
Change-Id: I20546bd4c26154e8b1168f87dcb4ab44a192ad83
|
|
Change-Id: Ifddb3fda827aef0a95649bf074dad7d9cc797edb
|
|
Change-Id: I122f5f23e510ae42664d2b69504f4722aa05597e
|
|
Change-Id: Iab7b4941e9b41249f2a30fa6139313239a98c501
Reviewed-on: https://gerrit.libreoffice.org/14276
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Iabff543c8191fc86dceb9274ea1552f60d73dabd
|
|
Change-Id: I242853d491c2ef83f192486fa6fe5a3407700047
|
|
Change-Id: If2e60557b7551839c344d56cb3a720ae3659e93c
|
|
Reviewed on:
https://gerrit.libreoffice.org/12252
Change-Id: I2d8760c7ecb3677464e167528b2424aaca19a0d7
|
|
Regression from commit 9e6a5b94e00f0054b058dbb42c2c0b6c75236c9d
(RtfAttributeOutput::FormatBox: export line{Color,Width} shape
properties, 2013-04-15), in case lineColor is written, but there is no
border style, then an explicit fLine=0 property is needed, otherwise a
black border shows up.
Change-Id: I6d6eedbc8d3ee4bee0f2aadb51a376c7734c6640
|
|
No need to use fieldmarks for these.
Change-Id: I8d2c797f2b00be88e445dab0dd69cb1a9556c02c
|
|
The exporter didn't write circle and underdot at all.
Change-Id: Ia8f45f2b03fb14e9a0027ec24ee7f36adc8c018d
|
|
Change-Id: If0da6e0e34ce50bbe7dceda089b6bb81b4a63f36
|
|
Ideally all frames have an anchor point in the maFrames vector, as
provided by MSWordExportBase. If that's not the case, then we have no
idea what would be a valid anchor point: just export those as inline, as
we did before.
Change-Id: I81134d9fb8dc4ca166084964d277ac02ceccde7b
|
|
Change-Id: I71c961799f76446cdf24faeba86f881ae02ffe3b
|
|
Change-Id: I712d8f73466c662659a7b76ff363a44a71bba324
|
|
RTF originally didn't support anchored pictures: they were always
inline. Then it was invented that pictures can be exported anchored, if
they are in fact shapes, but their "pib" property is set to the hexdump
of the picture contents.
The RTF importer handled this situation for quite some time, but not the
exporter -- this commit implements that.
Change-Id: I173ad9f4f2e24620508ca63c0b892b7d5da4e5b2
|
|
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
|
|
DOCX export tries to write accurately both <w:br> and
<w:pageBreakBefore>, while DOC/RTF prefers just the page break before
paragraph attribute. Given that these later two exporters are not
adapted to write their equivalent of <w:br> at all, add a virtual method
to determine if writing page breaks as "page break before" is preferred
or not, that'll give the expected RTF export result.
This conditionally reverts commit
a31fbb53dba76736b37213b98b64937f05929a67 (fdo#74566:DOCX: Preservation
<w:br> tag for Break to Next Page, 2014-02-06).
Change-Id: I4a5dd295b07739a570cd8cc6709561e64d031273
|
|
Ensure that we export only one \fldresult per hyperlink by doing that in
StartURL() and EndURL(); the TextINetFormat() is called once per text
portion. This shouldn't cause problems as there can't be anything
between the end of the \field group and the start of \fldresult anyway.
Replace the annoying call to EndURL() from EndRun() with a special case
in EndURL() to store things in the right buffer (hopefully).
(somehow this is regression from c4498251cb7181a9f272b0720f398597c0daef09)
Change-Id: I209ea7a384fb1cb5d1505a70ecc4a4536bbf26a2
|
|
Reviewed on:
https://gerrit.libreoffice.org/9776
Change-Id: I98ef606fb73368a3c275819cb83b936e2162769d
|
|
Change-Id: I64cf70cf7f1f77c38a8a4804b705ce8a0441e487
|
|
In case the URL text has multiple portions, then MSWordExportBase
generates multiple URL's anyway, and this helps to avoid loosing some
direct formatting of the remaining portions of the paragraph.
Change-Id: Ifd72741de610ce69b9ae0978aa8f9a532a3aeed2
|
|
lcov pointed out this method wasn't ever invoked in any of the tests.
Change-Id: I6cccf4fc1d870938a2f218bedc0b8d195a299cd1
|
|
Change-Id: I16bef12840f45b269de18fdac4c3718ed904e1be
|
|
Change-Id: I482735e3fc4091be983b2c7484e086f5d0dd283a
|
|
Change-Id: I9986855f3160ed6f5856aec9f7d33fc416962e77
|
|
Change-Id: Ie680436df68ea6287437f792d97259ee0a840ee1
|
|
This allows e.g. crash-testing the RTF export, even if the input source
is not RTF but ODT.
Change-Id: I3cf6afd1bc44bb475f1bd8da622d10dac0d3baa6
|
|
For now, this is only implemented for the Writer RTF filter.
Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
|
|
Change-Id: I3329663060aeb06ac552bd5d1615d19efe160091
|
|
Change-Id: I811820c0d550ce24ad2180a8917ef0087968c30b
|
|
This should be in sync with model.xml, got broken when the somewhat
random values got fixed to be the same as the ones which are in the ww8
spec.
(Regression from 26d40686128e70916a636e20f5ccc5763bbb6cc8.)
Change-Id: Id62047e0b2d5d8402a7c8bce95de487afe627e32
|
|
-Use sprm:CBrc attribute for all MS filter (for ooxml too).
-Extract general code to FormatCharBorder() method, it selects
the border side and decides whether add shadow to the border.
-RTF export has a color table, which must be filled with border
colors before the actual export.temp
Change-Id: Ic3ceae6e19ddc2ed5aaa8de85617f9a592289b4f
|
|
Change-Id: I8d2485962947eac8acc9ada384a9c1bd4cb22503
|
|
Even if level text is not ASCII, we should just write the placeholder
values (0x00, 0x01, etc.) in a hex encoded form, without Unicode.
Regression from 07d01742c69f1c0335bc7e1b57abd8341ce255e7.
Also, fix the import side, so the previous bad output now looks bad in
Writer as well.
Change-Id: I2f93892006c07eec243ec7dfcb23372d243a2db4
|
|
Change-Id: I7e9d26ec1f47d16e35e24fc4bd9482f5d899e79c
|
|
File -> Properties -> Security -> Record Changes on the UI.
Change-Id: I96d321f407abd33e15a4a133e6723d48efa5bc53
|
|
Change-Id: I8e4f6b926123c79ad1a62ddd4c5feebf5fe06cf0
|