You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|uiVisibilityMode| string | Used to set the UI visibility mode<br/>**automatic**: Toolbars at the top and bottom are automatically shown or hidden when tapping on the PDF page<br/>**always**: Toolbars are always visible <br/>**never**: Toolbars are never displayed|
102
102
103
103
##### **Constants**
104
104
@@ -114,7 +114,7 @@ Used to configure the initial display mode and supported modes when displaying a
114
114
{
115
115
"modeConfig": {
116
116
"initialViewMode": "viewer",
117
-
"readerOnly": false,
117
+
"uiVisibilityMode": "automatic",
118
118
"availableViewModes": [
119
119
"viewer",
120
120
"annotations",
@@ -141,6 +141,10 @@ Configure functions for the top toolbar in the PDF view.
141
141
| mainToolbarVisible | boolean | Whether to display the toolbar at the top of the main interface view. |
142
142
| annotationToolbarVisible | boolean | Shows or hides the annotation toolbar that appears at the bottom of the view when in annotation mode. |
143
143
| showInkToggleButton | boolean | Whether to display the toggle/slide and drawing state buttons in the upper-left corner when drawing ink annotations. |
144
+
| contentEditorToolbarVisible | boolean | Show or hide the bottom toolbar in content editing mode |
145
+
| formToolbarVisible | boolean | Show or hide the bottom toolbar in form mode |
146
+
| signatureToolbarVisible | boolean | Show or hide the bottom toolbar in signature mode |
147
+
||||
144
148
145
149
##### **Constants**
146
150
@@ -153,22 +157,27 @@ Configure functions for the top toolbar in the PDF view.
| themeMode | CPDFThemeMode | light | Set the view theme style, support `light`, `dark`, `system`, the default is `light` theme<br />**ComPDFKit SDK for Flutter:** => 2.0.2<br />Only Android Platform. |
794
803
| fileSaveExtraFontSubset | boolean | true | When saving a document, whether to save the used font set together with the document. |
795
-
| watermark | CPDFWatermarkConfig | { "saveAsNewFile" : true, <br />"outsideBackgroundColor: ""<br />} | The user can configure the watermark addition popup, allowing them to choose whether to save the watermark directly to the current document or save it to a different directory.<br>**true**: Save to a different directory<br>**false**: Add to the current document directly |
796
-
| signatureType | String | manual | Used to configure the default signing method when signing in the form field of CPDFReaderView.<br />Type:<br />* manual<br />* digital<br />* electronic |
797
-
| enableExitSaveTips | boolean | true \| false | When exiting, check if the document has been modified and prompt to save the document |
804
+
| watermark | CPDFWatermarkConfig || Watermark configuration when opening the Add Watermark view |
| enableErrorTips | boolean | true \| false | Whether to enable error prompts. For example, if a page cannot add a highlight annotation, setting this to false will prevent the prompt message from appearing. |
807
+
| signatureType | String | manual | Used to configure the default signing method when signing in the form field of CPDFReaderView.<br />Type:<br />* manual<br />* digital<br />* electronic |
808
+
| bota | CPDFBotaConfig || Used to configure the enabled feature types and menu options in the BOTA interface |
799
809
800
810
##### themeMode Constants
801
811
@@ -1040,15 +1050,13 @@ The context menu configuration in form mode displays different context menu opti
1040
1050
}
1041
1051
```
1042
1052
1043
-
1044
-
1045
1053
## Json Example
1046
1054
1047
1055
```json
1048
1056
{
1049
1057
"modeConfig": {
1050
1058
"initialViewMode": "viewer",
1051
-
"readerOnly": false,
1059
+
"uiVisibilityMode": "automatic",
1052
1060
"availableViewModes": [
1053
1061
"viewer",
1054
1062
"annotations",
@@ -1059,7 +1067,10 @@ The context menu configuration in form mode displays different context menu opti
1059
1067
},
1060
1068
"toolbarConfig": {
1061
1069
"mainToolbarVisible" : true,
1070
+
"contentEditorToolbarVisible" : true,
1062
1071
"annotationToolbarVisible" : true,
1072
+
"formToolbarVisible" : true,
1073
+
"signatureToolbarVisible" : true,
1063
1074
"showInkToggleButton": true,
1064
1075
"androidAvailableActions": [
1065
1076
"thumbnail",
@@ -1310,23 +1321,87 @@ The context menu configuration in form mode displays different context menu opti
0 commit comments