Your product is so good. and We will buy it soon.
I downloaded aspose-total-java.zip file yesterday.
Simple ppt or pptx are ok to convert to pdf.
but when I use company quarter report, I got this error message:
Exception in thread “main” sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.java.utf7charset.provider.CharsetProvider not found
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.access$000(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at java.nio.charset.Charset$1.getNext(Unknown Source)
at java.nio.charset.Charset$1.hasNext(Unknown Source)
at java.nio.charset.Charset$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.availableCharsets(Unknown Source)
at com.aspose.slides.b.co.do(Unknown Source)
at com.aspose.slides.b.co.do(Unknown Source)
at com.aspose.slides.b.co.
(Unknown Source)
at com.aspose.slides.b.at.(Unknown Source)
at com.aspose.slides.b.as.do(Unknown Source)
at com.aspose.slides.b.as.do(Unknown Source)
at com.aspose.slides.b.cn.do(Unknown Source)
at com.aspose.slides.b.cn.createScaledRendering(Unknown Source)
at com.aspose.slides.rw.do(Unknown Source)
at com.aspose.slides.rr.int(Unknown Source)
at com.aspose.slides.rr.try(Unknown Source)
at com.aspose.slides.PictureEx.do(Unknown Source)
at com.aspose.slides.mJ.do(Unknown Source)
at com.aspose.slides.mJ.if(Unknown Source)
at com.aspose.slides.mJ.(Unknown Source)
at com.aspose.slides.GeometryShapeEx.do(Unknown Source)
at com.aspose.slides.GeometryShapeEx.for(Unknown Source)
at com.aspose.slides.PictureFrameEx.do(Unknown Source)
at com.aspose.slides.GroupShapeEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.AS.if(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.save(Unknown Source)
Hi Ching,
After I plugged in your java jar files into my web application.
My log4j never work.
Your library set log4j to console.
How do I fix that?
It is really serious.
Thanks,
Chang Shin
Hi Chang Shin,
It was ok the log4j function until I added your java libraries.
If I removed your libraries, It is ok.
I am using these items for developing:
Window 7, java SE 1.6.0._35, Tomcat 7.0.35, Spring mvc, and jsp, mysql, and eclipse
It is your java Libraries I added:
aspose-barcode-5.3.0-jdk15.jar
aspose-cells-7.4.1.jar
aspose-email-2.7.0.0-jdk16.jar
aspose-imaging-1.7.0-jdk15.jar
aspose-pdf-kit-4.5.0.jar
aspose.metafiles-1.8.0.jar
aspose.pdf-3.3.jdk16.jar
aspose.slides-7.1.1.jar
Aspose.Words.jdk16.jar
bcprov-jdk16-146.jar
dom4j-1.6.1.jar
stax2-api-3.0.2.jar
woodstox-core-asl-4.1.1.jar
Also,
When pptx is converted to pdf, it is ok on window.
but I got this error on Mac Pro, unix system.
<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:“맑은 고딕”;mso-fareast-theme-font:minor-fareast;
mso-ansi-language:EN-US;mso-fareast-language:KO;mso-bidi-language:AR-SA”>java.lang.IllegalStateException:
Cannot find resource ‘/Aspose/Resources/GenBasR.ttf’. at
com.aspose.slides.a.B.if(Unknown Source) at com.aspose.slides.a.h.t.do(Unknown
Source) at com.aspose.slides.a.l.h.char(Unknown Source) at
com.aspose.slides.a.l.h.byte(Unknown Source) at
com.aspose.slides.a.l.h.do(Unknown Source) at
com.aspose.slides.a.l.j.do(Unknown Source) at
com.aspose.slides.a.l.j.do(Unknown Source) at com.aspose.slides.a.l.j.do(Unknown
Source) at com.aspose.slides.oj.(Unknown Source) at
com.aspose.slides.KI.int(Unknown Source) at com.aspose.slides.KI.short(Unknown
Source) at com.aspose.slides.cE.do(Unknown Source) at
com.aspose.slides.SlideEx.do(Unknown Source) at
com.aspose.slides.SlideEx.do(Unknown Source) at com.aspose.slides.AS.if(Unknown
Source) at com.aspose.slides.PresentationEx.do(Unknown Source) at
com.aspose.slides.PresentationEx.save(Unknown Source) at <!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>KO</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
<w:UseFELayout/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><!–[if gte mso 10]>
<![endif]–>
PresentationEx pres = new PresentationEx(baseFolder +“attachedFiles/” + fileName);
pres.save(baseFolder+ “temp/” + attachedPdfFileName, com.aspose.slides. SaveFormat.Pdf);
Thanks,
Chang Shin
Even if I do not use your function, the web application log4j is change to console.
I guess your trial version do something.
Thanks,
Chang Shin
Hi Chang Shin,
Attached has the error message
<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:“맑은 고딕”;mso-fareast-theme-font:minor-fareast;
mso-ansi-language:EN-US;mso-fareast-language:KO;mso-bidi-language:AR-SA”>java.lang.IllegalStateException:
Cannot find resource ‘/Aspose/Resources/GenBasR.ttf’. at
com.aspose.slides.a.B.if(Unknown Source) at com.aspose.slides.a.h.t.do(Unknown
Source) at com.aspose.slides.a.l.h.char(Unknown Source) at
com.aspose.slides.a.l.h.byte(Unknown Source) at
com.aspose.slides.a.l.h.do(Unknown Source) at com.aspose.slides.a.l.j.do(Unknown
Source) at com.aspose.slides.a.l.j.do(Unknown Source) at
com.aspose.slides.a.l.j.do(Unknown Source) at com.aspose.slides.oj.(Unknown
Source) at com.aspose.slides.KI.int(Unknown Source) at
com.aspose.slides.KI.short(Unknown Source) at com.aspose.slides.cE.do(Unknown
Source) at com.aspose.slides.SlideEx.do(Unknown Source) at
com.aspose.slides.SlideEx.do(Unknown Source) at com.aspose.slides.AS.if(Unknown
Source) at com.aspose.slides.PresentationEx.do(Unknown Source) at
com.aspose.slides.PresentationEx.save(Unknown Source) at <!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>KO</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
<w:UseFELayout/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><!–[if gte mso 10]>
<![endif]–>
Hi Chang Shin,
Hi Chang Shin,
The issues you have found earlier (filed as SLIDESJAVA-33788) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
We use java version 6.
is the latest one ok for java version 6 too?
Thanks,
Chang Shin
Hi Chang Shin,
Hi Chang Shin,
Herea is the web server information:
Tomcat Version: Apache Tomcat/7.0.30
JVM Version: 1.6.0_35-b10-428-11M3811
JVM Vendor: Apple Inc.
OS Name: Mac OS X
OS Version: 10.8.2
OS Architecture : x86_64
The error is happened only Mac OS.
It is ok in Window 7.
We use Mac OS Server
Thanks,
Chang Shin
HI Chang Shin,
Hi Mudassir, Please resolve this bug SLIDESJAVA-33790 as we are facing the same issue as faced by Chang Shin.
We get the same GenBaseR font message ONLY on mac and it run excellently on Windows.
Please solve as soon as possible as it is very critical for our beta release.
Regards
Mohit Garg
Hi Mohit Grag,
Hi Ching Shin,
FontsLoader.loadExternalFonts(new String[] “/Library/Fonts”, “/Library/Fonts/Microsoft”});
I am not clear regarding your instruction.
Can you tell me more detail?
It is my code to create pdf file.
PresentationEx pres = new PresentationEx(baseFolder+pptFilename);
//Instantiate the PdfOptions class
com.aspose.slides.PdfOptions opts = new com.aspose.slides.PdfOptions();
//Set Jpeg Quality
opts.setJpegQuality((byte)100);
//Define behavior for metafiles
opts.setSaveMetafilesAsPng(true);
//Set Text Compression level
opts.setTextCompression(com.aspose.slides.PdfTextCompression.Flate);
//Define the PDF standard
opts.setCompliance(com.aspose.slides.PdfCompliance.Pdf15);
//Save the prsentation to PDF with specified options
pres.save(baseFolder+pdfFileName, com.aspose.slides.SaveFormat.Pdf,opts);
Thanks,
Chang Shin