pdftextfind-ag凯发旗舰厅



com.spire.pdf.general.find
class pdftextfind

java.lang.object
  extended by com.spire.pdf.general.find.pdftextfind

public class pdftextfind
extends java.lang.object

the class representing a result of searching designated text from pdf page.


constructor summary
pdftextfind()
           
pdftextfind(java.lang.string searchtext)
           
 
method summary
 void applyhighlight()
          apply hight light of the seached text
 void applyhighlight(java.awt.color highlightcolor)
          apply hight light of the seached text
 void applyrecoverstring(java.lang.string newvalue)
          apply hight light of the seached text
 void applyrecoverstring(java.lang.string newvalue, boolean unicode)
          apply hight light of the seached text,with unicode
 void applyrecoverstring(java.lang.string newvalue, java.awt.color backcolor, boolean unicode)
          apply hight light of the seached text,with unicode
 java.awt.geom.rectangle2d getbounds()
          gets the bounds of the searched text of this system.drawring rectanglef structure.
 java.lang.string getlinetext()
          gets all the text of the line where covers the searched text of this system.string structure .
 java.lang.string getmatchtext()
          gets match text of this system.string structure.
 java.lang.string getoutertext()
          gets text which is including the searched text of this system.string structure.
 java.awt.geom.point2d getposition()
          gets the position of the searched text of this system.drawing.pointf structure.
 pdfpagebase getsearchpage()
          gets page which is including the searched text of this spire.pdf.pdfpagebase structure.
 int getsearchpageindex()
          gets index of page which is including the searched text of this system.int32 structure.
 java.lang.string getsearchtext()
          gets search text of this system.string structure.
 java.awt.geom.dimension2d getsize()
          gets the size of the searched text of this system.drawring sizef structure.
 void setbounds(java.awt.geom.rectangle2d value)
          sets the bounds of the searched text of this system.drawring rectanglef structure.
 void setlinetext(java.lang.string value)
          sets all the text of the line where covers the searched text of this system.string structure .
 void setmatchtext(java.lang.string value)
          sets match text of this system.string structure.
 void setoutertext(java.lang.string value)
          sets text which is including the searched text of this system.string structure.
 void setposition(java.awt.geom.point2d value)
          sets the position of the searched text of this system.drawing.pointf structure.
 void setsearchpage(pdfpagebase value)
          sets page which is including the searched text of this spire.pdf.pdfpagebase structure.
 void setsearchtext(java.lang.string value)
          sets search text of this system.string structure.
 void setsize(java.awt.geom.dimension2d value)
          sets the size of the searched text of this system.drawring sizef structure.
 
constructor detail

pdftextfind

public pdftextfind(java.lang.string searchtext)

pdftextfind

public pdftextfind()
method detail

getsearchtext

public java.lang.string getsearchtext()
gets search text of this system.string structure.

setsearchtext

public void setsearchtext(java.lang.string value)
sets search text of this system.string structure.

getmatchtext

public java.lang.string getmatchtext()
gets match text of this system.string structure.

setmatchtext

public void setmatchtext(java.lang.string value)
sets match text of this system.string structure.

getoutertext

public java.lang.string getoutertext()
gets text which is including the searched text of this system.string structure.

setoutertext

public void setoutertext(java.lang.string value)
sets text which is including the searched text of this system.string structure.

getlinetext

public java.lang.string getlinetext()
gets all the text of the line where covers the searched text of this system.string structure .

setlinetext

public void setlinetext(java.lang.string value)
sets all the text of the line where covers the searched text of this system.string structure .

getsearchpage

public pdfpagebase getsearchpage()
gets page which is including the searched text of this spire.pdf.pdfpagebase structure.

setsearchpage

public void setsearchpage(pdfpagebase value)
sets page which is including the searched text of this spire.pdf.pdfpagebase structure.

getsearchpageindex

public int getsearchpageindex()
gets index of page which is including the searched text of this system.int32 structure.

getposition

public java.awt.geom.point2d getposition()
gets the position of the searched text of this system.drawing.pointf structure.

setposition

public void setposition(java.awt.geom.point2d value)
sets the position of the searched text of this system.drawing.pointf structure.

getsize

public java.awt.geom.dimension2d getsize()
gets the size of the searched text of this system.drawring sizef structure.

setsize

public void setsize(java.awt.geom.dimension2d value)
sets the size of the searched text of this system.drawring sizef structure.

getbounds

public java.awt.geom.rectangle2d getbounds()
gets the bounds of the searched text of this system.drawring rectanglef structure.

setbounds

public void setbounds(java.awt.geom.rectangle2d value)
sets the bounds of the searched text of this system.drawring rectanglef structure.

applyhighlight

public void applyhighlight()
apply hight light of the seached text

applyhighlight

public void applyhighlight(java.awt.color highlightcolor)
apply hight light of the seached text

applyrecoverstring

public void applyrecoverstring(java.lang.string newvalue)
apply hight light of the seached text

applyrecoverstring

public void applyrecoverstring(java.lang.string newvalue,
                               boolean unicode)
apply hight light of the seached text,with unicode
parameters:
newvalue -
unicode -

applyrecoverstring

public void applyrecoverstring(java.lang.string newvalue,
                               java.awt.color backcolor,
                               boolean unicode)
apply hight light of the seached text,with unicode
parameters:
newvalue -
backcolor -


网站地图