com.groupdocs.conversion.options.load

Class WordsLoadOptions

  • All Implemented Interfaces:
    Cloneable


    public final class WordsLoadOptions
    extends LoadOptions

    Word document load options

    • Constructor Detail

      • WordsLoadOptions

        public WordsLoadOptions()

        Default constructor

    • Method Detail

      • getDefaultFont

        public final String getDefaultFont()

        Default font for Words document. The following font will be used if a font is missing.

        Returns:
      • setDefaultFont

        public final void setDefaultFont(String value)

        Default font for Words document. The following font will be used if a font is missing.

        Parameters:
        value -
      • getAutoFontSubstitution

        public final boolean getAutoFontSubstitution()

        If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.

        Returns:
      • setAutoFontSubstitution

        public final void setAutoFontSubstitution(boolean value)

        If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.

        Parameters:
        value -
      • getFontSubstitutes

        public final com.aspose.ms.System.Collections.Generic.IGenericList<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,String>> getFontSubstitutes()

        Substitute specific fonts when converting Words document.

        Returns:
      • getPassword

        public final String getPassword()

        Set password to unprotect protected document

      • setPassword

        public final void setPassword(String value)

        Set password to unprotect protected document

      • getHideWordTrackedChanges

        public final boolean getHideWordTrackedChanges()

        Hide markup and track changes for Word documents

      • setHideWordTrackedChanges

        public final void setHideWordTrackedChanges(boolean value)

        Hide markup and track changes for Word documents

      • getHideComments

        public final boolean getHideComments()

        Hide comments

      • setHideComments

        public final void setHideComments(boolean value)

        Hide comments