How to find pdf  contain hide text?

I have attached screen shot to find hidden text using Examine Document.
I have raise so many question, still i am not get solution for problem.
can any one help me to find solution?
I need to find the hidden text is exist in PDF using SDK.

I used below code to extract text in pdf, due to hidden text some text is not extract.
if (startPg < 0 || endPg <0 || startPg > endPg || endPg > PDDocGetNumPages(pdDoc) - 1)
  AVAlertNote("Exceeding starting or ending page number limit of current document.");
  return false;
PDWordFinder pdWordFinder = NULL;
DURING
pdWordFinder = PDDocCreateWordFinderEx(pdDoc, WF_LATEST_VERSION, toUnicode, pConfig);
if (toUnicode) fprintf(pOutput, "%c%c", 0xfe, 0xff);
for (int i = startPg; i <= endPg; i++)
  PDWordFinderEnumWords(pdWordFinder, i, ASCallbackCreateProto(PDWordProc, &WordEnumProc), pOutput);
PDWordFinderDestroy(pdWordFinder);
E_RETURN(true);
HANDLER
char buf[256], errmsg[256];
sprintf(buf, "[ExtractText()]Error %d: %s",  ErrGetCode(ERRORCODE), ASGetErrorString(ERRORCODE, errmsg, sizeof(errmsg)));
AVAlertNote(buf);
if (pdWordFinder) PDWordFinderDestroy(pdWordFinder);
if( pOutput) fclose(pOutput);
return false;
END_HANDLER

Similar Messages

  • How to find out who's texting you from an iCloud email address?

    how to find out who's texting you from an icloud email address?

    OK after a bit of research I found a way to achieve this.
    I simply looked up the email address in ADUC, then did a search in SP with the display name. I could locate the list and manually confirm it was configured with the incoming email address I was looking for.
    I also found the below script on Stackoverflow, but got "The 'using' keyword is not supported in this version of the language." when I tried to run it. Any idea how to fix that? I'd like to have a script to link a library to an email address istead of the
    manual approach described above.
    http://stackoverflow.com/questions/4974110/sharepoint-how-do-i-find-a-mail-enabled-list-if-i-only-have-the-email
    $SiteCollection = ""
    $EmailAddress = "" # only the part before the @
    # Load SharePoint module if not done yet
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {Add-PSSnapin Microsoft.SharePoint.PowerShell;}
    cls
    using System;
    using Microsoft.SharePoint;
    namespace FindListByEmail
    class Program
    {a
    static void Main(string[] args)
    string siteUrl = $SiteCollection;
    string email = $EmailAddress;
    using (SPSite site = new SPSite(siteUrl))
    foreach (SPWeb web in site.AllWebs)
    try
    foreach (SPList list in web.Lists)
    if (list.CanReceiveEmail)
    if (list.EmailAlias != null && list.EmailAlias.Equals(email, StringComparison.InvariantCultureIgnoreCase))
    Console.WriteLine("The email belongs to list {0} in web {1}", list.Title, web.Url);
    Console.ReadLine();
    return;
    finally
    if (web != null)
    web.Dispose();

  • How to create pdf files with text field data

    how to create pdf files with text field data

    That looks like it should work, but it doesn't.
    I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
    I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
    I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
    Any ideas?

  • How to find the contain of @list_of_cols_val_tab_del

    Hi
    Could you please tellme how to find the contain of @list_of_cols_val_tab_del
    for a given table when we write a stored procedure in SBO_SP_TransactionNotification.
    Thanks
    Sanjaya

    The way I have handled is by inserting the values being passed to this SP to a temp table
    INSERT INTO TRANSNOTIFY VALUES (@object_type, @transaction_type, @num_of_cols_in_key, @list_of_key_cols_tab_del, @list_of_cols_val_tab_del)
    Use this script to create this table
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo\].[TRANSNOTIFY\](
         [ObjType\] [nvarchar\](20) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
         [TransType\] [nchar\](1) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
         [NumCols\] [int\] NULL,
         [KeyCols\] [nvarchar\](255) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
         [ColsVal\] [nvarchar\](255) COLLATE SQL_Latin1_General_CP850_CI_AS NULL
    ) ON [PRIMARY\]

  • How to find out all the text elements in the report using Java?

    How to trace the contents of an rpt file?
    I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
    Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
    My Java code to open a report is given below:
    import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
    import com.crystaldecisions.reports.sdk.ParameterFieldController;
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.data.Values;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public String viewRpt()
                   //1.) Setting Database Infos
                            IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
                   //2.) Setting Report Path
                   String reportPath=u201DE:
    was60
    rptFilesLocation
    u201D;
                   reportPath=(reportPath!=null)?                                             reportPath:AppConstants.CONSTANTS.BLANK;
                   String reportName="report1.rpt";
                   String reportFullPath = reportPath +   rptName;
                 //3.) Setting Report Source
                             ReportClientDocument reportClientDoc = new ReportClientDocument();
                                              reportClientDoc.open(reportPath, 0);
                  IReportSource reportSource = reportClientDoc.getReportSource();
                  setReportSource(reportSource);
                  reportClientDoc.close();
              //4.) Setting the Fields Starts
              setFieldsCrystal(null);
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter1");
              pfieldDV1.setValue(u201Cvalue1u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              pfield1 = new ParameterField();
              vals1 = new Values();
              pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter2");
              pfieldDV1.setValue(u201Cvalue2u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              setFieldsCrystal(fields);
              //Setting the Fields Ends
    The sample jsp code to view the report is as follows:
    <%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
         prefix="bocrv"%>
    <bocrv:reportPageViewer viewerName="CrystalViewer"
                                                 reportSource="#{CrystalReportBeanObject.reportSource}"
                                                 displayToolbarRefreshButton="false"
                                                 allowDatabaseLogonPrompting="false"
                                                 allowParameterPrompting="false"
                                                 databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
                                                 parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
                                                 displayGroupTree="false" displayToolbarLogo="false"
                                                 displayToolbarToggleTreeButton="false"
                                                 enablePageToGrow="false" height="540"
                                                 zoomPercentage="100" width="750"
                                                 allowDrillDown="false"
                                                 displayToolbarPrintButton="true"
                                                 printMode="PDF"
                                                 ></bocrv:reportPageViewer>
    Edited by: JayKumarSharma on Mar 23, 2011 12:42 PM

    This is how you retrieve all the text fields in the reort:
    ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
    for(int i=0; i< reportObjects.size();i++)
    ITextObject textObject = (ITextObject)reportObjects.get(i);
    // use ReportObjectController to modify the text object.
    If you want to modify the contents of the text element, you can do it as follows:
    TextObject oTextObject = new TextObject();
    Paragraphs oParagraphs = new Paragraphs();
    Paragraph oParagraph = new Paragraph();
    ParagraphElements oParagraphElements = new ParagraphElements();
    ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
    oParagraphTextElement.setText("This is the new text field");
    oParagraphTextElement.setKind(ParagraphElementKind.text);
    oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
    oReportClientDocument.save();

  • How to find unassigned master data text objects in process chain in bi

    Hi
    Please let me know how to find the unassigned master data text objects in process chain.

    hi,
    actually if u want to find that , is ur Unassigned Infoobject in present in process chain or not, , that u can find out just by right
    click on your DTP (master data Txt datasource--> Master data text ), if this is present in Process chain, then on ryt click, the process chain option will be active. by clicking over that u can find the name in which this exists.
    thanks.

  • How to find and replace certain text in Excel.

    I am new to Automator. And I would like some help how I can create a service that will allow me to find and replace certain text in Excel. I noticed that there is an action to do this for Word documents, but not for Excel documents.
    Any suggestions how I can do this?
    Thanks so much for your help.

    Marga,
    I think the best place to ask about Office for Mac would be in the MS forums.
    Jerry

  • How to check pdf contain hidden object?

    can any one help me to find the pdf contain hidden object or not.
    I try below code, its not working
    PDETextState objPDETextState;
    PDEText aotextObject;
    memset(&objPDETextState, 0,sizeof(PDETextState));
    aotextObject = (PDEText)aoPageElements;
    PDETextGetTextState(aotextObject,kPDETextRun,0,&objPDETextState,sizeof (PDETextState));
    if(objPDETextState.renderMode == kPDETextInvisible)
    AVAlertNote("Invisible");

    As per our discuss, I have attached screen shot and PDF.
    http://www.megafileupload.com/en/file/457275/ASV-BIF-20130828-014-pdf.html

  • How to find the container in goods receipt table

    hi,
    how to find the number of containers with respect to each material document. After posting the material document the number of containers cannot stored in MSEG or MKPF table. i can able to find only in QALS table  but how to link the material document and inspection lot.
    Thanks
    Muthuraman.D

    Hi Muthuraman,
    Can you check this bapi BAPI_INSPLOT_GETLIST.In this bapi there is a different selection criteria like material,material document no and all. I think you can use this for your report. Check this and post if need help.
    Regards,
    Madhu.

  • How to find out height of text, given width?

    Hello, I apologize in advance for this must be a stupid question, but I just can't seem to find an answer in the docs...
    If I have a text (string + font information), and I know how wide the display will be, how do I find the height??
    The solution I know of (adapted from camickr code), works, is a hack using a phantom JFrame - see the method showHeight. This is the kind of code that my first college programming professor would call "Mark, your code is ugly and miserable". How to do this right? (or is this the only way)
    import java.awt.*;
    public class Foo
         public static void main(String[] args)
              showHeight("FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR ", new Font("Arial", Font.BOLD, 12), 100);
         public static void showHeight(String s, Font f,  int width)
              JFrame frame = new JFrame();
              JTextPane txt = new JTextPane();
              Rectangle r = null;
              txt.setFont(f); 
              txt.setText(s);
              Dimension dim = txt.getPreferredSize();
              frame.setContentPane(txt);
              dim.width = width;
              txt.setPreferredSize(dim);
              frame.pack();
              try
                   r = txt.modelToView(txt.getDocument().getLength());
              catch (Exception exc)
              System.out.println("height is " + (r.y + r.height));
    }

    This is not a trivial problem
    To start with, you definitely need to know
    #1 What Font (family, size, style) are you using? This is assuming you are just using 1 font. More than 1 font makes it much much more complicated.
    #2 How are you doing line breaks? Are you doing line breaks just on whitespace characters, or on any character?
    Now you need to find out how many lines there are going to be. Start by getting the FontMetrics for the Font. You should use getCharWidth('W') or getCharWidth('0') to get a rough estimate of how many characters any line can contain. Then you need to go through your text and figure out how many lines there are, not using the guess you calculated above, but using FontMetrics.stringWidth()

  • How to find PDF files that have other documents bundeled within them?

    Hello guys
    I need help with the following: we have a huge number of PDF files that have other documents imbedded (bundled, attached) in them. If such a document is open in Acrobat, bundled files show up as attachments on the left. Some of those attachements are .mdi files. This is Microsoft Document Images files. Is there a way to flag PDF's that have those .mdi files in them? I need to find them and convert to PDF. If I need to be more descriptive please ask, and thank you in advance for help.

    Preflight is a complex plugin, it's hard to explain how to use it in one forum post. You need to read the documentation carefully.
    There's no pre-built profile for what you want, so you would first create a new Custom Check that compares the MIME type string of embedded files to what you're searching for (not the file extension but the full MIME identifier, which for Office files is a very long string). You would then place that new Custom Check into a new Profile, identifying it as an error condition. Once you've saved the Profile you can run it against a number of files and specify actions to be taken for pass and fail conditions, such as changing the filename or moving to a subfolder.

  • How to find the languages of text elements.

    Hi,
    I wanted to know for a object(ex:report,prog),in how many languages text elements are maintained.
    In which table we find hte info.
    Appreciate your inputs.
    Regards,
    Ram

    Hello,
    In you report/object go to the menu GO TO->Translation select any language and in the translation screen go to the menu Go to -> Display All Available Languages . Will be showed all languages that the object is translated until now.
    Regards.

  • How to find largest number from text file

    I am using the "Read from text file" block to read the data from my .txt file into labview.  It is now in string format.  I have many numbers in the file.  
    For example:
    0.45
    0.35
    0.12
    1.354
    1.56
    2.89
    5.89
    0.56
    That is what a text file might look like.  I want to find which of these numbers is largest, and do calculations with that number.  I am having trouble with strings/number formats/arrays, etc.  Thanks
    Solved!
    Go to Solution.

    The spreadsheet functions and VIs typically work on strings representing numbers separated by delimiters.  This is a typical way to save a "spreadsheet" (of numbers) to a text file, for example .csv files.  These are quite versatile and powerful functions.  Spend a bit of time becoming familiar with them because you may find yourself using them a lot.
    Lynn

  • How to find and replace the text present in the url

    I have a column of type NCLOB with some text having url's in between as shown below:
    ========================================================================
    This text is for testign purpose.This text is for testign purpose.
    <A PL/SQL <U PL/SQL </U> </A>
    Thsi text is also for testign purpose.This text is for testign purpose.
    <A http://forums.oracle.com> <U oracle metalink> </U> </A>
    This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.
    ========================================================================
    Requirement:
    ========
    Requirement is to implement the find and replace functionality.
    I just need to check whether the search text is present in the url or not?
    Suppose if search for orcale.com, since its part of the url so the search should be successful otherwise search should be unsuccessful.
    Here I can give you the hint like, always the url lies between the anchor tags *(<A </A>).*
    Tahnks in Advance.

    I had I think a similiar question the other day thay I Frank and Michaels answered for me.
    not sure if I totally have what you want but.
    WITH t
            AS (SELECT '<A PL/SQL <U PL/SQL Thsi text is also for testign purpose.This text is for testign purpose.
    <A http://forums.oracle.com> This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.
                          txt
                  FROM DUAL)
    SELECT REGEXP_SUBSTR (REGEXP_REPLACE (txt, '(.*<A)|(</A>.*)'), 'oracle.com')
      FROM tthe first part the regexp replace part gets the text between a start and end point you mentioned that would be <A and </A>
    the regexp substr just looks for the phrase oracle.com in the text between those two points.
    Edited by: pollywog on Oct 6, 2010 8:26 AM

  • Exporting pdf containing Unicode text

    I tried to covert a pdf with unicode (Urdu language) text into MS Word.  It produced all garbage. . . Any ideas?

    Check FAQ for supported languages.

Maybe you are looking for

  • DW CS4 Horizontal Spry drop down menu not displaying correctly in Internet Explorer 8

    Hi, I have created a horizontal Spry drop down menu in Dreamweaver CS4 with my own background images. I have done various modifications to the CSS script to accommodate the style and feel needed; including making the main buttons' height twice the si

  • Connect macbook to a sony trinitron

    i would like to connect my 2008 macbook to my sony trinitron model kv24fs120 (has white, red & white and s video) and use this tv as monitor. how can i do this? thank you

  • Home/End Keys don't work

    Hi, all, I've started having a problem with my home and end keys... they just don't do anything at all. Another user works fine, but my main account doesn't like them for whatever reason. Any idea what I can do to troubleshoot this?

  • Connection Refused: Connect

    Hello again, we installed our Portal with: Windows 2003 + SQL Server SAP J2EE PL23 EP6.0 and Patch 2 (us told in docs) our problem is that when we tried to logon to our portal with sap* user nothing appears !!!! The inicialization of our system seems

  • AP and IP pool allocation.

    Hi all, could someone explain me how and in which phase AP allocate IP address from DHCP pool for authenticated client? We have many APs configured with WPA and radius authent. but I dont know where it is said that AP should alocate IP address from c