Commit graph

23635 commits

Author SHA1 Message Date
Miklos Vajna
bc49087c32 enter formfield destination 2011-07-29 17:32:38 +02:00
Miklos Vajna
94855fbbb9 dmapper: remove last paragraph of footnotes
This is the same trick as with headers/footers: the footnote always ends
with an empty paragraph, but in Writer we need to remove this.
2011-07-29 17:32:37 +02:00
Miklos Vajna
d8c57765e9 move drawpage handling to sdrimport 2011-07-29 17:32:37 +02:00
Miklos Vajna
24c413558a factor out shape import to the RTFSdrImport class 2011-07-29 17:32:37 +02:00
Miklos Vajna
f0b1ff715e shape type 0 is no longer special 2011-07-29 17:32:37 +02:00
Miklos Vajna
cf9405a6ce the scope of path properties can be reduced 2011-07-29 17:32:37 +02:00
Miklos Vajna
6e7f7864de the path property is now created independent from the type 2011-07-29 17:32:37 +02:00
Miklos Vajna
0a5f10879f avoid hardwired size for path properties 2011-07-29 17:32:37 +02:00
Miklos Vajna
57a44d0cf5 implement freeform lines 2011-07-29 17:32:37 +02:00
Miklos Vajna
5f07ceec53 silence some pointless todos 2011-07-29 17:32:36 +02:00
Miklos Vajna
753063dd78 implement line shape 2011-07-29 17:32:36 +02:00
Miklos Vajna
7d146140fe introduce method to create shape instance easily 2011-07-29 17:32:36 +02:00
Miklos Vajna
f9e0f09696 dmapper: no last paragraph on shapes
Just like with headers, shapes don't have a last empty paragraph,
either.
2011-07-29 17:32:36 +02:00
Miklos Vajna
b4a14ff63d reset paragraph properties on shape start 2011-07-29 17:32:36 +02:00
Miklos Vajna
e19a2d6fe9 this can be handled in one go 2011-07-29 17:32:36 +02:00
Miklos Vajna
946482802f dmapper: don't set default style for shapes, they do not support that 2011-07-29 17:32:36 +02:00
Miklos Vajna
5775d11472 give dmapper a chance to send parprops 2011-07-29 17:32:36 +02:00
Miklos Vajna
034d30c045 vertical test should not be rotated 2011-07-29 17:32:36 +02:00
Miklos Vajna
c2078710a6 implement boolean linestyle 2011-07-29 17:32:36 +02:00
Miklos Vajna
c064ec80a0 implement vertical text 2011-07-29 17:32:36 +02:00
Miklos Vajna
635b75c9a3 implement linecolor 2011-07-29 17:32:36 +02:00
Miklos Vajna
9203d3a382 implement fillcolor default 2011-07-29 17:32:36 +02:00
Miklos Vajna
dbf2ad161f add comment explaining ww8 import does the same 2011-07-29 17:32:36 +02:00
Miklos Vajna
bff7dd2614 implement fillcolor 2011-07-29 17:32:36 +02:00
Miklos Vajna
36ddb44e08 so far a customshape is always enough 2011-07-29 17:32:36 +02:00
Miklos Vajna
61ff3c5a42 handle run properties in draw text 2011-07-29 17:32:35 +02:00
Miklos Vajna
a6ca3eccd2 initial RTF_SHPTXT 2011-07-29 17:32:35 +02:00
Miklos Vajna
b243bc619c introduce m_pCurrentBuffer to simplify code 2011-07-29 17:32:35 +02:00
Miklos Vajna
209dffc1e3 introduce RTFBuffer_t 2011-07-29 17:32:35 +02:00
Miklos Vajna
6ce39d25ab m_nHeaderFooterPositions can be a queue 2011-07-29 17:32:35 +02:00
Miklos Vajna
dcc53357fc drop never read aTableCells* 2011-07-29 17:32:35 +02:00
Miklos Vajna
58ec833349 try to import as much custom shape as possible 2011-07-29 17:32:35 +02:00
Miklos Vajna
94aa3a2455 more custom shapes 2011-07-29 17:32:35 +02:00
Miklos Vajna
6f2b3c05dc first custom shape 2011-07-29 17:32:35 +02:00
Miklos Vajna
8d2b70a8d6 implement ellipse 2011-07-29 17:32:35 +02:00
Miklos Vajna
8d23968642 size and position is in mm/100 2011-07-29 17:32:35 +02:00
Miklos Vajna
83188e07cc initial shape size and position 2011-07-29 17:32:35 +02:00
Miklos Vajna
824f8e49cc introduce RTFShape 2011-07-29 17:32:35 +02:00
Miklos Vajna
56e79808f8 initial rectangle support (properties are not yet parsed) 2011-07-29 17:32:35 +02:00
Miklos Vajna
473dea9279 parse all properties before resolving pib 2011-07-29 17:32:35 +02:00
Miklos Vajna
fef435dbbd no need to delay the resolution of shape properties 2011-07-29 17:32:34 +02:00
Miklos Vajna
0a34e36558 resolvePict should know nothing about special rtf chars 2011-07-29 17:32:34 +02:00
Miklos Vajna
14814a9bb5 send initial paragraph before trying to close it 2011-07-29 17:32:34 +02:00
Miklos Vajna
821fade8f9 implement RTF_ANNOTATION 2011-07-29 17:32:34 +02:00
Caolán McNamara
da1bc73d5f callcatcher: ditch various unused methods 2011-07-28 09:03:03 +01:00
Luboš Luňák
a1f516893b remove duplicate definitions for w:sdt and w:sdtContent (bnc#705949)
The duplicates are merged somehow (and thus it doesn't work).
2011-07-27 17:42:08 +02:00
Luboš Luňák
48b12f56b0 proper #ifdef for dumpXml() 2011-07-27 17:42:01 +02:00
Luboš Luňák
ee81d8d813 export needed symbols from a lib 2011-07-27 17:41:53 +02:00
Luboš Luňák
6910b10a8b #if -> #ifdef for conditional compilation 2011-07-27 17:41:43 +02:00
Luboš Luňák
b8b044af4d avoid iterator retreating before the start of an empty list 2011-07-27 17:41:31 +02:00