On Fri, Feb 13, 2009 at 12:44 PM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
Asiri Rathnayake wrote:
On Fri, Feb 13, 2009 at 12:02 PM, Marius Dumitru
Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
+1 to remove Moderate filtering level.
+1 for having Strict as the default filtering level (I'm thinking that
we should educate our users and make them understand that most of the
time office content is not suited as it is for web)
One thing worth to be mentioned is that with 'strict' filtering we
currently
filter out image widths, heights, alignments and
such (basically anything
that requires (%%) in wiki code) This means if a
user imports a document
You said:
"Strict: Remove all the styles presented in the original document except
for those that can be mapped directly into xwiki syntax"
Isn't (%%) xwiki syntax? I think so.
Well in that case we should not strip any styles at all... I mean everything
possible in xhtml can be represented in xwiki code.
The problem with (%%) is that when there are so many of them (when there are
so many styles / parameters set in the original office content) it's really
hard to read the generated wiki code (it's a mess).
That's why we filter those stuff that require (%%) in wiki code, to keep it
clean...
By "mapping directly into xwiki syntax" I meant those styles that do not
require additional parameters (%%). For an example, bold, italic etc. etc.
So 'strict filtering' --> no (%%)
Thanks.
- Asiri
containing a lot of scaled-down /
precisely-aligned images (or other
stuff)
the output would look pretty screwed without the
styles. And this might
not
give the user a good impression about the
officeimporter application.
Rather, if keep the 'no style filter' as the default, a default import
would
at least be close to the original document. And
the user will _have_ to
set
the 'strict' filtering mode knowing what
he is doing (thus the result is
acceptable).
This is only my POV.
Thanks.
- Asiri
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs