Converting PPT to PDF

Hi

I am evaluating Aspose products to see if it fits our company needs,

I am using Aspose slides to convert ppt file to pdf file. I have few issues with the generated pdf .

1. Not able to create footer as it is in PPT. Footer is missing in the generated PDF

2. Not able to write image to pdf. Seeing blank in place of image

3. Not able to write auto shapes to pdf. Seeing blank in the place of Auto Shape but it is printing text in the auto shape.

To fix the above issues, Please let me know if I need to do any specific settings.

My only requirement is to convert excel to pdf and ppt to pdf and I am planning to use Aspose Cells and Aspose Slides for achieving this. Please let me know if there is any better Aspose product to achieve this.

Thanks

Karun

Hi Karun,

Thanks for your interest in Aspose.Slides.

I have tried to observe the issues shared by you but in order to reproduce the issue further I need the source presentation file. Please share the source presentation for further investigation on our end.

Thanks and Regards,

Thanks for responding. I am attaching ppt file and pdf which was created and below is the simple program I had used to convert ppt to pdf.

public class SimplePPTCreator {

public static void main(String[] args) {

FileInputStream fis = null;

try{

fis = new FileInputStream("C:\\asposeslides\\Aspose.Slides.lic");

}catch (FileNotFoundException fne){

System.out.println(fne);

}

License lic = new License();

try {

lic.setLicense(fis);

}catch (AsposeLicenseException ale){

System.out.println(ale);

}

Presentation pres = null;

try{

pres = new Presentation(new FileInputStream(new File("C:\\asposeeval\\examples\\XYZ LDI Qtly Report.ppt")));

PdfOptions pdfOptions=new PdfOptions();

pdfOptions.setJpegQuality(100);

//Define behavior for metafiles

pdfOptions.setSaveMetafilesAsPng(true);

//Set Text Compression level

pdfOptions.setTextCompression(com.aspose.slides.export.PdfTextCompression.NONE);

//Define the PDF standard

pdfOptions.setCompliance(com.aspose.slides.export.PdfCompliance.PDF_15);

pres.save("C:\\asposeeval\\examples\\transformed\\XYZ LDI Qtly Report.pdf",com.aspose.slides.export.SaveFormat.PDF,pdfOptions);

}catch (PptException e) {

e.printStackTrace();

}catch(FileNotFoundException fne){

fne.printStackTrace();

}

}

}

Hello Dear,

I have worked with the presentation file shared by you and have been able to observe the all three issues. An issue with ID 26525 has been added in our issue tracking system to further investigate and resolve this issue. This thread has also been linked with the issue so that you may be automatically notified once the issue is resolved.

We are sorry for your inconvenience,

Hi,

I am also facing the same problem. I have images on my Presenation file.

when I convert that presentation to PDF, the values which are blank in Presentation are showing on the PDF like "0.00%" and also the Font becomes bold and Blur.

Please let me know when you fix this issue.

Thanks,

Sree

Hi Sree,

Can you please share the source presentation for necessary investigation on our end.

Thanks and Regards,

Hi,


I have the same problem. I am using aspose.slide.2.4.0 for Java.
I am trying to convert pptx to pdf, if I have a picture in the power point, it will not appear in the pdf.

For the convertion from ppt to pdf, there are the pictures, but the size is not good, there are smaller.

See following my code :

/--------------------------------------------------/
/* Power Point Document 2007 /
/--------------------------------------------------/
try {
// Instantiate a Presentation object that represents a PPT file
PresentationEx pptxPresentation = new PresentationEx(“C:\test\Testpresentation.pptx”);

// Saving the presentation to PDF document
pptxPresentation.save(“C:\test\demo.pdf”,com.aspose.slides.export.SaveFormat.PDF);
} catch (Exception e) {
e.printStackTrace();
}


/--------------------------------------------------/
/ Power Point Document 2003 /
/--------------------------------------------------*/
try {
// Instantiate a Presentation object that represents a PPT file
Presentation pptPresentation = new Presentation(“C:\test\Test1.ppt”);

// Saving the presentation to PDF document
pptPresentation.save(“C:\test\demo.pdf”,com.aspose.slides.export.SaveFormat.PDF);
} catch (PptException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {
e.printStackTrace();
}

Thanks.



The issues you have found earlier (filed as 26525) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.