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
This adds support for per-document
options, such as enabling/disabling
printing, copying, exporting, etc.
and adds the ability to set a watermark
and other security settings.
These option/settings can be modified
by the document owner. The document locking
logic is also included as a form option to
make it homogeneous with the others.
The options are hidden by default, in a collapsed
section. They are never shown to user without
the ability to modify them.
<FIELDNAME="collaboraid"TYPE="int"LENGTH="10"NOTNULL="true"SEQUENCE="false"COMMENT="The collabora instance this relates to"/>
33
33
<FIELDNAME="groupid"TYPE="int"LENGTH="10"NOTNULL="true"SEQUENCE="false"COMMENT="The group this document relates to"/>
34
-
<FIELDNAME="locked"TYPE="int"LENGTH="2"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="Has this document been locked as read-only?"/>
34
+
<FIELDNAME="locked"TYPE="int"LENGTH="2"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="Has this document been locked as read-only except to those with mod/collabora:editlocked?"/>
35
+
<FIELDNAME="watermark_text"TYPE="char"LENGTH="127"NOTNULL="false"SEQUENCE="false"COMMENT="The watermark to show on the document, if any."/>
36
+
<FIELDNAME="enable_owner_termination"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="When enabled, the document is closed for everyone when the owner closes the document."/>
37
+
<FIELDNAME="disable_print"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Disables printing the document."/>
38
+
<FIELDNAME="disable_export"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Disables exporting the document to different formats."/>
39
+
<FIELDNAME="disable_copy"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Disables copying text and other embedded elements from the document."/>
40
+
<FIELDNAME="enable_insert_remote_image"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Controls whether inserting remote images is allowed."/>
41
+
<FIELDNAME="disable_change_tracking_record"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Controls whether or not change-tracking is enabled."/>
42
+
<FIELDNAME="disable_change_tracking_show"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Controls whether or not change-tracking markers are visible."/>
43
+
<FIELDNAME="hide_change_tracking_controls"TYPE="int"LENGTH="1"NOTNULL="false"SEQUENCE="false"COMMENT="Controls whether or not change-tracking controls (to enable/disable and show/hide change-tracking) are visible."/>
0 commit comments