Sorry for my late answering.
I've fixed that on the branch and will release a new version in a few days.
Now font size, font color and font family can be set, but not the font background color.
Thanks for reporting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
how can I set the font size of the number list?
It's always 12!
Thanks!
Hi serintage,
This example works fine for me on MS Word 2003:
$font = new PHPRtfLite_Font(15, 'Arial', '#f00');
$numList = new PHPRtfLite_List_Numbering($rtf);
$numList->addItem('hello world', $font);
$numList->addItem('foo', $font);
$numList->addItem('bar', $font);
$numList->addItem('foobar', $font);
$section->addNumbering($numList);
How does your code look like?
Best regards,
SigmaZ
I'm sorry for my bad English.
That example works for me too.
But I want change the the numbers's font 1. 2. 3.
In this example the font numbers's font is Times 12.
Sorry for my late answering.
I've fixed that on the branch and will release a new version in a few days.
Now font size, font color and font family can be set, but not the font background color.
Thanks for reporting.