-
Notifications
You must be signed in to change notification settings - Fork 648
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
Ability to set start number "startAt" for a bullet list of type numbered #554
Comments
After looking thru some past issues, I saw one opened by @mayvazyan regarding numbered list. Looking at that code pointed to what looks like the right area to address this. Around line 4209, I changed strXmlBullet = '<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="arabicPeriod"/>'; to var startAt = textObj.options.bullet.startAt ? textObj.options.bullet.startAt : '1';
strXmlBullet = '<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="arabicPeriod" startAt="' + startAt + '"/>'; and it gives the current desired result. Example: |
I merged in changes from gitgrent#452 as they were directly related: var startAt = textObj.options.bullet.startAt || '1';
var style = textObj.options.bullet.style || 'arabicPeriod';
strXmlBullet = '<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="' + style + '" startAt="' + startAt + '"/>'; |
+1 |
Hi @bj-mitchell Thanks for the request and the pull code. This feature has been added to the upcoming 3.0 release. |
I have a numbered bullet list that continues over multiple slides and it would be nice to be able to set the starting number for a bullet of type number. I apologize if this already exist, but I could not find it in the documentation.
The text was updated successfully, but these errors were encountered: