PdfContentEditor

PdfContentEditor

نظرة عامة

PdfContentEditor هي فئة في Aspose.PDF FOSS للـ C++.

PdfContentEditor.ReplaceText(srcText, destText) يبحث في المستند بأكمله ويستبدل السلاسل المتطابقة، ويعيد true عندما يحدث استبدال واحد على الأقل.

توفر هذه الفئة 22 طريقة للعمل مع كائنات PdfContentEditor في برامج C++. تشمل الطرق المتاحة: AddDocumentAdditionalAction, AddDocumentAttachment, ChangeViewerPreference, DeleteAttachments, DeleteImage, DeleteStamp, DeleteStampById, DeleteStampByIds, GetViewerPreference, HideStampById, MoveStamp, MoveStampById، و5 طرق إضافية. جميع الأعضاء العامين متاحين لأي تطبيق C++ بعد تثبيت حزمة Aspose.PDF FOSS للـ C++. طرق الوصول: DocumentClose, DocumentOpen, DocumentPrinted, DocumentSaved, DocumentWillPrint, DocumentWillSave.

طرق الوصول

اسمالنوعالوصولوصف
DocumentOpenstd::stringقراءة/كتابةيحصل أو يضبط فتح المستند.
DocumentClosestd::stringقراءة/كتابةيحصل أو يضبط إغلاق المستند.
DocumentWillSavestd::stringقراءة/كتابةيحصل أو يحدد المستند الذي سيتم حفظه.
DocumentSavedstd::stringقراءة/كتابةيحصل أو يعيّن المستند المحفوظ.
DocumentWillPrintstd::stringقراءة/كتابةيحصل أو يضبط ما سيطبعه المستند.
DocumentPrintedstd::stringقراءة/كتابةالحصول على أو تعيين المستند المطبوع.

الطرق

التوقيعوصف
PdfContentEditor()يستدعي PdfContentEditor على هذه المثيلة PdfContentEditor.
AddDocumentAttachment(path: std::string, description: std::string)يستدعي AddDocumentAttachment(path, description) على هذه المثيلة PdfContentEditor.
DeleteAttachments()يستدعي DeleteAttachments على هذا المثيل PdfContentEditor.
AddDocumentAdditionalAction(actionName: std::string, javaScript: std::string)يستدعي AddDocumentAdditionalAction(actionName, javaScript) على هذا المثيل PdfContentEditor.
RemoveDocumentOpenAction()يستدعي RemoveDocumentOpenAction على هذا الكائن PdfContentEditor.
ChangeViewerPreference(pageLayout: int)يستدعي ChangeViewerPreference(pageLayout) على هذا الكائن PdfContentEditor.
GetViewerPreference() → intيرجع تفضيل المشاهد.
ReplaceImage(pageNum: int, imageNum: int, fileName: std::string)يستدعي ReplaceImage(pageNum, imageNum, fileName) على هذا الكائن PdfContentEditor.
DeleteImage(pageNum: int, imageNum: std::vector<int>)يستدعي DeleteImage(pageNum, imageNum) على هذا الكائن PdfContentEditor.
DeleteImage()
ReplaceText(srcText: std::string, destText: std::string) → boolيبحث في المستند بأكمله ويستبدل السلاسل المتطابقة، ويعيد true عندما يحدث استبدال واحد على الأقل
ReplaceText(srcText: std::string, pageNum: int, destText: std::string) → boolيستدعي ReplaceText(srcText, pageNum, destText) على هذا الكائن PdfContentEditor.
ReplaceText(srcText: std::string, destText: std::string, pageNum: int) → boolيستدعي ReplaceText(srcText, destText, pageNum) على هذا المثيل PdfContentEditor.
DeleteStamp(pageNum: int, stampId: std::vector<int>)يستدعي DeleteStamp(pageNum, stampId) على هذا المثيل PdfContentEditor.
DeleteStampByIds(stampIds: std::vector<int>)يستدعي DeleteStampByIds(stampIds) على هذا الكائن PdfContentEditor.
DeleteStampByIds(pageNum: int, stampIds: std::vector<int>)يستدعي DeleteStampByIds(pageNum, stampIds) على هذا الكائن PdfContentEditor.
DeleteStampById(pageNum: int, stampId: int)يستدعي DeleteStampById(pageNum, stampId) على هذا الكائن PdfContentEditor.
DeleteStampById(stampId: int)يستدعي DeleteStampById(stampId) على هذا الكائن PdfContentEditor.
HideStampById(pageNum: int, stampId: int)يستدعي HideStampById(pageNum, stampId) على هذا الكائن من PdfContentEditor instance.
ShowStampById(pageNum: int, stampId: int)يستدعي ShowStampById(pageNum, stampId) على هذا الكائن من PdfContentEditor instance.
MoveStampById(pageNum: int, stampId: int, offsetX: double, offsetY: double)يستدعي MoveStampById(pageNum, stampId, offsetX, offsetY) على هذا الكائن من PdfContentEditor instance.
MoveStamp(pageNum: int, stampId: int, offsetX: double, offsetY: double)يستدعي MoveStamp(pageNum, stampId, offsetX, offsetY) على هذا الكائن من PdfContentEditor instance.

انظر أيضاً

 العربية