Insert Text in a PDF Document

I am trying to edit text (insert text) in a pdf document using Adobe 9 Pro.  When I click on Advanced Editing, touch up text tool.  I select a box around the text and begin to type, nothing appears the cursor moves but nothing is typed.  I need immediate help .

Editing text and Adding text require different tools.
The Touch up text tool would be used to modify; add, modify or delete within a line of existing text.
To add text to an open area, the Typewriter tool would be necessary.
Don't expect full editing abilities.

Similar Messages

  • Inserting text to Acrobat PDF document, not able to create PDEText.

    Hi ,
    I have created a plugin for Acrobat, On press of MyPlugin's 'Insert' button it has to add the text to the document.
    Eg: If there is a Active PDF document, which contains a text "Hello" in it. I want to insert "World" (i.e, the document should have "Hello World") when i click 'Insert' button.
    I am writing the below function for this:
    static void InsertCitationText(PDDoc activePDDoc,PDPage pdPage , int pgNum , int pgOffset)
          PDEContent volatile pdecontent = NULL;
          PDPage pdPage = PDDocAcquirePage (activePDDoc, pgNum);
          pdecontent = PDPageAcquirePDEContent (pdPage, gExtensionID);
        Here I have to create PDEText pdeText and assign "World" to it. How do i do this??
         I tried to do this in TextCreate function by looking into the sample plugin snippets but its not creating the text , when i debug and see the value value of 'pdeText' its giving,  "pdeText not found".
               PDEText pdeText = TextCreate();
          PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));
          /* Put the contents back in the page */
          PDPageSetPDEContent(pdPage, gExtensionID);
          /* Clean up */
          PDPageReleasePDEContent(pdPage, gExtensionID);
    static PDEText TextCreate()
                PDSysFont sysFont=NULL; /* Used by PDEFont creation */
                PDEFont pdeFont=NULL; /* Reference to a font used on a page */
                PDEFontAttrs pdeFontAttrs; /* Font attributes */
                ASFixedMatrix textMatrix; /* Transformation matrix for text */
                PDEColorSpace pdeColorSpace; /* ColorSpace */
                PDEGraphicState gState; /* Graphic state to apply to operation */
                // Create a PDEText object
                PDEText pdeText = PDETextCreate();
                // Text to write to the PDF
                char *Title = "World";
                // Get system font
                sysFont = PDFindSysFont(&pdeFontAttrs, sizeof(PDEFontAttrs), 0);
                // Initialize the font descriptor then create the font reference.
                memset(&pdeFontAttrs, 0, sizeof(pdeFontAttrs));
                // Find the matching system font.
                pdeFontAttrs.name = ASAtomFromString("Verdana");
                pdeFontAttrs.type = ASAtomFromString("Type1");
                //Get system font
                sysFont = PDFindSysFont(&pdeFontAttrs,sizeof(pdeFontAttrs),0);
                pdeFont = PDEFontCreateFromSysFont(sysFont, kPDEFontDoNotEmbed);
                // Create a DEGraphicState object and set its attributes
    pdeColorSpace = PDEColorSpaceCreateFromName(ASAtomFromString("DeviceGray"));
                memset(&gState, 0, sizeof(PDEGraphicState));
    gState.strokeColorSpec.space = gState.fillColorSpec.space = pdeColorSpace;
                gState.miterLimit = fixedTen;
                gState.flatness = fixedOne;
                gState.lineWidth = fixedOne;
                // Create an ASFixedMatrix object
                memset(&textMatrix, 0, sizeof(textMatrix));
                textMatrix.a = Int16ToFixed(24);
                textMatrix.d = Int16ToFixed(24);
                textMatrix.h = Int16ToFixed(1*72);
                textMatrix.v = Int16ToFixed(2*72);
                //Create a PDEText Object
                pdeText =  PDETextCreate();
    PDETextAdd (pdeText, kPDETextRun, 0,(ASUns8 *)Title, strlen(Title), pdeFont, &gState,
                sizeof(gState), NULL, 0, &textMatrix, NULL);
                PDERelease ((PDEObject) pdeColorSpace);
                PDERelease ((PDEObject) pdeFont);
                return pdeText;
    Is there anyway i can add the "World" (as PDEElement) to document so that i can use in this function "PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));"  ???
    Or
    Should i use the above 'TextCreate()' huge function to create PDEText(PDEElement). If i have to use this method why the PDEText is not getting created? Am i missing something in the above function ??
    Please someone help me out, Thanks in advance.
    Regards,
    Chetan.

    Hi Irosenth,
    I will give a try for this, we must try to certain extent who knows we may Succeed. We must noe give-up easily.
    You have not said this is impossible, but you say this is difficult. Rite ??
    If you give me support, i dont think it would be difficult.
    First i will try to insert a text in a blank page.This is possible rite ??
    I saw a discussion in this forum, http://forums.adobe.com/message/2092443#2092443 , this is 2 years old. This guy has inserted the text into PDF document.
    I refered this link and try to insert a text in Active PDF document but text is not getting inserted into it.
    Please let me know what i am making wrong in the below function,
    static void InsertCitationText(PDDoc activePDDoc, int pgNum , int pgOffset)
          PDEContent volatile pdecontent = NULL;
          PDPage pdPage = PDDocAcquirePage (activePDDoc, pgNum);
          pdecontent = PDPageAcquirePDEContent (pdPage, gExtensionID);
          PDEText pdeText = TextCreate();
          PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));
          /* Put the contents back in the page */
          PDPageSetPDEContent(pdPage, gExtensionID);
          /* Clean up */
          PDPageReleasePDEContent(pdPage, gExtensionID);
    TextCreate() function is same as the one which i mentioned in this discussion. Please let me what i am making wrong in that function aswell. Its not creating the specified "World" pdeText. Please help me out for this. Thanks in advance.
    Regards,
    Chetan.

  • No text displayed in PDF Document

    Hi @all,
    I want to download a PDF-Form to my local machine.
    Approach:
    - CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    - CALL FUNCTION 'FP_JOB_OPEN'
    - CALL FUNCTION h_funcname
    - CALL FUNCTION 'FP_JOB_CLOSE'
    - CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    - CALL METHOD cl_gui_frontend_services=>gui_download
    I just inserted a static text in the PDF Document (Font: ARIAL).
    Adobe Document Designer shows this text on the preview tab but
    the downloaded PDF Document is empty.
    Only the graphical elements like circles are displayed but no text.
    System-Details:
    SAP ERP Central Component 5.0
    Release 640 Non-Unicode
    Adobe Designer Version 6.0
    Do you have any ideas?
    I just found the note 715599 but this refers to UNICODE Systems.
    Thanks.

    Hi,
    thanks for you answer.
    But the document only describes the conversion of SAP Script into PDF file.
    The OTF output of the SAP Script is converted to PDF by using the function module CONVERT_OTF.
    Do I have any other possibilities to access and download the PDF Document without using SAP Script?
    I already created the PDF Interface and PDF Form by using the "Form Builder" (Transaction SFP).
    My program shall access and download this Form.
    This works almost but all of the text information is obviously lost. All of the graphical information is displayed in the downloaded document.
    Thank you for you help.
    Christian Nitschka

  • How can I copy text from a PDF document in bb pbk?

    I've tried to copy a text from a PDF document but adobe reader doesn't give me that option. How can I do it? or there is a better reader for PDF that allows to copy, make bookmarks, to highlights?

    If the PDF is not an IMAGE, you can using a free program called PDF-XChange Viewer from Tracker Software. If the PDF was done as an image then you will not be able to select the text.
    Bold 9000 on Rogers Network - Company BES
    Playbook 16G WiFi Only

  • How do i disable copy and paste so a reader can not copy text from my pdf document?

    how do i disable copy and paste so a reader can not copy text from my pdf document? i have gone into my security preferences but can not find out how to change the settings so i can disable the copying option.

    See http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-protect-p df-file-with-permissions-tutorial-ue.pdf

  • Lion Preview can't delete or insert pages to a PDF document

    I have the following problem: I open a PDF file in preview. I delete some pages as I used to in snow leopard. Then I save it. The document's page count changes to the correct number in the window title bar. However, if I open the saved version after closing the current window I see that nothing is saved at all! The same thing happens when I try to insert pages to a PDF document. Looks like everything is fine, but when I close and reopen the document no changes are saved. The weird thing is file is modified, i.e. preview saves something but not my changes. It just re-saves the original document.

    NUMACER's answer worked for me as well guys ! Didn't need to save a version, it just keeps it like that. I tried saving a version which saved on the same file instead of creating a new one (i know that since I saw the "Last modified" thing being updated at the same time) !
    Thanks Numacer

  • How to insert text in current Pdf?

    I try to insert text into current pdf i am getting unexepected error
        PDEContent pdeContent;
        AVDoc avDoc = AVAppGetActiveDoc();
        PDDoc pdDoc = AVDocGetPDDoc (avDoc);
        PDPage pdPage = PDDocAcquirePage(pdDoc,AVPageViewGetPageNum(AVDocGetPageView(AVAppGetActiveDoc())));
        pdeContent = PDPageAcquirePDEContent(pdPage, NULL);
        //Create a PDEText object
        PDEText pdeText = PDETextCreate();
      //  Create a DEGraphicState object and set its attributes
        ASFixedMatrix textMatrix;
        //Create an ASFixedMatrix object
        memset(&textMatrix, 0, sizeof(textMatrix)); /* Set the buffer size */
        textMatrix.a = Int16ToFixed(24); /* Set font width and height */
        textMatrix.d = Int16ToFixed(24); /* to 24 point size */
        textMatrix.h = Int16ToFixed(1*72); /* x,y coordinate on page */
        textMatrix.v = Int16ToFixed(2*72); /* in this case, 1" x 2" */
        PDEGraphicState gState;
        PDEColorSpace pdeColorSpace = PDEColorSpaceCreateFromName(ASAtomFromString(colour_space.c_str()));
        memset(&gState, 0, sizeof(PDEGraphicState));
        gState.strokeColorSpec.space = gState.fillColorSpec.space = pdeColorSpace;
        gState.miterLimit = fixedTen;
        gState.flatness = fixedOne;
        gState.lineWidth = fixedOne;
        PDSysFont sysFont;
        PDEFont pdeFont;
        PDEFontAttrs pdeFontAttrs;
        //Set the size of the PDSysFont and set its attributes
        memset(&pdeFontAttrs, 0, sizeof(pdeFontAttrs));
        pdeFontAttrs.name = ASAtomFromString("CourierStd");
        pdeFontAttrs.type = ASAtomFromString("Type1");
        //Get system font
        sysFont = PDFindSysFont(&pdeFontAttrs, sizeof(PDEFontAttrs), 0);
        //Create a font that is used to draw text on a page
        pdeFont = PDEFontCreateFromSysFont(sysFont, kPDEFontDoNotEmbed);
        char *chrNewFilePath = "Doc.pdf";
        ASText  asFilePath =  ASTextFromUnicode(reinterpret_cast <ASUTF16Val *> (chrNewFilePath), kUTF8);
        //Create a character pointer
        char *HelloWorldStr = "Hello There";
        //Create new text run
        PDETextAdd(pdeText, //Text container to add to
                   kPDETextRun, // kPDETextRun
                   0, // in
                   (unsigned char*)HelloWorldStr, // Text to add
                   strlen(HelloWorldStr),// Length of text
                   pdeFont, // Font to apply to text
                   &gState, //Address of PDEGraphicState object
                   sizeof(gState), //Size of graphic state to apply to text
                   NULL,
                   0,
                   &textMatrix, //Transformation matrix for text
                   NULL); //Stroke matrix
        ::free(chrNewFilePath);
        ASFileSys  asFileSys =  ASGetDefaultFileSysForPath(ASAtomFromString( "ASTextPath" ), asFilePath);
        ASPathName asNewPath =  ASFileSysCreatePathName(asFileSys,  ASAtomFromString( "ASTextPath" ), asFilePath, 0);
        PDDocSave(pdDoc, PDSaveFull , asNewPath , asFileSys, NULL, NULL);

    I changed that code to below mention code, when i was run the plugin and after close the acrobat it asking for save, but it doesn't show any text text
    ASFixedRect  cropBox;
        char  errorMsg[256];
        ASInt32  errorCode = 0;
        PDPageGetCropBox  (pdPage, &cropBox);
        // Initialize the font descriptor then create the font reference.
        // Because we're using one of the base 14 Type 1 fonts, we only
        // need to pass a small amount of information to PDEFontCreate().
        PDEFont  pdeFont =  NULL;
        PDEFontAttrs  pdeFontAttrs;
        memset(&pdeFontAttrs, 0,  sizeof (pdeFontAttrs));
        pdeFontAttrs.name  =  ASAtomFromString( "Courier" );
        pdeFontAttrs.type  =  ASAtomFromString( "Type1" );
        DURING
        // Create the font reference.
        pdeFont =  PDEFontCreate(&pdeFontAttrs, sizeof (pdeFontAttrs), 0, 255, 0, 0,  ASAtomNull, 0, 0, 0, 0);
        HANDLER
        ASGetErrorString  (ASGetExceptionErrorCode(), errorMsg, 256);
        AVAlertNote  (errorMsg);
        return   NULL;
        END_HANDLER
        PDEColorSpace  pdeColorSpace =  PDEColorSpaceCreateFromName(ASAtomFromString( "DeviceGray" ));
        PDEGraphicState  gState;
        ASFixedMatrix  textMatrix;
        // The graphics state controls the various style properties of the text
        // including color, weight, and so forth.
        memset (&gState, 0,  sizeof (PDEGraphicState));
        gState.strokeColorSpec.space  = gState.fillColorSpec.space  = pdeColorSpace;
        gState.miterLimit  =  fixedTen;
        gState.flatness  =  fixedOne;
        gState.lineWidth  =  fixedOne;
        // Fill out the text matrix, which determines the point
        // size of the text and where it will is drawn on the page.
        memset (&textMatrix, 0,  sizeof (textMatrix));
        textMatrix.a  =  ASInt16ToFixed(12);
        textMatrix.d  =  ASInt16ToFixed(12);
        textMatrix.h  = cropBox.left  + (cropBox.right  - cropBox.left)/2 -  fixedSeventyTwo;
        textMatrix.v  = cropBox.top  - (cropBox.top  - cropBox.bottom)/2 -  fixedThirtyTwo;
        PDEText   volatile  pdeText =  NULL;
        DURING
        // Create a new PDEText element and add a kPDETextRun object to it.
        pdeText =  PDETextCreate();
        PDETextAdd  (pdeText,  kPDETextRun, 0, (Uns8  *) "This page intentionally blank" , 30,
                     pdeFont, &gState,  sizeof (gState),  NULL, 0, &textMatrix,  NULL);
        // Insert text element into page content.
        PDEContentAddElem  (pdeContent,  kPDEAfterLast, (PDEElement)pdeText);
        // Commit the changes to the PDEContent.
        PDPageSetPDEContent(pdPage, gExtensionID);
        // Advertise that we changed the contents so the viewer redraws the
        // page and other clients can re-acquire the page contents if needed.
        PDPageNotifyContentsDidChange  (pdPage);
        HANDLER
        // Store the error code.
        errorCode = ASGetExceptionErrorCode();
        END_HANDLER
        // Release any objects we may have created or acquired.
        // Note : PDERelease correctly handles NULL, so we don't
        // need to test for valid objects.
        PDERelease  ((PDEObject) pdeColorSpace);
        PDERelease  ((PDEObject) pdeFont);

  • Is It Possible To Select And Copy Text From A PDF Document ?

    Occasionally I would like to copy and paste text from .pdf documents.
    I have not found any way of doing it - is it impossible ?
    If it can be done - how ?
    Ian.

    Well, first off, if the problem pdf was made from a web page, then the text on that web page probably wasn't built as html text. But that's not your problem. As for the pdf itself, you have a couple options, although neither of them are as good as being able to copy/paste the real text.
    1) Use a screengrab (Cmd-Shft-4) of the text you want. This will create a .png file on your desktop of the area you selected. You may be able to insert this into Appleworks, although by nature it will still be a lo-res image, which won't print that great. May still be better than what you got originally. If you can't insert the .png, you can open it in Preview and save it in another format.
    2) If available, you could open the problem pdf in Illustrator or Photoshop, see if that works better. Some pdfs, depending on where they originate, can be text-editable when opened in Illustrator (although the fonts used must be installed on your Mac to show up correctly).
    Finally, if you like, you could email me the pdf or URL and I could take a look at it to see what I can do to help.

  • Inserting objects from one PDF document to another in Acrobat XI

    When I copy objects using "Edit Text & Images" and insert it to another document, objects are insert in any place of document, but when document "A" have view "Fit to screen" and document "B" have same view and I copy object from A and insert  to B, object in B will insert to same place (exact) how it was in A. It works fine in Acrobat 9, 10. It didn't work in Acrobat XI (11.0.3). Does any know how to fix it?

    The PDF template we need to copy the form fields "to" doesn't start out having any form fields. It is the fields that we need copied from a previous year's PDF template.
    Here's an except from my original post: "I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined)"
    The "new" PDF template is a complete "paper" form with updated legal text and calendar year referrences but NO form fields. In our IS group, we then take these forms, add form fields to them and are then able to populate them with database-resident user data. We serve them up to the user in their browser pre-populated with their application data.
    So again, our need is to find a way to copy form fields from "last year's" PDF template and copy just the form fields to an fresh "new year's" PDF template that contains no form fields to begin with. What we begin with is just a PDF representation of a paper student loan application.
    Thanks for the suggestion!

  • How do I select text in a PDF document?

    I have a text-based PDF document, but I can only select text by restarting the reader. Once I select "Take a Snapshot" I can't select text anymore. How do I switch back to select text? I tried right-clicking on the document but I don't see any "selection" tool. I am using 11.0.3 under Win 7.

    Just tested this (Reader 11.0.3 on Windows XP), and your scenario is exactly so.
    I have been able to go back to get the Select Tool by clicking on the Highlight tool in the Toolbar, then right-clicking on the document.
    But it's definitely a bug in my view.

  • Problem with selecting text in a PDF document

    I'm having a problem with Acrobat 9 and Reader 9.  PDF document that has copying and selecting permissions granted, when I highlight text for copying, some of it gets highlighted and some doesn't.  Put the same document on several computers in the office, same issue.  It's the document, but I can't figure out what the deal is.
    We need to copy large portions of this into a new tech manual. 
    Can someone help

    Without further information, my first reaction is to think that the texts that you cannot copy are included as images.

  • Inserting text into a Pages document with Applescript

    I want to create a Pages document from a custom template but be able to insert text at various points in the document (inputted data under headings etc). I would like to use Applescript but cannot get insertion points to work, is this possible? As usual, all help gratefully accepted.

    I have made a Pages template that contains tables and I want to enter text into sections of these tables
    That's a completely different story! But that's still possible using GUI Scripting. Here's an example:
    tell application "Pages"
        activate
        select table 1 of body text of front document
        tell application "System Events" to tell process "Pages"
            set theWindow to window 1 whose role description is "standard window"
            click button "Table" of tool bar 1 of theWindow
            keystroke "Cell A1"
            keystroke tab
            keystroke "Cell B1"
            key code 125 -- down arrow
            keystroke "Cell B2"
            -- and so on
        end tell
        select insertion point after table 1 of body text of front document
    end tell

  • Edit or deleting text in a pdf document.

    I'm trying to edit text in a pdf file, If i delete a line the the document backs up and i end up with text over the top of text....can anyone tell me how to edit or delete text in a document without everything around it moving up or down?

    Realistically, that's just how it is. Text in a PDF file (unless it's very well-structured at the creation stage) is not laid out in a flowable 'story' as it is in Word, but is scattered about all over the place. Two lines of the same paragraph don't necessarily have to be connected, so deleting / adding a line break will often result in the remaining content moving about all over the place.
    The best approach is to edit the original file and recreate the PDF, but if that's not an option then it gets messy. You may be able to open the page in Illustrator (where you could edit the text objects and reposition them if things act strangely) but that will break any interactivity or accessibility so is only a sensible option if the resulting PDF is only destined to be printed out.
    If the page layout is relatively-simple, try exporting the PDF to Word (from Acrobat Pro), editing it and re-saving to PDF. Again it will lose any interactivity, but during the Save As step, Acrobat will try and guess the flow of the page content from where each item is positioned.

  • How do i highlight text in a pdf document

    how do i highlight test in PDF document?

    Thank you so much, Bill, for your reply.  My problem was/is that I could
    not get the highlight tool to work.  I tried countless times before posting
    my query on the website.  You assumed correctly; I was/am working with text.
    I was using Adobe reader to highlight text in an Adobe doc I had created
    and need to forward to a third party.  I wanted to highlight that text in
    the document that is salient to the actions I am asking of the third party.
    Perhaps the highlight tool cannot be used in a previously created Adobe
    document.  In any event, I do appreciate your reply.

  • I need to highlight selected text in a pdf document

    I need to highlight selected text in a pdf document

    Looks like that the document is protected.
    Why did you post this in the forum for Feature Requests?

Maybe you are looking for

  • What is the Flashback Virus? What does it do?

    What does it do to Macs? I know it takes the shape of a update, but does it like reset your computer?

  • Model reimport issue in WD for JAVA

    Dear experts, I am creating an application in webdynpro in JAVA. I wanted to add 3 BAPIs in the existing ARFC model. So I reimported it and added the required BAPIs. Reimport was successful It shows those 3 BAPIs under WeDynpro --> Models --> <Model

  • Showing environment variables on the logon screen?

    How can I show the OS environment variables of a user on the login page of an application. Things like OS, logged in user (this is the user logged in in the OS), screen resolution, browser etc... The logged in user is the most important data I want h

  • Can't Install Photoshop

    I am attempting to install Photoshop Elements 10 on a Mac Pro running OS 10.6.8. The software appears to install successfully. However, Adobe forces you to register. There is a window where I "Sign In" with my Adobe ID. I am using the same Adobe ID t

  • Transparent image on a webpage..

    hI Does anyone know how you can make a transparent image move across your webpage, i seen it on a yahoo webpages in a car ad. Is that a script or HTML Or know of a software that can help do it? Thank you..