-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<ol start="50"> equivalent? #291
Comments
I'm not pretty sure what you need, but try this: $phpWord->addNumberingStyle(
'alphanum',
array('type' => 'multilevel', 'levels' => array(
array(
'format' => 'decimal', 'text' => '%1.',
'left' => 360, 'hanging' => 360, 'tabPos' => 360),
)
)
);
$phpWord->addNumberingStyle(
'betanum',
array('type' => 'multilevel', 'levels' => array(
array(
'format' => 'decimal', 'text' => '%1.',
'left' => 360, 'hanging' => 360, 'tabPos' => 360),
)
)
);
$section->addText('Alpha');
$section->addListItem('A', 0, null, 'alphanum');
$section->addListItem('B', 0, null, 'alphanum');
$section->addListItem('C', 0, null, 'alphanum');
$section->addText('Beta');
$section->addListItem('D', 0, null, 'betanum');
$section->addListItem('E', 0, null, 'betanum');
$section->addListItem('F', 0, null, 'betanum'); |
It was user error. I wasn't setting adding a new addNumberingStyle to start a new list. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Say I have a list:
----
I would like to restart the list count to begin at one (or the first one) again. Can this be done, if so, how? Sample 14 isn't exactly clear to me.
Thanks.
The text was updated successfully, but these errors were encountered: