Add hidden data to pdf
HI
I need to save some data to pdf document but i want these data be hidden and with preview the document nothing show
but plugin can read these data
how can i insert data?
to where?
do i have any limitation to add data for example size or ...
I read 32000 but in sdk I don't know use which function or layer
thanks for your attention
I just find this
http://partners.adobe.com/public/developer/indesign/register/prefix_reg.do
is this correct ?
Similar Messages
-
Add current date to PDF documents
This doesn't seem like it should be hard, but I have been unable to find information on how to do it.
I have about 100 PDF files. Somewhere on them, I need to display "Date Printed: dd mmm yyyy", and have the current date displayed.
I don't care whether this is placed at the top of the page, the bottom, or opaque in the background.
I would like to be able to accomplish it using the batch command, but will perform manually if necessary.
I have Acrobat 7 Professional.
Can someone please help me out?Hi Everyone -<br /><br />Thanks to Dimitri, I was able to do exactly what I wanted to do by using the following code:<br /><br /> // Check for existing field and make sure it's on the first page<br /> var strModName = "DocMessage";<br /> var ofield = this.getField("DocMessage");<br /><br /> // Create Field if it doesn't exist<br /><br /> if(ofield == null)<br /> {<br /> // Field is the width of the page, on the bottom of the page<br /> // and 40 points high (72pts/inch)<br /><br /> for(var i=0;i<this.numPages;i++)<br /> {<br /> var rectField = this.getPageBox("Crop",i);<br /> rectField[1] = rectField[3] + 14; // Set Top<br /> ofield = this.addField({cName: strModName,cFieldType: "text",<br /> nPageNum:i ,oCoords: rectField});<br /> ofield.alignment = "center"; //This is the text alignment of the field<br /> ofield.multiline = true;<br /> ofield.textSize = 8; <br /> ofield.textFont = "Arial";<br /> ofield.display = display.noView; //This is hidden on the page but printable to make viewable change to display.visible or noView<br /> ofield.readonly = true;<br /> }<br /> }<br /><br /> // Add Field to Document Script<br /> var strJS = 'var ofield = this.getField("DocMessage");';<br /> strJS += 'ofield.value = "Intellectual Property of My Company - CONFIDENTIAL. ";';<br /> strJS += 'ofield.value += " Document printed " + util.printd("ddmmmyyyy",new Date()) + ".";';<br /> this.addScript("AddMessage",strJS);<br /><br />However - Now I would like to change the message to say that the document expires on a future date. For example, 14 days from today. I found an example of how to do this on page 266 of the Adobe JS Scripting Guide and have followed it to the letter, but it is not working. Here is the modified code:<br /><br /> // Check for existing field and make sure it's on the first page<br /> var strModName = "DocMessage";<br /> var ofield = this.getField("DocMessage");<br /><br /> // Create Field if it doesn't exist<br /><br /> if(ofield == null)<br /> {<br /> // Field is the width of the page, on the bottom of the page<br /> // and 40 points high (72pts/inch)<br /><br /> for(var i=0;i<this.numPages;i++)<br /> {<br /> var rectField = this.getPageBox("Crop",i);<br /> rectField[1] = rectField[3] + 14; // Set Top<br /> ofield = this.addField({cName: strModName,cFieldType: "text",<br /> nPageNum:i ,oCoords: rectField});<br /> ofield.alignment = "center"; //This is the text alignment of the field<br /> ofield.multiline = true;<br /> ofield.textSize = 8; <br /> ofield.textFont = "Arial";<br /> ofield.display = display.noView; //This is hidden on the page but printable to make viewable change to display.visible or noView<br /> ofield.readonly = true;<br /> }<br /> }<br /><br /> /* Create a date object containing the current date. */<br /> var d1 = new Date();<br /> /* num contains the numeric representation of the current date. */<br /> var num = d1.valueOf();<br /> /* Add fourteen days to todays date, in milliseconds. */<br /> /* 1000 ms/sec, 60 sec/min, 60 min/hour, 24 hours/day, 14 days */<br /> num += 1000 * 60 * 60 * 24 * 14;<br /> /* Create our new date, 14 days ahead of the current date. */<br /> var d2 = new Date(num);<br /> // Add Field to Document Script<br /> var strJS = 'var ofield = this.getField("DocMessage");';<br /> strJS += 'ofield.value = "Intellectual Property of My Company - CONFIDENTIAL. ";';<br /> strJS += 'ofield.value += " Document expires on " + util.printd("ddmmmyyyy", d2) + ".";';<br /> this.addScript("AddMessage",strJS);<br /><br />The resulting output is simply: "Intellectual Property of My Company - CONFIDENTIAL." The part of the message regarding the expiration date doesn't even show up.<br /><br />Anyone have any suggestions?
-
Does anyone know how to Add a date drop down list to a pdf file?
Can someone tell me how to add a Date drop down list in a form
There's no built-in function that does that in Acrobat, but there are some third-party tools that do.
The two most known ones are by FormRouter, which is free and based on form fields (but also a bit buggy), and a non-free version created by Max Wyss, which is based on a dialog object. -
Help with exporting data from pdf form
I have about 100 pdf forms that I created in adobe forms central and distributed as a pdf form (rather than on the web). I am trying to export the data into a spreadsheet but when I export it, the fields are all jumbled in the csv file, as in they are not in the same order. I need to export the data all together so I'm going to the forms menu and selecting "manage form data" and then selecting "merge data files into spreadsheet". I tried exporting a single file but that gave me something really weird.
Please help, I have a deadline next week to analyze this data and can't make sense of it once it is exported to a spreadsheet.Would you please share your form with me and send me one of your pdf forms and some of the csv files?
You can share your form by doing the following:
1. Click on the “Share” icon on the bottom left corner.
2. Click on “Add Collaborator” on the popup menu.
3. Enter [email protected] under “People to share with”.
4. Set subject to "Export data from pdf form"
5. Click the “Share” button on the bottom right of the dialog.
Thanks
Ken -
How to programmatically add rectangle to a pdf file ?
How to programmatically add rectangle to a pdf file ?
There is several page pdfs, non-vector, black and white.
Users are color blind and have disabilities.
To train them, one adds a rectangle at a certain lower-left point and width,height specified for a page.
The idea is to give the script the page and coordinates and size of rectangle to be added programmatically. Green rectangles are acceptable as the cones are most sensitive there.
Also, additional feature to add bookmarks on the left in the order these rectangle data is provided to the script.
The script could be "hard-wired" by a list of the rectangle coodinates, and page number, pasted inside acrobat and run or entered into acrobat in some way.
Your script would help many disabled people who are distributed through out the world.
Feel free to contact me by email if you wish.
Dying VetsP.S.
This rectangle does not have to be a full annotation rectangle which needs user,date and a lot of info.
Something minimal like this would suffice
1 0 0 RG % red for stroke color
200 300 50 75 re
As you can see that the native unit of the pdf file is the "point" having 72 in an inch.
The file dpi would be given. However, one could assume that pixel for the rectangle lower-left and width/height are given.
From the pixels and dpi, the points could be calculated if desired. -
Compiling form data: how to add FDF data?
Hi there
I've created a PDF form and am testing the distribution and compilation process. I created the form in Acrobat. I suspect most of the end users will have Reader, so after having distributed it through the Acrobat wizard (to myself) I filled it in with Reader and sent it back (the FDF file).
When I open this FDF file from my email application, it doesn't automatically add it to the data set created in the distribution process. Instead it says that the data file cannot be located and asks if I'd like to browse for it. I do so, find it, and the completed form opens in Reader, not Acrobat. I can get around this by ctrl-clicking in Mail and telling it to open with Acrobat.
However, when I do manage to get the completed form open in Acrobat it does not add the data to the spreadsheet field at the top. If I try to Import Data, the FDF file is greyed out – it wants a PDF. And if I import the FDF by going to Forms > Manage form data > Import data..., it shows the completed form but not the data in the spreadsheet again.
So, how can I add this FDF data to the data set and get it to display in the spreadsheet area? Alternatively, how can I save this completed form as a PDF (not a data set as happens if I go File > Save) so that I can import that into the data set?
I hope I've explained it clearly enough! Any help would be appreciated.Priya,
Preview the iview and try shiftright click or ctrlright click and add the additional fields.
if it doesnot work then you need to customise the code as per the requirements. -
Print date in PDF without opening Acrobat
I have a little issue that needs assistance.
Is it possible to get print date (e.g. todays date) automatically without opening the PDF in Acrobat. My plans are to use a hot folder / drop folder which directs the PDF to the printer. The form or script must be applicable anywhere on the layout. I'm working with quite heavy files for commercial printing, and nowadays spends lots of time just waiting for the file to load, add todays date into a form field, print and close the document. The time gained would be massive! I've tried some small scripts but none seems to work out for me.
Thanks in advance!Thanks for the input Geo. I think I've got it working now. I actually found a script on Adobeforum, so apologies for making a post. Regarding what you've written in your reply, it's actually possible to print a PDF without opening the application. I'm using a folder which is automatically scanned for files (must be PDF, PS or EPS). This is really good, I'm quite sure that you have the function in the new Distiller as well.
-
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
Unable to retrieve the data in multiple rows within webservice method.Hi Paul,
I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
this is my code
TextField1.rawValue=xmlData.document.rawValue;
xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
for(var i=0; i<count; i++)
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
Table1.Row1.instanceManager.addInstance(true);
Thanks
Hussam -
How to add Table element in PDF form in Webdynpro
Hello Everybody,
I am developing one application in Webdynpro using PDF form in it. I wantable control in PDF form. I read somewhere that we can add table control in PDF form. But i didnt find how to add the same. So if anybody knows then please help me.
Thanx in advance...
BhavikHi All,
Please follow these steps to create tables in adobe interactive forms.
Lets us take this example. We want to display employee information. The following fields are the one that we are going to display:
1. employeenumber
2. First name
3. last name.
First insert a "interactive form UI element" in the view. Create a value node and bind it to the data source of the UI element.
Create a subnode called "Employee".
Create 3 value attributes to display the 3 values.
Open the form designer. Insert a subform. change its type to "flow content"(default is position content) and in the next drop down, choose the value as type "table".
insert one more subform into this subform. change its type to "flow content" and from the dropdown, choose the value as "table row" and in the tab "binding", click the checkbox "min" and have its value as 1.
now drag the elements from the data hierarchy into the second subform.
save the form in the designer.
go to the view implementation and populate the nodes with the value. if this is within a loop, the content of the second subform is repeated giving the user a "table".
I hope the steps are clear.
Regards,
Chander -
Add Annotation data to particular location in existing page.
I created one template file and i want to add 3D annotation data in perticular place in template page.
How is it possible ?But i created one template pdf and i want to add 3D annot data to template at particular position. like template contain one rectangle and i want to add 3D data inside this rectangle. How ?
-
Macro to create Excel data to PDF file.
hi i have data in my spread sheet, assume Sheet1. I want user to view/save the data in PDF file automaticallu upon clicking command button. Viewing/saving any onething will work for me. Need complete steps please.
Thanks,
Robo.Hans -
You're answers on this topic have been very helpful, thank you. I have one question.
I'm using the below code which is perfect for me, but I want to add one thing. I want to be able to select the previous sheet so that it is printed as well. I want the previous sheet to be the first page that gets printed in the PDF, so the current sheet
(The sheet with the "Print PDF" button) gets printed as the second sheet.
Your help in solving this would be appreciated it.
Sub SavePDF()
Dim strFileName As String
strFileName = Application.GetSaveAsFilename( _
InitialFileName:="\\server\share\folder\", _
FileFilter:="PDF Files (*.pdf),*.pdf", _
Title:="Save As PDF")
If strFileName <> "False" Then
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=strFileName, _
OpenAfterPublish:=False
End If
End Sub -
I need to have a "Date Printed" on my PDFs but when I add the date field to the header it's not displaying the current date when printed
Which date – the current one, the creation date, …?
https://forums.adobe.com/search.jspa?q=add+date&place=%2Fplaces%2F1383833&depth=ALL -
Edit/add XML data in BI Publisher
Hi
I have a java program that is generating an XML file that I am using as input for my BI publisher for PO report. However, I want to add some extra information(location addresses corresponding to location id) that is not there in the XML and I cannot edit the java program generating it. Is there any way I can do this in BI publisher? Can I edit/add XML data in BI publisher? This is really urgent and I appreciate any help.
Thanks,
SharmilaYou have to edit the package which has the sql query,
without fetching them in xml , you cannot display that.
BIP will not help you to get that into report.
The code which generates the XML data has to edited for sure..
I guess, i helped one guy for similar requirement,
i guess you are asking in the same report..
the java program in turn calls the Pl/Sql package which generates the XML data and pass it to the Java Concurrent Program.
The Pl/Sql package picks data from these views po_headers_xml, po_lines_xml, po_distribution_xml.
you can also add the columns you want to be displayed in these views, and then change the template accordingly. -
No Data in PDF file in FTP server
Hi All,
I am trying to place a PDF file in FTP server.
Used
CONVERT_OTFSPOOLJOB_2_PDF to convert spool to PDF
SCMS_TEXT_TO_XSTRING
FTP_R3_TO_SERVER to transfer data to FTP.
I am able to see PDF file in FTP and no of pages matches with that of R/3 but there is no data in PDF file.To get pdf file , you need to set the itcpo-tdgetotf = 'X' and need to pass in the exporting parameter (options in open_form function module ).Then in close_form function module take all the data of otfdata table into an internal table . Then use SX_OBJECT_CONVERT_OTF_PDF function module to convert it to pdf.
I will show with an example.
tables itcpo.
DATA: ch_otf TYPE STANDARD TABLE OF itcoo.
DATA: w_otf TYPE itcoo.
DATA: w_pdf TYPE solisti1. "For PDF
DATA: i_content_txt TYPE soli_tab.
DATA: temp1 TYPE sx_format VALUE 'OTF',
temp2 TYPE sx_format VALUE 'PDF'.
DATA: c_printer TYPE sx_devtype VALUE 'PRINTER'.
DATA: w_transfer_bin TYPE sx_boolean. "Content
DATA: i_content_bin TYPE solix_tab, "Content
wa_content_bin TYPE solix,
i_objhead TYPE soli_tab.
itcpo-tdnoprint = 'X'.
itcpo-tdpreview = 'X'.
itcpo-tdgetotf = 'X'.
These three parameters need to be passed along with other required parameters
CALL FUNCTION 'OPEN_FORM'
EXPORTING form = xformular
language = ekko-spras
OPTIONS = itcpo
archive_index = toa_dara
archive_params = arc_params
device = xdevice
dialog = xdialog
mail_sender = sender
mail_recipient = recipient
EXCEPTIONS canceled = 01.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = RESULT
tables
otfdata = ch_otf.
LOOP AT ch_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
converting otf file to pdf file
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = temp1 "'OTF'
format_dst = temp2 "'PDF'
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
Then open dataset and transfer to ftp of the content of table content_bin(i_content_bin) as shown in above example.
I think this will be helpful for you -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK
Maybe you are looking for
-
Does Find my iPhone require you to have iCloud?
Does Find my iPhone app require you to have iCloud?
-
Hi Experts, I am finding Swaps on daily basis .we are planning to go live very soon with additional 500 users which will make total of 1000. I want to know whether I may get any issue with performance?will my system may come down with current sttting
-
Useful Information about Open Outlook OST Files
If MS Outlook is connected with Exchange server then it creates .ost file format to save cached data in offline mode and all offline work automatically synchronized with Exchange server if connectivity is available. The process to read offline OST fi
-
Firewall issue with centralized SQL server - port 52384
Hi, I have dedicated, centralized MS SQL 2012 server for our internal infrastructure with few instances. There is dedicated named instance SC for SC Family Products running on TCP port 1435. Also Server Browser running on UDP 1434 is enabled. I'm tr
-
Has Anyone Setup a Linksys E4200 to Operate From a i Mac OS 10.6.7?
New E4200, Set for PPPoE, DSLExtreme Service.