com.groupdocs.assembly

Class DocumentAssemblyOptions

  • java.lang.Object
    • com.groupdocs.assembly.DocumentAssemblyOptions


  • public final class DocumentAssemblyOptions
    extends java.lang.Object
    A utility class providing constants. Specifies options controlling behavior of DocumentAssembler while assembling a document.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ALLOW_MISSING_MEMBERS
      Specifies that missing object members should be treated as null literals by the assembler.
      static int INLINE_ERROR_MESSAGES
      Specifies that the assembler should inline template syntax error messages into output documents.
      static int length 
      static int NONE
      Specifies default options.
      static int REMOVE_EMPTY_PARAGRAPHS
      Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values.
      static int UPDATE_FIELDS_AND_FORMULAS
      Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents should be updated by the assembler.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int fromName(java.lang.String documentAssemblyOptionsName) 
      static java.lang.String getName(int documentAssemblyOptions) 
      static java.util.Set getNames(int documentAssemblyOptions) 
      static int[] getValues() 
      static java.lang.String toString(int documentAssemblyOptions) 
      • Methods inherited from class java.lang.Object

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

      • NONE

        public static final int NONE
        Specifies default options.
      • ALLOW_MISSING_MEMBERS

        public static final int ALLOW_MISSING_MEMBERS
        Specifies that missing object members should be treated as null literals by the assembler. This option affects only access to instance (that is, non-static) object members and extension methods. If this option is not set, the assembler throws an exception when encounters a missing object member.
      • UPDATE_FIELDS_AND_FORMULAS

        public static final int UPDATE_FIELDS_AND_FORMULAS
        Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents should be updated by the assembler.
      • REMOVE_EMPTY_PARAGRAPHS

        public static final int REMOVE_EMPTY_PARAGRAPHS
        Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values. At the moment, this option is supported only for templates of Word Processing, Presentation, and Email file formats.
      • INLINE_ERROR_MESSAGES

        public static final int INLINE_ERROR_MESSAGES
        Specifies that the assembler should inline template syntax error messages into output documents. If this option is not set, the assembler throws an exception when encounters a syntax error.
      • length

        public static final int length
    • Method Detail

      • getName

        public static java.lang.String getName(int documentAssemblyOptions)
      • getNames

        public static java.util.Set getNames(int documentAssemblyOptions)
      • toString

        public static java.lang.String toString(int documentAssemblyOptions)
      • fromName

        public static int fromName(java.lang.String documentAssemblyOptionsName)
      • getValues

        public static int[] getValues()