Class QLPreviewItemEditingMode


  • public final class QLPreviewItemEditingMode
    extends java.lang.Object
    QLPreviewItem editing support
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long CreateCopy
      If QLPreviewController supports editing the file type of the preview item, it will notify its delegate that an edited copy was created.
      static long Disabled
      The item won't be editable.
      static long UpdateContents
      If QLPreviewController supports editing the file type of the preview item, it will automatically overwrite its contents with the edited version of the user.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Disabled

        public static final long Disabled
        The item won't be editable.
        See Also:
        Constant Field Values
      • UpdateContents

        public static final long UpdateContents
        If QLPreviewController supports editing the file type of the preview item, it will automatically overwrite its contents with the edited version of the user.
        See Also:
        Constant Field Values
      • CreateCopy

        public static final long CreateCopy
        If QLPreviewController supports editing the file type of the preview item, it will notify its delegate that an edited copy was created. The original document will be unchanged.
        See Also:
        Constant Field Values