Age | Commit message (Collapse) | Author |
|
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
Writer's default is 0, but Word's default is 26 (15 in 1/8 pt)
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
After leveltext is imported, the levelnumbers group modifies the
contents of the previous group, but this modification was lost when the
stack was popped.
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
Signed-off-by: Cedric Bosdonnat <cbosdonnat@suse.com>
|
|
(cherry picked from commit f8c9ed1663ac675ed2151a584fcbf86b319cdaf1)
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
|
|
(cherry picked from commits d7baacd81bbcfaa35b7fbf9981fa3fa7c9fb1cb4,
0915f1b3d77afa694a2ca692aec307846827da99 and
00859026749e005759ce4e7115b746b064cd902b)
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit f32fe9f5012e3ee184e1a1fca6814bee9105d8fb)
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
|
|
(cherry picked from commit 343b52ee76f1a88a27007319af644dcce76536cc)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
(cherry picked from commit fa9e867a342a37d84f02f7e801962761cc1d2b6f)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
(cherry picked from commits bbef8b4a93ff840fa6306cc6e41e1e2dd3e6c8fa and
456a59b24d4ba5ac341f76b4302e82b687e97f69)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
Previously all frames were opaque by default, which is the Writer but
not the docx/rtf default. Change the default, while keeping the
possibility to set an opaque color background for the frame.
(cherry picked from commits 4ac48167662c592c21025b89fe8f6925c680c6e0 and
c306532e0bed1df36abf5d7ad6f0363056e69739)
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
|
|
(cherry picked from commit c32b9cd2139249f0c680f664a0ceac3702dd0e73)
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
|
|
(cherry picked from commit e0328096dc21ce12d15db2045074e7860872570f)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
For example Apache FOP generates RTF output where the \picw and \pich
values are even negative, SvxRTFParser::ReadBmpData() used the same
trick to solve the issue.
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat@free.fr>
|
|
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
(cherry picked from commit 1d1f049859e080b403c743f7e0604bd72475a824)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
|
|
This was unnoticed so far as both Writer and Word output \pagebb instead
of \page when exporting page breaks.
(cherry-picked from commits 2aa3d43a3746c797391afb1a08c024d512976006 and
d1f3018b0e6d0889febcf09a6c95a2ec354137c0)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
(cherry picked from commit f908fc4ca5bb7ae6d779df4239510fb0a0b84635)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
These keywords should not only set the *default* paper height/width but
also set the current values.
(cherry picked from commit c39e891d4dc963d2cac9843b426494e4dc490278)
|
|
The problem was that these are flags, not toggles.
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
|
|
1) for empty cells, not only paragraph properties, but but character properties should be emitted as well (e.g. font)
2) \sb and \sb is an attribute, not an sprm (it was ignored)
3) \sl was ~ignored due to a typo
(cherry picked from commit 9f15592e08f17908b1e54fed200d0ec6aff29509)
|
|
(cherry picked from commit 92c7b6733e55a6ab62bc231ecf0ffd5c0da7c8d2)
Conflicts:
writerfilter/source/rtftok/rtftokenizer.cxx
|
|
|
|
The problem was that \row took care of states (which is right, since
\trowd wants to reset row properties to the default state), but it
should not respect state pops.
(cherry picked from commit 7ec8f13d3ac0650c7e62e31220f1eda9d0a9284c)
|
|
(cherry picked from commit 01292f171cc851ba092510f10a97cd293670829e)
|
|
Send the real color value to dmapper, not the index, which is
meaningless outside the tokenizer.
(cherry picked from commit e71d6df4137515f928d87375e404459cf9f310be)
|
|
(cherry picked from commit e4e77861c6a42d040230f4b1ca22ad5e8c3d52a2)
|
|
Add a try-catch, so in case setting crop data fails, the size data will
be still set.
(cherry picked from commit 3c86591749aae36f997944d9c972d1c71b21bc7b)
|
|
(cherry picked from commit 133f4d750a46dc67797d2f23f25a1bb39620d59f)
|
|
|
|
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
|
|
This fixes the import of pictures in n#228839 and n#77738
|
|
(cherry picked from commit dc78a1c44c478dc7abb25ff5cbbb7477348f0dd1)
|
|
|
|
|
|
I'm pretty sure I'll love to use it in writerfilter instead of the normal
API whenever I get the chance.
|
|
|
|
Otherwise with malformed xml the dtor is called in a place where
the processing of the formula apparently corrupts the internal
representation somehow and it is impossible to write the document
back as docx. As a bonus, all UI elements related to saving get
disabled, so the document then cannot be saved at all. Although
this is only with malformed xml, which hopefully should never
happen, it's still better to avoid this. Moreover it seems to be
the proper way of coding the handlers anyway.
|
|
Change the RTF tokenizer to send the same tokens than the docx tokenizer
for the <w:framePr> element.
|
|
|
|
When there is no paragraph outside the frame before the section end, the
paragraphs weren't transformed to a frame.
|
|
I'm unsure on what the difference to o:Math actually is, so just make
sure the element and its contents are not ignored and each contained
m:oMath will be read in separately.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|