Skip to content

Creating a numbered list #17

Description

@robballou

Hello,

I'm working on creating a numbered list and it's not quite getting written correctly. The text indents, but there is no number before each item.

$list = new PHPRtfLite_List_Numbering($rtf, PHPRtfLite_List_Numbering::TYPE_ARABIC_NUM, $font);
$list->addItem(t('Item 1'));
$list->addItem(t('Item 2'));
$section->addList($list);

The output renders:

screen shot 2014-01-07 at 10 15 21

Is there something additional that I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions