Copy&paste from a file excel to Adobe Interactive Form
Hi all
my project is based on WDJ and Adobe Interactive Form.
I need to know if it is possible to do a copy&paste from a file excel to my Adobe Interactive Form.
Can I copy an area of data from an Excel spreadsheet (set of contiguous rows and columns)
and paste them into a text field of my form, preserving the formatting (font, size, structure of coloums/rows,...)?
Can you help me please?
Thanks!
You may try posting this question in either the Designer or Forms forum.
This forum is for the LiveCycle PDF Generator ES product - a server side document conversion module. If you want to convert the entire Excel spreadsheet to a PDF server side, then PDF Generator is the correct tool to use.
Similar Messages
-
Attachment of files in an Adobe Interactive form
Hi,
Is it possible have 'File attachment' attach any type of file inside and Adobe Interactive form .. ?
Thanks
SivarajYes, you can attach all kind of filetypes to an AIF.
-
Getting complete file path in Adobe Interactive Form
Hi All,
I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
*Start of JavaScript
var sFile;
event.target.importDataObject(sFile);
var oFile;
oFile = event.target.getDataObject(sFile);
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
*End of JavaScript
1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
3. This way is only giving me the selected FILE NAME whereas I need the complete path.
I have tried below way also:
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
This function returns me the complete path but in URL form. It does not give me the presentation server path.
Please suggest me how to get the complete path of presentation server to the file.
Appreciation would be honored in form of points!!!
Regards,
Ashishplease post it here for quick response
and also search in adobe forums also for java script related.
http://www.adobe.com/support/forums/index.html -
Need to capture full file path in Adobe Interactive Form
Hi All,
I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
*Start of JavaScript
var sFile;
event.target.importDataObject(sFile);
var oFile;
oFile = event.target.getDataObject(sFile);
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
*End of JavaScript
1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
3. This way is only giving me the selected FILE NAME whereas I need the complete path.
I have tried below way also:
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
This function returns me the complete path but in URL form. It does not give me the presentation server path.
Please suggest me how to get the complete path of presentation server to the file.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Ashish
I have also tried below way:
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Oct 17, 2008 3:26 PMplease post it here for quick response
and also search in adobe forums also for java script related.
http://www.adobe.com/support/forums/index.html -
How to capture full file path on Adobe Interactive Form using Acro JS
Hi All,
I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
*Start of JavaScript
var sFile;
event.target.importDataObject(sFile);
var oFile;
oFile = event.target.getDataObject(sFile);
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
*End of JavaScript
1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
3. This way is only giving me the selected FILE NAME whereas I need the complete path.
I have tried below way also:
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
This function returns me the complete path but in URL form. It does not give me the presentation server path.
Please suggest me how to get the complete path of presentation server to the file.
Appreciation would be honored in form of points!!!
Regards,
Ashishplease post it here for quick response
and also search in adobe forums also for java script related.
http://www.adobe.com/support/forums/index.html -
Export data to MS Excel in Adobe interactive form
Hello Experts,
I am using Webdynpro Java and ALCD 8.2. Can anyone help me out with functionality of Exporting adobe form data to excel file.
Thanks in advance,
SwamiHi Swami,
When you say exporting data to a excel spread sheet.
Does that mean once the form is generated then user should able to export to excel, if so below is the link for that.
http://forums.adobe.com/thread/709565?tstart=1
if its like for an interactive forms where user submits data the on submit event if you want to publish the form data to a spread sheet, I believ there should be a lot of posts on generating CSV files from ABAP code. this is also possible from WDJ provided if you have the respective jar files (on submit even, read data from the context, process to required format, call the excel API and write to it.)
If from ABAP handler the post from the other blogger here might help.
does this help, let me know if you are looking for something more specific.
Cheers,
Sai -
I have most of what I need here, but I’m missing 2 important pieces.
#1) I want to copy/paste from all PDF files in a folder and paste the copied data into a single Word file.
It works fine if I have ONLY Word docs in my folder. When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in
the PDF, so I have no idea where that’s coming from.
#2) I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.
Here the code that I’m working with now.
Sub Foo()
Dim i As Long
Dim MyName As String, MyPath As String
Application.ScreenUpdating = False
Documents.Add
MyPath = "C:\Users\001\Desktop\Test\" ' <= change this as necessary
MyName = Dir$(MyPath & "*.*") ' not *.* if you just want doc files
On Error Resume Next
Do While MyName <> ""
If InStr(MyName, "~") = 0 Then
Selection.InsertFile _
FileName:="""" & MyPath & MyName & """", _
ConfirmConversions:=False, Link:=False, _
Attachment:=False
Dim Myshape As InlineShape
Dim IndexCount As Integer
IndexCount = 1
For Each Myshape In ActiveDocument.InlineShapes
If Myshape.AlternativeText = PDFname Then
ActiveDocument.InlineShapes(IndexCount).OLEFormat.Activate
End If
IndexCount = IndexCount + 1
Next
Selection.InsertBreak Type:=wdPageBreak
End If
On Error Resume Next
Debug.Print MyName
MyName = Dir ' gets the next doc file in the directory
Loop
End Sub
If this has to be done using 2 Macros, that’s fine.
If I can do it in 1, that’s great too.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.Hi ryguy72,
>>When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in the PDF, so I have no idea where that’s coming from.<<
Based on the code, you were insert the file via the code Selection.InsertFile. I am trying to reproduce this issue however failed. I suggest that you insert the PDF file manually to see whether this issue relative to the specific file. You can insert PDF
file via Insert->Text->Object->Text from file.
If this issue also could reproduced manually, I would suggest that you reopen a new thread in forum to narrow down whether this issue relative to the specific PDF file or Word application.
>> I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.<<
We can save the embedded spreadsheet via Excel object model. Here is an example that check the whether the inlineshape is an embedded workbook and save it to the disk for you reference:
If Application.ActiveDocument.InlineShapes(1).OLEFormat.ClassType = "Excel.Sheet.12" Then
Application.ActiveDocument.InlineShapes(1).OLEFormat.DoVerb xlPrimary
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.SaveAs "C:\workbook1.xlsx"
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.Close
End If
And since the Word object model doesn't provide API to save the embedded PDF, I would suggest that you get more effective response from PDF support forum to see whether it supports automation. If yes, we can export the PDF as embedded spreadsheet like code
absolve.
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Copy & Paste from Illustrator to InDesign CS4
Hi,
I am aware that there are issues when copying/pasting from Illustrator to InDesign, in particular:
http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6bdda.html
I have the following problems:
1- I copy and paste text from Illustrator to InDesign on the same platform and some (not all) of the text is converted to outline in InDesign. The same font is available to both applications. Why this behaviour?
2- I copy and paste objects containing text from Illustrator to InDesign and some of the objects appear to have moved respective positions when pasted into InDesign. Is this to be expected?
Are there solutions to these problems? Note that if I expand everything in Illustrator prior to copying and pasting into InDesign, none of these issues occur, but everything is obviously in outline form, with the limitations it entails.
My clipboard settings are as indicated in the link above, but I have tried other settings with no more luck.
(Important: Before pasting a graphic, make sure that Illustrator is configured to copy as AICB (see Illustrator Help). In InDesign, make sure that Prefer PDF When Pasting isn’t selected in the Clipboard Handling preferences. If these options aren’t set properly, the Illustrator graphic cannot be edited in InDesign.)
It is not practical for me to create an Illustrator file for each of the Illustrator graphics and import those files via Place into InDesign. I must use Copy/Paste.
I use CS4.
Thanks.You can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
Bob -
Hi,
New Mac, so to avoid problems went for the new post-Snow Leopard Photoshop CS5. Oops.
Copy-Paste From Other Apps Into CS5
Pasting images/photos from Powerpoint 2004 to CS5, I experienced the exact problem posted slightly off topic by james norrington in the thread "CS5 does not let me copy & paste file names." It was not answered and is quoted here:
---"I am using CS5 Photoshop and Office 2004 on 10.6.3. I was using 10.4 until a few weeks ago and it worked and still works with other macs in the office using CS4. I can copy and paste from powerpoint but it cuts the pictures in half and does not know what the res. of the image is. Also when I go from photoshop to powerpoint the image res. is also not preserved."---
Besides that, I also found copy-paste from a digital camera photo.jpg from Preview to CS5 doesn't respect the resolution either. Directly opening the photo into PS CS5, fine.
From the earliest PS, always was able to copy any image to clipboard, have a new document dialog box come up pre-filled with correct original WxH pixels, original resolution, color mode, etc., and just paste into the new document - perfect fit (even the oddball PPT 576 ppi). Now a shift and cut-off. Don't have PPT 2008 to test pasting from there.
I have also found that a similar but less severe image cut off happens when copy-paste from PPT -> Preview, or -> TextEdit, or -> drag and drop picture clipping.
Opening Image File in CS5
Even an original 300 dpi tiff file wrongly went to 72 ppi etc. when opened directly into CS5. Converted the file to a jpeg in Preview - that jpeg file could be opened into CS5 correctly, reconverted the jpeg to TIFF in Preview, still opened OK (not counting loss of image quality). Still couldn't copy paste from either document into CS5 correctly. One difference I noticed in the converted files was that more information was available in the Preview file info. Maybe that made the difference in opening the file correctly.
I'd welcome any suggestions. Thanks.
---detail of tiff file ---
original
GENERAL
Color Model: RGB
Depth: 8
DPI Height: 300
DPI Width: 300
Pixel Height: 1033
Pixel Width: 1315
TIFF
Compression: LZW
Photometric Interpretation: RGB
Software: Image-Pro Plus
Y Resolution: 300
After conversion to jpeg in Preview"
GENERAL
Color Model: RGB
Depth: 8
DPI Height: 300
DPI Width: 300
Orientation: 1 (Normal)
Pixel Height: 1033
Pixel Width: 1315
EXIF
Pixel X Dimension: 1315
Pixel Y Dimension: 1033
TIFF
Color Model: RGB
Depth: 8
DPI Height: 300
DPI Width: 300
Orientation: 1 (Normal)
Pixel Height: 1033
Pixel Width: 1315
----END---Thanks to Chris for the explanation of the dueling clipboards.
It's still frustrating, but since I still have a CS2 license from the dead G4 the current Mac replaced, I can try that (wonder if they can coexist), or maybe I could use an older Mac for this particular situation.
As for the .tif file, it was generated by a Mac OS 8.5 era image capture program that we are forced to use, and the analysis was that the app does not properly encode the TIFF tags to acceptable standards. Preview 5.0.2 just guessed right from the little information that was included - but it didn't work when tried with Preview 3.0.9 on an OS 10.4 Mac. So this was a unique situation. -
Folks,
Hello. I have just installed Oracle Linux 5 as Guest OS on the top of VMPlayer. Host OS is Windows 7.
I downloaded Oracle E-Business Suite R12 from edelivery into Windows 7 in a folder(EBS_R12) on my LapTop screen.
In order to install EBS R12 into Oracle Linux 5, I copy/paste the folder EBS_R12 into Oracle Linux 5 screen. The file size is about 50GB. After coply/paste is completed successfully, I cannot find where is the folder (EBS_R12) in the Guest OS Oracle Linux 5.
Can any folks tell me where is the folder (EBS_R12) in Oracle Linux 5 after copy/paste from Windows 7 ?Hi,
After coply/paste is completed successfully, I cannot find where is the folder (EBS_R12) in the Guest OS Oracle Linux 5.Was the copy/paste successful.
If yes then you can do the following
#find / -name EBS_R12 -type d -print
(Assuming you copied the folder "EBS_R12" , But not its contents).
Thanks -
Problems doing copy/paste from Flash to Illustrator
This is a problem I've had since Flash 8: when doing a
copy/paste from Flash to Illustrator (on Windows), there's extreme
degradation of the artwork, sometimes to the extent that no actual
art is even copied. All the curves seem to be approximated with
straight line segments, but at some point it just seems to give up
even trying, leaving an unidentifiable blob for most of the object.
As I said, sometimes it doesn't even copy anything at all -- all
that shows up after pasting into Illustrator is an empty group.
The weird thing is that this process worked fine in Flash MX
2004. What could possibly have changed? I was sure with CS3 it
would be fixed, but it wasn't. I haven't tried Illustrator CS4 yet,
but copying from Flash CS4 to Illustrator CS3 produces the same
problem.
I've seen a few other reports of this problem in other
forums, but I've encountered it on every install of Flash and
Illustrator I've tried (admittedly, all Windows machines, but three
or four different ones, both XP or Vista). Can anyone here confirm
that this problem exists or doesn't exist on their computer? To
test it, create a piece of art with plenty of curves and several
colors in Flash, then copy and paste it into an illustrator
document.
If this problem is as widespread as my experience seems to
indicate it is, why hasn't it been fixed in two major revisions of
the software? Is Adobe even aware of it? If not, how can I let them
know? I'm getting majorly sick of having to deal with it.
Illustrator used to be a much larger part of my animation process,
but now I can't use it how I really want to because of the bad copy
and paste functionality.
-DavidHi,
The integration between Flash CS3 and Illustrator means you
can copy objects from Illustrator to Flash and i think if you copy
from Flash to illustrator or Photoshop, you would not get a good
results.
You can solve your problem by exporting your Flash work as
.AI.
Your idea about the ability to copy from Flash to Illustrator
is a good idea although Illustrator can not read some of the Flash
imported information correctly. But it is still a good enahcement
idea. There is a link where you can add suggestions but I do not
remember it and I am replying using mobile, so my browsing
capabilities is limited.
I will try to post the link here when I got to my back normal
connection
Thanks alot!! -
Problem of spaces with copy-paste from Acrobat Reader X (10.1.0)
Hi all,
I have a problem when doing a copy-paste from a text in Acrobat Reader X (10.1.0). When I paste, all spaces are erased.
It does not come from the document as the problem is for every pdf.
Do someone have an idea of where the problem comes from ?
Thanks and cheers
JulienThis is not the forum for Reader, but the problem probably lies with the way the file was created, and/or with the fonts used in it.
-
Would be also very nice to be able to do Copy-Paste from vector element in Illustrator. The workflow of creating .svg file from every elements is very long.
Wish to be able to do a copy-paste with an automatic .svg conversion in Edge Animate....Hi Jonathan,
This feature is now available in the latest Edge Animate CC 2014 release. You can try it out.
Find more information @ Edge Animate Help | New features summary
Regards,
Dharmendra -
Copy/paste photo's to docs in Adobe ios
Can a person not copy/paste a photo to a doc?
PDF forms created in LiveCycle Designer can take advantage of an image field that's available. It can import JPEG, TIFF, GIF, and PNG. When the user clicks the field, it prompts the user to select an image file.
A form created in Acrobat can user a button that is set up to display an icon (layout someting other than Label only). Acrobat users will be able to choose a page from a PDF or any other format that it knows how to convert to PDF, including the same image formats as above plus many more, and many other formats. You can implement this with the following Mouse Up JavaScript for a button:
// Prompt the user to select a file
event.target.buttonImportIcon();
When the user clicks the button, a prompt will appear allowing the user to select a file to use for the button icon.
This will work with Reader 11, but the user will be limited to selecting a page from a PDF. It is relatively easy to convert images to PDF nowadays, to this isn't as much of a restriction as it was before they removed this from Reader a while ago. For example, on a Mac a user can easily convert an image to PDF, with Preview for example, or pretty much any other software that can view an image. On Windows, Office users can easily convert to PDF, and there are any number of other freely available PDF creation tools out there. An XFA form with a single large image field can actually be used for this, so that when it is saved the Reader user can import the image by selecting the saved XFA form.
Another option to placing an image on a page is to use a stamp. In Reader, the user can create a stamp from an existing PDF, but prior to Reader 11 the document has to be Reader-enabled so that at least commenting is allowed.
Reader 10 and 11 allow the user to add a signature as part of the new EchoSign functionality, which is implemented as a stamp, and the user can import an image. Adding non-signature images really isn't what this feature was meant for, but it works. -
Unable to copy+paste from Illustrator CC 2014 to Fireworks CS6
It seems to me like Illustrator CC 2014 is riddled with bugs and compatibility issues. The latest one I have found is that I am unable to copy+paste directly from Illustrator CC 2014 to Fireworks CS6. However it does work when I copy+paste from Illustrator CC 2014 > Illustrator CC (previous version) > Fireworks CS6. Anyone else have this problem?
View in Illustrator
Create file in Photoshop CC
Paste in Photoshop CC
Create file in Photoshop CS5
Paste in photoshop CS5
it's a magic!
I paste always as Smart Object
And special for you, create big file in Ps CC
Paste
Looking good but
white 1-Pixel edges are still there, in Cs5 there are no white edges
Maybe you are looking for
-
I just ported over from Virgin mobile with an iPhone 4s. Now i got the 5s from Verizon and i cannot receive texts or calls. I can send texts and make calls but all calls go straight to a different prerecorded voicemail. How do i fix this?
-
Problem with struts validator on WLS 8.1
I am having a strange problem, when I run my app in eclipse using weblogic plugin it works fine and I get no exception. As soon as I run it externally in a standalone server I get an ServletException which seem be be because of struts validator class
-
CC 2014 Updates on Mac- Remove Old CC Apps?
When I installed the CC 2014 Updates on my Mac, my old CC apps remained in place. How do I delete the older versions-simply drag their folders to the trash? Or is there another procedure for deleting them? After once going through hell with Adobe ove
-
Unexplained indentation after JComboBox
Hey folks, I've got a bit of an odd problem here, which is either because of my ignorance of JComboBox behaviour or simply an odd bug or feature in said JComboBox component. Basically, I've got an Options window that, in my application, is opened usi
-
Getting rid of sunlight through a window in a picture?
I have this panoramic photo I took using my phone (Droid Ultra). I've messed with the sharpness and color but the huge glare from the two windows is really messing up the picture. Is there any way I can dim these huge glares? Also as a bonus help: Yo