Flex and pdf
Hi All,
How can I create a PDF file from my flex app data?
Can i display the content of the pdf file in a window panel
or something similar?
Any ideas? Help will be appreciated.
Rgds
JFB
jfb00, I do all of my PDF creation in PHP using the FPDF
Library (
http://www.fpdf.org/). I send
whatever data is needed from my Flex app to PHP via a HTTPService
request and then build the PDF. I haven't tried this yet but I
would think that once the PDF has been created the name of the PDF
file can be sent back to Flex so you can open it as you would a
link to any external website.
Similar Messages
-
Problem in creating client side PDF with image using flex and AlivePD
I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Thanks in advance
AtishayI am having a similar and more serious problem. It takes a
long time to execute, but even attaching a small image balloons the
pdf to 6MB plus. After a few images it gets up to 20MB. These are
100k jpeg files being attached. The resulting PDF is too large to
email or process effectively. Does anyone know how to reduce
size/processing? -
Interactive medical report with Flex/AIR, XML, U3D and PDF
Hello,
I am computer science student and during my master thesis I want to program an interactive medical report which should include some 3D models (U3D) and which should provide the following options:
Interactive manipulation of the 3D models
Typing in a structured medical report
Loading of a XML file with additional information
Loading of medical image data (jpg images)
At best, only one pdf file as resulting report
And: A nice user interface (I like the interface elements of Flex...)
I think, the best way is a pdf file which includes all the needed data. The problem is that I don't know exactly what software combination fulfills my requirements... I read some things about Adobe Flex and AIR and the U3D format and I suppose, the great interface builder "Flash Builder 4" might be useful to generate a nice user interface. BUT: I was not able to find out, how to include U3D in Flex/AIR.
Then I found the nice pdf library iText (http://itextpdf.com/examples/index.php?page=chapters) which is able to produce a pdf file from a swf file and to include a U3D-model with an additional JavaScript file for manipulations.
BUT again: If I have a swf flash file with the nice user interface (generated with the Flash Builder), how can I access the U3D model in the final pdf document? Imagine: I click on a "rotate" button in the swf and then the U3D-Model in the pdf should rotate...
Ok, as you can see, it is a complex szenario.
My questions summarized:
What, in your opinion, is the best technology for my task? Flex? AIR?
How can I import the U3D-models? Should I use PaperVision, Sandy3D or something else?
Is there a way to save user inputs directly in the pdf file, or as new pdf file or as xml file?
What is the best way to produce the user interface? Flashbuilder, or maybe a html container with "normal" html interface elements and then the events communication between JavaScript and ActionScript?
How can I export all the stuff to one pdf document? Should I use iText?
Best regards,
StevenThanks for making my point - perfect is the enemy of good. We tolerate less capable, less perfect system that are in place now, because of the false expectation that it should be perfect. Incremental improvements are rejected, because they are not perfect. Even an imperfect algorithm can find 'Broken' as a common thread in your example, and highlight them for the clinician to evaluate their impact on the current treatment. This no less likely to miss the connection than a clinician trying to scan through handwritten notes, in the 5 - 10 minutes he/she has to interact with the patient and determine what to do.
Because of legal concerns, incremental but imperfect improvements don't get implemented, so nothing ever moves forward. Imagine if after the Wright Brothers first flight, no improvements were considered acceptable unless they completely eliminated the risk of failure - there wouldn't be any airlines to go bankrupt today!
For the most part, IT has focused on activities where 'perfect' is achievable. Accounting in its various forms have been the primary focus of most IT systems. In that area, the vocabulary is very limited, well defined, and consistent. A debit is always a debit, and a credit is always a credit. Medicine is completely different. It is much larger in scope, poorly defined, the vocabularies are mostly non-existent, and where they exist are incomplete and inconsistent. Despite the huge leaps forward in the last century, there is still more unknown than known about how and why the body works. This environment makes most individuals trained in IT uncomfortable. Until we learn how to deal with 'fuzzy', Healthcare IT is going to be limited to the billing and collection functions that it mostly accomplishes today.
Mark -
http://www.adobe.com/devnet/flex/pdfs/getting_started_with_Flex3.pdf
what is prereq for reading above, and for start develop/reading with flex and cf(level?) ?The Flex Quickstarts will be a place for starters, if you want to know
about Flex/CF integration the first to know would be some basics of CF.
Sincerely,
Michael
Sent from my iPhone -
hi.. i need to convert my grid and charts from flex to pdf.. how to create pdf template? so that i can import my data set into pdf template?? am using live cycle designer trail version.. or any alternative method to convert flex to pdf????
thanks in advance.hi, I'm trying to just get this AlivePDF set up to try it out and use.
I am migrating a Flex 2 app to Flex3 specifically in order to use AlivePDF. I downloaded and installed the latest stable build of the Flex 3 SDK and have now compiled the Flex 2 app (of course with some changes).
I have tried to statically load the AlivePDF.swc (both the 0.1.4.9 and 0.1.5 versions). I've used mxmlc with both a command line argument "library-path += " and by modifying the flex_config.xml file adding a new "path-element".
I've had the swc file both in a subdirectory of the application directory and in the same directory as the mxml file.
I keep getting a compile error that it can't open the file "...\AlivePDF.swc".
Help, anybody............ -
Hi,
I do not know if this is the right section,
I wanted information about application in sap with/using flex.
Can you give me some useful links for how to start?
Many Thanks!!Hi !
Pls have a look on the below links & Pdfs for Adobe flex and Sap
How to Develop Flex Applications that Invoke Web Services
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/adobe%2bflex%2bsap%2bsample%2bfrom%2bsdn%2bday%2b2006
How to call SAP web services from Adobe Flex 2
Good learning links and materials for SAP adobe flex
My first post- SAP and Adobe Flex / AIR
Thanks
Abhishek
Pls close the thread by rewarding points , if your querry is solved . -
Change between FormGuide and PDF
Few months ago there was some Adobe presentation that showed, how user could change the view between form guide and pdf at runtime in workspace. Is it possible now in livecycle ES?
If it is, how can I make it work?I just want to add some clarifications to what Philip explained.
When you first design an xfa based form (xdp), you use the LC Form Designer. At that point you create and XDP and LC Forms can render that XDP into PDF or HTML (or other transformations).
Now with LC Designer ES, you have a new menu that allows you to generate a Form Guide for that XDP. The Guide Builder is a plug-in written in Flex that helps you design your Guide.
It creates a basic Form Guide that you can customize. Once you save the Form Guide, it adds a little bit of information in the XDP to tell LC Forms that the form can be generated as a Form Guide.
So the things I wanted to clarify, is yes, you can generate a PDF, HTML or Form Guide from the same XDP template. You do need to "Guide Enable it" by creating a form guide within the form designer.
Because a Form Guide is built from an XDP within the Form Designer, you'll always have a PDF representation of that guide which comes from that XDP.
Both format Form Guide and XDP are sharing the same data model and some of the same logics (some script, validations, mandatory fields, etc).
Jasmin -
Web Clipping portlet and pdf files
Hi,
I have created a web clipping portlet which just includes a set of links to HTML and pdf files. When I try to open a link to a pdf file the web clipping portlet fails, but links to the html content work fine
Is it possible using web clipping to open the links to the pdf files and display them in the web clipping portlet ?
Thanks,Hi,
I have created a web clipping portlet which just includes a set of links to HTML and pdf files. When I try to open a link to a pdf file the web clipping portlet fails, but links to the html content work fine
Is it possible using web clipping to open the links to the pdf files and display them in the web clipping portlet ?
Thanks, -
How to add Images and PDFs in MDM iView
Hello!
We use SAP Portal as interfase to access SAP MDM repository tables.We use MDM Record Set and MDM Item Detail iViews to display and operate with main table content.
There is a field in the qualified table, which is the lookup to the Images table. And the other field is the lookup to the PDFs table. Both fields are qualifiers.
In the main table there is a field, which is the lookup to the qualified table. When we try to add values to this field using Item Detail iView, we get a window, where we can fill all values of the qualified table, except Image field and PDF field - they are disabled. So, can we add Images and PDFs to the table using Item Datail iView? Or what is the other way to add them?
Thanks,
Vika
Message was edited by:
Viktoria DeminaOoohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
But they want to get paid for their hard work, the bastards! -
SUMMARY
Hyperlinks to XLS, DOC, and PDF files that are included in a
.chm file (and the Baggage Files) only work intermittently. The
only solution appears to be deleting the Temporary Internet Files.
PROBLEM
1. I place the XLS, DOC, or PDF file in the Windows
sub-directory that corresponds to the RoboHelp project sub-folder
where the topic in which I’ll place the hyperlink exists.
2. I open the help project in RoboHelp HTML.
3. I right-click on the project’s Baggage Files
sub-folder that corresponds to the Windows sub-directory in which I
placed the XLS, DOC, or PDF file (in step 1).
4. I import the XLS, DOC, or PDF file.
5. I open the topic in which I’m going to place the
hyperlink in the WYSIWYG editor.
6. I “drag and drop” the Baggage File into the
topic (in the WYSIWYG editor) to create a link to it.
7. I save the changes and then generate HTML (.chm) help.
8. I open the .chm file and click the hyperlink. The XLS,
DOC, or PDF file may or may not open.
9. When the hyperlink works correctly, for DOC and XLS files,
a “File Download – Security Warning” dialog box
appears asking, “Do you want to open or save this
file?”. The buttons that are available are
“Open”, “Save”, and “Cancel”.
These buttons work then as one would expect. (When the hyperlink
works correctly for a PDF file, it simply opens the PDF file in a
new window; there’s no prompt to save, open, or cancel.)
10. When a hyperlink does NOT work, for DOC, XLS, and PDF
files, no dialog box or other visual message is displayed. Instead,
the sound that is associated with the “Exclamation”
program event is played (the “Windows XP
Exclamation.wav” file is the WinXP default).
Other Notes:
- The hyperlinks ALWAYS work when I view a topic using the
“View Selected Item” function (Ctrl+W) in the RoboHelp
HTML project.
- Once a hyperlink stops working, it will not start working
again until I delete all the Temporary Internet Files.
- A hyperlink will stop working even if Internet Explorer
(iexplore.exe) is closed the entire time.
WORKAROUND
Through trial and error, I have discovered that if a
hyperlink stops working, I can get it to work again using the
following steps:
1. Leave the .chm file open.
2. Open Internet Explorer.
3. Click Tools>Internet Options….
4. From the “Internet Options” dialog box, select
the “General” tab.
5. Under the “Temporary Internet Files” section,
click the “Delete Files…” button.
6. From the “Delete Files” dialog box, select
“Delete all offline content” and then click
“OK”. The files are deleted and the “Delete
Files” dialog box closes.
7. Click “OK” to close the “Internet
Options” dialog box.
8. Without closing Internet Explorer and without re-starting
the .chm file, all the hyperlinks that didn’t work before
will now work.
GENERAL SYSTEM INFORMATION
- Windows XP Pro, SP2
- Internet Explorer 6.0.2900.2180
- RoboHelp X5, 5.0.2 Build 801
- HTML (.chm) help project files exist on my local machine
- HTML (.chm) help file is run from my local machine
- Project is under RoboSource version control
TEMPORARY INTERNET SETTINGS
- “Check for newer versions of stored pages” is
set to “Automatically”
- “Current location” for the Temporary Internet
files folder is set to “C:\Documents and Settings\My
Username\Local Settings\Temporary Internet Files\”
- “Amount of disk space to use” is set to
“594” MB
“View Files…”
- An XLS or DOC file will be listed here if I click its
hyperlink and then click either “Open” or
“Save” from the “File Download – Security
Warning” dialog box.
- A file will appear here even if I click “Save”
and then click “Cancel” from the subsequent “Save
As” dialog box.
- If I click “Cancel” from the “File
Download – Security Warning” dialog box, the file does
not appear in the Temporary Internet Files folder.
- When a file does appear in the Temporary Internet Files
folder, its Internet Address is displayed similar to the following:
“ms-its:C:\PrimaryProjectFolder\ProjectName.chm::/SubFolderName/FileName.xls”
“View Objects…”
Here’s a list of all the program files that appear:
- “Microsoft Office Template and Media Control”
(Last Accessed 12/13/06) (Version 12,0,6024,0)
- “Shockwave ActiveX Control” (Last Accessed
12/14/06) (Version 10,1,4,20)
- “Shockwave Flash Object” (Last Accessed
12/18/06) (Version 9,0,28,0)
- “Windows Genuine Advantage Validation Tool”
(Last Accessed 12/14/06) (Version 1,5,722,0)
- “WUWebControl Class” (Last Accessed 12/13/06)
(Version 5,8,0,2469)
Today is 12/18/06 so the only program file that is listed as
having been “Last Accessed” today is the
“Shockwave Flash Object”.
REQUEST FOR HELP
I really want to include certain PDF, DOC, and XLS files in
their native format in a .chm file. However, I need a better
solution to my problem than the one I discovered. What I really
want is to avoid the entire problem altogether.
Have anyone seen this before or have any suggestions?You wont be able to do that. The embedded objects would appear as images only.
-
I'm trying to get organized and I just added a bunch of books and pdfs to my itunes library. They were all added immediately to my ipad and iphone even though I did not want this. I added them to itunes using add to library and I have both devices set to sync only selected books.
How do I do this in the future so this doesnt happen? Its a lot of work to now manually erase them from each device and it sent my phone over capacity.
thanksI dont see the difference in the posts. I dont think theres anything inaccurate or misleading about what I wrote. The items were immediately added to my ipad and my iphone, even though I have them both set to sync only select items. As soon as I added new titles to my itunes library, they were immediately added to the devices. Not on the next sync. Immediately. Both devices were plugged into the computer at the time. Sorry if I failed to mention they were plugged in but I dont see the signifigance youre making out of it. The problem persists anyway.
Now that I did a test without the devices plugged in, the new items were still added as soon as I plugged my devices into the computer ( I do not have them set to sync over wifi).
Since I have both devices set to manually select items to sync, of course I want to manually select new items to sync. For instance, I am not going to read any of these magazines or books on my phone, ever, and I dont want to waste valuable space with them.
So I'm trying your advice:
I just tried deselecting sync books. It erased all content from ibooks on my device. I then dragged
one title onto the device, and it just goes back to syncing select books, with the one title selected.
It appears that wont work to solve my issue. The next time I add something to itunes it will be put on my phone. Is this really something most people want? To select to manualy control what content is synced, but then have things automatically added. It seems inconsistent to me. -
Purchase Order Dashboard using Adobe Flex and AIR
Hi ,
I have written a AIR apps for displaying the Purchase Order using OPen source Flex and AIR making Web Service calls to our SAP R3 6.20 Backend System . If anybody would be interested in taking a look at it and expanding the apps please free to post at those forum with the your email ID . I can send the AIR apps along with the source code .
Thnks
VI have uploaded the zip file containing my code . If anybody is interested can download from this link .
http://www.mediafire.com/?8mfesdczsuv
Vinod -
Tall report in both HTML and PDF
Hi,
I have a report in 10.1.2.0.2 with three logical parts; a header (logo, column titles), a body (actual data) and footer (column sums, some texts). At the moment I'm just using the main section (not header/trailer) but I'm willing to change.
Depending on the parameters the report will give 1-20 pages (if I was to print them) of output.
I would like to offer both HTML and PDF output but I'm having some issues.
If I set the height of the main section to 25 centimeters/10 inches and run the reports with parameters that produce 2 pages of output, I will get two pages i the PDF perfectly. The HTML will then get a seam (empty row) after 25cm/10In and then continue. The problem is that the second part of data is in a separate html table, making the columns not aligned to the first part.
So, PDF OK, HTML ugly.
If I set the height of the main section to 250 centimeters/100 inches and run the report again the HTML is fine. One long table and therefore consistent columns.
Now the PDF consists of only one page. It looks fine but after the last row I can scroll down much more as the PDF "page" is really tall now.
So, PDF ugly, HTML OK.
Any suggestions for acheiving a nice result in both PDF and HTML?
Kind regards
Tomas Albinsson
Stockholm, SwedenMany thanks Denis, worked perfectly!
Now the customer has decided that they want the header on each page...
So now I don't need to use your solution but it's good to know how to solve it.
Fortunately (?) I've got a new problem now.
If the output spans two pages I now get one head, the first part of data, head again, rest of data and foot. Fine.
The problem is that the columns of head and data on page two are not aligned with the ones on page one.
So head and data always align, but only withing the page. Page two might be much wider than page one.
This is is HTML output and the frames are set to horizontally fixed.
Seems to be the footer. Didn't help putting it in a horizontally fixed frame of it's own.
Suggestions?
Kind regards
Tomas -
Can I use word and PDF on my iPad with icloud
Can I use microsoft word and pdf files from my PC on my iPhone and iPad if I'm using iCloud?
Microsoft does Not make an iPad compatible version of their Office programs such as Word and Excel. But as Johnthe AppleFan pointed out, you can use Apple's Pages to to open Word Files.
Hope this helps -
My iPad and iPhone have iCloud icons. How do I access iCloud from my iMac?
How do I take advantage of the free storage? Can I upload photos,Word and PDF docs?Open contacts on your phone and check your groups. Do your contacts belong to any non-iCloud groups such as On My iPhone, a Gmail, Yahoo or Exchange account, or anything else? Also check Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section). What is selected as your default account?
Maybe you are looking for
-
Ok, i have a JTextField which is initially disabled. A JPanel draws some stuff and receives keyboard input. When i enable the textfield, type some stuff, then press Esc (which disables it), i cant get the keyboard focus back on the JPanel. Here is an
-
Quick-Sort Algorithm HELP !!!
hi there, I wrote a method to sort an 2D-Vector. I used the Bubble-Algorithm. Here the code: Vector == [Micky, Niko, Tete] ; [Lilo, Eli, Micha]; public static void bubbleSort( Vector v, int sortColumn, boolean ascending ) int i = 0, j = 0, length = v
-
PS crash when I use transform in animation mode!
PS crash and close itself often when I use free transform tool(ctrl+t) on some selected area of an image. It happens in animation mode when Animation palette is shown (convert to frame animation I choose) and I working on certain frame. What it is an
-
Error: Unable to resolve resource bundle "fiber" for locale "en_US".
Hi all, Im trying to create a resources.swf file for the purpose of dynamic localization of our application. However, I keep getting this error thrown when I try to run the ant script. Im running Flash Builder 4, the sdk is Flex 4.5.1 with AIR 3.0 an
-
On my PC when I atempt to go the Itunes store it will not connect and gives me the error message (-3221). any ideas?