Re: Lists

From: Martin Sevior <msevior_at_gmail.com>
Date: Sat Aug 13 2011 - 15:48:33 CEST

Hi Volodmymyr,

You need to change the list_id attribute at the end of a list. If you =
don't the new list item will be added to the previous list item.

You need to examine the content of the html to know whether a list item =
belongs to a previous list or starts a new list.

Cheers

Martin

On Sat, Aug 13, 2011 at 7:56 PM, Volodymyr Rudyj
<vladimir.rudoy@gmail.com> wrote:
>
> Good day everyone!
> I`m working on EPUB3 import plugin and to import document that consist
> of several HTML pages I`m using IE_Imp_PasteListener - I`m just
> pasting each HTML file into the end of the document. But if first
> document ends with a list ( in EPUB3 it`s normal because it`s table of
> contents - HTML documents with ordered lists) next documents are
> imported and become list items (you can find example of imported
> document here: https://picasaweb.google.com/lh/photo/TuJLd63LE8-i_zuYwRet0i0i9nUWMa4I9uWSvoX36Eo?feat=directlink).
>
> So what is correct way to tell abiword that list is ended? I tried to
> insert PTX_Block with Normal style and level=0 attributes but it
> didn`t help. Any help will be appreciated.
>
> Thanks!
>
Received on Sat Aug 13 15:48:39 2011

This archive was generated by hypermail 2.1.8 : Sat Aug 13 2011 - 15:48:39 CEST