On Nov 3, 2008, at 3:33 PM, Guillaume Lerouge wrote:

> Hi,
>
> On Mon, Nov 3, 2008 at 2:26 PM, Sergiu Dumitriu <[EMAIL PROTECTED]>  
> wrote:
>
>> Asiri Rathnayake wrote:
>>> Hi Devs,
>>>
>>> When converting office documents into html (before they are  
>>> transformed
>> into
>>> xwiki syntax) lots of style information gets added into the html.  
>>> For an
>>> example :
>>>
>>> <p class="western">Text in a <sup><span
>>>
>> style="color:;font-family=;font-size=2pt;">superscript</span></ 
>> sup>format</p>
>>>
>>> And finally when this is transformed into xwiki syntax, the result  
>>> will
>> look
>>> something like :
>>>
>>> (% class="western" %)
>>> Text in a ^^(% style="color:;font-family=;font-size=2pt;"
>>> %)superscript^^(%%) format
>>>
>>> The problem with this is, the resulting xwiki document will have  
>>> lot's of
>>> (%%) elements which makes it difficult to make modifications in wiki
>> mode.
>>> And another argument is that content is more important than style
>> (vincent).
>>>
>>> So, there are three options :
>>>
>>> 1. Rip off style information.
>>
>> What is expressible with wiki markup should be kept (headings, bold,
>> superscript...). No font information, please.
>
>
> I'd be in favour of removing parameters that do not directly  
> translate into
> XWiki 2.0 syntax items in all cases (otherwise imported documents  
> will not
> have a consistent look across the wiki).

The (%...%) notation *IS* wiki syntax. I think you're talking about  
removing style elements.

> This would mean getting rid of font
> size, font color and font family in all cases, without even allowing  
> the
> user to do so.

Without allowing the user to do what?

Thanks
-Vincent

> WDYT?
>
> Guillaume
>
>
>>
>>
>>> 2. Keep style information as it is.
>>>
>>> 3. Give the user an option to select between 1 and 2.
>>>
>>> I'm going with 3. :)
>>
>> +1 for 3.
>>
>>> WDYT ?
>>>
>>> Thanks.
>>>
>>> - Asiri
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to