46 Commits

Author SHA1 Message Date
Miklos Vajna
f55c922116 fdo#49692 RTFValue::Clone(): copy m_bForceString as well
Change-Id: Ib8f06ff33fd9c01ea4a1e47c97cfa12f2ced7318
2012-05-10 10:53:20 +02:00
Miklos Vajna
6092b332b9 fdo#49271 rtftok: make sure we send char props if there are no runs
Change-Id: Id900b06fc1aad1d0f50ff92e3c12616dfbc1a81e
2012-05-09 16:50:59 +02:00
Miklos Vajna
333ba4627e sw: move common methods of subsequent filter tests to a SwModelTestBase
Change-Id: I71316d6c5b6f4fb820bd541be1cfbb4d39dd261e
2012-05-09 15:30:12 +02:00
Miklos Vajna
93a7ad0b68 rtftok test: clean up by introducing getStyles() helper
Change-Id: I5759d748efb1ed0aa0376de50eb16ba10e63c280
2012-05-09 13:10:40 +02:00
Miklos Vajna
d6acd86fe1 fdo#49501 RTF_MARGL/R/T/B should also set the current margin
Change-Id: I I69b92d0cd07c9f08f14affb447b55b26b2556186
2012-05-09 12:04:45 +02:00
Miklos Vajna
4f01261a04 n#757651 testcase
Change-Id: Id0d24939632c98937f6fba26b756f139380191b0
2012-05-09 10:23:53 +02:00
Miklos Vajna
116016d516 fdo#38786 implement RTF_CHPGN
Change-Id: I0ae693193b4fc8ed155e2d71b06daa80d46da47c
2012-05-07 09:50:02 +02:00
Miklos Vajna
e8706d7a11 fdo#47764 fix RTF import of automatic paragraph background color
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564
2012-05-02 18:10:58 +02:00
Miklos Vajna
09008a2433 sw/qa/extras: get rid of RTL_CONSTASCII_USTRINGPARAM() and a bit more
Change-Id: If2add0d11f16d7206912cadad8ff50a668a14011
2012-05-02 15:01:53 +02:00
Caolán McNamara
56bdceec9c cppunit test appears to have gotten lost
Change-Id: Ief45ebc79f145c03c5b5967c415b45affffd0ca0
2012-05-01 12:11:19 +01:00
Miklos Vajna
1fc8ccaf58 sw/qa/extras: no need to use different class names for these tests 2012-04-27 15:37:43 +02:00
Miklos Vajna
6f7defd274 fdo#48037 fix RTF import of localized fields 2012-04-26 11:20:27 +02:00
Aurimas Fišeras
a8c05ae840 fdo#44211 (RTF) return default text encoding for Lithuanian 2012-04-25 15:04:23 +02:00
Miklos Vajna
bec0bab00e fdo#48193 fix RTF import of fields without a result 2012-04-25 11:59:00 +02:00
Miklos Vajna
99b875aee0 fdo#48876 fix RTF import of \sl without \slmult 2012-04-21 14:38:03 +02:00
Miklos Vajna
f8bda240a0 fdo#48023 fix RTF import of Russian characters without an encoding specified
lcl_GetDefaultTextEncodingForRTF() in editeng did the same.
2012-04-21 11:57:19 +02:00
Miklos Vajna
69259c6509 fdo#48356 fix RTF import of special unicode characters
The \'0d string should not be an exception when ignoring characters
after the \u control word.
2012-04-20 12:58:12 +02:00
Miklos Vajna
fd2cb15bad sw: also test RTF export of zoom level 2012-04-15 20:05:08 +02:00
Miklos Vajna
385017e0f2 testcase for fdo#39053 2012-04-15 14:40:44 +02:00
Miklos Vajna
ecbea5fac4 implement RTF import of zoom level 2012-04-15 01:19:47 +02:00
Miklos Vajna
b0edaff7e2 fdo#44176 dmapper: fix import of titlepg top/bottom margin 2012-04-11 11:17:35 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Miklos Vajna
f4e0cbaa15 fdo#45182 fix RTF import of character encoding in footnotes
There were two problems here:

1) \plain reset the character properties, but did not touch the current encoding
2) the default properties were not passed to substreams
2012-04-03 17:56:44 +02:00
Miklos Vajna
63b78e6db1 testcase for fdo#47107 2012-04-03 15:25:41 +02:00
Miklos Vajna
0f330ea258 RtfModelTest: introduce common getPages() method 2012-04-02 14:27:12 +02:00
Miklos Vajna
7b58fc3daf fdo#48104 fix RTF import of \page in inner groups
If we have a postponed page break and it's sent to dmapper during a new
inner group, we'll still have the page break request after the parser
state is popped, leading to duplicated page breaks. Instead of the
earlier workaround, just send the proper token to the domain mapper, and
it'll handle it properly.
2012-04-02 14:27:05 +02:00
Miklos Vajna
0827e813f9 testcase for fdo#45394 2012-03-30 10:50:32 +02:00
Miklos Vajna
da1a73fa0b rtftok: added missing test document 2012-03-25 23:01:06 +02:00
Markus Mohrhard
83561ac5bb disable failing test
missing test document
2012-03-25 16:31:42 +02:00
Miklos Vajna
04cae9ec1e fdo#46955 fix RTF import of all capitals char prop 2012-03-24 17:29:49 +01:00
Miklos Vajna
5e994d528c fdo#47036 fix RTF import of multi-paragraph exact height textboxes 2012-03-24 16:49:28 +01:00
Miklos Vajna
0d9132c504 fdo#47036 fix RTF import of shapes inside text frames at the start of the doc 2012-03-24 16:38:39 +01:00
Miklos Vajna
f84e0e6b1b fdo#47326 fix RTF import of mixed super/nonsuper text
In most cases \super has its own group, but it's valid to have mixed
super and non-super text in a single group, as long as \super and
\nosupersub keywords are used: handle this.
2012-03-23 14:30:45 +01:00
Miklos Vajna
9415e8c6c3 testcase for n#751020 2012-03-19 10:56:47 +01:00
Miklos Vajna
dd875e4f6a testcase for fdo#43965 2012-03-19 09:09:09 +01:00
Miklos Vajna
e5823e8513 testcase for fdo#45563 2012-03-13 10:19:46 +01:00
Miklos Vajna
f722299e13 implement RTF support of contextual spacing
Import, export and testcase.
2012-03-12 21:09:45 +01:00
Miklos Vajna
7029ccec25 testcase for fdo#46662 2012-03-01 11:42:36 +01:00
Miklos Vajna
bb4ceaa4bb add testcase for fdo#45187 2012-02-27 11:21:55 +01:00
Miklos Vajna
938ddf3790 testcase for fdo#42465 2012-02-22 17:59:42 +01:00
Miklos Vajna
9fec1e59fa testcase for non-box paragraph borders 2012-02-22 15:51:07 +01:00
Miklos Vajna
2cd5042eb8 testcase for RTF import of drawing objects 2012-02-21 18:44:35 +01:00
Miklos Vajna
0e5455ebff testcase for n#695479 2012-02-21 12:21:13 +01:00
Tor Lillqvist
49a4b4c32b Fix int/sal_Int32 ambiguity 2012-02-14 10:55:50 +02:00
Miklos Vajna
c26d9befba testcase for fdo#45543 2012-02-13 21:56:13 +01:00
Miklos Vajna
3cd8d8c27d sw: add rtf slowcheck test that checks the resulting document model
Having it as a subsequent test in wrifterfilter would be less useful;
having it as a unit test in writerfilter is not possible, since
writerfilter does not depend on sw.
2012-02-13 14:21:03 +01:00