Perform text searching using the page information obtained from an IPageLayout.
More...
#include <jawsmako/text.h>
|
virtual | ~ITextSearch () |
virtual CFPointVectVect | search (const String &targetText, CEDLStringVect &found, bool caseSensitive, bool ignoreSpaces) const =0 |
| Return a collection of quadpoint data covering all found text. Each entry in the CFPointVectVect represents a unique search 'hit'.
|
virtual CFPointVectVect | search (const String &targetText, CEDLSysStringVect &found, bool caseSensitive, bool ignoreSpaces) const =0 |
| Return a collection of quadpoint data covering all found text. Each entry in the CFPointVectVect represents a unique search 'hit'.
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
Perform text searching using the page information obtained from an IPageLayout.
◆ ~ITextSearch()
virtual JawsMako::ITextSearch::~ITextSearch |
( |
| ) |
|
|
inlinevirtual |
◆ create()
Creation function for ITextSearch that performs text searching using page information obtained from an IPageLayout. Throws an IEDLError on failure.
- Parameters
-
factory | The EDL factory to use |
pageLayout | The page layout to use |
- Returns
- ITextSearchPtr The new text searcher
◆ search() [1/2]
Return a collection of quadpoint data covering all found text. Each entry in the CFPointVectVect represents a unique search 'hit'.
- Parameters
-
[in] | targetText | The text to search for. |
[out] | found | A vector of EDLString (wide char) to store the found text strings. |
[in] | caseSensitive | Whether the search should be case-sensitive. |
[in] | ignoreSpaces | Whether to ignore spaces in the search. |
- Returns
- CFPointVectVect A collection of quadpoint data covering all found text.
◆ search() [2/2]
Return a collection of quadpoint data covering all found text. Each entry in the CFPointVectVect represents a unique search 'hit'.
- Parameters
-
[in] | targetText | The text to search for. |
[out] | found | A vector of EDLSysString (UTF-8) to store the found text strings. |
[in] | caseSensitive | Whether the search should be case-sensitive. |
[in] | ignoreSpaces | Whether to ignore spaces in the search. |
- Returns
- CFPointVectVect A collection of quadpoint data covering all found text.
The documentation for this class was generated from the following file: