Flex :: PDF Export To Local Using AlivePDF?
Jun 25, 2010
I need to export charts and data tables to pdf file in flex application.For this we can user AlivePDF but i need to export to local not server.Can we export to local system prompting user to select the location to export?
View 2 Replies
Similar Posts:
Jan 12, 2010
I am trying to use AlivePDF to save a chart into a .pdf file. However, when I try to save my chart, it ends up clipping half of the chart in the pdf so it isn't even fully visible. It seems that the screencapture that AlivePDF took to generate my pdf was too small.I am trying to get a chart from a sample to work with sample code for using alivepdf that I picked off the web.[code]
View 1 Replies
Jun 9, 2011
I'm trying to use the AlivePDF library to export text from a text editor created in AS3 into a PDF. Can anyone link me to documentation or a tutorial that can help teach me how to integrate it into a normal AS3 file? I have no idea how to use the library and the only documentation I've seen for it is how to use it in Flex/Air, which is not what I'm looking for.
View 2 Replies
Jul 3, 2010
I have AlivePDF with Flex, making a webapp. I've got version 1.5 of AlivePDF but can't seem to set the font:
myPDF.setFont( FontFamily.ARIAL, Style.BOLD );
this gives an error of "1067: Implicit coercion of a value of type String to an unrelated type int." Am I doing it wrong?
View 2 Replies
May 19, 2011
I have a flex component, a VBox, that has content inside it. Text components mainly.The VBox is holding a report that I want to be able to save to PDF. I am using AlivePdf to achieve this but the PDF produced is blank when viewed in Adobe reader (latest version).When I open the PDF in Notepad++ I can see that there is definitely content in there and the file appears to be structured correctly.This is the method I am using to generate the PDF:
private function doPrint(whatToPrint:UIComponent):void
{
var printPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );[code].....
View 1 Replies
Nov 26, 2010
I'm testing alivePDF 0.1.5 and till now everything's been fine. I'm super interested in the new function writeFlashHTMLText() cause it makes my life so much easier! xD I'm now trying to display the generated pdf in a browser tab/window instead of just saving the file (using the filereference class' save function). I saw that there was a PDF.save() function that allowed that specifying the argument Download.INLINE. However I don't want to use the save function of the pdf class cause I don't want to use a script.
View 1 Replies
Feb 28, 2011
I have a large web application with verticalScrollBar with few charts and large datagrid. I am planning to create pdf of my web application using AlivePdf.
Right now, Im using below code to creat a pdf of my application, but no luck.
var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;
[Code]......
View 1 Replies
Jan 24, 2011
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.
View 1 Replies
Apr 1, 2011
When I try to export my application to native installer with using Export Build Release, it isn't importing my sqlite database files which are in my application directory. Is there a way that I can import those database files ?
View 1 Replies
Jul 4, 2010
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
View 3 Replies
Nov 23, 2009
I downloaded AlivePDF 0.1.4.8 and 0.1.4.9 from the their site. However, I am having difficulty implement it in CS3 or CS4. The SWC file just won't show as others do.
View 1 Replies
May 6, 2010
I feel stupid to even ask this question...but how do I get started with AlivePDF? I have downloaded the .zip-file and extracted the files, but what to do next?? I have a .fla-file I want to conect it to.
View 3 Replies
Jan 7, 2011
Create tables with AlivePDF?
View 3 Replies
Mar 31, 2010
I am wrapping my head around AlivePDF. I can't seem to find an aswer to this question. Can I add a movieclip as the data to include inside the page? I have it so that the PDF generates text from specific text fields, but I want it to show "mainContent_mc" to the page. I am building this as an AIR app (apperantly you can't do this from an EXE file published from Flash).
View 1 Replies
Nov 23, 2009
Been trying to crack adding images to a pdf using AlivePDF 0.1.4.9 for a week or two now. Creating the pdf and adding text was straight forward and easy to do. How ever adding an image has managed to illude us. I have included our code below. We have also tried the addImage() method without success as well. Our code builds perfectly but produces a blank pdf that opens and says An error has occurred on this page
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.DisplayObject;
[Code]....
View 1 Replies
Sep 19, 2011
I'm looking for ways to solve this. I need to save a pdf to server. All the searches brought me to either file being downloaded or being saved locally. Is there a way to use alivepdf to save on server folder?
View 6 Replies
Feb 15, 2011
I am using AlivePDF to generate/save pdf on local machine which is working fine.[PHP] var savePDF:PDF; var bytes:ByteArray; var f:FileReference = new FileReference(); savePDF = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER); for (var i:int = 0; i <numPages; i++) { //add all pages } bytes = savePDF.save( Method.LOCAL); f.save(bytes, "abc.pdf");[/PHP] I am looking for a solution through which I can print the pdf without using any server side technology.
View 3 Replies
Apr 22, 2010
adding the grid to a pdf with some other elements on there as well.text is not showing up in some cases. I've tested myself silly on the computers i own but there doesnt seem to be a problem.However, the person i made this for keeps saying text doesnt show up. I've seen the results of his instance of this tool and the keen, trained eye suggests that every row gets stretched out to the bottom (and beyond) of the page. A select all copy paste into plain text app suggests there is no text in the pdf (except for the text that IS showing up)
View 2 Replies
Dec 15, 2010
I have downloaded alivepdf open source library.Now I want to import the classes given in the library...for that how to install that lib...or where to put the folder...or what should I do to stop the compiler from giving me the error for lineimport org.alivepdf.
View 4 Replies
Feb 15, 2011
I am using AlivePDF to generate/save pdf on local machine which is working fine.
[Code].....
I am looking for a solution through which I can print the pdf without using any server side technology.
View 4 Replies
Aug 17, 2010
I am writing a Flex application for use on a private intranet with no external Internet access. I want to use Google's 3D Maps Flex API, but it must be connected to the internet to download map tiles on demand.
Is there a way to locally cache the 3D map tiles and data so that I can run this app without an internet connection? And if not, is there a 3D GIS that supports Flex integration and allows for a local map cache?
View 1 Replies
Jan 11, 2010
I have a situation where I need my swf to load from a domain. Currently my flex set up always loads a SWF from file [URL]...
View 1 Replies
Apr 12, 2010
I am creating a Flex application for intranet use.I need the application to execute files, with different file types (txt, emails, etc.) at specific known locations on the clients computer.Is it possible to give permissions to the Flex application to execute local files? (I have administrative rights on the clients computer)
View 1 Replies
Oct 18, 2011
I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.
[Code]....
View 1 Replies
Dec 22, 2009
I want to export some of my functions to external so that other people can embed my SWF into their's and invoke the function, how can I achieve that?
View 1 Replies
Jun 21, 2010
Is it possible to export FLA composition to Flex? So it will work exactly as in Flash Pro but instead in FLEX? FLA contains a bunch of movieClips, buttons, images, all driven by an .as file.
View 2 Replies
May 3, 2010
So I'm using AlivePDF to generate a 6 page PDF with a range of text and graphics. It's a fairly large PDF, prob 4mb when saved. I need to be able to pass the PDF along with a few other variables to a PHP script that uploads the PDF and then sends an email.
Because I need to pass the PDF data along with other information, I've been using a standard POST request with URLVariables, only I Base64 encode the PDF ByteArray before sending to avoid any sort of corrupt data. This works fine, except the Base64 encode operation takes ~8 seconds, and sometimes longer on a slower machine, causing a timeout.
View 8 Replies
Sep 11, 2009
In Flex 3 application how to export the charts in pdf and word formats?
View 2 Replies
Sep 26, 2009
Im having an app where the user can edit a simple greeting card and should be able to send it to another user.We currently doing it by exporting to graphic file and sending with some server script.Now - we found a need to export that card to swf.This card is basically a (Flex) Canvas holding some images and labels.
View 2 Replies
Aug 25, 2010
I'm working on dashboard editor in flex, an application that allow users to drag ui objects inside a canvas.i need a solution to save the canvas with the objects inside (with all properties and locations x & y) to allow users to save dashboards to database and to open them . I need a way to get the canvas insides without parsing each object inside the canvas. some build-in function to export a ui object into mxml string or something. I'm wondering if there is a way to do that.
View 1 Replies