Xml document converting to pdf

Hi,
I have a question regarding the convertion of xml document to pdf document.
Below is the scenario.
I have an xml document stored in the table in a CLOB format. I would like to convert the xml document stored in a table to pdf document and display in a Web browser.
I have written the stylesheet to convert the xml document to the xsl fo(XSL Formatting object xml) type document. I need to apply FOP Processor to convert into pdf document.
How do i do that in PL/ SQL ?
Any thoughts ??

1. Generate a XSL-FO document by applying an XSLT to the XML document in the database.
2. Convert the XSL-FO document to a PDF document.

Similar Messages

  • Don't allow rights managed documents convert into PDF?

    Hi,
    Is there a way or solution to restrict right managed documents convert to PDF via pdf converter such as PrimoPDF, cutePDF & etc..
    1 obvious solution is not granting the permission to print, but by doing this the user will not able to print the hardcopy.. just want to prevent document being distributed out as softcopy (in pdf format) but able to print hardcopy.
    Any idea?
    Thanks

    I am not aware of anyway to allow "hard copy" printing while preventing "sofy copy" printing to PDF as the same "print" permission is used for both.
    I would recommend that if possible you take advantage of the dynamic watermark feature in Rights Management.  You could set the watermark to display the users name, athough it is no guarantee, it would discourage ht euser from distributing a PDF with his or her name on it.
    Also, even if we could prevent the "soft-copy" print to PDF, there is no way to prevent a user from taking the paper copy (that they were allowed to print) and then scanning it with a copier to convert it to PDF or some other soft copy format.  The dynamic watermark feature could be used in this case as well to discourage users from converting and distributing the document.
    Regards
    Steve

  • Why won't my word document converted to PDF save?

    When in word, I select the option to convert to PDF, the document is scanned and I'm prompted to save as PDF. All seems to work except it doesn't actually save! This was working previously until an update a few months ago. Any help is appreciated.
    Thanks!
    L

    First, have you removed from Printer Utility the Adobe PDFPrinter 9.x fom the list then close Printer Utility.
    Then open Acrobat or Adobe Reader and go to help menu and choose to repair or rplace. Choose to replace the PDFPrinter only.
    (One thing that we can't seem to get Aodobe to fix is that (at least in X.4.11 and I've heard some folks using X.5.x talk about.
    When you go to page setup in Acrobat you can not select any Printer what so ever.
    Does not even pickup choices in the Print/Fax Control panel in system preferences.
    However you can choose it in the Print menu.
    IF you decided to install Reader, you may or may not be able to set printer in Page setup.
    However, if you can set up in Reader's page setup. It will show up in Acrobat's.
    Its an obvious bug Adobe refuses to admit or can't fix. I've heard some say they've heard the problem but never seen it.)
    Next, open Word 2008 or 2004 (don't remove 2004 it has far more features than 2008)
    create your Document.
    Save a copy as DOC or DOCX document first.
    Now go to Print menu and choose Acrobat PDFPrinter 9.x(x being the most current revision).
    and choose Print. with the version 9.x  the pdf will automatically be set to desktop and you have no choice where it save.
    All versions previous to 9.0 a window would come up giving you a chance to choose the dsired location.
    9.0 does not. THis is a super major bug, that only a rank amature would committ.
    One thing Apple has preached fro day one; do not save any file you want to keep to the desktop.
    The desktop is a Temporary file. and in event of a crash the desktop is rebuilt and the file may go missing.
    Items such a Yahoo widgets get by, by using a special Database that tells where each widget is supposed to go, and and in event of  crash simply recreates them.

  • Word documents converted from pdf not legible

    How do I convert a pdf document to a word document that is legible and in the same table format?

    Sounds like you are using one of the online services, like the cloud. This forum is for the stand-alone Acrobat and I have no clue. The cloud or related forum should provide better info.

  • XML document convert into String and Insert into Database

    Hello all,
         In the FIle to File Scenario  I want to send the data to the Reciever System in xml Document and convert into String and insert into Database.
      Please can you tell me exact way how to send it.
    Thanks & Regards,
    Raj

    HI,
    As per my understanding your scenario is File to file where you will get output fiel in XML format.
    Now that XMl payload need to be passed as single string in the database via XI.
    You cauld do this but you need to imply some manipulations such as
    With the help of standard API you need to concatenate the  XML tags and create the structre along with the data.
    For e.g. in your outpuf file the XML structre contain data as
    <field1>ABCD</field1>
    Then in mapping
    The source field will be mappeda s concat(<field1>) + value of  Source field "ABCD" + concat(</field1>) to the target field.
    This is the way that you could achive the requirments else there is no direct way avaialble for it.
    thanks
    Swarup

  • Links do not work on Macs in document converted to PDF from Publisher 2007

    Not sure whether to post this under Acrobat Windows or Mac as the PDFs are generated on a Windows PC but the problem involves Macs.  I have come up against a very strange problem.  I have converted an MS Publisher document to PDF using Adobe Acrobat 9 Pro on Windows 7.  The converted hyperlinks in this document work well on three separate Windows PCs (2 running XP, 1 running Windows 7) but when a Mac user views the PDF, the hyperlinks are not active.
    What could be the possible cause of this?  Any help appreciated.

    fionajm wrote:
    What could be the possible cause of this?  Any help appreciated.
    More than likely it's because they are not using Adobe Reader or Acrobat to view the file. Ask them to be sure they are not using Mac Preview or another third party PDF viewer.

  • In smartform word document convert into pdf file

    Hi Experts,
    I have issue on smartform, i have done two page smartform in preview its coming properly but
    when i give to print its not coming properly...output is not coming properly...so please sugest me
    even how to covert smartform word document into PDF file...im waiting for your replay. Thanks in
    Advance....
    Regards
    Ashwini

    Hi,
       I hope its printer problem check with u r basis, and for Smartform to PDF bewlow is my coding in which by using OTF data from Smartform it ill veiw in PDF.
    *& Report  ZSAP_PDF_VIEWER_DEMO_2
    REPORT  ZSAP_PDF_VIEWER.
    DATA: LT_PDF TYPE TABLE OF TLINE,
          LS_PDF LIKE LINE OF LT_PDF,
          LV_URL TYPE CHAR255,
          PDF_FSIZE TYPE  I,
          LV_CONTENT  TYPE XSTRING,
          LT_DATA TYPE STANDARD TABLE OF X255.
    DATA : L_JOB_OUTPUT_INFO TYPE SSFCRESCL.
    DATA : LS_CONTROL_PARAM  TYPE SSFCTRLOP.
    DATA : G_HTML_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           G_HTML_CONTROL   TYPE REF TO CL_GUI_HTML_VIEWER.
    DATA: LO_DIALOG_CONTAINER TYPE REF TO CL_GUI_DIALOGBOX_CONTAINER.
    DATA: LO_DOCKING_CONTAINER TYPE REF TO CL_GUI_DOCKING_CONTAINER.
    DATA : P_VBELN TYPE  VBELN_VL.
    FIELD-SYMBOLS <FS_X> TYPE X.
    INITIALIZATION.
    LS_CONTROL_PARAM-GETOTF = 'X'.
    LS_CONTROL_PARAM-NO_DIALOG = 'X'.
    START-OF-SELECTION.
      CALL FUNCTION '/1BCDWB/SF00000034'
    EXPORTING
       ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
         CONTROL_PARAMETERS         = LS_CONTROL_PARAM
         P_VBELN                    = P_VBELN
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
         DOCUMENT_OUTPUT_INFO  = L_DOCUMENT_OUTPUT_INFO
           JOB_OUTPUT_INFO       = L_JOB_OUTPUT_INFO
         JOB_OUTPUT_OPTIONS    = L_JOB_ OUTPUT_OPTIONS
    EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5
      IF SY-SUBRC  <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
    convert pdf to xstring string
      LOOP AT LT_PDF INTO LS_PDF.
        ASSIGN LS_PDF TO <FS_X> CASTING.
        CONCATENATE LV_CONTENT <FS_X> INTO LV_CONTENT IN BYTE MODE.
      ENDLOOP.
       CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '100'.
    **CREATE OBJECT LO_DOCKING_CONTAINER
    EXPORTING
       REPID     = SY-REPID
       DYNNR     = '100'"SY-DYNNR
       SIDE      = LO_DOCKING_CONTAINER->DOCK_AT_LEFT
       EXTENSION = 1200.
    CREATE OBJECT g_html_container
       EXPORTING
         container_name = 'HTML'.
    *CREATE OBJECT G_HTML_CONTROL
    EXPORTING
       PARENT = LO_DOCKING_CONTAINER.
      CREATE OBJECT G_HTML_CONTAINER
          EXPORTING
            CONTAINER_NAME = 'HTML'.
        CREATE OBJECT G_HTML_CONTROL
          EXPORTING
            PARENT = G_HTML_CONTAINER.
    Convert xstring to binary table to pass to the LOAD_DATA method
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = LV_CONTENT
        TABLES
          BINARY_TAB = LT_DATA.
    *application/
    Load the HTML
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         =  'application'
           SUBTYPE      =   'pdf' "
         IMPORTING
           ASSIGNED_URL         = LV_URL
         CHANGING
           DATA_TABLE           = LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    CALL METHOD G_HTML_CONTROL->show_url
         EXPORTING  url        = lv_url
                   in_place    = 'X'
         EXCEPTIONS cntl_error = 1.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE user_command_0100 INPUT.
      DATA ok_code LIKE sy-ucomm.
      MOVE sy-ucomm TO ok_code.
      CASE ok_code.
        WHEN 'BACK' OR 'EXIT'.
         CALL METHOD LO_DOCKING_CONTAINER->free.
          CALL METHOD g_html_control->free.
          LEAVE TO SCREEN 0.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USE

  • How do I send a document converted from pdf to word?

    Do I save the converted pdf to word document on an usb so I can send it in an email?

    The usual ways. Once it is saved to your hard drive, you could drag it in Finder/Windows Explorer, or save it from Word.

  • Why am I unable to edit documents converted from PDFs using acrobat?

    I Purchased the acrobat for converting PDFs for ease of editing. I have failed to edit the converted documents and the document is substantially corrupted on conversion. Help!

    Hey arn051,
    How are you trying to convert documents from PDFs and in which format?
    Please tell me which Acrobat version are you using?
    Is there any specific message that arrives when you try edit the doc?
    Regards,
    Anubha

  • Safari document convert to PDF

    How convert a safari document to PDF

    Select File > Print from the Safari menu bar. In the print dialog, select PDF > Save as PDF.
    Those instructions are for OS X. If you're using Windows, I don't know.

  • PDF document converting to word incorrectly.

    Document converted from pdf to word incorrectly.  Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Is there a telephone number to contact support to get help?

    Thanks. 
    Sent on the new Sprint Network from my Samsung Galaxy S®4.

  • Transforming XML/XSL data to PDF

    What is a process to convert a XML document to a PDF? Where could I find some Java classes that aid in this process?

    There's XSL Formatter from www.antennahouse.com, and there's FOP from xml.apache.org/fop, and probably others that could be found by a simple Google search.

  • How to setup word docs, converted to PDF on local drive with links to a second file at a page

    how to setup word docs, converted to PDF on local drive with links to a second file at a page
    Need to setup a set of word documents, converted to PDF that has links from one file to a second file at a given page.
    I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
    Is there a way to setup a link in word and the conversion to pdf that will result in a link that is equivalent to the acrobat link type  you get when you add a link of the type Go to a page in another document?
    Tools-Advanced Editing-Link tool, make a box
    Check: Go to page view, Next (Create go to view dialog opens)
    Open second document and go to page
    Click “Create go to view dialog” to set up link
    Result is a link, when view by link properties, with an action of
    Go to a page in another document
    File: C:\My Documents\second file.pdf
    Page: 43
    Zoom level: Custom
    I got close but did not solve the problem:
    I have a version that uses links to a website, using #page=43 at the end of the hyperlink.
    That works but will only open to the page if is through the web browser, opening the acrobat reader plugin.
    I need to open from a folder on the local harddisk (with relative links), in acrobat pro to the given page of the pdf, on a PC or a Mac.
    I could bookmark each page “pagenumberxxx” and jump to the bookmark/page if that would get around some problem
    Current Systems in use to create documents with links and view them:
    Windows XP SP3
    Word 2003 SP3
    Acrobat 9 pro version 9.4.4
    Or just to view them:
    Mac OS 10 Lion version 10.7.4
    Acrobat 9 pro version 9.5.1
    (note I have limited understanding of Mac’s)
    John

    No.  There seems to be no automated way to do it.  You can of course go into the PDF and manually add links after you have converted to PDF, but that is what we want to avoid having to do.  We want it to be automatic from the Word doc.

  • Reading a pdf document in C# or Converting a pdf document to XML

    Hi All,
    My basic requirement is to convert any pdf document conatining text to XML with help of C# .NET.
    Any help is most appreciable.
    Thanks in advance.
    Sudhir

    Unfortunately our ExportPDF service doesn't support Hebrew text.  You can vote for this feature in here: http://forums.adobe.com/ideas/1554  We use the Ideas section to help prioritize features.
    -David

  • Extracting Base64 images embeded inside XML and Convert it into PDF using Biztalk

    Hi,
    I'm presently working in a scenario, where we will be getting huge XML Files containing Base64 encoded images. The scenario goes like this :-
    1) Client will dump the XML files with embedded Base64 images in a sFTP location.
    1) Firstly, we have to extract Base64 encoded images and the metadata from the XML file.
    3) Secondly, we need to convert the extracted Base64 encoded image into multiple pdf.
    4) Then merge the PDF's into a single file.
    5) Then the merge pdf will store to a particular location.
    5) It is presume that, the file will be of very big in size ~ 1 GB XML file, so we need to take care of the performance as well.
    The sample xml looks like:-
    <ns0:tran xmlns:ns0="http://Sample.Schemas.Record_XML">
      <tranheader>
      </tranheader>
      <item>
        <image>
          <frontimage>
            <frontimage> image 1 part 1</frontimage>
          </frontimage>
          <rearimage>
            <rearimage>image 1 part 2</rearimage>
          </rearimage>
          <frontimage>
            <frontimage> image 2 part 1</frontimage>
          </frontimage>
          <rearimage>
            <rearimage>image 2 part 2</rearimage>
          </rearimage>
          <frontimage>
            <frontimage> image 3 part 1</frontimage>
          </frontimage>
          <rearimage>
            <rearimage>image 3 part 2</rearimage>
          </rearimage>
        </image>
      </item>
      <trantrailer>
      </trantrailer>
    </ns0:tran>
    Thanks & Regards

    Do you really need to use BizTalk for this requirement? This can be done better with standard .NET code through a Windows service/schedule task/ if you want to poll,
    you can implement file watcher class and poll the file as when it arrive to SFTP folder and convert the image in base64 to PDFs.
    Another point, I don’t know why you want to “convert the extracted Base64 encoded
    image into multiple pdf” (Point-3) and “Then merge the PDF's into a single file”-
    point4. You can create a single PDF file (unless I don’t know the reason for creating separate PDF file and merge it again as single PDF file)
    Anyway, if you still need to use BizTalk, you have somes options in general:
    Option1:
    Receive the message using BizTalk receive location using passthrouhg pipeline at receive end
    Create a send port with filter for receive portname. In the send port use a custom send pipeline. In the send pipeline use a custom pipeline component which will extract the base64 content from
    the XML file, convert the base64 encoded image as PDF and send the PDF file in the send port level.
    Option 2 – this options works better if you have some process based on your
    <tranheader> record:
    Receive the message using BizTalk receive location using a custom pipeline strip off, decode and store the base64
    encoded document in a temporary store (file system). So when the message is published in message box db, the message doesn’t contain the heafty encoded64 data part, message will be light weight when its published into message box.
    Process the XML message (without bae64 encoded document) with or without orchestration where you will do processing based on your
    <tranheader> record.
    In send last moment –at send port level, retrieve the stored file from the
    temporary store (file system), convert the image to PDF (i,e, hefty processing like creation of PDFs/merging) can be done at the send pipeline level and send the PDF file
    to destination.
    Following are the guidelines you should keep in mind if you need to achieve this process in BizTalk:
    Try to avoid publishing the hefty message to message box.
    Conversion of base64 to PDF can be done only using a .NET code. So your options to do this conversion in BizTalk are either in Receive pipeline/send pipeline/ .NET helper in orchestration.
    Try not to use Orchestration as much as possible, because of heavy processing and message transmission is already involved.
    Following articles shall help you in this context:
    Dealing with base64 encoded XML documents in BizTalk
    To convert Base64 to PDF/JPEG using C# code:
    TechNet-Wiki Code: Converting Base64 strings
    to Bitmap images
    Convert Image to Base64 String and Base64
    String to Image
    Base64 encoding and decoding in .NET
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • Am I missing some fundamental  thing? "Save" button on LC NOT saving

    I am using a Mackie Logic control and today an annoying bug has returned in Logic Pro 8.0.2 The "save" button DOES NOT SAVE.. the light on the LC flickers when you press the save button, but until you press "apple-S" the light will remain on, and the

  • Planning form in read mode

    Hi John, We have a peculiar problem In a form when we select YearTotal in column, the form is in read mode but when we select IDescendants of YearTotal, the form is write mode including the YearTotal field. We are using Planning 11v. Please suggest T

  • Has Anyone deployed an EMC Symmetrix VMAX 20K using FAST VP in a 50 TB RAC Environement?

    Hi All: My organization is about to undertake a hardware upgrade/migration of our largest dataset -- currently about 37TB and growing. Our intial provisioning will be for 50 TB. The RAC cluster will be 3 8 core servers with 256 Gb RAM and fiber attac

  • Solaris 9 and Oracle

    Is there oracle 9i for sol 9i ea.....trial edition is ok...but need all the enterprise feature Regards Sudhakar J

  • My Dreamweaver CS3 crashes

    For now reason at all, my Dreamweaver CS3 crashes, when I load the application up. Its the same error message but repeated for three different locations: Adobe Creative Suite 3 Web Standard, Adobe Dreamweaver CS3, Share components. The error message: