public final class FontEmbeddingOptions extends Object
Font embedding options control which font resources should be embedded into the output WordProcessing document
| Modifier and Type | Field and Description |
|---|---|
static int |
EmbedAll
Analize document content from input EditableDocument, find all used fonts
and embed them into output WordProcessing document.
|
static int |
EmbedWithoutSystem
Exact to
EmbedAll, but exclude those fonts,
which are treated by OS as system fonts |
static int |
NotEmbed
Do not embed any font resource neither from EditableDocument nor from the
system.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
getFontEmbeddingOptions() |
public static final int EmbedAll
Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing document. In the first place GroupDocs.Editor takes fonts from font resources within EditableDocument. If they are insufficient or missing, then GroupDocs.Editor takes fonts from OS.
public static final int EmbedWithoutSystem
Exact to EmbedAll, but exclude those fonts,
which are treated by OS as system fonts
EmbedAll
case, but finally reviews a set of obtained fonts and excludes those,
which are treated by OS as system fonts. This option resembles the "Embed
fonts in the file" + "Do not embed common system fonts" options in
Microsoft Word 2007 and higherpublic static final int NotEmbed
Do not embed any font resource neither from EditableDocument nor from the system. Default value.
Copyright © 2024. All rights reserved.