WarningSource

Overview

WarningSource is an enum in Aspose.Words FOSS for Java.

Specifies the module that produces a warning during document loading or saving.

Edition status of its 34 listed members (a property and its accessor methods are listed separately, overloads once): 34 not yet exercised by a verified example.

This enum declares 4 methods for WarningSource objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
UNKNOWNThe warning source is not specified.
LAYOUTModule that builds a document layout.
DRAWING_MLModule that renders DrawingML shapes.
OFFICE_MATHModule that renders OfficeMath.
SHAPESModule that renders ordinary shapes.
METAFILEModule that renders metafiles.
XPSModule that renders XPS.
PDFModule that renders PDF.
IMAGEModule that renders images.
DOCXModule that reads/writes DOCX files.
DOCModule that reads/writes binary DOC files.
TEXTModule that reads/writes plaintext files.
RTFModule that reads/writes RTF files.
WORD_MLModule that reads/writes WML files.
NRXCommon modules that are shared between DOCX/WML reader/writer modules.
ODTModule that reads/writes ODT files.
HTMLModule that reads/writes HTML/MHTML files.
VALIDATORModule that verifies model consistency and validity.
XAMLModule that reads/writes Xaml files.
SVMModule that reads Svm files.
MATH_MLModule that reads W3C MathML files.
FONTModule that reads font files.
SVGModule that reads SVG files.
MARKDOWNModule that reads/writes Markdown files.
CHMModule that reads CHM files.
EPUBModule that reads/writes EPUB files.
XMLModule that reads XML files.
XLSXModule that writes XLSX files.
DOCLINGModule that writes Docling JSON files.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of WarningSource values.

Methods

SignatureDescription
getName(warningSource: int) → StringReturns JAVA_STYLE string representation of integer WarningSource value.
toString(warningSource: int) → StringReturns DotNetStyle string representation of integer WarningSource value.
fromName(warningSourceName: String) → intReturns integer representation by WarningSource name.
getValues() → int[]Returns array of WarningSource values.

See Also