Forum


Replies: 3   Views: 1166
Createliststyle "follow number with" setting
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by neukanri  · 18-11-2020 - 08:17

By the adjustment of the indent on the list, I can choose "Follow number with" by a drop-down.

It becomes by default "Tab character", I want to set it in "Space", is it possible?

Posted by admin  · 18-11-2020 - 10:49

Hello,

The following option will be included in the next release of phpdocx for createListStyle method:

'suff' (string) level suffix: tab, space or nothing

It's already available in the current testing branch but it's only available for users with an active LUS. We recommend you to purchase LUS to your license (https://www.phpdocx.com/updates) so you can download new features not available in the current stable branch. If you purchase the LUS please send an email to contact[at]phpdocx.com and we'll send you the updated class.

Regards.

Posted by neukanri  · 19-11-2020 - 00:07

I sent an email.

Is there not the correspondence method except the above?

Can it be settled by the setting of the template?

Posted by admin  · 19-11-2020 - 06:16

Hello,

You can import and use a list style from an existing DOCX using importListStyle. Please check the included samples in the package.

Regards.