Remove hidden text using SDK api

HI Guys,
I am new to SDK and would like to know if there is an API to remove hidden text functionality the one that described here. I need a separate .Net library on top of Acrobat SDK that could remove all hidden data from pdf and save it.
Please point me to an example or documentation where to start from, if it can be done?
Thanks,
Andrey

I have found in sdk api the following method:
PDWordFinderAcquireVisibleWordList()
"Finds all words on the specified page that are visible in the given optional-content context" what does it means 'visible'? it is related with the 'heuristic' Acrobat uses to show 'hidden text'?
It is not clear also the 'PDOCContext ocContext' parameter this method uses.
Thanks

Similar Messages

  • Saving and loading plugin's settings by using SDK APIs.

    Hi All.
    I am trying to save and load plugin's settings, ex. dialog setting values and strings.
    OS platform is windows XP.
    First I programmed the way of using *.ini file.
    But that not appropriate for Macintosh.
    So, I like to know common way by using SDK's APIs.
    Development env. is VS2008 and Ai CS5 SDK.
    Thanks.

    Use AIPreferenceSuite (AIPreference.h)

  • Error while logging into CR server using SDK API

    I have crystal reports server 2008 running on Redhat linux machine. The CMS server (running on port 6400)and other servers are all up and running.
    When I try to communicate to the server using the SDK API I am getting error message. Can someone help me. I tried many things like shutting down firewall at the  server etc bit nothing work . The netstat -na command shows server is running on port 6400. I am going mad.
                  String  authentication = "secEnterprise"
                  ISessionMgr sm = CrystalEnterprise.getSessionMgr();
              enterpriseSession = sm.logon(userName,password,cms,authentication)
    Exception:
    com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server 15.7.204.107:6400 (FWM 01009)
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.TRANSIENT: attempt to establish connection failed: java.net.ConnectException: Connection timed out: connect  minor code: 0x4f4f0001  completed: No
    detail:Communication error occurred when trying to connect to server 15.7.204.107:6400 (FWM 01009) attempt to establish connection failed: java.net.ConnectException: Connection timed out: connect
         at com.crystaldecisions.enterprise.ocaframework.RawAPSDirectory.find(RawAPSDirectory.java:252)
         at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildAPSClusterInfo(APSServerHandler.java:425)
         at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildServerInfo(APSServerHandler.java:142)
         at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:546)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:1060)
         at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:250)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:694)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:504)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:648)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:295)
         at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:162)
         at com.crystaldecisions.sdk.framework.internal.SessionMgr.authenticate(SessionMgr.java:598)

    Thanks for the reply. What do you mean by enterprise machine. Can you explain.
    I will try wireshark and let you know.
    I can login into infoview, cmc and ssh to that machine without problems.Very strange.

  • How to remove a hidden text in pdf file with Acrobat Pro 9. How to save pdf file and remove hidden text?

    I
    I made this file in indesign, the highlited empty spaces indicates that their is a hidden text and it pop up when searching for some words in pdf file. so how can I save pdf file to keep only the seen text ???

    Dear lrosenth,
    I went through some codes/suggestions in internet and I found that I need to have cmap file and cid font file for the respective font since pdf doesn't support unicode fonts directly.
    Can you help me to know where can I get cmap file and cid font file for tamil language font Latha(TrueType) microsoft font.
    Regards,
    Safiq

  • Is it possible to remove a ContactEmployees using DI-API?

    Hi:
    I need to remove from B1 database a lot of contact employees without remove the business partner, i checked out the DI-API reference and i noted that the ContactEmployees object not have a Remove method.  Does exists any form of remove this object of the database without remove the BP? (some BP's already have transactions.
    Thanks in advance for your help.
    Jose Montanez

    Jose,
    The SAP Business One SDK Help Center documentation does not show that there is a remove or delete method for the ContactEmployees object via the DI API.
    Eddy

  • Users are not removed from role using UME API

    Hello,
    I am using this code to remove users from a batch of roles that I have.
    Everything is running OK, no exception is thrown and at the System.out I see all the actions that needs to be taken correctly. The problem is that if I'll go later to one of the roles the users are still assigned to it. Any idea what I'm doing wrong here?
    try
    IRoleFactory roles = UMFactory.getRoleFactory();
    IUserFactory users = UMFactory.getUserFactory();
    IRoleSearchFilter filter = roles.getRoleSearchFilter();
    filter.setUniqueName("<My_filter>", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sresult = roles.searchRoles(filter);
    if ( sresult.getState() == ISearchResult.SEARCH_RESULT_OK )
         while(sresult.hasNext())
         String id = (String)sresult.next();
         IRole role = UMFactory.getRoleFactory().getMutableRole(id);
         Iterator i = role.getUserMembers(false);
         while (i.hasNext())
                         String uid = (String)i.next();
              IUser user = users.getUser(uid);
              role.removeUserMember(user.getUniqueName());
              System.out.println("Removed user: " + user.getUniqueName() + " from role: " + role.getDisplayName());
         role.save();
         role.commit();
    catch (Exception e)
         manager.reportException(new WDNonFatalException(e), false);

    Solved it!
    It needs the FQDN User ID...

  • Create new tag for selected text using API?

    Hello,
    I want to add new tag for the selected text just like 'Create Tag from selection' .
    is it possible to create tag for selected text using acrobat api?
         please,help me.

    As per sample of snippetRunner for adding tag for selected text.
    I tried below code
    PDPage pg;
    AVDoc avDoc = AVAppGetActiveDoc();
    PDDoc pd = AVDocGetPDDoc(avDoc);
        pg = PDDocAcquirePage(pd, 0);
    ASAtom theSelectionType = AVDocGetSelectionType(avDoc);
    if (theSelectionType == ASAtomFromString("Text")){
        PDTextSelect ts = static_cast<PDTextSelect>(AVDocGetSelection(avDoc));
        PDSTreeRoot pdsTreeRoot;
        CosObj pageObj = PDPageGetCosObj (pg);
        PDSElement newElem;
        PDSElementCreate(pd, &newElem);
        char buf1[64];
        strcpy (buf1, "A new structure element");
        // set its type as "Document" standard type
        PDSElementSetType(newElem, ASAtomFromString ("Document"));
        // set its title
        PDSElementSetTitle(newElem, reinterpret_cast<const ASUns8*> (buf1), strlen(buf1));
        PDSTreeRootInsertKid (pdsTreeRoot, aElem, kPDSAfterLast);
        PDSElementInsertMCAsKid // here something i have to add
    If i have PDTextSelect how i can add tag for selected text.like user add tag using "CreateTagForSelectedText" option.
    please,help me.
    thanks.

  • Remove Hidden Information tool

    Hi,
    I would have a question regarding Acrobat's 'Remove Hidden Information' tool. Under Tools, Protection there is the 'Remove Hidden Information' tool. When I click it the results can be seen on the left side. Under 'Comments and markups' the sum of objects can be seen. I figured out that it detects bookmarks, links (internal, external) and objects described here: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7e7f.w .html.
    But it also detects some other objects as well which I am not aware of (based on the number of objects detected). I also know that it counts 2 objects when using 'Replace text' from the link above.
    Does anybody happen to know what additional types of objects does this tool detects and how to search for them in the document?
    Thanks for your help,
    Csanad
    I use Acrobat version 10.1.5

    The hidden text is the collection of glyphs on the PDF page that use text rendering mode 3 (no stroke, no fill). 
    Any links placed in association with such hidden text are not "hidden" (that is not how it works with PDF Link annotations - see ISO 32000-1:2008). 
    Any Link annotation placed in a PDF are the same as any other Link annotation (with the exception, of course, of whatever the link's Action happens to be).
    So, no special sauce for links that were placed in association with now removed "hidden text".  
    In context of what you've written it may be that you will have to select - Ctrl+click the Link annotations of interest then tap the Delete key. 
    Be well...

  • Editing hidden text in pdf?

    Scanning 19th-century and early 20th-century documents as TIFFs, creating PDF using the original images as pages. OCR can't recognize the text well, so the hidden text needs extensive editing. Using Adobe Acrobat 8.0 Professional on Windows 2000 Professional.
    Can see the hidden text using Examine Document; can only edit using the Text TouchUp Tool on the page, where the hidden text is not visible.
    * Is there any way to see both the hidden text and the page at the same time?
    * Is there a better way to edit the text?
    * Is there any way to import text to use in the hidden text?
    * Is there any way to apply hidden text to an image where none was created in the OCR conversion?

    The answer to most (maybe all) of your questions is probably to use 'proper' OCR software like Abbyyy Finereader or ReadIris. Trial downloads are available from their web pages. Output can be in the same pdf format that you need.

  • Print different format files using java API

    Hi All,
    I need to print documents ( MS-DOC, PDF, Plain Text ) using Java API. I do not need window for configuring number of pages to be print etc etc.. Whatever the file specified should be printed.
    I checked with printerJob.print(); from java API and able to print simple text. I need to approach same for files of different formats.
    Any other API's ? How do i approach?
    Any help will be appreciated.
    Thanks,
    Praveen

    Which of the LiveCycle products are you looking at? (there is no Java API to Acrobat)

  • BUG - remove hidden information - Acrobat remove some visible/live text (in all Acrobat versions)!!!

    hello
    I need to check many pdf for hidden/clipped text and remove them. Acrobat can find this BUT have bug.
    Acrobat mark some live visible text and this is problem if you click "remove" button.
    Here is evidence (6):

    It was strange in my copy of DC, but I selected the Redact tool and then remove hidden information. I highlighted the hidden info in both files, but then backed out, not doing the remove. When I tried again, the remove hidden tool was blocked. When I actually did the removal, those items were missing as you mentioned. I am not sure why they were listed as hidden since they were indeed visible. I am not really helping answer the problem, but confirming your results.
    Also, if you select remove hidden information when closing the document, you lose these fonts characters just as when using the Redact tool. I would agree that this is indeed an issue for a bug report. An earlier post provided the bug report link and I would suggest using it.

  • Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html

    Hi All,
    I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
    Can someone help me in this ...
    i) Can i configure my printer for this Mime-type , if yes then HOW?
    ii) Is there any work around ?
    Thank you all in advance :)

    I reposted this question in the Database forum. Admin can feel free to delete this thread.
    The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
    Thanks,
    T.
    Edited by: 855677 on May 3, 2011 9:35 AM

  • How to remove a text in browser: Some plug ins used by this page are out of date

    How to remove a text in browser: Some plug ins used by this page are out of date. It occur in every page when I surfing. I am aware that is a threat but when I tried to install an update of flash the userinit.dll file from windows registry had gone and I had to reset everything.

    a error during the flash update might be itself an indication of malware active on the pc. the browser is your door to the web - therefore it's very important to keep it and all plugins up to date in order to keep your pc & the integrity of your personal data safe.
    [https://www.mozilla.org/plugincheck/]

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Getting error "This file was removed" when trying to use sdk/test/httpd.

    Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line
    var { nsHttpServer } = require("sdk/test/httpd");
    I am getting following error:
    Message: Error: This file was removed. A copy can be obtained from:
    https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js
    As new to Add on development I am unable to resolve this issue.
    Thanks in advance.

    Apologies for redirecting you to a different site, but this forum primarily handles end-user support. For extension development advice, please try here: [https://forums.mozilla.org/viewforum.php?f=7 Extension Development - Mozilla Add-ons Forum].

Maybe you are looking for