Re: [xwiki-users] Office-Importer Test Server.

2008-11-26 Thread Asiri Rathnayake
Hi Vincent,

On Wed, Nov 26, 2008 at 1:49 PM, Vincent Massol <[EMAIL PROTECTED]> wrote:

>
> On Nov 26, 2008, at 4:13 AM, Asiri Rathnayake wrote:
>
> > Hi Vincent,
> >
> > On Tue, Nov 25, 2008 at 9:07 PM, Vincent Massol <[EMAIL PROTECTED]>
> > wrote:
> >
> >> Guillaume,
> >>
> >> I can see some other problems:
> >> * title is not correct
> >
> >
> > Did you mean the title content (spellings?) or the font size of the
> > title?
> > If it's the latter, it's because openoffice server in this case has
> > used
> >  for sizing, and this is filtered in the strict
> > filtering mode.
>
> A title should be converted to a title (i.e. using the == syntax in
> wiki).
>
> Wasn't this a real title in the original word doc?


It seems not. If the user editing the document was using headings instead of
font sizes, this would result in a title.


>
>
> > I'm pretty sure you didn't mean the latter one, if so please explain
> > what's
> > exactly wrong :)
> >
> > * lots of empty lines
> >
> >
> > Good point.
> >
> > If any of you have some free time (which excludes vincent ;)) please
> > try
> > this :
> >
> > Open a new text document in openoffice and:
> >
> > 1. Type one line of text.
> >
> > 2. Press enter twice and type another line of text.
> >
> > So you'd have something like :
> >
> > " Hi, This is the first line
> >
> > And this is the second line"
> >
> > 3. Save the document as *html*.
> >
> > 4. Open the document in firefox and see the result.
> >
> > The same thing happens when converting documents via openoffice
> > server. The
> > problem is, for each empty line in a word document, open office uses :
> >
> > 
>
> What is the effect of "margin-bottom: 0in"? If it removes the new line
> then we should check for this and remove the paragraph altogether (for
> all filterings IMO).


Well it is supposed to, but it doesn't work in either FireFox or IE. But
anyway, since it is supposed to mean there is no newline in between, we
could remove such paragraphs. But consider the following case :

Paragraph-1
Paragraph-2

In this case if we blindly remove the first paragraph, it will loose other
styles along with it. So we should only filter such paragraphs in
strict/moderate filtering scenarios. In non-restricted mode, we can't do the
same. Again, I'm thinking whether this filtering belongs to office-importer
or xhtml parser ?

WDYT ?


>
>
> > For spacing. And this is obviously not correct. May be I should take
> > this to
> > openoffice guys ?
>
> Yes you should but in the meantime we can filter this (only when
> margin-bottom is 0).
>
> > Vincent, if you remember, I tried to replace these empty paragraphs
> > with
> >  elements. But I didn't mention this to you at that time.
>
> Yes you didn't mention that there was a CSS with margin-bottom: 0in
> which changes everything...


Well I saved the best for the end ;)

Thanks.

- Asiri


>
>
> -Vincent
>
> > I simply
> > didn't like these empty paragraphs ;)
> >
> > Thanks.
> >
> > - Asiri
> >
> >
> >
> >
> >>
> >>
> >> Thanks
> >> -Vincent
> >>
> >> On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote:
> >>
> >>> Hi Asiri,
> >>>
> >>> I tested strict filtering with my usual test document and apparently
> >>> something went wrong with links (see the bottom of the page):
> >>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >>>
> >>> Apart from this, it looks pretty good.
> >>>
> >>> Guillaume
> >>>
> >>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> >>> [EMAIL PROTECTED]> wrote:
> >>>
>  Hi Devs, Users,
> 
>  I have uploaded yet another new version of office-importer @
>  http://91.121.237.216/xwiki/bin/view/Import/.
> 
>  This version utilizes the latest rendering module which has
>  improved a lot
>  since the last upload.
> 
>  Also a moderate style filtering option is introduced.
> 
>  Please try it out and let us know what you think.
> 
>  Thanks.
> 
>  - Asiri
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-26 Thread Vincent Massol

On Nov 26, 2008, at 4:13 AM, Asiri Rathnayake wrote:

> Hi Vincent,
>
> On Tue, Nov 25, 2008 at 9:07 PM, Vincent Massol <[EMAIL PROTECTED]>  
> wrote:
>
>> Guillaume,
>>
>> I can see some other problems:
>> * title is not correct
>
>
> Did you mean the title content (spellings?) or the font size of the  
> title?
> If it's the latter, it's because openoffice server in this case has  
> used
>  for sizing, and this is filtered in the strict
> filtering mode.

A title should be converted to a title (i.e. using the == syntax in  
wiki).

Wasn't this a real title in the original word doc?

> I'm pretty sure you didn't mean the latter one, if so please explain  
> what's
> exactly wrong :)
>
> * lots of empty lines
>
>
> Good point.
>
> If any of you have some free time (which excludes vincent ;)) please  
> try
> this :
>
> Open a new text document in openoffice and:
>
> 1. Type one line of text.
>
> 2. Press enter twice and type another line of text.
>
> So you'd have something like :
>
> " Hi, This is the first line
>
> And this is the second line"
>
> 3. Save the document as *html*.
>
> 4. Open the document in firefox and see the result.
>
> The same thing happens when converting documents via openoffice  
> server. The
> problem is, for each empty line in a word document, open office uses :
>
> 

What is the effect of "margin-bottom: 0in"? If it removes the new line  
then we should check for this and remove the paragraph altogether (for  
all filterings IMO).

> For spacing. And this is obviously not correct. May be I should take  
> this to
> openoffice guys ?

Yes you should but in the meantime we can filter this (only when  
margin-bottom is 0).

> Vincent, if you remember, I tried to replace these empty paragraphs  
> with
>  elements. But I didn't mention this to you at that time.

Yes you didn't mention that there was a CSS with margin-bottom: 0in  
which changes everything...

-Vincent

> I simply
> didn't like these empty paragraphs ;)
>
> Thanks.
>
> - Asiri
>
>
>
>
>>
>>
>> Thanks
>> -Vincent
>>
>> On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote:
>>
>>> Hi Asiri,
>>>
>>> I tested strict filtering with my usual test document and apparently
>>> something went wrong with links (see the bottom of the page):
>>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>>>
>>> Apart from this, it looks pretty good.
>>>
>>> Guillaume
>>>
>>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
>>> [EMAIL PROTECTED]> wrote:
>>>
 Hi Devs, Users,

 I have uploaded yet another new version of office-importer @
 http://91.121.237.216/xwiki/bin/view/Import/.

 This version utilizes the latest rendering module which has
 improved a lot
 since the last upload.

 Also a moderate style filtering option is introduced.

 Please try it out and let us know what you think.

 Thanks.

 - Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Thomas,

Thank you for testing office-importer :)


On Tue, Nov 25, 2008 at 9:46 PM, Thomas Eveilleau <[EMAIL PROTECTED]> wrote:

> Hello,
>
> You should give your login / pass for the users who missed it !
>

Sorry, I missed this. It's mentioned in
http://91.121.237.216/xwiki/bin/view/Main/ but here goes agian :

user: asiri

password: asiri

I tried with a docx (the Microsoft Office 2007 default extension) :
> Error number 4001 in 4: Error while parsing velocity page
> Import.Importer Wrapped Exception: Failed to evaluate content with id
> Importer


Ok, I'm bit lazy with the error reporting but I'll look into soon. Anyway,
the issue is that docx format is not supported by openoffice server yet :(


>
>
> Then with the same document saved as .doc :
> http://91.121.237.216/xwiki/bin/view/Main/TestThomas
>
> The result is quite nice. The organisation of the different elements is
> respected :
> - Titles are the same
> - Images are resized like on my doc
> - Table is ok
>
> I have some problems with the encoding of some caracters : "dÃ(c)but"
> instead of "début".


Yeah, there seems to be a problem, can you attach the original document ? :)


I have a pb on a "Wordart" image.
>

Hmm, this problem occurs here and there and seems to be a problem of
openoffice server. I will dog into openoffice server configuration options
to see if I can find a fix for it. Otherwise I'll report this to openoffice
guys.

Thanks.

- Asiri


>
> Thomas
>
>
>
> Guillaume Lerouge a écrit :
> > Conversely, when I input 2 lines one right below the other an extra line
> is
> > added between them in wiki syntax :
> >
> > Test Document
> > *Bold*
> > *Italics*
> >
> > is turned into
> >
> > Test Document
> > *// one blank line here*
> > **Bold**
> > *// one blank line here*
> > //Italics//
> >
> > but this time the link is converted just fine...
> >
> > cf http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict2 and
> attached
> > file.
> >
> > Guillaume
> >
> > On Tue, Nov 25, 2008 at 4:44 PM, Guillaume Lerouge <[EMAIL PROTECTED]
> >wrote:
> >
> >
> >> Hi Asiri,
> >>
> >> another comment:
> >>
> >> when converting the file attached to this page :
> >> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict ,
> >> one-line-breaks between my lines of content are turned into 3 lines
> breaks
> >> in wiki content :
> >>
> >> Test document
> >> *// one blank line here*
> >> *Bold*
> >>
> >> in my original document is turned into:
> >>
> >> Test Document
> >> *// one blank line here
> >> // one blank line here
> >> // one blank line here*
> >> **Bold**
> >>
> >> in wiki syntax though there should only be one line.
> >>
> >> Guillaume
> >>
> >>
> >> On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]
> >wrote:
> >>
> >>
> >>> Hi Asiri,
> >>>
> >>> I tested strict filtering with my usual test document and apparently
> >>> something went wrong with links (see the bottom of the page):
> >>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >>>
> >>> Apart from this, it looks pretty good.
> >>>
> >>> Guillaume
> >>>
> >>>
> >>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> >>> [EMAIL PROTECTED]> wrote:
> >>>
> >>>
>  Hi Devs, Users,
> 
>  I have uploaded yet another new version of office-importer @
>  http://91.121.237.216/xwiki/bin/view/Import/.
> 
>  This version utilizes the latest rendering module which has improved a
>  lot
>  since the last upload.
> 
>  Also a moderate style filtering option is introduced.
> 
>  Please try it out and let us know what you think.
> 
>  Thanks.
> 
>  - Asiri
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
> 
> 
> >>>
> >>> --
> >>> Guillaume Lerouge
> >>> Product Manager - XWiki
> >>> Skype ID : wikibc
> >>> http://blog.xwiki.com/
> >>>
> >>>
> >>
> >> --
> >> Guillaume Lerouge
> >> Product Manager - XWiki
> >> Skype ID : wikibc
> >> http://blog.xwiki.com/
> >>
> >>
> >
> >
> >
> >
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Guillaume,

On Tue, Nov 25, 2008 at 9:21 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> Conversely, when I input 2 lines one right below the other an extra line is
> added between them in wiki syntax :
>
> Test Document
> *Bold*
> *Italics*
>
> is turned into
>
> Test Document
> *// one blank line here*
> **Bold**
> *// one blank line here*
> //Italics//
>

If you try saving your document as html in openoffice, this is the output
you'll get,

Test Document
Bold
Italics


So, it seems like openoffice server introduces a  each time you press
enter, thinking you are starting a paragraph. But this is not rendered
properly in browsers.

but this time the link is converted just fine...
>

This link looks perfectly fine. We need to find out how those weird links
came in on that previous doc.

Thanks.

- Asiri


>
> cf http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict2 and attached
> file.
>
> Guillaume
>
> On Tue, Nov 25, 2008 at 4:44 PM, Guillaume Lerouge <[EMAIL PROTECTED]
> >wrote:
>
> > Hi Asiri,
> >
> > another comment:
> >
> > when converting the file attached to this page :
> > http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict ,
> > one-line-breaks between my lines of content are turned into 3 lines
> breaks
> > in wiki content :
> >
> > Test document
> > *// one blank line here*
> > *Bold*
> >
> > in my original document is turned into:
> >
> > Test Document
> > *// one blank line here
> > // one blank line here
> > // one blank line here*
> > **Bold**
> >
> > in wiki syntax though there should only be one line.
> >
> > Guillaume
> >
> >
> > On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]
> >wrote:
> >
> >> Hi Asiri,
> >>
> >> I tested strict filtering with my usual test document and apparently
> >> something went wrong with links (see the bottom of the page):
> >> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >>
> >> Apart from this, it looks pretty good.
> >>
> >> Guillaume
> >>
> >>
> >> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> >> [EMAIL PROTECTED]> wrote:
> >>
> >>> Hi Devs, Users,
> >>>
> >>> I have uploaded yet another new version of office-importer @
> >>> http://91.121.237.216/xwiki/bin/view/Import/.
> >>>
> >>> This version utilizes the latest rendering module which has improved a
> >>> lot
> >>> since the last upload.
> >>>
> >>> Also a moderate style filtering option is introduced.
> >>>
> >>> Please try it out and let us know what you think.
> >>>
> >>> Thanks.
> >>>
> >>> - Asiri
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>
> >>
> >>
> >> --
> >> Guillaume Lerouge
> >> Product Manager - XWiki
> >> Skype ID : wikibc
> >> http://blog.xwiki.com/
> >>
> >
> >
> >
> > --
> > Guillaume Lerouge
> > Product Manager - XWiki
> > Skype ID : wikibc
> > http://blog.xwiki.com/
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Guillaume,

On Tue, Nov 25, 2008 at 9:14 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> Hi Asiri,
>
> another comment:
>
> when converting the file attached to this page :
> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict ,
> one-line-breaks
> between my lines of content are turned into 3 lines breaks in wiki content
> :
>
> Test document
> *// one blank line here*
> *Bold*
>
> in my original document is turned into:
>
> Test Document
> *// one blank line here
> // one blank line here
> // one blank line here*
> **Bold**
>
> in wiki syntax though there should only be one line.
>

I think I have answered this in my reply to vincent's mail. Anyway, I didn't
give a solution. I will discuss this with vincent further and come up with a
solution.

Thanks.

- Asiri


>
> Guillaume
>
> On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]
> >wrote:
>
> > Hi Asiri,
> >
> > I tested strict filtering with my usual test document and apparently
> > something went wrong with links (see the bottom of the page):
> > http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >
> > Apart from this, it looks pretty good.
> >
> > Guillaume
> >
> >
> > On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> > [EMAIL PROTECTED]> wrote:
> >
> >> Hi Devs, Users,
> >>
> >> I have uploaded yet another new version of office-importer @
> >> http://91.121.237.216/xwiki/bin/view/Import/.
> >>
> >> This version utilizes the latest rendering module which has improved a
> lot
> >> since the last upload.
> >>
> >> Also a moderate style filtering option is introduced.
> >>
> >> Please try it out and let us know what you think.
> >>
> >> Thanks.
> >>
> >> - Asiri
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > Guillaume Lerouge
> > Product Manager - XWiki
> > Skype ID : wikibc
> > http://blog.xwiki.com/
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Vincent,

On Tue, Nov 25, 2008 at 9:07 PM, Vincent Massol <[EMAIL PROTECTED]> wrote:

> Guillaume,
>
> I can see some other problems:
> * title is not correct


Did you mean the title content (spellings?) or the font size of the title?
If it's the latter, it's because openoffice server in this case has used
 for sizing, and this is filtered in the strict
filtering mode.

I'm pretty sure you didn't mean the latter one, if so please explain what's
exactly wrong :)

* lots of empty lines


Good point.

If any of you have some free time (which excludes vincent ;)) please try
this :

Open a new text document in openoffice and:

1. Type one line of text.

2. Press enter twice and type another line of text.

So you'd have something like :

" Hi, This is the first line

And this is the second line"

3. Save the document as *html*.

4. Open the document in firefox and see the result.

The same thing happens when converting documents via openoffice server. The
problem is, for each empty line in a word document, open office uses :



For spacing. And this is obviously not correct. May be I should take this to
openoffice guys ?

Vincent, if you remember, I tried to replace these empty paragraphs with
 elements. But I didn't mention this to you at that time. I simply
didn't like these empty paragraphs ;)

Thanks.

- Asiri




>
>
> Thanks
> -Vincent
>
> On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote:
>
> > Hi Asiri,
> >
> > I tested strict filtering with my usual test document and apparently
> > something went wrong with links (see the bottom of the page):
> > http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >
> > Apart from this, it looks pretty good.
> >
> > Guillaume
> >
> > On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> > [EMAIL PROTECTED]> wrote:
> >
> >> Hi Devs, Users,
> >>
> >> I have uploaded yet another new version of office-importer @
> >> http://91.121.237.216/xwiki/bin/view/Import/.
> >>
> >> This version utilizes the latest rendering module which has
> >> improved a lot
> >> since the last upload.
> >>
> >> Also a moderate style filtering option is introduced.
> >>
> >> Please try it out and let us know what you think.
> >>
> >> Thanks.
> >>
> >> - Asiri
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Guillaume,


On Tue, Nov 25, 2008 at 9:00 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> Hi Asiri,
>
> I tested strict filtering with my usual test document and apparently
> something went wrong with links (see the bottom of the page):
> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>

If you examine your original document (one that you sent me). You'll see
those misinterpreted links are as follows :

  http://www.xwiki.org/xwiki/bin/view/Main/Download -->
file:///home/Documents%20and%20Settings/DG/Bureau/url('
http://www.xwiki.org/xwiki/bin/view/Main/Download')

  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials -->
file:///home/Documents%20and%20Settings/DG/Bureau/url('
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials')

  http://www.theserverside.com/tt/articles/article.tss?l=XWiki -->
file:///home/Documents%20and%20Settings/DG/Bureau/url('
http://www.theserverside.com/tt/articles/article.tss%3Fl=XWiki')

As you can see, these links are weird. I can't understand why such links are
present in the original document, can someone explain this ? So that we can
find a fix.

Thanks.

- Asiri


>
> Apart from this, it looks pretty good.
>
> Guillaume
>
> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> [EMAIL PROTECTED]> wrote:
>
> > Hi Devs, Users,
> >
> > I have uploaded yet another new version of office-importer @
> > http://91.121.237.216/xwiki/bin/view/Import/.
> >
> > This version utilizes the latest rendering module which has improved a
> lot
> > since the last upload.
> >
> > Also a moderate style filtering option is introduced.
> >
> > Please try it out and let us know what you think.
> >
> > Thanks.
> >
> > - Asiri
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Thomas Eveilleau
Hello,

You should give your login / pass for the users who missed it !

I tried with a docx (the Microsoft Office 2007 default extension) :
Error number 4001 in 4: Error while parsing velocity page 
Import.Importer Wrapped Exception: Failed to evaluate content with id 
Importer

Then with the same document saved as .doc :
http://91.121.237.216/xwiki/bin/view/Main/TestThomas

The result is quite nice. The organisation of the different elements is 
respected :
- Titles are the same
- Images are resized like on my doc
- Table is ok

I have some problems with the encoding of some caracters : "début" 
instead of "début".
I have a pb on a "Wordart" image.

Thomas



Guillaume Lerouge a écrit :
> Conversely, when I input 2 lines one right below the other an extra line is
> added between them in wiki syntax :
>
> Test Document
> *Bold*
> *Italics*
>
> is turned into
>
> Test Document
> *// one blank line here*
> **Bold**
> *// one blank line here*
> //Italics//
>
> but this time the link is converted just fine...
>
> cf http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict2 and attached
> file.
>
> Guillaume
>
> On Tue, Nov 25, 2008 at 4:44 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:
>
>   
>> Hi Asiri,
>>
>> another comment:
>>
>> when converting the file attached to this page :
>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict ,
>> one-line-breaks between my lines of content are turned into 3 lines breaks
>> in wiki content :
>>
>> Test document
>> *// one blank line here*
>> *Bold*
>>
>> in my original document is turned into:
>>
>> Test Document
>> *// one blank line here
>> // one blank line here
>> // one blank line here*
>> **Bold**
>>
>> in wiki syntax though there should only be one line.
>>
>> Guillaume
>>
>>
>> On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:
>>
>> 
>>> Hi Asiri,
>>>
>>> I tested strict filtering with my usual test document and apparently
>>> something went wrong with links (see the bottom of the page):
>>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>>>
>>> Apart from this, it looks pretty good.
>>>
>>> Guillaume
>>>
>>>
>>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>   
 Hi Devs, Users,

 I have uploaded yet another new version of office-importer @
 http://91.121.237.216/xwiki/bin/view/Import/.

 This version utilizes the latest rendering module which has improved a
 lot
 since the last upload.

 Also a moderate style filtering option is introduced.

 Please try it out and let us know what you think.

 Thanks.

 - Asiri
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 
>>>
>>> --
>>> Guillaume Lerouge
>>> Product Manager - XWiki
>>> Skype ID : wikibc
>>> http://blog.xwiki.com/
>>>
>>>   
>>
>> --
>> Guillaume Lerouge
>> Product Manager - XWiki
>> Skype ID : wikibc
>> http://blog.xwiki.com/
>>
>> 
>
>
>
>   

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Guillaume Lerouge
Conversely, when I input 2 lines one right below the other an extra line is
added between them in wiki syntax :

Test Document
*Bold*
*Italics*

is turned into

Test Document
*// one blank line here*
**Bold**
*// one blank line here*
//Italics//

but this time the link is converted just fine...

cf http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict2 and attached
file.

Guillaume

On Tue, Nov 25, 2008 at 4:44 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> Hi Asiri,
>
> another comment:
>
> when converting the file attached to this page :
> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict ,
> one-line-breaks between my lines of content are turned into 3 lines breaks
> in wiki content :
>
> Test document
> *// one blank line here*
> *Bold*
>
> in my original document is turned into:
>
> Test Document
> *// one blank line here
> // one blank line here
> // one blank line here*
> **Bold**
>
> in wiki syntax though there should only be one line.
>
> Guillaume
>
>
> On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:
>
>> Hi Asiri,
>>
>> I tested strict filtering with my usual test document and apparently
>> something went wrong with links (see the bottom of the page):
>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>>
>> Apart from this, it looks pretty good.
>>
>> Guillaume
>>
>>
>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
>> [EMAIL PROTECTED]> wrote:
>>
>>> Hi Devs, Users,
>>>
>>> I have uploaded yet another new version of office-importer @
>>> http://91.121.237.216/xwiki/bin/view/Import/.
>>>
>>> This version utilizes the latest rendering module which has improved a
>>> lot
>>> since the last upload.
>>>
>>> Also a moderate style filtering option is introduced.
>>>
>>> Please try it out and let us know what you think.
>>>
>>> Thanks.
>>>
>>> - Asiri
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Guillaume Lerouge
>> Product Manager - XWiki
>> Skype ID : wikibc
>> http://blog.xwiki.com/
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Guillaume Lerouge
Hi Asiri,

another comment:

when converting the file attached to this page :
http://91.121.237.216/xwiki/bin/view/Main/GuillaumeStrict , one-line-breaks
between my lines of content are turned into 3 lines breaks in wiki content :

Test document
*// one blank line here*
*Bold*

in my original document is turned into:

Test Document
*// one blank line here
// one blank line here
// one blank line here*
**Bold**

in wiki syntax though there should only be one line.

Guillaume

On Tue, Nov 25, 2008 at 4:30 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> Hi Asiri,
>
> I tested strict filtering with my usual test document and apparently
> something went wrong with links (see the bottom of the page):
> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>
> Apart from this, it looks pretty good.
>
> Guillaume
>
>
> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> [EMAIL PROTECTED]> wrote:
>
>> Hi Devs, Users,
>>
>> I have uploaded yet another new version of office-importer @
>> http://91.121.237.216/xwiki/bin/view/Import/.
>>
>> This version utilizes the latest rendering module which has improved a lot
>> since the last upload.
>>
>> Also a moderate style filtering option is introduced.
>>
>> Please try it out and let us know what you think.
>>
>> Thanks.
>>
>> - Asiri
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Vincent Massol
Guillaume,

I can see some other problems:
* title is not correct
* lots of empty lines

Thanks
-Vincent

On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote:

> Hi Asiri,
>
> I tested strict filtering with my usual test document and apparently
> something went wrong with links (see the bottom of the page):
> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
>
> Apart from this, it looks pretty good.
>
> Guillaume
>
> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> [EMAIL PROTECTED]> wrote:
>
>> Hi Devs, Users,
>>
>> I have uploaded yet another new version of office-importer @
>> http://91.121.237.216/xwiki/bin/view/Import/.
>>
>> This version utilizes the latest rendering module which has  
>> improved a lot
>> since the last upload.
>>
>> Also a moderate style filtering option is introduced.
>>
>> Please try it out and let us know what you think.
>>
>> Thanks.
>>
>> - Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Guillaume Lerouge
Hi Asiri,

I tested strict filtering with my usual test document and apparently
something went wrong with links (see the bottom of the page):
http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez

Apart from this, it looks pretty good.

Guillaume

On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
[EMAIL PROTECTED]> wrote:

> Hi Devs, Users,
>
> I have uploaded yet another new version of office-importer @
> http://91.121.237.216/xwiki/bin/view/Import/.
>
> This version utilizes the latest rendering module which has improved a lot
> since the last upload.
>
> Also a moderate style filtering option is introduced.
>
> Please try it out and let us know what you think.
>
> Thanks.
>
> - Asiri
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-25 Thread Asiri Rathnayake
Hi Devs, Users,

I have uploaded yet another new version of office-importer @
http://91.121.237.216/xwiki/bin/view/Import/.

This version utilizes the latest rendering module which has improved a lot
since the last upload.

Also a moderate style filtering option is introduced.

Please try it out and let us know what you think.

Thanks.

- Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-21 Thread Asiri Rathnayake
Hi All,


On Tue, Nov 18, 2008 at 5:28 PM, Asiri Rathnayake <
[EMAIL PROTECTED]> wrote:

> Hi again,
>
> On Mon, Nov 17, 2008 at 5:27 PM, Asiri Rathnayake <
> [EMAIL PROTECTED]> wrote:
>
>> Hi All,
>>
>> I have setup a test server for testing the new xwiki-office-importer
>> feature @ http://91.121.237.216/xwiki/bin/view/Main/
>
>
> Updated the office importer application with new UI improvements. Now it's
> possible to choose whether you want to keep styling information or not.
>
> Check it out : http://91.121.237.216/xwiki/bin/view/Import/
>
> Sample document imported (styles filtered) :
> http://91.121.237.216/xwiki/bin/view/Import/NoStyles
>
> Sample document imported (styles preserved) :
> http://91.121.237.216/xwiki/bin/view/Import/WithStyles
>
> Filtering of styles will be improved further in near future (more severe
> filtering will be done).
>

I have uploaded a version of xwiki office importer that does severe style
filtering as requested by many. In this version we filter styles by
attribute names. Filtering styles by css property names will be implemented
soon.

Please try out the new version at
http://91.121.237.216/xwiki/bin/view/Import/

And let me know if the produced xwiki syntax code looks good :)

Any other comments are highly appreciated.

Note: I'm still working on the image link issue. Even though it is fixed in
the rendering module, i have to do some tweaks to make it work in the office
importer.

Thanks.

- Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office-Importer Test Server.

2008-11-18 Thread Asiri Rathnayake
Hi again,

On Mon, Nov 17, 2008 at 5:27 PM, Asiri Rathnayake <
[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I have setup a test server for testing the new xwiki-office-importer
> feature @ http://91.121.237.216/xwiki/bin/view/Main/


Updated the office importer application with new UI improvements. Now it's
possible to choose whether you want to keep styling information or not.

Check it out : http://91.121.237.216/xwiki/bin/view/Import/

Sample document imported (styles filtered) :
http://91.121.237.216/xwiki/bin/view/Import/NoStyles

Sample document imported (styles preserved) :
http://91.121.237.216/xwiki/bin/view/Import/WithStyles

Filtering of styles will be improved further in near future (more severe
filtering will be done).

Thanks.

- Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users