Abode Server API to build the content in PDF

Hi,
This is my first post in this forum, after doing lot of research i came to a conclusion only Abode API can help me in this. I have the following requirement (just a snippet of it).
PEDIATRICS                PODIATRY
Schwartz, Andrew E,    DPM Rithanya,
51 Hospital Hill Rd.      Sharon, blahblah....
CT 06069 (860) 364      5944 blahhhhhh
Disidori, Diane, MD  nnnnnnnnn
28 Old Park Ln.           kkkkkkkk
New Milford, CT 06776
(203) 355-8190
Danbury Hospital
Gray Clarke, Virginia L, MD
115 Spencer St
Winsted, CT 06098
(860) 364-0536
22 Upper Main St
Sharon, CT 06069
(860) 364-4240
PLASTIC SURGERY
Mascardo, Teresita G, MD
91 Main St
Sharon, CT 06069
(203) 364-5522
Danbury Hospital, New
Milford Hospital, Sharon
Hospital
Spanish, Tagalog/Filipino
I tried Jasper Reports, but i able unable to get the above format, moreover these datas will have the heading (title) highlighted, uses different symbols, underlines, uses different styles, fonts, etc. Which i think is only possible through MS WORD Api and can be done only in .NET , we tried and is pretty slow. Hence thought of doing it in Abode API in java . Please do provide some example of how to do this? I have downloaded the Indesign Server SDK and the Indesign suite . Is it possible through the indesign suite we can create the layout,font,styles,etc to be displayed in PDF? Please do send the code to generate the above snippet, as i am unable to find better examples using Indesign Java API. For your reference i have attached a sample dir data file. This is the format i need to generate in PDF, where these format is possible in Abode? I hope so.Thanks in advance. Waiting for your response..
Thanks,
Rithu

This is my requirement:-
Currently we have .NET application which is generating the data which is fetched from DB in MS Word, the problem with this is when fetching a huge amount of data it is pretty slow in terms of efficiency and performance. Hence we thought of using Indesign written in Java to generate the PDF format which contains the data. Currently we have .docx file which does have a specific content generated through MS Word API , I want to convert that in to a IDML format, so that this IDML can be used with Indesign server API to generate the PDF. This is the requirement, since you are telling we can generate a PDF from IDML, I need to create a POC on this. Can you send me the source code of converting .docx -> IDML  -> PDF via Java API?

Similar Messages

  • Method to pass the content of pdf through offline(without internet connection)

    Hi All,
    Is there any method available to pass the content of the pdf field from client machine having no internet connection?
    Barcode is the one way to pass the content of pdf field but my data is large and barcode capacity is not more than 1800 characters.
    Please suggest me the way i can send the data to server environment.
    I would like to know the if any data compression technique is available with which i can reduce the data size.
    Thanks in advance
    Regards
    Abhishek

    Hi Steve,
    Thanks for your quick reply.
    offline means no internet connection
    I have following 2 problems while form designing
    1. I want to update the databarcode by the clicking on the button but everytime i need to write a code in calculate event of the script of paper barcode as "this.rawValue = "Abhishek"".i dont want to have any script for any events in barcode. i want to update the barcode through click event of button as form.page.paperformBarcode.rawValue="Abhishek". Barcode is not getting updated when i am clicking on the button. I have attached sample PDF for better understanding.
    2. I want to store xml file in the barcode and retrive the same in server environment. I dont know how to do it?
    I am not getting an option to attach the files to post. will you please help?
    Please forward me a test mail to provide you the sample pdf.
    Regards
    Abhishek
    Email-id --- [email protected]

  • Does Acrobat Pro read the content in pdf file and transforms it?

    Does Acrobat Pro read the content in pdf file and transforms it to xls file without the need for much changes or manual work?

    Acrobat X (Standard and Pro) will save tabular data to XLS or XLSX format, provided it can recognize the table as being a table. If the PDF has missing or incorrect structure tags, Acrobat will try to guess the table layout by the position of text and lines on the page - this works well for basic formatting but if the table has complex styling, spanned cells etc. it can lead to problems.
    Acrobat X will even attempt to export a table within a scanned document, by applying OCR during the export stage - though again this relies on the table being visually identified.
    See http://www.adobe.com/products/acrobatpro/pdf-to-word-excel-converter.html and this article on how to extract one table from a larger document.

  • Want to upload PDF file in UI, read the content of PDF and Store in SAP DB

    Hi Experts,
    I have a new requirement in SAPUI5. I want to upload an PDF file using FileUploader component. Now how to validate this thing only for PDF file. User can only upload PDF file.
    Next I want to read the content of this PDF file and want to save data in SAP table. For this requirement, how to read the content of that file? After reading how to save the content in SAP table?
    To achieve this, how to design the ODATA service?
    Any kind of suggestion would be acceptable gratefully.
    Thanks in advance...
    Regards,
    Arindam Samanta.

    Hi Peter,
    Thanks once again for your kind response.
    I am getting the value in SLUG parameter and I can get the value in slug.
    Now I am getting errors from front end side, saying -
    1.   
    sResponse;
    "<pre style="word-wrap: break-word; white-space: pre-wrap;">CSRF token validation failed</pre>"
    2.POST http://------/CTC_MIBL_17072014/proxy/sap/opu/odata/sap/ZGW_CTC_VEHICLE_SRV/AS_CTC_MIBL_SET 403 (Forbidden)
    - Method 'AS_CTC_MIBL_SET_GET_ENTITYSET' not implemented in data provider class.
    Below is my code -
    // For File up-loader
    oFileUploader1 = new sap.ui.commons.FileUploader("upload",{
                    name : "test1",
                    uploadOnChange : false,
                    width : "250px",
                    uploadUrl : uploadURI,
                    uploadComplete: function (oEvent) {
                                     var sResponse = oEvent.getParameter("response");
                                     if (sResponse) {
                                       //  oUploadDialog.close();
                                         sap.ui.commons.MessageBox.show("Return Code: " + sResponse, "Response", "Response");
    // On Submit click
    oFileUploader1.insertParameter(new sap.ui.commons.FileUploaderParameter({name: "slug",
       value: oFileUploader1.getValue() }));
      oFileUploader1.insertParameter(new sap.ui.commons.FileUploaderParameter({name: "x-csrf-token",
       value: header_xcsrf_token }));
      oFileUploader1.upload();
    Could you please give some idea regarding my above mentioned issues?
    Thanks In advanced.
    Regards,
    Arindam Samanta.

  • ITEXT protect the content from pdf

    Hi
    All
    I run this jsp it show me a pdf, but i got a problem i can edit that pdf and change the content, Is there one way to protect it ?
    How ?
    Thanks
    <%@
    page import="java.io.*,
                    com.lowagie.text.*,
                    com.lowagie.text.pdf.*,
                  java.awt.Color,
                   java.net.MalformedURLException,
                 java.net.URL,
                    com.lowagie.text.*,
                    com.lowagie.text.pdf.*,
                    java.io.FileOutputStream,
                    com.lowagie.text.pdf.PdfWriter,
                    com.lowagie.text.rtf.RtfWriter2,
                    com.lowagie.text.pdf.codec.TiffImage,
                    com.lowagie.text.pdf.codec.GifImage,
                    com.lowagie.text.Image"
    %><%               
    %><%
              // Template JSP file for iText
              // by Tal Liron
              response.setContentType( "application/pdf" );
              // step 1: creation of a document-object
              Document document = new Document();
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            PdfWriter writer = PdfWriter.getInstance( document, buffer );
             document.open();
             //Configurar saida como array buffer
             //Configurar criptografia do conteudo em 128 bits
            PdfContentByte cb = writer.getDirectContent();
            PdfContentByte cb2 = writer.getDirectContent();
           //Tipo de Fonte
            BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA_BOLD, BaseFont.CP1252, BaseFont.NOT_EMBEDDED );
            cb.stroke();
            cb.setColorFill(Color.blue);
                cb.stroke();
                cb.beginText();
                cb.setFontAndSize(bf, 12);
                cb.setColorFill(Color.darkGray);                       
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 591, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 577, 0);           
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 240, 562, 0);           
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 548, 0);  
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 532, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 517, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 208, 502, 0);
                cb.endText();
              document.close();
              DataOutput output = new DataOutputStream( response.getOutputStream() );
              byte[] bytes = buffer.toByteArray();
              response.setContentLength(bytes.length);
              for( int i = 0; i < bytes.length; i++ ) { output.writeByte( bytes[i] ); }
    %>Edited by: silvaneto on Jun 26, 2009 8:03 AM

    Here's the Bullet.fx file
    import java.lang.Math;
    import javafx.scene.CustomNode;
    import javafx.scene.Node;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Circle;
    public class Bullet extends CustomNode {
        def GRAVITY : Number = 0.0002;
        def WALL_HARDNESS = .90;
        public var x : Number;
        public var y : Number;
        public var radius : Number = 5;
        public var color : Color = Color.RED;
        public var velocity_x : Number;
        public var velocity_y : Number;
        var offScreen: Boolean = false;
        public function collide( invader : Invader ): Boolean {
            var dx : Number = invader.x - x;
            var dy : Number = invader.y - y;
            var distance : Number = Math.sqrt( dx * dx + dy * dy );
            var minDist : Number = invader.radius + radius;
            return ( distance < minDist )
        public function move( delta_time: Number, width : Number, height : Number ): Boolean {
            velocity_y += GRAVITY * delta_time;
            y += velocity_y * delta_time;
            x += velocity_x * delta_time;
            if( x + radius > width ) {
                offScreen = true;
            } else
            if( x - radius < 0 ) {
                offScreen = true;
            if( y + radius > height ) {
                offScreen = true;
            } else
            if( y - radius < 0 ) {
                offScreen = true;
            return offScreen;
        public override function create(): Node {
            return Circle {
                centerX: bind x,
                centerY: bind y,
                radius: bind radius
                fill: bind color
    }

  • Are the contents of PDF files indexed via O365?

    I have been testing PDF files on Office 365.  The content of the PDF files do not appear to be indexed .. as no search results are found using any of the terms within the PDF file.  I have seen documentation that indexing should be occurring, and
    lots of threads that it does not.
    So
    1. When I load PDF files, are the contents indexed (similar to how the iFilter works on on premise)?
    2. If not, any options? Any settings (can't find any), etc.
    Thanks
    jsk88

    You are going to provide some more information than that. Nobody here can begin to guess what files you are talking about, where you are experiencing this behavior, when you are experiencing this behavior, what you are doing when the contents disappear .......

  • How to delete rows in the SQL Server table based on the contents of Excel file

    Hello, everyone,
    I have an Excel file which contains data for certain dates. I need to load it in a SQL Server table. But before doing that, I need to check if the table already contains data for the dates in the Excel file. If it does, I need to delete those data
    first. Not sure what is the best and efficient way to do this. Your help and guidance would be much appreciated.
    Thank you in advance.

    there are multiple ways of doing this
    Fastest method would be below
    1. Have a data flow task using excel source. Then add a OLEDB destination to dump the data to a staging table
    2. Have a Execute sql task to delete data from your actual table based on staging table data. The query would look like
    DELETE t
    FROM YourTable t
    WHERE EXISTS (SELECT 1
    FROM StagingTable
    WHERE DateField = t.DateField)
    3. Have another execute sql task to do final insert like
    INSERT YourTable (Col1,Col2,...)
    SELECT Col1,Col2,..
    FROM StagingTable
    the above operations will be set based and faster
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Apex_web_service.make_rest_request: Passing parameters and the content type

    Not sure if I am missing something, but should this API be setting the content type (to application/x-www-url-formencoded) when there are values present for the parameters p_parm_name and p_parm_value.
    The example in the docs is to a yahoo API. I'm not sure about that particular one (see: http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_web_service.htm#BABEDJHJ), and I think it requires an appid (yahoo account), so i just went with the example here:
    http://developer.yahoo.com/yql/guide/yql-code-examples.html#yql_php
    If I run the following from a html file on my desktop it works:
    <form method="POST" action="http://query.yahooapis.com/v1/public/yql">
    <input type="hidden" name="q" value="select * from upcoming.events where location='San Francisco' and search_text='dance'"></input>
    <input type="hidden" name="format" value="json"></input>
    <input type="submit"></input>
    </form>That is, it returns a JSON result.
    The raw HTTP data is as follows:
    POST http://query.yahooapis.com/v1/public/yql HTTP/1.1
    Host: query.yahooapis.com
    Connection: keep-alive
    Content-Length: 110
    Cache-Control: max-age=0
    Origin: null
    User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11
    Content-Type: application/x-www-form-urlencoded
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-AU,en;q=0.8,en-US;q=0.6
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    q=select+fromupcoming.events+where+location%3D%27San+Francisco%27+and+search_text%3D%27dance%27&format=json>
    However, running the following returns nothing: (nothing, as in nothing that depends on the parameters passed in)
    set serveroutput on
    declare
    l_c CLOB;
    begin
      l_c := apex_web_service.make_rest_request(
        p_url => 'http://query.yahooapis.com/v1/public/yql',
        p_http_method => 'POST',
        p_parm_name => apex_util.string_to_table('q:format'),
        p_parm_value => apex_util.string_to_table('select * from upcoming.events where location=''San Francisco'' and search_text=''dance'':json'),
        p_proxy_override => 'http://192.168.1.3:8888');
      dbms_output.put_line(substr(l_c, 1, 4000));
    end;Raw HTTP data:
    POST http://query.yahooapis.com/v1/public/yql HTTP/1.1
    Host: query.yahooapis.com
    Connection: Keep-Alive
    Content-Length: 106
    Connection: close
    q=select+%2A+from+upcoming%2Eevents+where+location%3D'San+Francisco'+and+search_text%3D'dance'&format=json>
    I do note a key difference is that content type isn't being set in the web service API.
    This was just to test a public service. I do note that the above has slighty different request data (percentage encoding on some chars). However, I experienced the same behaviour on a procedure I had written (I can also provide this example test case if you like), which is where I first noticed the issue.
    Using utl_http and setting the content type to application/x-www-url-formencoded, does resolve the issue. However, just thought i'd see the possibility of using the Web service API that is made available.
    Is the example in the docs valid, or am I missing something obvious?
    This is on ApEx 4.1 on the OTN Dev Days VM.
    Thoughts?

    Hi trent,
    I too have had issues with this API , so moved forward with UTL_HTTP API.
    There is something amiss.
    If you change your code to the one below it works.
    SET SERVEROUT ON
    declare
    l_c CLOB;
    l_param varchar2(1000) ;
    begin
    l_param := 'select * from upcoming.events where location=''San Francisco'' '||
            ' and search_text=''dance'''||'&'||'format=json';
    l_c := apex_web_service.make_rest_request(
        p_url => 'http://query.yahooapis.com/v1/public/yql?q='||
            utl_url.escape(l_param)
        ,p_http_method => 'POST'
      dbms_output.put_line(substr(l_c, 1, 4000));
    end;
    /Note the use of UTL_URL.ESCAPE. The call does not work without it.
    I do not use a proxy, so that parameter does not feature in my snippet above.
    Cheers,
    PS: However, the below does not work. So, it appears that the p_parm_name and p_parm_value do not quite work.
    SET SERVEROUT ON;
    declare
    l_c CLOB;
    l_param varchar2(1000) ;
    begin
    l_param := 'select * from upcoming.events where location=''San Francisco'' and search_text=''dance''';
    l_c := apex_web_service.make_rest_request(
        p_url => 'http://query.yahooapis.com/v1/public/yql'
        ,p_http_method => 'POST'
        ,p_parm_name => apex_util.string_to_table('q:format')
        ,p_parm_value => apex_util.string_to_table(utl_url.escape(l_param)||':json')
      dbms_output.put_line(substr(l_c, 1, 4000));
    end;
    / Edited by: Prabodh on Oct 13, 2012 2:04 PM

  • Would like the take a look at the innards of PDF files

    I just armed myself with sufficient audacity to start looking at the contents of PDF files, using PDFSpy, CosEdit, and -most interestingly- good old 'vi'.
    There are (at least) two factors that prevent clear text readability.
    (1) What is the deal with those lone ^M characters all over the place? First I was tempted to strip them, but that would mess up the offsets. So, I wrote an utility to convert every '\r' into a space, provided that is not followed by a '\n'. Comments?
    (2) The compressed stuff. Is there any way to instruct Acrobat Pro not to generate compressed data, or perhaps some tool to "uncompress" such files?
    TIA,
    -RFH

    >(1) What is the deal with those lone ^M characters all over the place?
    Legal line endings are CR, CRLF, and LF. CRLF matches the Windows line
    ending, the other two match the Unix and Macintosh line endings. Note
    that LFCR is two line endings, while CRLF is one.
    > First I was tempted to strip them, but that would mess up the offsets. So, I wrote an utility to convert every '\r' into a space, provided that is not followed by a '\n'. Comments?
    Bad thing to do. This is invalid after the keyword stream, and
    randomly you will break compressed data. Better to learn to ignore
    them, or use a more capable viewer.
    >(2) The compressed stuff. Is there any way to instruct Acrobat Pro not to generate compressed data, or perhaps some tool to "uncompress" such files?
    Early versions of Acrobat could generate ASCII PDFs, but no longer,
    and they still compressed page streams.
    If you have Acrobat Pro, you might be interested in the plug-in PDF
    CanOpener.
    Aandi Inston

  • Read the text in pdf file

    Dear all,
    I have checked a lot of post about reading pdf in this forum. However, is it possible to read the text in pdf file. In my case, I need to read the content of pdf to do further process. Could anybody give me some suggestions. Thank you.

    I have a similar problem, can anybody help us....

  • Copy Paste content from PDF shows a missing character

    Our website, a4academics provides a platform for sharing academic projects and seminar reports in PDF for Students. We are getting a complaint from students, that when they copy and paste the content from PDF, the word " F " is not getting copied in some reports. What might be the reason ? Is it because of the issue with the software which created the PDF report. Its happening in few PDF files only.

    Currently to download the PDF FB like is needed. That why i asked your mail id. If you dont want to give FB like, please send the mail id.
    PDF is attached at the bottom of the link  given below
    http://a4academics.com/final-year-be-project/12-be-ece-electronics-and-communication-proje ct/503-home-based-wireless-health-monitoring-system
    I had copy pasted a part of the report to notepad++. Its appears as shown below. F is missing in defining
    "de ning the "Einthoven triangle" - an equilateral triangle with the heart at the centre."

  • Reading content from PDF to XI

    Hi All,
    Can I know about, is XI capable of reading the content from PDF. As I came to know that we can achieve this with the adapter module can you please ignite me how to do for this or is there any other option other than this way or show me if already any threads or articles are existed?

    Hi,
    Please find some links on Convertion agent which not only convert the PDF documents. it is used to convert PDF, Word Document, HL7 and more...
    pdf files *
    SAP Network Blog: XI: Read data from PDF file in Sender Adapter
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    SAP Network Blog: XI: Generate PDF file out of file adapter
    /people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    Regards,
    Phani

  • API for interacting with the Content Server (formerly Stellent) repository.

    Is there any API out there that can be used to interact with the Content Server (formerly Stellent) repository? Where can I find the documentation?

    Hi Chris,
    I have downloaded CIS v8.0 to communicate with the UCM 10gR3 installed on a remote machine. I am able to search but whenever I try to checkin / checkout it throws a ClassCastException.
    I would like to know if you have any info on this. and I am working with Java.
    regards
    Ravi.

  • How to fecth the contents of a mail from the server by using jsp

    hi
    Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
    bye.

    hi
    Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
    bye.

  • Displaying content item -(IContentItem) in portlet using Content Server API

    Hi,
    I am using the latest Content server API in my remote server to get the published content items. I have to display the content item in the JSP portlet.
    So how to display the content item in the portlet, if you have the IContentItem Object retrieved from the content server ? Is there any mechanism to get the HTML code/JSP code that corresponds to the IContentItem object?(All the content item will be an html or jsp )
    Currently we are extracting the publish url and opening an http connection to retrieve the html, which is not a good solution if you have mutiple portlets in the same page. So please suggest how can I display the content item (IContentItem Object) in the portlet.?

    Hi Anand,
    I am facing the same problem on IBM WebSphere Portal 5.1.
    Did you find a solution to your problem ?
    Thanks
    Ganesh

Maybe you are looking for