Commit graph

23556 commits

Author SHA1 Message Date
Miklos Vajna
70d8d50e1d implement RTF_PGHSXN and RTF_PGWSXN 2011-06-23 11:23:53 +02:00
Miklos Vajna
44cbdc68f9 RTFDocumentImpl::dispatchValue: introduce pIntValue 2011-06-23 11:20:18 +02:00
Miklos Vajna
5e21f16b2d implement RTF_PAPERH and RTF_PAPERW 2011-06-23 10:54:06 +02:00
Miklos Vajna
b8d60986fe use SAL_N_ELEMENTS 2011-06-23 00:22:57 +02:00
Miklos Vajna
d71f6330fc implement a bunch of trivial symbols 2011-06-23 00:03:45 +02:00
Miklos Vajna
892d33c8d5 close last section at the document end if necessary 2011-06-22 22:57:31 +02:00
Miklos Vajna
b601cffbc6 implement simple page break 2011-06-22 21:58:01 +02:00
Miklos Vajna
8141daf8ae a column can have only two properties, handle together 2011-06-22 21:51:32 +02:00
Miklos Vajna
93f01242ba implement RTF_COLSR 2011-06-22 21:25:47 +02:00
Miklos Vajna
4ff26f5289 non-balanced columns 2011-06-22 21:17:57 +02:00
Miklos Vajna
fe553af4f7 implement RTF_COLSX 2011-06-22 20:48:26 +02:00
Miklos Vajna
a92a870720 implement column break 2011-06-22 19:03:32 +02:00
Miklos Vajna
c4f66a6891 Don't send section properties early
We don't need the trick of paragraph properties here.
2011-06-22 18:58:29 +02:00
Miklos Vajna
53cf30bde8 implement RTF_COLS 2011-06-22 18:49:08 +02:00
Miklos Vajna
98d0937a16 Section properties are a paragraph sprm 2011-06-22 18:44:29 +02:00
Miklos Vajna
5e95fe795a implement RTF_SECTUNLOCKED (dmapper ignores it, though) 2011-06-22 18:15:42 +02:00
Miklos Vajna
57932727d0 implement section breaks 2011-06-22 18:07:10 +02:00
Miklos Vajna
3430986b5c implement RTF_SECT and RTF_SECTD 2011-06-22 17:54:21 +02:00
Miklos Vajna
ffddfa7c55 these are never read 2011-06-22 17:27:20 +02:00
Miklos Vajna
b99c3e551c remove never written nTableCellPops 2011-06-22 15:48:08 +02:00
Miklos Vajna
f2b3903f95 BUFFER_NESTCELLEND is not necessary 2011-06-22 15:46:49 +02:00
Miklos Vajna
2037021fb8 buffer RTF_PAR in tables 2011-06-22 15:34:29 +02:00
Miklos Vajna
b4b86b7fcc Buffer non-nested table cells as well
This is required as Word writes table properties at the end of a row.
2011-06-22 14:52:07 +02:00
Miklos Vajna
37da7aa99a RTF_CELL should alter the cell definition list outside its current group 2011-06-22 13:12:28 +02:00
Miklos Vajna
61f9a54b21 reset cell definition list on trowd 2011-06-22 13:12:00 +02:00
Miklos Vajna
ec22bf47b1 send table width to dmapper 2011-06-22 11:29:13 +02:00
Miklos Vajna
10493b75a3 RTFDocumentImpl: no longer necessary debug message 2011-06-22 11:17:52 +02:00
Caolán McNamara
eddbb9c7d6 junk some more unused pre-stl template-like macros 2011-06-22 09:24:45 +01:00
Markus Mohrhard
5e137eb78c don't erase an entry in a vector and continue using the iterator 2011-06-22 01:37:13 +02:00
Fridrich Štrba
831a0c88bd Be gracious with broken paths 2011-06-22 00:06:20 +02:00
Caolán McNamara
e8de073d63 use size_t here 2011-06-21 12:24:31 +01:00
Bjoern Michaelsen
03e6f1338c gnumake4: postmerge fixes in hwp 2011-06-21 13:11:39 +02:00
Fridrich Štrba
313c5e1e67 Add bounding box of an elliptical arc and output the 'A' element 2011-06-21 10:51:00 +02:00
Miklos Vajna
639732f50e introduce lcl_Break 2011-06-21 00:15:15 +02:00
Miklos Vajna
18df7b6b5a avoid unnecessary OUString 2011-06-21 00:10:22 +02:00
Miklos Vajna
2b0526cf4f buffering row ends is not necessary 2011-06-20 22:05:56 +02:00
Miklos Vajna
53561d51c7 Nested tables: buffer cell contents till cell definitions
This is necessary as nested cells' RTF_CELLX definition hits the parser
later, than the actual \nestcell cell contents.
2011-06-20 22:02:56 +02:00
Bjoern Michaelsen
ff2f7926a5 gnumake4: switching gbuildization
* mostly switching to gnumake4/writerfilter10 gbuild implementation (thanks mst, hb)
2011-06-20 20:38:45 +02:00
Miklos Vajna
944c242048 Initial nested table support
Implement RTF_NESTTABLEPROPS, RTF_NONESTTABLES, RTF_NESTCELL,
RTF_NESTROW and RTF_ITAP.
2011-06-20 16:53:00 +02:00
Bjoern Michaelsen
68ef83dbd7 fix buildbreakers in oox, revert token changes for now 2011-06-20 14:45:33 +02:00
Miklos Vajna
7d954792ff cell borders are sprms 2011-06-20 13:54:30 +02:00
Miklos Vajna
ac6f0ff1f8 implement RTF_TRRH 2011-06-20 13:46:01 +02:00
Bjoern Michaelsen
b788274180 gnumake4: fix buildbreakers from merge 2011-06-20 13:24:11 +02:00
Miklos Vajna
9443bff00d implement RTF_TRKEEP 2011-06-20 13:17:59 +02:00
Miklos Vajna
951b737566 Reset cell properties on RTF_CELLX
This fixes import of tables when the first cell has no properties
2011-06-20 12:51:07 +02:00
Miklos Vajna
2ce5dbe263 RTF_CELLX: fix assignment of previous cell abs width 2011-06-20 11:18:26 +02:00
Bjoern Michaelsen
6f7b36ecd8 remove merge trash 2011-06-20 09:54:52 +02:00
Bjoern Michaelsen
ae2ebf8fac Merge branch 'master' into feature/gnumake4
Conflicts:
	filter/source/config/cache/filtercache.cxx
	filter/source/odfflatxml/makefile.mk
	oox/Library_oox.mk
	oox/Makefile
	oox/Module_oox.mk
	oox/Package_generated.mk
	oox/Package_inc.mk
	oox/prj/build.lst
	oox/prj/d.lst
	oox/prj/makefile.mk
	oox/source/dump/makefile.mk
	unoxml/Library_unordf.mk
	unoxml/Library_unoxml.mk
	writerfilter/CppunitTest_writerfilter_doctok.mk
	writerfilter/Library_writerfilter.mk
	writerfilter/Module_writerfilter.mk
	writerfilter/Package_inc.mk
	writerfilter/inc/resourcemodel/TagLogger.hxx
	writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
	writerfilter/prj/build.lst
	writerfilter/prj/makefile.mk
	writerfilter/qa/complex/ooxml/makefile.mk
	writerfilter/qa/cppunittests/doctok/makefile.mk
	writerfilter/qa/cppunittests/doctok/testdoctok.cxx
	writerfilter/qa/cppunittests/xxml/testXXML.cxx
	writerfilter/source/dmapper/DomainMapper.cxx
	writerfilter/source/dmapper/DomainMapperTableHandler.cxx
	writerfilter/source/dmapper/DomainMapperTableManager.cxx
	writerfilter/source/dmapper/DomainMapper_Impl.cxx
	writerfilter/source/dmapper/FontTable.cxx
	writerfilter/source/dmapper/GraphicHelpers.cxx
	writerfilter/source/dmapper/PropertyIds.cxx
	writerfilter/source/dmapper/PropertyMap.cxx
	writerfilter/source/dmapper/SettingsTable.cxx
	writerfilter/source/dmapper/StyleSheetTable.cxx
	writerfilter/source/dmapper/TablePropertiesHandler.cxx
	writerfilter/source/dmapper/TblStylePrHandler.cxx
	writerfilter/source/dmapper/ThemeTable.cxx
	writerfilter/source/doctok/WW8DocumentImpl.cxx
	writerfilter/source/doctok/resourcesimpl.xsl
	writerfilter/source/filter/WriterFilter.cxx
	writerfilter/source/generated.mk
	writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
	writerfilter/source/ooxml/OOXMLFactory.cxx
	writerfilter/source/ooxml/OOXMLFactory.hxx
	writerfilter/source/ooxml/OOXMLStreamImpl.cxx
	writerfilter/source/ooxml/RefAndPointer.hxx
	writerfilter/source/resourcemodel/TagLogger.cxx
	writerfilter/unocomponent/component.cxx
	writerfilter/unocomponent/debugservices/rtftok/ScannerTestService.cxx
	writerfilter/unocomponent/debugservices/rtftok/XMLScanner.cxx
2011-06-19 20:09:46 +02:00
Miklos Vajna
4a54db0836 XmlFilterBase::exportDocumentProperties: use OSL_TRACE to dump statistics 2011-06-18 20:27:24 +02:00
David Tardon
6e7add3703 rhbz#667082 do not crash importing section containing just an empty paragraph 2011-06-18 16:58:08 +02:00