Hello Peter,

I agree on your opinion. The list style "Simple_Default_Bullet_List" is
only checked for existence, but never created.
Perhapse some internal use case that was kept in the sources, nothing like
this is mentioned in the specification.

Please feel free to refactor.

Kind regards,
Svante
ᐧ

2017-01-13 22:39 GMT+01:00 Peter Nabbefeld <[email protected]>:

>
> Hello,
>
> I've several problems decorating a list, so I had a look at
> org.odftoolkit.simple.text.list.BulletDecorator and into content.xml of
> some test documents.
>
> In BulletDecorator I found:
> private static String DEFAULT_NAME = "Simple_Default_Bullet_List";
>
> This default name is used for searching and creating the listStyle.
> However, I cannot find the name in the created document, so it's probably
> never really used.
>
> BTW and IMHO, BulletDecorator does not support for inheritance very well,
> as fields are private and no accessors are available. Furthermore, static
> fields are used e.g. for bullets.
>
> Kind regards
> Peter
>

Reply via email to