21 Commits

Author SHA1 Message Date
Miklos Vajna
91f02521b8 fdo#52475 fix import of RTF_CHCBPAT with value 0
0 means auto, and for fdo#50539, this value was ignored. However a next
sample shows that we should send something to the dmapper: COL_AUTO.

Change-Id: I8d7d35125c9027dfb45288bbfbfa81ba4799e78d
2012-10-01 11:19:38 +02:00
Miklos Vajna
61395b5189 sw: finish cleanup of rtfimport test
Change-Id: I10433c3c40a0c648bd651ed786ecd5523bf58f61
2012-09-30 15:51:07 +02:00
Miklos Vajna
6ce7a5bd57 sw: clean up one more test
Change-Id: Icfcdbedaf6b123fc726e2298ac47698940b36091
2012-09-30 15:28:55 +02:00
Miklos Vajna
f9453275d2 sw: more testcase cleanup
Change-Id: I39681fbf57c828e5d6e80ae7c3155f2f60410a1a
2012-09-30 15:16:40 +02:00
Miklos Vajna
023ea2a73f sw: cleanup in rtfimport test
Change-Id: Idef3ee3fa246b314c4b6b8a59b2b366dadfb679a
2012-09-30 15:05:05 +02:00
Miklos Vajna
9cce649340 sw/qa: more getProperty() usage in extras
Change-Id: Ic4782f3d315b6ef860153fdeb1890bba083f9630
2012-09-28 18:06:19 +02:00
Miklos Vajna
1f75e26439 sw: remove unneeded using statements in qa/extras
Change-Id: I23b77b9c8d245d84a045bdedda1584419f4fddda
2012-09-26 15:41:29 +02:00
Miklos Vajna
af6b7d8ba3 fdo#49655 fix RTF import of text in the middle of table definition
Usually table text comes after the \intbl control word, but it turns out
text is allowed earlier. Make sure such text is buffered, otherwise
we'll send paragraph / run properties to the dmapper in the middle of
table properties, which is obviously not allowed.

Change-Id: I34f1df7e171316a7d926179689627301860d492f
2012-09-24 10:41:33 +02:00
Miklos Vajna
ebf0e1953e fdo#52389 fix RTF import of paragraph without RTF_PAR at the end of the doc
Change-Id: Ib7b48986d5b01c75ae0be8dd6618a2e8be2ae51c
2012-09-21 12:13:01 +02:00
Miklos Vajna
045227f105 RTF ink testcase
Change-Id: I88ab87525945f81ad6e11756f43bc211f8d2b70a
2012-09-19 15:47:41 +02:00
Norbert Thiebaud
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
Miklos Vajna
1efa576ef8 fdo#52052 fix RTF import of page breaks on landscape pages
The problem was that we tried to insert a page break before reaching the
first section break, where section properties are sent.

Additionally, the continuous section break at the end of the doc caused
trouble, so ignore it explicitly.

Change-Id: I22bc355994991beeadb41d26b44ce3e2beedbdb2
2012-08-28 11:54:37 +02:00
Artur Dorda
fe2c1a416c Border test now available in rtftok
Change-Id: I9d72c5f5b075983b9be921e15d62c274d84e350c
2012-08-15 13:42:12 +02:00
Miklos Vajna
ad72a47dbd fdo#47495 fix RTF import of multiple shapes inside textframes
Change-Id: Iee8541ff9e88139648d45f08968476f2b1d4e1b3
2012-08-13 12:36:44 +02:00
Miklos Vajna
f6a24ace5a fdo#48446 implement RTF_CPG
Change-Id: I2fb2004f2f755ce337ddd1419acf2510f17622f3
2012-08-10 18:04:58 +02:00
Luboš Luňák
fc41a73a67 fix test after the recent w:position fix (i.e. bnc#773061)
The value 58 was hardcoded in w:position handling before and so was
reused for the test, but now use the value that is (hopefully) correct.

Change-Id: I1191fce9859d688a60f1b3fbdb0e704b130c1670
2012-08-08 16:32:56 +02:00
Miklos Vajna
881a08079c fdo#49892 testcase
Change-Id: I22cae445e5a75563e3c69ac890126292358b9749
2012-08-02 09:21:25 +02:00
Miklos Vajna
334989a3b8 Related: fdo#36089 improve import of EQ field in writerfilter
This moves the FIELD_EQ parsing where it belongs + improves it, so a
custom "lower by" value is handled on import.

Change-Id: I0459042d7a610c397ce90ec3dba5ff49ce9ef60f
2012-07-30 09:57:33 +02:00
Miklos Vajna
0705b9f75d fdo#48033 fix RTF import of pictures inside table cells
Change-Id: I2d9ef3b346d4b10b99b67d0934d63d59f6119f97
2012-07-27 22:23:42 +02:00
Miklos Vajna
173d769a9d fdo#52066 fix RTF import of rectangle shape without text in it
We used to always add a paragraph on shapes, which breaks import of
abused rectangle shapes with minimal height, used as lines.

Change-Id: Ice240bad68bc030e7889c46f72c45646307f17e5
2012-07-19 10:09:31 +02:00
Miklos Vajna
06b6a1da4a sw/qa/extras: rename import tests from *tok to *import
odfimport sounds much better as there's no such thing as "odftok"

Change-Id: I0a8684377c257f2c40a2e8255f62343d4ff2272a
2012-07-13 16:26:10 +02:00