Demo is Java create PowerPoint chart.
- Code: Select all
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.spire.presentation.packages.sprxVd.spr (Font.java:410)
at com.spire.presentation.packages.sprxVd.<init>(Font.java:398)
at com.spire.presentation.packages.sprxVd.<init>(Font.java:380)
at com.spire.presentation.packages.sprxVd.<init>(Font.java:402)
at com.spire.presentation.packages.sprlKb.<init>(Unknown Source)
at com.spire.presentation.packages.sprKob.spr (Unknown Source)
at com.spire.presentation.packages.sprKob.spr (Unknown Source)
at com.spire.presentation.packages.sprKob.spr (Unknown Source)
at com.spire.presentation.packages.sprSwb.spr (Unknown Source)
at com.spire.presentation.packages.sprSwb.spr (Unknown Source)
at com.spire.presentation.packages.sprSwb.spr (Unknown Source)
at com.spire.presentation.packages.sprSwb.spr (Unknown Source)
at com.spire.presentation.packages.sprSwb.<init>(Unknown Source)
at com.spire.presentation.packages.sprNub.spr (Unknown Source)
at com.spire.presentation.packages.sprNub.spr (Unknown Source)
at com.spire.presentation.packages.sprNub.spr (Unknown Source)
at com.spire.presentation.packages.sprpJa.spr (Unknown Source)
at com.spire.presentation.GroupShape.spr (Unknown Source)
at com.spire.presentation.packages.sprjUb.spr (Unknown Source)
at com.spire.presentation.packages.sprjUb.spr (Unknown Source)
at com.spire.presentation.packages.sprjUb.spr (Unknown Source)
at com.spire.presentation.packages.sprHWb.spr (Unknown Source)
at com.spire.presentation.packages.sprHWb.spr (Unknown Source)
at com.spire.presentation.packages.sprHWb.spr (Unknown Source)
at com.spire.presentation.packages.sprHWb.spr (Unknown Source)
at com.spire.presentation.packages.sprHWb.spr (Unknown Source)
at com.spire.presentation.Presentation.saveToFile(Unknown Source)
at com.example.demo.ppt.CreatePPT.main(CreatePPT.java:30)
Caused by: class com.spire.presentation.packages.sprzId: FontFamily 'Serif' not found
Parameter name: Serif
com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:328)
com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:312)
com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:379)
com.spire.presentation.packages.sprYUd.<clinit>(FontFamily.java:1147)
com.spire.presentation.packages.sprxVd.spr (Font.java:410)
com.spire.presentation.packages.sprxVd.<init>(Font.java:398)
com.spire.presentation.packages.sprxVd.<init>(Font.java:380)
com.spire.presentation.packages.sprxVd.<init>(Font.java:402)
com.spire.presentation.packages.sprlKb.<init>(Unknown Source)
com.spire.presentation.packages.sprKob.spr (Unknown Source)
com.spire.presentation.packages.sprKob.spr (Unknown Source)
com.spire.presentation.packages.sprKob.spr (Unknown Source)
com.spire.presentation.packages.sprSwb.spr (Unknown Source)
com.spire.presentation.packages.sprSwb.spr (Unknown Source)
com.spire.presentation.packages.sprSwb.spr (Unknown Source)
com.spire.presentation.packages.sprSwb.spr (Unknown Source)
com.spire.presentation.packages.sprSwb.<init>(Unknown Source)
com.spire.presentation.packages.sprNub.spr (Unknown Source)
com.spire.presentation.packages.sprNub.spr (Unknown Source)
com.spire.presentation.packages.sprNub.spr (Unknown Source)
com.spire.presentation.packages.sprpJa.spr (Unknown Source)
com.spire.presentation.GroupShape.spr (Unknown Source)
com.spire.presentation.packages.sprjUb.spr (Unknown Source)
com.spire.presentation.packages.sprjUb.spr (Unknown Source)
com.spire.presentation.packages.sprjUb.spr (Unknown Source)
com.spire.presentation.packages.sprHWb.spr (Unknown Source)
com.spire.presentation.packages.sprHWb.spr (Unknown Source)
com.spire.presentation.packages.sprHWb.spr (Unknown Source)
com.spire.presentation.packages.sprHWb.spr (Unknown Source)
com.spire.presentation.packages.sprHWb.spr (Unknown Source)
com.spire.presentation.Presentation.saveToFile(Unknown Source)
com.example.demo.ppt.CreatePPT.main(CreatePPT.java:30)
at com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:328)
at com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:312)
at com.spire.presentation.packages.sprYUd.<init>(FontFamily.java:379)
at com.spire.presentation.packages.sprYUd.<clinit>(FontFamily.java:1147)
... 28 more