Big text showing in PDF from flex input

Hi,
I have a problem printing data to PDF from SQL. I'm using Rich text editor as it allows the user to add bullets, bold etc... and I'm using font Family arial and font size 12 in my flex form. Now when the data goes into DB it saves all the html tags like following
Data coming from SQL is like
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Here is some text</FONT></P></TEXTFORMAT>
I'm using in PrintPDF.cfm
<tr>
    <td style="font-family:Arial, Helvetica, sans-serif;
     font-size:12px; font-weight:bold;">Text</td>
     <td>#qryText.Some_text# </td>
</tr>
Using this the PDF show big data returning from the SQL DB.
It overwrites all the styles that I have and will show big text
Please let me know if there is a way around this...
Any suggestions....

text as following:
Test Case here (This is what it is suppose to look)
Add Test Case Here, Add Test Case Here. This is a test case...(This is what is showing up)...

Similar Messages

  • How I Got WYSIWYG TLF Text To PDF from Flex

    Awesome results read more here:  http://hybridmindset.com/blog/How-I-Got-WYSIWYG-TLF-Text-To-PDF-from-Flex-Part-1

    Hi,
    Adobe Reader currently doesn't support Text to Speech, but we have added this to our database for consideration in a future release.
    Thanks for your feedback!
    -Gaurav

  • Conversion of PDF from flex

    Hai
       I need to create pdf generation from flex.
       I tried with LCDS and there is no way to create XDP template.
       live cycle designer needs dotnet support.. but i need to do with j2ee..
       is any other approach to create pdf from flex with j2ee environment???
       thanks in advance...

    Hi there, there's a library called AlivePDF that allows you to create pdf files from Flex. Maybe that's what you're looking for.

  • Generate PDF From Flex

    Hi All,
    I am doing a Reporting/Chart application in FLEX. we need to
    generate PDF from FLEX. Report data will be 5-10 pages, How we can
    do this? Please advise.
    Thanks
    Subhash

    Hi,
    thanks for your reply. I tried with alive pdf, but source
    code only AIR files. can we use this in web based flex?. How we can
    format the report like html code? I just see in alivepdf, its only
    linebyline display, not multiple columns? pls advise.
    thanks alot
    Subhash

  • Generating pdfs from Flex

    I'd like to generate pdf files from Flex. How is this done? How much does it cost? How flexible is it?

    http://lucamezzalira.com/2009/02/28/create-pdf-in-runtime-with-actionscript-3-alivepdf-zin c-or-air-flex-or-flash/ checkout this link..can be done freely

  • Shapes, Smart Art not showing in PDF from Word 2007

    Hi,
    I am having a strange problem. When I convert my Word 2007 document to PDF using Acrobat PDF, all the shapes and smart art that I created in Word 2007 is not appearing in the PDF.
    However, when I am converting either Microsoft Powerpoint or Microsoft Excel 2007 to PDF, the shapes and smart art are coming properly.
    Can anyone please help me. It is really really urgent for me.
    Regards,
    Ashish Agarwal

    How are you converting your document?  Try another way.  You can convert it by going to the Acrobat ribbon, or by printing it to Adobe PDF (just like you would to a normal printer but select Adobe PDF) or from within Acrobat (File>Create PDF>From File).  If this doesn't fix it try changing the PDF settings used to create it, e.g. smallest file size, Press Quality etc.

  • Protect a portion of the text in a PDF from scrapers

    Hi,
    I'm  hoping someone can help me. I have access to Adobe CC - I  have been learning InDesign and Acrobat and Photoshop.
    Does anyone know if there is a way to protect only a portion of a PDF - just a selection of text - from scrapers? I want to post a PDF I created online, but I don't want the phone number and email address in it to be scraped by telemarketers etc...
    In other words, do you know if there's a way to either:
    1) In a PDF, turn text into an image so it can't be copied like text - i.e. so if I post it online the phone number and email address can't be indexed by google or scraped by a telemarketer? or
    2) In a PDF, put some kind of copy protection on just the phone number and email address, so just that portion of the PDF can't be indexed or scraped?
    Thanks

    Several years ago Google began to OCR images it found in PDFs so that any text they may contain could be searched and indexed, so I don't think using images is a guaranteed way to prevent this. You can try setting security so that content extraction is not allowed, but there's no guarantee that this restriction will be honored by non-Adobe software that attempts the extraction.
    You could add buttons/links that when clicked will reveal the information you want to hide, either as pop-ups or previously hidden/blank form fields, or use JavaScript to show the information automatically when a document is opened. This would prevent most attempts at automated methods of data extraction, but adds a bit of complication in preparing the document for use.

  • Generating PDF from Flex BarChart

    Hello,
    I am new to Flex. Have been playing with creating Advanced
    Data Grid and Bar Charts for our application prototype and would
    like to explore how to create a PDF file of the BarChart or other
    charting components.
    The requirement is simple. We show the BarChart and a button
    to view it as a PDF. When the user presses the button, the PDF
    viewing dialog should come up and the user can opt to save the PDF
    or view it (the standard way a browser deals with the PDF).
    Have read blogs, this forum and LiveCycle docs but don't
    understand clearly how Flex communicates with
    LiveCycle ES (or PDF Generator) to display the PDF. Any ideas
    or tutorials that does this would be appreciated.
    Thanks,
    Kannan

    In order to generate a PDF document, you have to call a
    method on a Java remote object that uses the XFAHelper and pass it
    some arguments.
    I modified the PDFService example in the documentation so I
    can:
    1- specify any document as opposed to hardcoding the PDF
    template name
    2- write the PDF to a file as opposed to writing it in the
    user's session
    Here is the source:
    package com.mycompany.flex.remoteObjects;
    import java.io.File;
    import java.io.IOException;
    import org.w3c.dom.Document;
    import flex.acrobat.pdf.XFAHelper;
    import flex.messaging.FlexContext;
    import flex.messaging.util.UUIDUtils;
    public class PDFService
    public PDFService()
    public Object generatePDF(Document dataset, String
    PDFdocument) throws IOException
    // Open shell PDF
    String source =
    FlexContext.getServletContext().getRealPath("/pdfgen/" +
    PDFdocument);
    int index = source.indexOf("./");
    if(index != -1 )
    // Remove the ./ added by UNIX
    source = source.substring(0, index) + source.substring(index
    + 2, source.length());
    XFAHelper helper = new XFAHelper();
    helper.open(source);
    // Import XFA dataset
    helper.importDataset(dataset);
    // Create a unique ID
    String uuid = UUIDUtils.createUUID(false);
    source =
    FlexContext.getServletContext().getRealPath("/dynamic-pdf/" + uuid
    + "_" + PDFdocument);
    index = source.indexOf("./");
    if(index != -1 )
    // Remove the ./ added by UNIX
    source = source.substring(0, index) + source.substring(index
    + 2, source.length());
    // Create the file object
    File file = new File(source);
    // Save the file
    helper.save(file);
    // Close any resources
    helper.close();
    return (uuid + "_" + PDFdocument);
    pdfgen is the folder where my PDF template resides.
    dynamic-pdf is the folder where the generated PDF are saved.
    These two folders are located under flex.war at the first
    level.
    In Flex, I wrote a Cairngorm command that calls this remote
    object and displays the generated PDF:
    package com.mycompany.core.commands
    import com.adobe.cairngorm.commands.ICommand;
    import com.adobe.cairngorm.control.CairngormEvent;
    import com.adobe.cairngorm.business.Responder;
    import
    com.mycompany.core.business.GenerateAndOpenPDFDelegate;
    import
    com.mycompany.core.control.event.GenerateAndOpenPDFEvent;
    import com.mycompany.core.model.ModelLocator;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.collections.*;
    import mx.core.Application;
    import mx.controls.Alert;
    public class GenerateAndOpenPDFCommand implements ICommand,
    Responder
    [Bindable]
    private var model:ModelLocator = ModelLocator.getInstance();
    public function GenerateAndOpenPDFCommand():void
    public function execute(event:CairngormEvent):void
    trace("Executing GenerateAndOpenPDFCommand...");
    var delegate : GenerateAndOpenPDFDelegate = new
    GenerateAndOpenPDFDelegate( this );
    var generateAndOpenPDFEvent : GenerateAndOpenPDFEvent =
    event as GenerateAndOpenPDFEvent;
    delegate.generateAndOpenPDF( generateAndOpenPDFEvent.pdfVO
    public function onResult( event : * = null ) : void
    var item:Object;
    var result:String = (event as ResultEvent).result as String;
    trace("GenerateAndOpenPDFCommand::onResult\n\n" + result);
    if (result)
    // Open the generated PDF in a new window
    navigateToURL(new URLRequest(ModelLocator.FLEX_URL +
    "dynamic-pdf/" + result), "_blank");
    // Hide the progress bar overlay
    Application.application.requestProgressBar.visible = false;
    Application.application.requestProgressBar.progressBar.source =
    null;
    Application.application.requestProgressBar.progressBar.label
    = this.model.languageDictionary["000012"];
    public function onFault( event : * = null ) : void
    // Hide the progress bar overlay
    Application.application.requestProgressBar.visible = false;
    Application.application.requestProgressBar.progressBar.source =
    null;
    // Debug
    Alert.show("GenerateAndOpenPDFCommand:\n\n" + (event as
    FaultEvent).message);
    FLEX_URL is created in this way some place else in the
    application:
    // Get the server URL from the Application's
    var server:String = Application.application.url;
    var index:uint = server.indexOf("Shell"); // Shell is the
    name of my app folder
    server = server.substring(0, index);
    // This is the flex.war/ URL
    ModelLocator.FLEX_URL = server;
    Of course, it would be better to save the PDF in the user's
    session as Adobe suggests, but I couldn't figure out how they use
    the PDFResourceServlet. First of all, I had to get its code.
    I had to decompile the java class files in the samples to get
    the source of the PDFResourceServlet as it is not in the
    documentation. Here it is:
    package com.mycompany.flex.remoteObjects;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class PDFResourceServlet extends HttpServlet
    public PDFResourceServlet()
    protected void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    doPost(req, res);
    protected void doPost(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    String id = req.getParameter("id");
    if(id != null)
    HttpSession session = req.getSession(true);
    try
    byte bytes[] = (byte[])(byte[])session.getAttribute(id);
    if(bytes != null)
    res.setContentType("application/pdf");
    res.setContentLength(bytes.length);
    res.getOutputStream().write(bytes);
    } else
    res.setStatus(404);
    catch(Throwable t)
    System.err.println(t.getMessage());
    private static final long serialVersionUID =
    0x7180e4383e53d335L;

  • Need to Remove html text in Saved PDF from OBIEE Dashboard

    Hi,
    It's OBIEE 10g related issue...
    Customer wants a Dashboard as PDF, Dashboard has a footer which has a HTML link. While saving this Dashboard into PDF file, it has the HTML text in footer place rather than HTML link.
    Can you please help me on this issue that how to resolve this.
    Thanks in advance...

    Hi,
    This is a known bug in OBIEE. Refer to :
    BUG:7369585 - SUPPORT OF HTML TAGS IN PRINT TO PDF (NARRATIVE VIEW, DASHBOARD TEXT OBJECT)
    BUG:7476622 - HTML TO PDF NARRATIVE AND OTHER FORMATTING DIFFERS
    BUG:8787191 - NARRATIVE DOES NOT DISPLAY CORRECT FONT SIZE AND CENTER IN PDF
    BUG:9372634 - HTML TAGS SHOWN WHEN PRINT/EXPORT TO PDF
    NOTE:749246.1 - OBIEE 10g: When a Report is Downloaded to PDF Format it Shows the Embedded HTML Option Tag Values in the Report.
    BUG:12826562 - HTML TAGS AND CODE USED IN COLUMN FORMULA ARE VISIBLE IN REPORT PDF
    BUG:5747757 - NARRATIVE VIEW IN PDF DOES NOT KEEP FORMAT
    The workaround is to print the report to Excel or HTML.
    Thanks,
    -Amith.

  • How to show the pdf from the iPad in the new iBooks on the Mac Book Pro?

    I have several books in PDF format on my iPad 4 but for some reason they persistently REFUSE to appear in the iBooks on my Mac book Pro (haven't checked the iPhones). The new iBooks brags that we can ontinue reading our books where we left from one device to the other, and since most of my interesting books are in PDF, how can I access this feature? What if I create a book with a iBook creator, will it show?
    Thank you very much for your answers...

    I figured it out (for me anyway) for syncing via USB or WiFi.
    My PDFs in iBooks Mac weren't showing up in iBooks iOS & this is how I fixed it - it's syncing seamlessly now
    I went to iTunes for Mac
    Clicked on my device e.g. iPad
    Clicked on 'Books' from along the menu that says 'Summary - Apps - Tones' etc.
    Ticked the 'Sync Books' checkbox
    Selected the 'All books' button, making sure that under the menu ('Books') I had selected 'Books and PDF files'
    And then pressed the sync button at the bottom right of iTunes. It worked.
    It's a 'set it and forget it solution' - after doing this I no longer need to interact with iTunes for syncing PDFs & books. Even when I rename collections on iBooks Mac, it transfers seamlessly across to iBooks on my iPad/iPhone via Wi-Fi.
    Hope that helps - it certainly wasn't obvious to me.
    Best,
    Haider

  • Display PDF from flex windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application from a netwrok drive or local pc.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi ,
    The solution for the thread is
    <mx:HTML id="pdfHtml" location="test.html" width="100%" height="100%" />
    var pdfFile:File = File.applicationDirectory.resolvePath(pdfHtml.location);
        pdfFile = new File(pdfFile.nativePath);
        var fileURL:String = pdfFile.url;
        pdfHtml.location = fileURL;
    Thanks,
    adi2010.

  • Why are texts showing up coming from email account

    When I text from my phone it shows it as coming from my mail. This began happening when I changed texts being shown on iPad.  Can someone help me untangle this mess.

    Found it, it's under Viewing preferences, "Show Header Detail. I put it at Default instead of All

  • Submission to App Store Doesn't show Bundle ID from Flex iOS App

    We built an iOS app using Flashbuilder 4.6 and Air 3.6.  We provisioned iPads successfully and deployed to the devices. Everything worked great.  When we attempted to submit the app to the Apple iTunes Connect didn't show our Bundle ID in it's drop down. This being the case, we were unable to submit the app.

    thank you for answer but when i open my mac for the first time i can't update from app store and i download and install it manually from http://support.apple.com/kb/dl1715
    but if i've already install then it should show that i've installed isn't it

  • How to translate text elements in forms from type : pdf

    does anybody know how to translate text elements
    in  pdf  from english to other languages.
    i tried the tran. se63 and filled in the desired language,
    but there was no effect on the output ,
    thanks,
    ami

    call this funcation. crate_text.
    CALL FUNCTION 'CREATE_TEXT'
             EXPORTING
               FID               =
               FLANGUAGE         =
               FNAME             =
               FOBJECT           =
             SAVE_DIRECT       = 'X'
             FFORMAT           = '*'
             TABLES
               FLINES            =
           EXCEPTIONS
             NO_INIT           = 1
             NO_SAVE           = 2
             OTHERS            = 3
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

Maybe you are looking for

  • Macbook WiFi Very Sluggish

    I've had a history of WiFi problems in the past with my Macbook Pro, but as of late (the past few days), things have been more dire than usual. I'm at college (so the WiFi speeds here are incredible), but also, I need to be able to access said intern

  • Output proposal from customer master in 4.7

    Hi   I'm trying to find configuration nodes in spro for <b>output proposal from customer master</b> in SAP R/3 4.7. Strangely it is not where it is supposed to be i.e. SD>Basic Functions>Output Control      I tried by searching but unable to find it.

  • Checking days in Feb..

    Entered 02-29-2001 as input date and noticed that BC4J converts this date to 2001-03-01. How can I get the entered value (2001-02-29)in EntityImpl set method? I would write a method and check the entered date. Please respond. Thanks in advance!! Appr

  • Weird behaviour with jsp:forward and jsp:param

    I'm running Orion 1.5.3 Wanted to ask if anyone has insight into the following. I'm trying to do a forward with a parameter. The parameter is something like a message string. The following does not work. <% String result = "unsucessful"; // retrieved

  • I can't turn icloud backup on.  The off/on is grayed out.

    How can I turn iCloud backup on my ipad?  The off/on is grayeed out.