[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: ascii import filter
From:       "Michael Johnson" <mikej () xnet ! com>
Date:       2000-10-20 16:48:43
[Download RAW message or body]


> 
> At the risk of adding more states (:-)):
> 
>     1. it would be nice to detect headings like this
> 
>     Heading
>     =======
> 
>     and
> 
>     Heading
>     -------
> 
>     when left- or (approximately) centre-justified.
> 
>     2. The really tricky one, detect all the items in the above list     
> item as paragrpahs belonging to item 1!
> 
>     I had to do a similar thing in the past (formatting comments in      an 
> editor), and the key state transition variable I needed for       each 
> paragraph was the column number of the first line.
> 
> Good luck,
> 
> Thanks, Shaheed

I'm not sure that I understand what you are saying Shaheed. So far 
I am planning on detecting simple lists which start a new item with 
a new paragraph. I might try more if there are styles that most 
everyone uses and they are distinct enough to be recognized in 
ascii.

Michael Johnson
mikej@xnet.com
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic