PTTextExtractor

@interface PTTextExtractor : NSObject
{


}




- (void)Begin: (PTPage*)page clip_ptr:  (PTPDFRect*)clip_ptr flags:  (unsigned int)flags;
- (void)SetOCGContext: (PTContext*)ctx;
- (int)GetWordCount;
- (void)SetRightToLeftLanguage: (BOOL)rtl;
- (BOOL)GetRightToLeftLanguage;
- (NSString *)GetAsText: (BOOL)dehyphen;
- (NSString *)GetTextUnderAnnot: (PTAnnot*)annot;
- (NSString *)GetAsXML: (unsigned int)xml_output_flags;
- (int)GetNumLines;
- (PTTextExtractorLine*)GetFirstLine;

- (instancetype)init;
@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)Begin: (PTPage*)page clip_ptr:  (PTPDFRect*)clip_ptr flags:  (unsigned int)flags;

    Swift

    func begin(_ page: PTPage!, clip_ptr: PTPDFRect!, flags: UInt32)
  • Undocumented

    Declaration

    Objective-C

    - (void)SetOCGContext: (PTContext*)ctx;

    Swift

    func setOCGContext(_ ctx: PTContext!)
  • Undocumented

    Declaration

    Objective-C

    - (int)GetWordCount;

    Swift

    func getWordCount() -> Int32
  • Undocumented

    Declaration

    Objective-C

    - (void)SetRightToLeftLanguage: (BOOL)rtl;

    Swift

    func setRightToLeftLanguage(_ rtl: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)GetRightToLeftLanguage;

    Swift

    func getRightToLeftLanguage() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)GetAsText: (BOOL)dehyphen;

    Swift

    func getAsText(_ dehyphen: Bool) -> String!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)GetTextUnderAnnot: (PTAnnot*)annot;

    Swift

    func getTextUnderAnnot(_ annot: PTAnnot!) -> String!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)GetAsXML: (unsigned int)xml_output_flags;

    Swift

    func getAsXML(_ xml_output_flags: UInt32) -> String!
  • Undocumented

    Declaration

    Objective-C

    - (int)GetNumLines;

    Swift

    func getNumLines() -> Int32
  • Undocumented

    Declaration

    Objective-C

    - (PTTextExtractorLine*)GetFirstLine;

    Swift

    func getFirstLine() -> PTTextExtractorLine!
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()