PDF to Text format

Hi All,
Scenario: PDF to Text format
I have to create an interface in which the sender file is in PDF format which has to pass to the recvr system  in text format thru PI.
Kindly guie me the adapters to be used at sender side and also tell me if there is any special condition to be followed to configure this scenario.
Thanks in Advance.
Madhvi

Hi ,
Plse see the below thread
PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
It will help you.
You can write custom adapter modules:
Java Mappingh;
SAP Conversion agent:
http://www.riyaz.net/blog/parsing-pdf-files-using-sap-conversion-agent-part-i/technology/sap/628/
http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

Similar Messages

  • How to make text formatting stick on book cover when sent to Apple or to PDF?

    In iPhoto '11 (version 9), one can format text on book covers and in text blocks by selecting the text and right clicking.  Font, size, color, and shadowing can be selected and changed.  All of this displays correctly and sticks when the book is saved, etc.  However, if the book is "previewed" or exported to a PDF (which I believe is the format sent to Apple for actual printing) some of the formatting is lost, permanently.  It just goes away.  Why?  And, more importantly, how can I make this formatting stick?  I'm mainly interested in shadowing as it gives the text a 3d look.  All shadowing is lost - font and size do stick.  I have successfully done this shadowing in several previous releases of iPhoto, and actually had it printed by Apple.  Any ideas out there?  Or is this another wonderful "feature" ?
    Thanks for playing.

    Sorry LN, but that is the problem.  When I do either the preview or the export to PDF, the shadow formatting disappears.  There is another forum discussion where some person discovered this only after receiving their three hard cover books.  I'm pretty sure it is a bug.  I have Snow Leopard and iPhoto '11 (v9) both with latest updates.
    One other note - when applying the text shadow, anytime I adjust either of the three shadow sliders, the shadow disappears and I must click on the main shadow button to make the adjusted shadow reappear.   As I said, it does then stick until I do either the preview or PDF as described in the article you referenced.  Very, very, very annoying.
    Will try to contact Apple today, although I have had very poor luck with ever getting them to admit to any problem in the past.  ( pride goeth before the fall....). Hope they will listen, but I have a close deadline on this book.

  • To get the content of a pdf file in a particular position in text format

    I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
    i am using PDFTextStripper class in pdfBox jar to get the content as whole.
    pls send some sample code
    pls help me
    Edited by: thomas00 on Sep 21, 2007 2:55 AM
    Edited by: thomas00 on Sep 21, 2007 3:08 AM

    pls any one reply

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Uploading file (pdf,jpg,,text,doc....etc ) in any format

    hi friends ,
    need help in uploading the file on the server and storing the path of the file while inserting to the database .
    I have the code with me but that is limited to the one content type i.e text or doc format .
    I am noit getting as to how should i use this same code for uploading any type of file type.
    "ie. can be pdf ,doc,text.....etc
    how should i do it
    i also have to use the update the same ,

    java@mani wrote:
    I have the code with me but that is limited to the one content type i.e text or doc format .Weird coding then. Uploading of files is by default not restricted by file formats. The server side really doesn't care about the binary contents of the multipart stream.
    Review the code and try to understand the concepts. You might find the following article useful: http://balusc.blogspot.com/2007/11/multipartfilter.html

  • Pdf arabic text file unable to convert to word formate text error is coming.

    Dear Sir,
    Pdf arabic text file unable to convert to word formate text error is coming. The arabic text once converted to word  language error is appearing.

    Hi,
    I am moving your posting at PDF Pack(CreatePDF) forum to Acrobat forum.
    Hisami

  • Unable to use PDF as a format only text

    emailed invoices come out in unreadable format.
    acrobat doesn't allow us to use PDF a a format only text.
    win7x64 with Officex32, outlook x32. and acrobat X pro (trial version)
    any help is appreciated

    I will do my best on your comments and may be repetitive (I am also getting tried and am sleepy). I get the impression that the result looks fine in Acrobat OR Reader. I an not sure reader can e-mail the PDF, but if it can the results often depend on the client e-mail setup (typically requiring MAPI to be active. Many folks (even my on some machines) just can't get the e-mail option to work. I would suggest that they simply attach the PDF to an e-mail directly, though I think you are trying to streamline the process. At least that may give a working process as you are trying to find out what is happening.
    Howver, you also seem to suggest that the e-mail works (that would mean that the PDF was attached to the e-mail). In that case, my guess is that the e-mail package on the client machine is not set to encode attachments properly. I would suggest that encoding (typically MIME) be activated in the client for all attachments. Outlook has problems in that it often reads a PDF as a text file and does not encode it unless you force the encoding. When that happens the PDF gets corrupted.
    If that is not the problem, then it may simply be that the fonts are not in the PDF or present on the receiving systems, causing a messed up font substitution, particularly if something like the MAC PDF viewer is being used rather than Reader.
    I may still not understand the problem, but that is my best guess at this point.

  • Fm or method for converting  doc,pdf or text  files to binary format

    Hello,
    Are you aware of any function module or method which takes input as a file of type doc, pdf or text files and convert it to binary format? Kindly let me know.
    This is what i tried and was unsuccessful.
    i tried using gui_upload method and pass " asc" as file type while importing file of type .doc but it returns me string filled with strange characters.
    I did try converting this string to xstring using  cl_proxy_service=>cstring2xstring but i realized my 1st step of uploading file itself was wrong.
    Please let me know what can be done if you are aware of how to convert file of various types to binary.
    thanks
    Pooja

    hi All,
    thanks alot for the information and help provided by all of you.
    I did figure out a way where the word document or pdf  can be pretty much loaded with gui_upload. the file type used in the method would be "BIN" the following thing has to be done. declare data type as given below and file would be the complete path along with document name which has to be uploaded
    DATA: BEGIN OF res_line,
                raw(255) TYPE x,
             END   OF res_line.
      DATA: res_tab LIKE res_line OCCURS 0 WITH HEADER LINE.
    data :  wf_var_stringx TYPE xstring .
      CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                =  file
            filetype                = 'BIN'
            read_by_line            = 'X'
         has_field_separator     = ' '
         header_length           = 0
         header_line           = 'X'
          IMPORTING
            filelength              = l_filelength
          TABLES
            data_tab                = res_tab
          EXCEPTIONS
           OTHERS                  = 1.
    LOOP AT res_tab .
        CONCATENATE wf_var_stringx res_tab-raw INTO wf_var_stringx IN BYTE MODE.
      ENDLOOP.
    this will upload the file and will file the string x with its content.
    hope this helps to some of you.
    Thanks
    Pooja

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Changing text size in form field (rich text formatting enabled)

    Hi all,
    I'm hoping someone can help me out here. I've created an interactive PDF with form fields with "Rich Text Formatting" enabled.
    My client has filled in the fields and would like to make the text bigger. When right-click, there are only options to change the text style (bold, italics etc) but nothing to change the text size. I'm not keen on disabling and then re-enabling the "Rich Text Formatting" options as the text have been formatted (bold, italics, superscript, subscript etc) and approved, and this will remove all the existing formatting.
    Can anyone help?
    Acrobat 9.4.6
    Mac 10.6.8
    Cheers,
    Tricia

    Thanks so much!! Really appreciated!
    Strangely enough, I found the Form Field Text Properties dialogue box by randomly choosing "Hyperlink" in the right-click options. Who would have thought!

  • Saving report as PDF and text file

    Currently, I saved my report as PDF. It opens in Acrobat reader automatically when the report is executed. Is there a way for me to save it as PDF and as a text file at the same time? (without having to open the file in Acrobat reader and saving it)

    You can add your PDF and TEXT file formats to a distribution list (Instead of GENERATE REPORT TO A FILE). To do this:
    1. Go to your Object Navigator and highlight your report.
    2. Right click on your report. Select Property Palette.
    3. Select Distribution
    4. You can add of of the formats that you want to print or save to the report to.
    5. You will have to add Distribution Id (any number starting with 1) where you want the file to be saved (c:\my_reports\inventory.pdf), the type of file: PDF and how many copies you want: 2
    6. Click OK after finishing...
    To make it work ... You would highlight your report from your Object Navigator and then choose FILE-DISTRIBUTE and this will save it to all the files your specified and/or printer.
    null

  • How to change the output as text format in Apps R12.1.3

    Hi All,
    Currently iam trying to modify the Java Concurrent Program (FDExtractAndFormatting) in Batch Payment Process. This Program is generated in text format in 11i APPS. Now we are upgrading to R12.1.3. In R12.1.3 output is coming as PDF format. Here my requirement is how to change the output as text format in R12.1.3 also.
    Please do the needful and suggest me.
    Regards,
    Jagadeesh

    1. It is seeded java concurrent program. Some attributes are missing from 11i to R12. In 11i it is a text format.So i have to investgate on how to retrive those attributes in R12. What is the concurrent program name?
    Have you tried to change the output and submit the request?
    2. Once all are attributes are coming in PDF format. Client wants to open same output in text format as it is 11i (In R12 it is generated in PDF format).If the above does not help, please log a SR.
    Thanks,
    Hussein

  • Help with text format

    I am attempting to emulate an example in shown in:
    http://developer.java.sun.com/developer/Books/gui/swing2/swing2_chap11.pdf
    With the following code
    fieldFormat = new NameFormat();
    JFormattedTextField rField = new JFormattedTextField(fieldFormat);
    rField.setColumns(15);
    rField.setValue(initialValue);
    class NameFormat extends Format {
         public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition) {
              fieldPosition.setBeginIndex(toAppendTo.length());
              String str = obj.toString();
              char prevCh = ' ';
              for (int k=0; k<str.length(); k++) {
                   char nextCh = str.charAt(k);
                   if (Character.isLetter(nextCh) && prevCh == ' ')
                        nextCh = Character.toTitleCase(nextCh);
                   toApendTo.append(nextCh);
                   prevCh = nextCh;
              fieldPosition.setEndIndex(toAppendTo.length());
              return toAppendTo;
    }I get the following error:
    FormattedField.NameFormat should be declared abstract; it does not define parseObject(java.lang.String,java.text.ParsePosition) in java.text.Format
    Therefore I determined there must be methods missing. Upon looking I find the following two other methods defines for Format .
    formatToCharacterIterator(Object obj) {}
    parseObject(String source, ParsePosition pos) {}
    The problem is I am unable to determine what the methods should do or look like if added to NameFormat.
    Any suggestions or help would be appreciated.
    Thanks
    rykk

    Forget it I can't chew gum and walk at the same time.
    rykk

  • Is there a way to extract iMessages from Mac to PDF or .txt format?

    I've been searching the net but to no avail. All results point to backing up/extracting iMessages from iDevices other than a Mac. I'm going to change my Apple ID and I want to at least have a copy of the previous convos I had if PDF or .txt format. Thanks in advance! 

    HI,
    If you have the Save on Close  option enabled in Messages > Preferences > Messages then all Chats and conversations are saved.
    They can be recalled any time.
    1) In the Messages app the File Menu > Recent Items will list the last X number of chats.
    X is the number set in System Preferences > General pane about the number of Documents, Applications and Servers shown in such lists.
    2) old migrated iChat Saved chats are in Your Home Folder/Documents/iChats
    3) New Saves are in your Home Folder/Library/Messages/Archive although this Library is Hidden.
    In th Finder > Go Menu > Go to Folder and type ~/Library/Messages into the dialogue box that appears.
    I have 10 non iMessages accounts as well as  my iMessages account logged in when I am on line.
    I can call up any of the last Chats shown in Recent Items no matter which account they came from  (different Screen Name or Jabber IDs or even Bonjour chats)
    I have not actually changed my iMessages ID to check but the app will continue to save to the same Folder and it should be able to retrieve recent ones.
    Visiting the folder and double clicking an older chat tends to launch it in a new window separate from the Messages Window itself (no Side bar no, Text field at the bottom, no "To" spot).
    8:31 PM      Friday; March 29, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • BI Publisher Rich Text formatted output

    Dear All,
    we are using BIP11g and we want show Rich Text formatted values in PDf output.
    this Rich Text formatted data is  stored in oracle database in CLOB data type feild.
    Here is how it looks.
    {\rtf1\ansi\ansicpg1252\uc0\deff0{\fonttbl
    {\f0\fswiss\fcharset0\fprq2 Arial;}
    {\f1\froman\fcharset2\fprq2 Symbol;}}
    {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red192\green0\blue0;}
    {\stylesheet{\s0\f0\fs24 [Normal];}{\*\cs10\additive Default Paragraph Font;}}
    {\*\generator TX_RTF32 9.0.311.500;}
    \deftab1134\paperw12240\paperh32767\margl1440\margt1440\margr1440\margb1440\pard\plain\f0\fs20 First name, Last Name [Dec 27 2013 : 03:21:49 PM]\line\line\plain\f0\fs20\b This is a Rich  text \plain\f0\fs20\line\line\plain\f0\fs20\cf3 This is a Rich  text \plain\f0\fs20\line\line\plain\f0\fs20\i This is a Rich  text \plain\f0\fs20\line\line\plain\f0\fs20\ul This is a Rich  text \plain\f0\fs20\line\line\plain\f0\fs36 This is a Rich text \plain\f0\fs20\par\pard\par }
    However actually this is a formatted text and looks like something like below
    This is a Rich  text
    This is a Rich  text
    This is a Rich  text
    This is a Rich  text
    This is a Rich  text
    Currently BIP PDF output produce the text as is from the database.
    How can i convert or process it to get the correct formatted text like above in output.
    Thanks,

    Follow the process outlined in this blog post: https://blogs.oracle.com/xmlpublisher/entry/formatting_html_with_templates
    With Oracle BI Publisher 11g Release 1 (11.1.1.6) release you have support for HTML formatting in data..
    Here is an excerpt from the report designer's guide.
    Support for HTML Formatting in Data
    You can now convert stored XHTML to XSL-FO to display the HTML formatting from your data in your generated report. The XHTML data must be extracted wrapped in a CDATA section. Specific syntax must also be used in the RTF template to render it.
    Thanks,
    Bipuser

Maybe you are looking for