Apache OpenOffice (AOO) Bugzilla – Issue 110348
UOF2ODF XSLT filter
Last modified: 2017-05-20 11:33:47 UTC
CS2C want to contribute UOF to OpenOffice,UOF is Uniform Office Format,It is Chinese national standard of office file format. we want to create a plugin filter to implement the convertion between UOF and ODF. The filters include text, spreadsheet and presentation and the filters use XSLT.
Change the milestone
Accept
Please dispatch, thx.
I have already create a CWS and checked in the code CWS:cs2cuoffilter
dtardon->liutao: There already is UOF filter in OO.o (I suppose we both speak about the same format, i.e. http://en.wikipedia.org/wiki/UOF). See filter/source/xslt/{import,export}/uof .
Yes,I see. I will give you some better items of our filter as follows 1.To support SHAPE in MS office --- Open a MS office that contain SHAPE, current UOF filter can not support it. but our new filter can support it. 2.Page style support : section. current UOF filter can not support multiple sub-sections in Writer,but our new filter can support it well. 3.Footer,Header and bookmark support: the current UOF filter can not support Footer , Header and bookmark functions but our new filter can support it. I have already told Michael Brauer and he told me to commit it. :-)
Liutao: Please assign the issue to the QA representative in China you mentioned. Thanks.
The CWS cs2cuoffilter seems to add an entirely new filter. Doesn't that mean that OOo will then have two UOF filters? I haven't checked whether the CWS also removes the entries for the existing UOF filters, but would prefer if it just reuses the existing configuration entries. In other words: Even if the new UOF filter uses new XSLT stylesheets, I would prefer if it uses the existing configuration files rather than adding new ones. Regarding the XSLT stylesheets: While adding new functionality is always good, we also have to make sure that we don't loose anything. We can try to ensure that by comparing the two filters with a set of test documents if we have additionally lists of features that the two filters support so that we know what we have to test. But that's in any case a lot of work. The simpler and better approach may be that the new filter does not replace the existing ones, but extends the existing stylesheets with the additional functionality. We then still may have to run regression tests, but we can concentrate on the new features and a single filter. Another benefit is that we contributions to the existing UOF filter still would be possible. Do you think it would be possible to adapt the new UOF filter this way?
CCed: mba
The CWS doesn't removes the entries for the existing UOF filters,but should do. We don't think only to extends the existing stylesheets with the additional functionalities is a good way. The current one is look like a mass of codes and no layer conception in it. we modified so much things include create layers and improve the architecture.So it is hard to extends the existing one. we'd like to replace the current one.:-)
Replacing an existing filter with a new one needs a verification that the new filter is better than the old one in at least some way (be it performance, features, quality, code quality, whatever) and not much worse in another one. How can we test and document that?
Hi All, Replacing the existing UOF filter with a new one is a better choice. 1. The old one only have two files of stylesheets. It is a mass of codes.The new one have two files of .zip that contain many files of stylesheets in it. It can easily maintain and extend.If we only extend the additional functionalities the two file will be worse and worse. 2. The UOF filter is Chinese national standard of office file format,there are many test case in Chinese office file.The test case told us that the old format is not so good. 3. There are lots of better items of the new filter.(I have already listed it) Please have a look the code of the CWS and the two files of .zip;you will find it is better and the better way is to replace not to extend.
OOo 3.3 is in showstopper-mode and features like this aren't allowed to integrate into this release (code line) anymore. Please target this issue accordingly when this feature is ready for integration. Until then this issue should stay on target OOo 3.x.
Liutao: any news? You must understand that we can't verify if the filter is better than the old one or worse as we don't have any test documents (and we wouldn't understand them either ;-)). It would help a lot if you could help us to verify this. Even coming to an agreement with the contributors of the old filter that the new one is better could help.
mba: no news about this issue. you know the UOF project have been build by redflag2000,if it is possible,we will join them to let the new filter become better.
Reset assigne to the default "issues@openoffice.apache.org".