Manipulate plain pdf files with ADS
Hi experts,
We are struggling with following requirement:
Within a webdynpro application plain pdf files (transferred dayly to the servers file system) may be accessed and viewed.
The pdf should be viewed without any rights to print and save.
The trouble is - the pdf files are printable and saveable but can not be manipulated before this step.
We are using NW 7.01 and WD for Java.
To solve this we configured ADS an tried to convert the PDF using the clientserver.adobe.pdfdocument.api.
Yet we found no way to rewrite our pdf files with the api.
Looking through serveral forums did not give us a hint.
Are we going the wrong way?
Did we assume falsely that we can manipulate plain pdf files via ADS?
Thanks' and kind regards,
Horst
Hi Dezso,
thank you for this information! So don't need to invest more time in research.
As I understand the ADS is designed for forms and workflow stuff.
On the other hand to have such a powerfull tool like ADS which can not perform such simple actions like manipulation of non ADS generated pdf appears to me quite sad.
@Otto: As stated above - take a (non ads generated) pdf (e. g. from file system), add/remove rights and view it in a WD. No need of interactive form, template or data if not necessary.
Best regards,
Horst
Similar Messages
-
I cannot open a pdf file with aol e-mail. I went to preferences in Adobe Reader but did not know what to enter for Incoming IMAP and outgoing SMTP. I can open pdf files from windows explorer as I have associated .pdf files with adobe reader. My operating system is windows 7.
When I try to open the pdf file within aol e-mail I get a message: 'Your security settings do not allow this file to be downloaded'. I have not changed my security settings (Tools, Internet Options, security).Or http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html
-
Writing a java program for generating .pdf file with the data of MS-Excel .
Hi all,
My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
My Program is:
* Created on Apr 13, 2005
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
package forums;
import java.io.*;
import java.awt.Color;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;
import com.lowagie.text.Font.*;
import com.lowagie.text.pdf.MultiColumnText;
import com.lowagie.text.Phrase.*;
import net.sf.hibernate.mapping.Array;
import org.apache.poi.hssf.*;
import org.apache.poi.poifs.filesystem.*;
import org.apache.poi.hssf.usermodel.*;
import com.lowagie.text.Phrase.*;
import java.util.Iterator;
* Generates a simple 'Hello World' PDF file.
* @author blowagie
public class pdfgenerator {
* Generates a PDF file with the text 'Hello World'
* @param args no arguments needed here
public static void main(String[] args) {
System.out.println("Hello World");
Rectangle pageSize = new Rectangle(916, 1592);
pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
// step 1: creation of a document-object
//Document document = new Document(pageSize);
Document document = new Document(pageSize, 132, 164, 108, 108);
try {
// step 2:
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
// step 3: we open the document
document.open();
Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
Iterator rows = hsheet.rowIterator();
while( rows.hasNext() ) {
Phrase phrase=new Phrase();
HSSFRow row = (HSSFRow) rows.next();
//System.out.println( "Row #" + row.getRowNum());
// Iterate over each cell in the row and print out the cell's content
Iterator cells = row.cellIterator();
while( cells.hasNext() ) {
HSSFCell cell = (HSSFCell) cells.next();
//System.out.println( "Cell #" + cell.getCellNum() );
switch ( cell.getCellType() ) {
case HSSFCell.CELL_TYPE_STRING:
String stringcell=cell.getStringCellValue ()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringcell);
// document.add(new Phrase(string));
System.out.print( cell.getStringCellValue () );
break;
case HSSFCell.CELL_TYPE_FORMULA:
String stringdate=cell.getCellFormula()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringdate);
System.out.print( cell.getCellFormula() );
break;
case HSSFCell.CELL_TYPE_NUMERIC:
String string=String.valueOf(cell.getNumericCellValue())+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(string);
System.out.print( cell.getNumericCellValue() );
break;
default:
//System.out.println( "unsuported sell type" );
break;
document.add(new Paragraph(phrase));
document.add(new Paragraph("\n \n \n"));
// step 4: we add a paragraph to the document
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
// step 5: we close the document
document.close();
My Input from MS-Excel file is:
Planning and Tracking Template for Interns
Name of the Intern N.Kesavulu Reddy
Project Name Enterprise Sales and Marketing
Description Estimated Effort in Hrs Planned/Replanned Actual Actual Effort in Hrs Complexity Priority LOC written new & modified % work completion Status Rework Remarks
S.No Start Date End Date Start Date End Date
1 setup the configuration 31/01/2005 1/2/2005 31/01/2005 1/2/2005
2 Deploying an application through Tapestry, Spring, Hibernate 2/2/2005 2/2/2005 2/2/2005 2/2/2005
3 Gone through Componentization and Cxprice application 3/2/2005 3/2/2005 3/2/2005 3/2/2005
4 Attend the sessions(tapestry,spring, hibernate), QBA 4/2/2005 4/2/2005 4/2/2005 4/2/2005
The o/p I'm gettint in .pdf file is:
Planning and Tracking Template for Interns
N.Kesavulu Reddy Name of the Intern
Enterprise Sales and Marketing Project Name
Remarks Rework Status % work completion LOC written new & modified Priority
Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
End Date Start Date End Date Start Date S.No
38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
2.0
38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
3.0
38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
The issues i'm facing are:
When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
and the second issue is:
It is not recognizing the date format..it is recognizing the date in first row only......
Plz Tell me wht is the solution for this...
Regards
[email protected]Don't double post your question:
http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
/Kaj -
Recently I got a new laptop, with excel 2010 version and acrobat 9 standard.
I could no longer print (save as) an excel file with multiple tabs into a pdf file with bookmarks.
My old computer has excel 2007 version and acrobat 9 standard.
Print an excel file into pdf with bookmarks was a piece of cake.
Both machine has the same add-in -- Acrobat PDFMaker Office COM addin
Thanks if anyone could help me with this.
TomYou need to upgrade Acrobat to a newer version.
On Thu, Oct 30, 2014 at 4:12 PM, excel-pdf-bookmarks < -
How do I create a single PDF file with multiple pages?
Hi, I occasionally need merge several jpg images into a single pdf file with multiple pages (one Jpg per page). I have tried doing this on Preview, and by selecting all the pages I want to include in my document and trying to save to Pdf through the "Print" function, but every time it only saves the first page.
Can anyone tell me if there is a way to save multple-page pdf files without having to purchase a specific program (i to this too infrequently to justify the cost)?
Thanks very much,This works for me...
Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
From File menu > print selected images. Choose PDF > Save as PDF
-mj -
How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?
Reader doesn't have editing capabilities.
-
How do I create an interactive PDF file with variable data
We would like to basically do a 'mail merge' of our list of customers with an interactive PDF file (including videos, menus, etc - not just form fill out and web links) to create a single PDF file that contains multiple mail pieces ... one for each customer ... with each mail piece being customized for that customer. Customizations would include different greetings (Dear Bob, Dear Dana, etc), as well as different charts based on data unique to the customer, different photographs, etc.
I've seen that InDesign and Acrobat Professional can be used to create an interactive PDF (such as from http://tv.adobe.com/watch/ask-the-adobe-ones/14-calling-rufus-about-interactive-pdf-making). However I don't understand how I can insert data from a database, csv file, excel file etc into the PDF file so that each page, or each set of pages, within the PDF can be customized.
Can anyone point me to a tool to use for this?
Thanks,
Bob KendallFor that kind of volume and unattended operation, you want InDesign Server – which is the server/high volume edition of INDD.
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Thu, 3 Nov 2011 06:58:07 -0700
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: How do I create an interactive PDF file with variable data
Re: How do I create an interactive PDF file with variable data
created by Ti26E31DSxxx<http://forums.adobe.com/people/Ti26E31DSxxx> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4005459#4005459 -
How to open a pdf file with command in WebBrowser control?
Installed acrobat 6 or7 in my PC, then I load a WebBrowser control in IE to open a local pdf file with command line, such as "Page=3", and then open the same pdf file with WebBrowser control in other IE process, I found the command will affect other open and show operations in webbrowser. is it normal? That is to say, When i set command "Page=3", the second time WebBrowser still open pdf with command "Page=3",I think it is bad.
Hello:
Thanks for your reply. I installed Acrobat6.0 or 7.0 in my PC, then i load a WebBrowser Control in IE by Html, then open local pdf with different command by running IE. We can get the command in this website: http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
First:open local pdf with command : oWebBrowser.Navigate("G:
PDF
07000001.pdf#Page=3&Pagemode=thumbs", null, null, null, null);
Second:Open the same local pdf with no command: oWebBrowser.Navigate("G:
PDF
07000001.pdf", null, null, null, null)
【Result】The first command "#Page=3&Pagemode=thumbs" will effect the way of showing pdf when second open. But, the phenomenon will not appear in Acrobat 8.0, 9.0, 10.0. -
Looking for advice on how to share pdf files with iPad from Mac. Pages seems to only recognize text. What app is recommended for pdf documents?
Welcome to Apple Support Communities!
If I understand your question, you want to read pdfs on your iPad, not create or edit.
Drag pdf files to the iPad icon in Finder while connected to your computer via the USB cable.
They will show up in the iBooks application
(If you don't already have iBooks, it's a free download from the App Store.)
Once installed, there are two buttons at the top left of the Bookshelf.
One is Books, the other is Collections.
Tap Collections, and you'll see Books and PDFs.
Tap PDFs and you're there. -
Problem opening pdf files with Adobe Reader in Windows 7
I bought a new Dell (Inspiron 5110) with pre-installed Windows 7 Home Premium (Version 6.1 SP1, 64 bit) and pre-installed Adobe Reader X (10.1.1). I cannot open ANY of my old pdf files with the Adobe reader (even after I re-installed the Adobe Reader). On another computer with Windows 7 I get the same error message. When I installed several other pdf-readers (Sumatra, Foxit, ..) I can still not open the pdf's -- but all the pdf's still open under Windows XP on my old computer and they also open on all my colleagues' non-Windows 7 computers. So it appears to be a Windows 7 problem. The Adobe error message says 'Adobe Reader could not open _.pdf because it is either not a supported file type or because the file has been damaged (…..).
N.B.: I can download pdf files from the internet and can then open these 'new' pdf files with Adobe Reader X.
N.B.2.: Most of the 'old' pdf files are scientific articles downloaded from various journal websites 2002-2011, so their quality should be out of question.
N.B.3.:I've transfered the files via memory stick and portable HD.
N.B.4.: If I try to open the pdf's via 'Open with' the problem remains the same.
N.B.5.: When, on my Win7 Dell, I've uploaded/attached one of these old pdf files to an email the rtecipient could not tead it. But he could read it when I'd sent the same file from my old Win XP computer.
N.B.6.: I have repeated this last observation: When I upload an old pdf file on my Win7 Dell to my email account and then send it to myself, I cannot open/read it on my Win XP (nor on the Dell, of course). Although the file size is precisely the same.
N.B.7.: When I download a new pdf on my Dell, then upload/attach it to an email also on the Dell and send it to myself, I can download and read the attached pdf on both computers.
Would be grateful for any suggestions.This is really strange.
Please correct me if I am wrong, but from what I can understand, any PDF which is launched on your Win 7 OS fails to open, even though the same file works perfectly fine on your Win XP machine?
Could you please run a full system anti virus scan on the said PDFs that are present on your local system. It could be a case of infected PDFs.
Also, it would be great if you could try and download some of the erroneous PDFs from the web again, and see if you experience the same behavior.
Thanks
Ankit -
How do I edit a PDF file with Adobe PDF Pack?
How do I edit a PDF file with Adobe PDF Pack?
Well, you don't. Editing a PDF is a difficult and fraught business even with the most expensive software.
But PDF Pack lets you export to Word; then often you can edit in Word. Now you can make a new PDF. It might look like the original, or it might not. If small changes matter you might be out of luck. ON NO ACCOUNT USE THIS FOR GOVERNMENT FORMS. -
I can't use thunderbird 31.2.0 to send attachement from a pdf file with Acrobat PRO XI
I can't use thunderbird 31.2.0 (Mozilla) to send attachement from a pdf file with Acrobat PRO XI. Each time, Acrobat replies (in french) : "il n'y a pas de client pour la messagerie par défaut". Thunderbird is indicated as "by default" in the list of programs of Windows.
Even if I type my e-mail address, etc. in the account of Acrobat, it doesn't change. Each time, I have to record a PDF file in a folder and return to Thunderbird to send it as attached. It is a too long process, compared with Windows XP with Acrobat Reader or Acrobat 5, I had before.
Would you please help me to explain the process. My OS is Windows 8.1.
Thank youThank you for your answer.
What i want to do : to send PDF files as attached documents in a message
generated by thunderbird by my e-mail address [email protected] or
another one I have.
When I introduce my e-mail address under Edit-Preferences-Email
Accounts, Acrobat ask the e-mail account, the password, the IMAP for
ingoing message (and I use POP) and SMTP for outgoing messages. Even I
introduce all the datas, it doesn't change, Acrobat is unable to send
the message. And the process is not convenient, because I need all my
outgoing messages be documented inside Thunderbird.
So, I repeat my request : how can I use thenderbird as program by
default from Acrobat or any other software ?
Thank you for your next message.
Jean-Luc Rongé
Le 21-10-14 14:24, ANAND8502 a écrit :
>
I can't use thunderbird 31.2.0 to send attachement from a pdf
file with Acrobat PRO XI
created by ANAND8502 <https://forums.adobe.com/people/ANAND8502> in
/Acrobat Installation & Update Issues/ - View the full discussion
<https://forums.adobe.com/message/6850947#6850947> -
I can't open a PDF file with password with my iphone app
I can't open a PDF file with password with my iphone app, the app send me an error, but the password is correct. This only happend in the new version of iphone. In the latest version I didn't have this problems.
Can you please share the file with us at [email protected]? Also, can you please confirm that you are viewing the PDF in the Adobe Reader app rather than an app like dropbox, Mail or Safari?
-
How can I open McAfee encrypted (EEFF) PDF files with Adobe Reader?
How can I open McAfee encrypted (EEFF) PDF files with Adobe Reader? Get error "There was an error opening this document. Access denied". Disabling Protected Mode in Reader doesn’t always work.
McAfee: https://kc.mcafee.com/corporate/index?page=content&id=KB74299&actp=search&viewlocale=en_US &searchid=1240943327683If Reader ISN'T in the list of prpgrams to open with, click "Browse"
In the "Browse window" go to C/Program files [or Program Files (x86)]/Adobe/Reader 11/Reader
Select "AcroRd32.exe" and click "Open"
Make sure "Always use the selected program to open this kind of file" is checked and click "OK". -
How to delete pages in a pdf file with mac OSX Mavericks?
Indeed i don't have Pages options in my tools window... Is that normal for the mac version? Please it's urgent...
Sorry, it was my fault. When I searched on the Internet, I was reading the Acrobat help pages, without knowing it, because in my research I wrote "how to delete pages in a pdf file with Adobe reader", i was just automatically redirected toward Acrobat help but i didn't notice.
So no incorrect information exist in the Reader Help pages.
Maybe you are looking for
-
Cannot open my NEF files in Photoshop CS6 from my new Nikon D800 camera.
That's it, I Cannot open my NEF files in Photoshop CS6 Camera Raw from my new Nikon D800 camera. What am I doing wrong or what is wrong? I have the plug-in Camera Raw 7. and can open TIFF files but not the NEF files. Peace, Charles Fennen
-
Hi, I just got my first Macbook Pro (YAY!!), and after fiddling around with it for a couple of days I would like to take advantages of the features of syncing with iCloud in my new hardware and my iPhone 4 (basicly clean up account stuff and enable s
-
Drivers are all working but still no sound with windows 7
I have a very frustrating sound issue. My sound has worked completely fine up until yesterday. When I booted up my computer, I realized that no sound came out. I've gone through many forums to find the solution and I've checked all the simple stuff l
-
How can I archive photos in iPhoto to a hard drive and retain the Album folders and the Events? I tried to Export the Albums but just transferred the files individually.
-
Is there any tool that can display the internal structure of a F4F file?
Dear all, I want to view the internal structure of an f4f file, Is there any tool that I can use to do that? Thanks, Xuedong