Skip to content
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

Bug: Invalid style value: japaneseCounting #1041

Closed
wk1025 opened this issue Apr 6, 2017 · 1 comment
Closed

Bug: Invalid style value: japaneseCounting #1041

wk1025 opened this issue Apr 6, 2017 · 1 comment
Milestone

Comments

@wk1025
Copy link

wk1025 commented Apr 6, 2017

Invalid style value: japaneseCounting Options:bullet,decimal,upperRoman,lowerRoman,upperLetter,lowerLetter

修复Bug :
PhpWord\Style\NumberingLevel.php

/**
* Set format
*
* @param string $value
* @return self
*/
public function setFormat($value)
{
$enum = array('bullet', 'decimal', 'upperRoman', 'lowerRoman', 'upperLetter', 'lowerLetter', 'japaneseCounting');
$this->format = $this->setEnumVal($value, $enum, $this->format);
return $this;
}

@troosan
Copy link
Contributor

troosan commented Jun 29, 2017

to be complete we should support all the following
http://www.datypic.com/sc/ooxml/t-w_ST_NumberFormat.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants