On Feb 12, 2009, at 6:05 PM, Asiri Rathnayake wrote:
Hi Devs,
Currently officeimporter application has three levels of style
filtering
options:
1. Strict: Remove all the styles presented in the original document
except
for those that can be mapped directly into xwiki syntax
2. None: Keep all the styles (no filtering what so ever)
3. Moderate: Only keep those styles without which the output would be
drastically different from the original document (ex: alignments,
image
widths etc.)
As you can see the third option (was my idea) is kind of hard to
define and
can be confusing to the user as well. The first too options make a
lot of
sense to the user and after discussing with vincent I decided to ask
for a
vote to remove it.
Plus this is consistent with the officeimporter wysiwyg plugin which
only
allows either to keep all the styles or remove everything.
Also, if we decide to remove the moderate filtering option, we can
represent
the options by a checkbox (Filter Styles). Which should be the default
filtering criterion? I'm thinking it should be not to filter any
styles so
that the output looks more or less like the original document.
Here's my +1.
+1 to remove it and +1 to have the default be "no style filter".
Contrary to Guillaume I think this is what users will expect and since
most users will use the wysiwyg editor edit pages it won't matter at
all if the wiki syntax is clean or not for them. What will matter to
them though is that the images are the right sizes and that they have
to resize them manually when they import a document, that the
alignments are the same, etc.
Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net