com.aspose.note

Class NotebookSaveOptions

  • Direct Known Subclasses:
    NotebookSaveOptionsGeneric


    public abstract class NotebookSaveOptions
    extends Object

    An abstract base class which represents notebook saving options for a particular format.

    • Method Detail

      • getSaveFormat

        public abstract int getSaveFormat()

        Gets the format in which the notebook is saved.

      • getFlatten

        public boolean getFlatten()

        Gets or sets a value indicating whether the notebook children hierarchy is saved flattened.

      • setFlatten

        public void setFlatten(boolean value)

        Gets or sets a value indicating whether the notebook children hierarchy is saved flattened.

      • getDeferredSaving

        public boolean getDeferredSaving()

        Gets or sets a value indicating whether children documents should be saved explicitly.


        Default value is false, so child documents will be saved implicitly. Value true is indicating that user should save each notebook's child node explicitly. If notebook is saving to stream, the value is always true despite was explicitly set by user to false.
      • setDeferredSaving

        public void setDeferredSaving(boolean value)

        Gets or sets a value indicating whether children documents should be saved explicitly.


        Default value is false, so child documents will be saved implicitly. Value true is indicating that user should save each notebook's child node explicitly. If notebook is saving to stream, the value is always true despite was explicitly set by user to false.
      • getDocumentSaveOptionsInternal

        public abstract SaveOptions getDocumentSaveOptionsInternal()

        Gets the save options for all notebook's child documents.

        Returns:
        The SaveOptions.