Add a text/sentence inside a PDF

I need to take a big pdf document and goto certain pages and locations and add some comments there for the section number.
I tried to do this by first adding text boxes in those regions and then i dynamically opened it with my program and put the value in them.
However the issue is that each line added can only start from a new line.
But i want to add the text inside a paragraph or at the end or start, it should flow from middle of one line to the middle of another.
I dont want it looking different, inside a text box, but rather look normal like part of the text.
Please let me know how i can do this, i looked at the samples and examples but could not find an example to help add text inside a paragraph of a pdf.
thanks

Then how do i accomplish this task, let us say below is the para on the acrobat file
Colestrol will accelerate heart disease risk by promoting fatty
deposits and inflammation in the arteries of the heart. Reduction
of excess body fat slows this process. Your Body Mass Index
indicates [<moderate obesity>] and it is a must [<that you lose
weight and increase exercise>] to reduce your risk of heart disease.
To accomplish this task, we are inserting two variables shown as [<bold>]
There are two issues here:-
1) [<moderate obesity>] - if this is a short word like "normal", then there will be white space at the end of the line.
2) [<that...exercise>] - this starts in the middle of a line and ends in the middle of the next line.
My guess is i need to add the variable string to the rest of the para at run time and set the whole para dynamically in one shot.
So the whole para would be comming in from the server side code.

Similar Messages

  • How do I add a text description to a PDF file

    I want to add some text descriptions to my PDF files that later I can use as "search criteria". Is there something I can use other than the "file name" ? I would like to use short file names and append a longer text description to the file so I can search for files using the "text description" as search criteria.

    I want to add some text descriptions to my PDF files that later I can use as "search criteria". Is there something I can use other than the "file name" ? I would like to use short file names and append a longer text description to the file so I can search for files using the "text description" as search criteria.

  • How 2 search inside a PDF document using the firefox internal PDF reader

    Cannot find any way to do a text search inside a PDF document when it is displayed by the builtin PDF player in Firefox.
    If there is a way, how is it done?
    If there isn't a way, it seems an obvious enhancement.

    son of a gun. I've always searched in firefox by hitting slash and typing the search term, but that doesn't seem to work in the pdf reader. I guess, if I had searched for key bindings I coulda figured that out for myself.
    thanks!

  • How can I add the text from a Word document to an existing PDF that is my letterhead?

    I have a business letterhead created to a PDF file.  I'd like to add text from letters to this letterhead but do not know how.  Please help.

    Hi tatestar1,
    You would either need to use Acrobat to edit your letterhead PDF, or add the text in whatever application you used to create the letterhead in the first place, and then re-create the PDF. If you have the source file, then the latter may be easier.
    Best,
    Sara

  • Can I add forms or text boxes to a pdf in Acrobat that can then be edited in Reader?

    Hi,
    I'm trying to add forms to a pre-existing pdf in Acrobat which can be saved then filled with text in Adobe Reader.
    So far, I've managed to add two forms to my document in Acrobat, but when I enter text into one, it automatically copies into the other.
    Can anyone tell me if i'm going about this the right way or where i'm going wrong?
    Thanks in advance!

    To prevent the automatic copying of the field values, just rename the fields so they are not the same. Any fields with the same name will have the same value.
    Note that if the form needs to be saved by Reader users after they fill it in, you will have to Reader-enable the document, unless all of your users will have Reader 11. Do this in Acrobat 11 by selecting (while not in Form editing mode): File > Save as Other > Reader Extended PDF > Enable More Tools

  • In Preview, when I add text annotations to my PDF (lecture note slides), they look fine until I close it and reopen it, and then they are rotated 90 degrees. How do I fix this and keep it from happening again?

    In Preview, when I add text annotations to my PDF (lecture note slides), they look fine until I close it and reopen it, and then they are rotated 90 degrees. How do I fix this and keep it from happening again?

    I have the same problem with lectures slides.
    Furthermore, sometimes the text box, when doube-clicking, turns  the text into a one-liner. Causing the text box to sometimes get 3. times wider than the pdf itself.
    tcrother wrote:
    ... then when it rotates the text isn't visible and I'm stuck clicking on random parts of my lecture slides hoping the text box will come back. ...
    By pressing [cmd + I] the Inspector opens up and clicking on the rightmost tab 'Annotations' you should be able find those Annotations again. I do this regularly to find the empty annotations I accidentally create while clicking through slides.

  • How do I add text and edit my PDF file?

    how do i add text and edit my pdf file

    Hi pilothorse,
    To edit a PDF file you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. See www.adobe.com/products/acrobat.html for more information.

  • Can I add a text form field in Photoshop that can be edited in Acrobat reader?

    I design coffee labels with Photoshop then send them off to the printers. The printers then open up a PDF and put in the best before date before printing. At the moment I have to add the text form fields using Acrobat Pro after i've saved the photoshop document as a Photoshop PDF. The problem is if I want to edit the labels at a later date, I have to re-add the text form fields with Acroabat again. 
    Can I add a text form field in Photoshop that can be edited in Acrobat reader? Is it better to use another program for this task?
    Thanks in advance
    Ian

    As A1's Calculate script, under "Simplified field notation", enter:
    A * 0.8
    The same goes for B1 and B, resp.

  • How to edit a text file inside jar

    Hi all;
    I have a code that created text file and put this file to other jar archive.
    How can I edit this text file inside jar, add string to this file ?
    Thanks,

    Unpack the jar, edit the file, repack the jar.

  • Can you create a button that adds specific text to a form field?

    Hi,
    I was wondering if it was possible to create a button in a PDF that, when clicked, adds specific text to a form field?
    I am trying to make a product catalogue where you click on a product button to add the product name or code to a form field.
    Each product in the catalogue will have a button and the more you click the more is added to the form field(s).
    Then when you have finished adding products to the form field(s) I want to be able to save and email the entire PDF as an order form.
    Any thoughts would be appreciated!
    Cheers,
    Jim

    Yes, it's possible. The most simple version of such a script will be something like this (used as the button's MouseUp event):
    var v = this.getField("Products");
    if (f.value!="")
         f.value += ", ";
    f.value += "Product1";

  • How can I show text sentence on XY graph

    Hello,,,, anyone knows??? How can I show text sentence on XY graph?
    I just know that the only numeric data type can be the input data but my case I have both the number and message to show on the same graph.
    Thanks in advance
    Mannie

    You start out with an array of zero size. Since replace array subset does not change the size of an array, you stay with zero annotations. If nothing is there, you cannot replace it.
    Possible solutions:
    (A) Instead of reading the current annotation list (which is zero!), you could initialize the shift register with a diagram constant (right-click...create constant), expand it to the desired number of elements and make them all e.g. with a blank text.
    (B) Alternatively, you can manually create the desired number of annotation by right-clicking on the graph and select "data operations...create annotations". Now you start of with an array of the correct size if you read the annotation list with a property node and you can replace them programmatically with new annotations as desired.
    (C) You can also initialize the shift register with an empty array, then use built array to add annotations.
    LabVIEW Champion . Do more with less code and in less time .

  • Moving text entered into a PDF without moving other objects

    Sometimes, I add text to a pdf through the following:
    -         Click Tools to the top right of Acrobat, beneath the X.
    -         Under Content | Edit Text & Objects, select Edit Document Text.
    -         Hold down ctrl before you place the cursor on the pdf.
    Often, the text is not placed in the correct spot. To move it, I go to Tools | Content | Edit Object and then select the text and move it. However, this often causes other text in the document to shift along with the text that I entered. It seems somehow the text I entered gets linked to other text and I can either move all or none of it. How can I get only the text that I just entered to shift without getting other text to shift with it?

    Test Screen Name: I think Add or Edit Text Box might be more practical than Edit Document Text if I need to move the text after I add it. With Add or Edit Text Box, moving the text box does not cause other elements to move, which is unlike what happens when I add text via Edit Document Text.
    I think the PDF creator needs to allow the option for users to use the Forms Tool. This PDF does not have form fields. As for adding text via Comments, Add stick note creates a conspicuous text box that I want to avoid, as does Insert text under Comment | Annotations.
    So Add or Edit Text Box appears to be the best option.
    I believe the sender expects me to print this PDF, handwrite my entries and then scan and email it back to him. But I am trying to find ways to save time, paper and ink by adding text without printing this PDF and the many other PDFs that I must routinely fill out.

  • Looking for a way to find out the x,y coordinates of a string inside a PDF

    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.

    vedmack wrote:
    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.AFAIK, a string of text does not have an (x,y) location inside a PDF file. The location is exists on your screen, and will differ whenever you adjust the resolution of it. Text can have a location when it's stored as an image though, but than it's really the location of a certain number of pixels (not necessarily a string!).

  • Unable to add body text for Purchase Order

    Hi,
    If this question has been posted before request send me the link .
    We are sending PO as a PDF attachment to email.
    To add body text to this I copied the print program SAPFM06P and modified the fm06pe04 program.
    DATA : l_mail_text TYPE bcsy_text,
                     l_mail_text_row TYPE soli.
              CONCATENATE 'Please check the' ' Attached file' INTO l_mail_text_row.
              APPEND l_mail_text_row TO l_mail_text.
                document = cl_document_bcs=>create_document(
                    i_type    = 'PDF' " cf. RAW, DOC
                    i_hex     = pdf_content
                    i_text    = l_mail_text               "added by me
                    i_length  = lp_pdf_size
                    i_subject = lv_subject ).                   "#EC NOTEXT
    But it does not show in the body text.
    But if I use the add_attachment method the text comes as an attachment.
    I am not sure what is the error here.
    Regards,
    Narayani

    DATA: send_request       TYPE REF TO cl_bcs.
      DATA: text               TYPE bcsy_text.
      DATA: binary_content     TYPE solix_tab.
      DATA: document           TYPE REF TO cl_document_bcs.
      DATA: sender             TYPE REF TO cl_sapuser_bcs.
      DATA: recipient          TYPE REF TO if_recipient_bcs.
      DATA: bcs_exception      TYPE REF TO cx_bcs.
      DATA: sent_to_all        TYPE os_boolean.
             Convert the OTF file format ino the PDF format.
              CALL FUNCTION 'CONVERT_OTF_2_PDF'
                IMPORTING
                  bin_filesize           = lwa_bin_filesize
                TABLES
                  otf                    = lt_otf
                  doctab_archive         = lt_doctab_archive
                  lines                  = lt_pdf_lines
                EXCEPTIONS
                  err_conv_not_possible  = 1
                  err_otf_mc_noendmarker = 2
                  OTHERS                 = 3.
              REFRESH lt_objbin.
             get the pdf data into the attachment table .
              CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
                EXPORTING
                  line_width_dst              = 255
                TABLES
                  content_in                  = lt_pdf_lines
                  content_out                 = lt_objbin
                EXCEPTIONS
                  err_line_width_src_too_long = 1
                  err_line_width_dst_too_long = 2
                  err_conv_failed             = 3
                  OTHERS                      = 4.
             Refresh the local tables and workareas.
              REFRESH: lt_reclist,
                       lt_objtxt,
                       lt_objpack.
              TRY.
                  CLEAR send_request.
        -------- create persistent send request ------------------------
                  send_request = cl_bcs=>create_persistent( ).
        -------- create and set document with attachment ---------------
        create document from internal table with text
                  REFRESH text.
                  APPEND 'Body1.' TO text.
                  APPEND 'Body2.'TO text.
                  APPEND 'Body3.'TO text.
                  CLEAR document.
                  document = cl_document_bcs=>create_document(
                                  i_type    = 'RAW'
                                  i_text    = text
                                  i_length  = '12'
                                  i_subject = 'Electronic Payment Notification' ).
                  FIELD-SYMBOLS <fs_x> TYPE x.
                  DATA lv_content  TYPE xstring.
                  CLEAR lv_content.
                  LOOP AT lt_objbin INTO lwa_objbin.
                    ASSIGN lwa_objbin TO <fs_x> CASTING.
                    CONCATENATE lv_content <fs_x> INTO lv_content IN BYTE MODE.
                  ENDLOOP.
                  CLEAR pdf_content.
                  pdf_content = cl_document_bcs=>xstring_to_solix(
                          ip_xstring = lv_content ).
        add attachment to document
        BCS expects document content here e.g. from document upload
        binary_content = ...
                  CONCATENATE 'Remittance_' sy-datum sy-uzeit '.pdf' INTO lv_filename_cl.
                  CALL METHOD document->add_attachment
                    EXPORTING
                      i_attachment_type    = 'PDF'
                      i_attachment_subject = lv_filename_cl
                      i_att_content_hex    = pdf_content.
        add document to send request
                  CALL METHOD send_request->set_document( document ).
        --------- set sender -------------------------------------------
        note: this is necessary only if you want to set the sender
              different from actual user (SY-UNAME). Otherwise sender is
              set automatically with actual user.
                  CLEAR sender.
                  sender = cl_sapuser_bcs=>create( sy-uname ).
                  CALL METHOD send_request->set_sender
                    EXPORTING
                      i_sender = sender.
                  CALL METHOD send_request->set_status_attributes(
                    EXPORTING
                    i_requested_status = 'N'
                    i_status_mail = 'N' ).
             Fill the receiver for the email with PDF attachemnt.
                  CLEAR : lwa_reclist,
                          lwa_lfa1,
                          lwa_adr6.
                  CLEAR lwa_lfa1.
                  READ TABLE lt_lfa1
                        INTO lwa_lfa1
                        WITH KEY lifnr = lwa_reguh-lifnr.
                  IF sy-subrc EQ 0.
                    CLEAR lwa_adr6.
                    READ TABLE lt_adr6
                          INTO lwa_adr6
                          WITH KEY addrnumber = lwa_lfa1-adrnr.
                    IF ( sy-subrc EQ 0 )
                      AND ( lwa_adr6-smtp_addr IS NOT INITIAL ).
        --------- add recipient (e-mail address) -----------------------
        create recipient - please replace e-mail address !!!
                      CLEAR recipient.
                      recipient = cl_cam_address_bcs=>create_internet_address(
                                                       lwa_adr6-smtp_addr ).
                    ELSE.
                      CLEAR lv_fax.
                      lv_fax = lwa_lfa1-telfx.
                      recipient = cl_cam_address_bcs=>create_fax_address(
                      i_country = lwa_lfa1-land1
                       i_number = lv_fax ).
                    ENDIF.
                  ENDIF.
        add recipient with its respective attributes to send request
                  CALL METHOD send_request->add_recipient
                    EXPORTING
                      i_recipient = recipient
                      i_express   = 'X'.
        ---------- send document ---------------------------------------
                  CALL METHOD send_request->send(
                    EXPORTING
                      i_with_error_screen = 'X'
                    RECEIVING
                      result              = sent_to_all ).
                  IF sent_to_all = 'X'.
                    WRITE text-003.
                  ENDIF.
                  COMMIT WORK.
                CATCH cx_bcs INTO bcs_exception.
                  WRITE: 'Error Occured'.
                  WRITE: 'Error', bcs_exception->error_type.
                  EXIT.
              ENDTRY.

  • Need user exit to add body text in mail while saving the transaction VF02

    Hi All,
       Output type has been configured as external send(5) to trigger billing document as PDF. There is a requirment to add body text in the  mail along with pdf attachement. Funtional consultant has tried using NACE "Mail title and Text" but that doesn't worked out. As a abaper, we are trying to identfy the user exit where I can code the body of mail text.
    Can any body please let us know the user exit to add the body text only?
    Regards,
    Suresh Kumar.

    Hi,
    In your driver program you will have one standard include RVADOPFO.
    Copy all the code available in that include and make it to Z include.
    In this include function module ADDR_GET_NEXT_COMM_TYPE, will have the email address, subject etc.. details.
    So You can modify the contents of the imported parameters here.
    The above code will trigger only when update debugging is switched on!!!!!
    Regards,
    Santhosh.

Maybe you are looking for

  • Why am i getting a shadow type display when i attempt to start up firefox after clicking on icon?

    I recently deleted an older version of Firefox that my dad had been using on his user account and i noticed as he had explained to me that when i clicked on Firefox to start it up and make sure its on my computer as a second option to our primary Goo

  • How to define myself transform function in a xslt document???!!

    "XSL Transformations (XSLT) Version 1.0"(http://www.w3.org/TR/1999/REC-xslt-19991116) have "Additional Function" and "Extension Functions". It is easy to define a transform function with ms biztalk mapper. but how to do with weblogic or with Apache X

  • Power adapter flashing

    Hi I have a problem with my PowerBook G4. I have it for 4 years now, but this problem came out a month ago. The power adapter usually lights green when the battery is full or orange when it's charging. And mine is flashing dark orange. And i cannot t

  • Looking forward a FM or method or BAPI to change status of project

    I need to set a project status to 'cancel' or 'reset cancel'. after debuging the standard WD program and class, the FM is still not found by me. pls advise, thanks a lot.

  • Vendor analysis - MC$6

    Hi Expert, In vendor analysis screen (tcode MC$6), what is the used of this transaction? Is it anything to do with vendor evaluation? There are Deliv dt vr2, Deliv dt vr 3... Can the "Del dt vr" be customized to the user's preferred definition?  Wher