Converting resources from .doc to .pdf in KM
I'm trying to make a UI command that can be added to a repository's context menu that would convert a .doc file to a .pdf. I'm not sure how to go about it though.
Do I need 3rd party software or is there some functionality already available within EP?
Are there any java libraries that can handle this? I've looked at iText but I'm not sure it can do the job.
Any help or advice will be appreciated.
Glenn
Hi Glen,
I'm facing with the same situation. I don't have a solution yet, but I'm looking to a special Open Office library.
Open Office is capable of exporting all kind of Microsoft Office documents in PDF formats. However, it isn't Java, and the PDF exports may not be perfect from MS Office documents. There is some level of Java integration in Open Office, but I don't know how much you can do with it.
Regards,
Luciano
Similar Messages
-
Email Address Not Converting Correctly from .doc to .pdf
I'm attempting to convert a Microsoft Word document to a PDF. I have an email address in the footer of the document that reads [email protected] but when I convert it to a PDF, the hyperlink doesn't work correctly. When I click on the hyperlink in the PDF, it brings up the email address as [email protected] It completely cuts off the first name! The full email address displays correctly, but when you click on it, it cuts off the entire first name before the period.
Please help!Be sure you use PDF Maker for the conversion. If that does not help, put such addresses in quotes and see if that does the job.
-
I purchased the 9.99 monthly plan from iTunes to convert my resume from .doc to .pdf and it keeps telling me to purchase the upgrade I already bought. I look on my PC and it says I'm still a free customer and need to sign up annually for the pack. ********! What do I need to do
If you purchased a subscription from Apple's iTunes store, you'll need to go to them to manage it:
Manage your auto-renewing subscriptions - Apple Support -
Unable to convert Microsoft Word doc. to PDF in Words (there is no response)
Unable to convert Microsoft Word doc to PDF in Words (Does not respond) or Create PDF from a Word doc. in Adobe Acrobat X Standard 10.1.1 with all updates installed. I receive apop-up saying "Missing PDF Maker Files: Dou you want to run the installer in Repair Mode" I have done this several times. I have un-installrd and re installed the program twice. Still does not work. I'm running Windows 7 Home version and Microsoft Office XP 2002. This is a brabd new Acrobat program right out of the box. Suggestions Please.
In WORD 2002, I believe you can only print to the Adobe PDF printer. I think that WORD 2003 is the first compatible with AA X. Check out http://kb2.adobe.com/cps/333/333504.html.
-
MY colleague has a certain setting in Acrobat that allows him to keep the original file name when he converts documents from Word to PDF. Every time I convert Word, Acrobat overwrites the filename and names it "untitled.pdf". I would like to retain the original name and for Acrobat to simply add the .pdf file extension to the original name. How do I do this?
I have no idea what you are doing for sure. Does your WORD document have a name. I opened a WORD document and selected the Acrobat Distiller printer for AA5, I got the file menu for selecting the name and it was automatically filled in with the DOC changed to PDF. If you are using PDF Maker, then you will need to search there - I removed PDF Maker for AA5 years ago and can't view that part. I see the same types of options in PDF Maker for AA8.1.2 as I saw in the printer for AA5 and guess it is the same. The untitled.pdf suggests that you never saved the original DOC file so it has a name.
-
How can I send scanned files, which are documents changed from doc to PDF, as documents that can be edited if the recipient doesn't have Adobe capabilities?
Hi flaviusjack,
If you still have the .doc files, it might be best to send those to your recipients so they can be edited. Otherwise, you can use ExportPDF to convert the PDF files back to .doc format. But, again, that step would be unnecessary if you have the .doc files.
Best,
Sara -
Error - Conversion from .doc to pdf
Hi,
I'm using Trail version of LiveCycle ES 8.0(Turnkey Installation).
I need to convert any native file format to PDF/A. In order to do that, I'm just trying to convert it(.doc) to PDF first. But I do end-up with the error that is given below:
ALC-PDG-1000-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-001-000-Conversion failed because of an exception.
RuntimeException; CausedByException is:
An unexpected exception while resolving a new connection to an Adobe Service.
Caused by: javax.ejb.EJBException: RuntimeException; CausedByException is:
An unexpected exception while resolving a new connection to an Adobe Service.
at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:382)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy221.convertPDFMToPdf(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: Connection to failed service.
at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:87)
at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFa ctoryManagerPeer.java:79)
at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactor yManagerPeerImpl.java:84)
... 112 more
Error OCCURRED: ALC-PDG-001-000-Conversion failed because of an exception.
RuntimeException; CausedByException is:
An unexpected exception while resolving a new connection to an Adobe Service.
I'm using Generate PDF Service API(Java) to convert a document(.doc) to PDF.
Can anyone please provide their inputs on the above issue. How it can be resolved?
or
Is there any API to convert any native file format to PDFA directly?
Thanks.Hi,
I'm facing a different problem. Please help.
My requirement is to develop a standalone java program to convert Word documents to PDFs using Adoble LC ES.
I found the code from the Adobe LC ES documentation. Please help me what's wrong in the code.
I don't understand what i'm missing in the code...The "test.doc" file
is there in the given location with proper data and Document object is not "NULL". Program is able to connect to Adobe LC Server. No issues with connection. But why the error ??
Code & exception are below :
CODE:
import java.io.File;
import java.util.Properties;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.livecycle.generatepdf.client.CreatePDFResult;
import
com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient;
public class GeneratePDFFromNativeFiles {
public static void main(String[] args)
Properties ConnectionPropsForSOAP = new Properties();
ConnectionPropsForSOAP.setProperty("DSC_DEFAULT_SOAP_ENDPOINT",
"http://workspace-d.web.abbott.com:8080/soap/services/
ConvertAllFileTypesToPDF?wsdl");
ConnectionPropsForSOAP.setProperty("DSC_TRANSPORT_PROTOCOL", "SOAP");
ConnectionPropsForSOAP.setProperty("DSC_SERVER_TYPE", "JBoss");
ConnectionPropsForSOAP.setProperty("DSC_CREDENTIAL_USERNAME",
"epaspdfgen");
ConnectionPropsForSOAP.setProperty("DSC_CREDENTIAL_PASSWORD",
"epaspdf1");
ServiceClientFactory factory =
ServiceClientFactory.createInstance(ConnectionPropsForSOAP);
try{
String currentDirectory = System.getProperty("user.dir");
String sourceDocPath="/test.doc";
String resultDocPath ="/bin/arg/util/simpleFTP/test.pdf";
String inputFilePath = currentDirectory+sourceDocPath;
File file = new File(inputFilePath);
String adobePDFSettings = "Standard";
String securitySettings = "No Security";
String fileTypeSettings = "Standard";
GeneratePdfServiceClient gps = new
GeneratePdfServiceClient(factory);
Document inputDoc = new Document(file,true);
CreatePDFResult docResult=gps.createPDF (inputDoc, inputFilePath,
fileTypeSettings, adobePDFSettings,
securitySettings, null, null);
Document createdDocument = docResult.getCreatedDocument();
createdDocument.copyToFile(new File(currentDirectory
+resultDocPath));
catch (Exception e) {
e.printStackTrace();
System.out.println("Error OCCURRED: " + e.getMessage());
EXCEPTION:
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal
error.
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:
207)
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:
125)
at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:
57)
at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:
208)
at
com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.createPDF(GeneratePdfServ iceClient.java:
172)
at
arg.util.simpleFTP.GeneratePDFFromNativeFiles.main(GeneratePDFFromNativeFiles.java:
73)
Caused by: ALC-DSC-002-000:
com.adobe.idp.dsc.RequiredParameterException: Parameter: inputDocument
is required.
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:
221)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:
128)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:
1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:
227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:
62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:
123
Please help me.
Thanks a lot.
VJ. -
I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance
Attach all of them again.
Be well... -
Anyone know the answer?
Hi michaelp70541244,
What did you use to convert the Word doc to PDF? Regardless of the method you used, however, some fonts will never be embedded, if licensing for those fonts restricts it.
Best,
Sara -
Problem converting Word 2007 DOC to PDF 9
Problem converting Word 2007 DOC to PDF 9
I have a Word 2007 DOC (not docx) file with pictures and text which converted perfectly with Distiller 8. I installed CS4 Distiller 9, and now the same DOC file flows over onto several extra pages. I am using the default settings. Any idea what has changed. Thanks in advance.First, select the Adobe PDF printer in WORD. Then go through the document to check for the flow of the document. It should print the same as you see in the document after the printer has been selected.
-
I previously has service.1) What product allows me to digitally sign a PDF? ,2) convert a word doc into PDF?
Hi robertb48724220,
Are you using the same email address that you use here in the forums? That's how I looked up your account, and saw that you have a active subscription. You should be able to sign in with that email address and the associated password.
Best,
Sara -
Hyperlink cross-references not converted from doc to pdf
Hi,
We are having some problems converting word documents to pdf. This is a standard part of our day to day work, we convert docs to pdf all the time. We use acrobat 7 professional and Office Professional 2003. The symptom is that hyperlinks are not all being converted in the pdf. The TOC is fine but after that the links do not always work. Right now i have downgraded a workstation back to adobe 6 professional and i'm running a conversion on that of one of our docs that doesn't convert properly. Otherwise i have tried all the settings in the conversion settings window, i have tried saving the doc as an xml first.
So i have some docs which convert perfectly and some which convert except for dead hyperlinks. I can't see anything wrong with the hyperlinks. I've also tried different workstations, it's always the same result.
Has anyone else seen anything like this and if so can you suggest any way forward apart from recreating a million hyperlinks in the converted pdfs?
thanksFrom Word I select 'convert to Adobe PDF' from the Adobe PDF menu.
We convert word docs to pdf as part of the daily running of the business.
We always use PDFMaker and not the adobe pdf printer.
Before now hyperlinks were converting fine.
I have tried previously to update acrobat, it seems to be stuck on the 7.1.0 update.
When I search for new updates it just installs the 7.1.0 update again - i have 3 workstations like this.
They have been like this for a long time, i had in fact stopped attempting to update them - adobe has worked fine up til now and it is in daily use.
Maybe this is the root of the problem.
I will try and get one up to date on 7.1.2 and run a conversion and see what happens. -
How do I convert a .doc to .pdf and ensure the pagination is right from the source document?
Hi,
Please install Adobe CreatePDF Desktop printer if you are using Winows systems.
To install Adobe CreatePDF Desktop Printer
Log into https://createpdf.acrobat.com/signin.html with your Adobe ID and password
Select “Convert to PDF” tool from right pane
Click “Download CreatePDF Desktop Tool” link
Click “Download Installer” button
Click “AdobeCreatePDFDesktopPrinterSetup.exe” file
During the installation , you need to enter your Adobe ID and password
Note: If your Windows is Win 7 SP1 you may need a hotfix to update inetpp.dll file and please see more information at
http://helpx.adobe.com/acrobat-com/kb/createpdf-desktop-printer-windows-7.html
You will receive an email once your doc file is printed. Printed PDF files are stored at hpps://files.acrobat.com.
Hisami -
How do I convert a WORD doc to pdf on my Mac
How do I convert a WORD doc to pdf
Easiest way if you have Word installed: from Word's File menu, do "Save as..." and you will find a pdf option in the "Format" pull-down:
The example is from Office:Mac 2008; should be similar in Office 2011. -
How can i convert a jpeg doc to pdf on macbook
how can i convert a jpeg doc into a pdf doc?
Open it in Preview and choose Export from the File menu.
(112944)
Maybe you are looking for
-
How do I get the songs from my old Mac to my new one sans iCloud?
I recently purchased a new MacBook Air and I need to know how to get the songs off of my 2007 MacBook onto my new one without use the iCloud.
-
How do you add 30 days to a user inputed date parameter?
-
Plz help in building this query .
dear gurus i have problem i have two tables namely purchases product_id,invoice_no,invoice_date,purchase_rate,quantity and sales product_id,invoice_no,invoice_date,sales_rate,quantity i have to select sales.product_id,sales.quantity*sales.sales_rate
-
Difference between ways to print a report
Hello friends at www.oracle.com , I have a Forms program that, before printing, asks the user about where he wants to send the report: to the Previewer (before printing), or send it directly to printer. However, there's a field that, when printed thr
-
HT5824 I lost a note in on my phone and it is not in icloud can I retrieve it?
I lost a note on my iphone and it is not included in icloud..... can I retrieve it anywhere else?