com.aspose.words

Class EmphasisMark

  • java.lang.Object
    • com.aspose.words.EmphasisMark
public class EmphasisMark 
extends java.lang.Object

Utility class containing constants. Specifies possible types of emphasis mark.

Example:

Shows how to add additional character rendered above/below the glyph-character.
DocumentBuilder builder = new DocumentBuilder();

// Possible types of emphasis mark:
// https://apireference.aspose.com/words/net/aspose.words/emphasismark
builder.getFont().setEmphasisMark(emphasisMark);

builder.write("Emphasis text");
builder.writeln();
builder.getFont().clearFormatting();
builder.write("Simple text");

builder.getDocument().save(getArtifactsDir() + "Fonts.SetEmphasisMark.docx");

Field Summary
static final intNONE = 0
No emphasis mark.
static final intOVER_SOLID_CIRCLE = 1
Emphasis mark is a solid black circle displayed above text.
static final intOVER_COMMA = 2
Emphasis mark is a comma character displayed above text.
static final intOVER_WHITE_CIRCLE = 3
Emphasis mark is an empty white circle displayed above text.
static final intUNDER_SOLID_CIRCLE = 4
Emphasis mark is a solid black circle displayed below text.
 

    • Field Detail

      • NONE = 0

        public static final int NONE
        No emphasis mark.
      • OVER_SOLID_CIRCLE = 1

        public static final int OVER_SOLID_CIRCLE
        Emphasis mark is a solid black circle displayed above text.
      • OVER_COMMA = 2

        public static final int OVER_COMMA
        Emphasis mark is a comma character displayed above text.
      • OVER_WHITE_CIRCLE = 3

        public static final int OVER_WHITE_CIRCLE
        Emphasis mark is an empty white circle displayed above text.
      • UNDER_SOLID_CIRCLE = 4

        public static final int UNDER_SOLID_CIRCLE
        Emphasis mark is a solid black circle displayed below text.