Issue 110348 - UOF2ODF XSLT filter
Summary: UOF2ODF XSLT filter
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: DEV300m74
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 02:00 UTC by liujiaxiang
Modified: 2017-05-20 11:33 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description liujiaxiang 2010-03-24 02:00:33 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.
Comment 1 liujiaxiang 2010-03-24 02:02:17 UTC
Change the milestone
Comment 2 liujiaxiang 2010-03-24 02:02:49 UTC
Accept
Comment 3 jogi 2010-03-24 07:54:50 UTC
Please dispatch, thx.
Comment 4 liujiaxiang 2010-03-24 07:56:58 UTC
I have already create a CWS and checked in the code 
CWS:cs2cuoffilter
Comment 5 dtardon 2010-03-24 08:55:43 UTC
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 .
Comment 6 liujiaxiang 2010-03-24 09:33:32 UTC
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.

:-)
Comment 7 michael.brauer 2010-03-24 14:40:09 UTC
Liutao: Please assign the issue to the QA representative in China you mentioned.
Thanks.
Comment 8 michael.brauer 2010-04-08 10:08:20 UTC
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?
Comment 9 michael.brauer 2010-04-08 10:08:52 UTC
CCed: mba
Comment 10 liujiaxiang 2010-04-09 08:42:32 UTC
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.:-)
Comment 11 Mathias_Bauer 2010-04-09 10:48:50 UTC
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?
Comment 12 liujiaxiang 2010-04-29 03:58:20 UTC
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.
Comment 13 thorsten.ziehm 2010-09-23 09:50:54 UTC
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.
Comment 14 Mathias_Bauer 2011-01-03 17:31:30 UTC
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. 
Comment 15 liujiaxiang 2011-01-04 01:20:57 UTC
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.
Comment 16 Marcus 2017-05-20 11:33:47 UTC
Reset assigne to the default "issues@openoffice.apache.org".