PdfExtractor
סקירה כללית
PdfExtractor היא מחלקה ב-Aspose.PDF FOSS עבור C++.
PdfExtractor מחלץ טקסט על‑ידי קריאה ל-ExtractText() ולאחר מכן GetText(outputFile) לכתיבת הטקסט הפשוט שהוחלץ לקובץ.
מחלקה זו מספקת 24 שיטות לעבודה עם עצמים מסוג PdfExtractor בתוכניות C++. השיטות הזמינות כוללות: EndPage, ExtractAttachment, ExtractImage, ExtractText, ExtractTextMode, GetAttachNames, GetAttachment, GetAttachmentInfo, GetNextImage, GetNextPageText, GetText, HasNextImage, ו-6 שיטות נוספות. כל החברים הציבוריים נגישים לכל יישום C++ לאחר התקנת חבילת Aspose.PDF FOSS עבור C++.
שיטות
| חתימה | תיאור |
|---|---|
PdfExtractor() | קורא ל-PdfExtractor על מופע PdfExtractor זה. |
ExtractText() | קורא ל-ExtractText על מופע PdfExtractor זה. |
GetText(outputFile: std::string) | קורא ל-GetText(outputFile) על מופע PdfExtractor זה. |
HasNextPageText() → bool | מחזיר true אם הטקסט של העמוד הבא קיים. |
GetNextPageText(outputFile: std::string) | קורא ל-GetNextPageText(outputFile) על מופע PdfExtractor זה. |
ExtractImage() | קורא ל-ExtractImage על מופע PdfExtractor זה. |
HasNextImage() → bool | מחזיר true אם קיימת תמונה הבאה. |
GetNextImage(outputFile: std::string) → bool | קורא ל-GetNextImage(outputFile) על מופע PdfExtractor זה. |
GetAttachNames() → std::vector<std::string> | מחזיר את שמות הקבצים המצורפים. |
ExtractAttachment() | קורא ל-ExtractAttachment על מופע PdfExtractor זה. |
ExtractAttachment(attachmentFileName: std::string) | קורא ל-ExtractAttachment(attachmentFileName) על מופע PdfExtractor זה. |
GetAttachment(outputPath: std::string) | קורא ל-GetAttachment(outputPath) על מופע PdfExtractor זה. |
GetAttachmentInfo() → std::vector<Aspose::Pdf::FileSpecification> | מחזיר את פרטי הקובץ המצורף. |
StartPage() → int | מבצע קריאה ל-StartPage על מופע PdfExtractor זה. |
StartPage(value: int) | מבצע קריאה ל-StartPage(value) על מופע PdfExtractor זה. |
EndPage() → int | מבצע קריאה ל-EndPage על מופע PdfExtractor זה. |
EndPage(value: int) | קורא ל-EndPage(value) במופע PdfExtractor זה. |
ExtractTextMode() → int | קורא ל-ExtractTextMode במופע PdfExtractor זה. |
ExtractTextMode(value: int) | קורא ל-ExtractTextMode(value) במופע PdfExtractor זה. |
Resolution() → int | קורא ל-Resolution במופע PdfExtractor זה. |
Resolution(value: int) | קורא ל-Resolution(value) על המופע PdfExtractor הזה. |
Password() → std::string | קורא ל-Password על המופע PdfExtractor הזה. |
Password(value: std::string) | קורא ל-Password(value) על המופע PdfExtractor הזה. |
IsBidi() → bool | מחזיר true אם bidi מוגדר. |