|
@@ -446,15 +446,17 @@ extern NSNotificationName const CPDFViewPageChangedNotification;
|
|
|
* This method is about configuring of editing content.
|
|
|
*/
|
|
|
@property (nonatomic,retain) CPDFEditingConfig *editingConfig;
|
|
|
-
|
|
|
-@property (nonatomic,readonly) CEditingLoadType editingLoadType ;
|
|
|
+/**
|
|
|
+ * The properties of the editing modes: Edit text, edit images, edit text & images.
|
|
|
+ */
|
|
|
+@property (nonatomic,readonly) CEditingLoadType editingLoadType;
|
|
|
|
|
|
/**
|
|
|
* Begins editing content.
|
|
|
*/
|
|
|
- (void)beginEditingLoadType:(CEditingLoadType)editingLoadType;
|
|
|
/**
|
|
|
- * Change editing content.
|
|
|
+ * Change the editing modes.
|
|
|
*/
|
|
|
- (void)changeEditingLoadType:(CEditingLoadType)editingLoadType;
|
|
|
|
|
@@ -603,8 +605,38 @@ extern NSNotificationName const CPDFViewPageChangedNotification;
|
|
|
* Sets text transparency.
|
|
|
*/
|
|
|
- (BOOL)setCharsFontTransparency:(float)transparency;
|
|
|
-
|
|
|
+/**
|
|
|
+ * Get the opacity of image boxes or the last character of the text.
|
|
|
+ */
|
|
|
- (CGFloat)getCurrentOpacity;
|
|
|
+/**
|
|
|
+ * Get the font size of a certain range of text.
|
|
|
+ */
|
|
|
+- (CGFloat)editingSelectionFontSizeByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Get the font color of a certain range of text.
|
|
|
+ */
|
|
|
+- (CPDFKitPlatformColor *)editingSelectionFontColorByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Get the font name of a certain range of text.
|
|
|
+ */
|
|
|
+- (NSString *)editingSelectionFontNameByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Determine whether a certain range of text is italic.
|
|
|
+ */
|
|
|
+- (BOOL)isItalicCurrentSelectionByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Determine whether a certain range of text is bold.
|
|
|
+ */
|
|
|
+- (BOOL)isBoldCurrentSelectionByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Get the alignment of a certain range of text.
|
|
|
+ */
|
|
|
+- (NSTextAlignment)currentSelectionAlignmentByRangeEditArea:(CPDFEditTextArea *)editArea;
|
|
|
+/**
|
|
|
+ * Get the opacity of a certain range of text.
|
|
|
+ */
|
|
|
+- (CGFloat)opacityByRangeForEditArea:(CPDFEditArea *)editArea;
|
|
|
|
|
|
/**
|
|
|
* Gets the Edit supported font name.
|