Hi,
We embedded a pdf file in the pptx slide (Insert -> Object -> Adobe Acrobat Document).
We are accessing the oleobject and updating it with the new inputstream using the following code :
OleObjectBinaryPart oleObjectBinaryPart = new OleObjectBinaryPart(new PartName("/ppt/embeddings/oleObject1.bin"));
oleObjectBinaryPart.setBinaryData(reportBlob.getBinaryStream());
pptMlPackage.getParts().getParts().put(new PartName("/ppt/embeddings/oleObject1.bin"), oleObjectBinaryPart);
pptMlPackage.save(new File("C:/pptx_out.pptx"));
While trying to open the pdf from the "pptx_out.pptx" in powerpoint 2010, we are observing the following error:
"The server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the sever application".
Can you please tell us what might be the exact problem?
Thanks,
Kaustabh