public class SdtAppearance
extends java.lang.Object
Examples:
Shows how to show tag around content.
Document doc = new Document(getMyDir() + "Multi-section structured document tags.docx");
StructuredDocumentTagRangeStart tag = (StructuredDocumentTagRangeStart) doc.getChild(NodeType.STRUCTURED_DOCUMENT_TAG_RANGE_START, 0, true);
if (tag.getAppearance() == SdtAppearance.HIDDEN)
tag.setAppearance(SdtAppearance.TAGS);
| Modifier and Type | Field and Description |
|---|---|
static int |
BOUNDING_BOX
Represents a structured document tag shown as a shaded rectangle or bounding box.
|
static int |
DEFAULT
Defaults to
BOUNDING_BOX. |
static int |
HIDDEN
Represents a structured document tag that is not shown.
|
static int |
length |
static int |
TAGS
Represents a structured document tag shown as start and end markers.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String sdtAppearanceName) |
static java.lang.String |
getName(int sdtAppearance) |
static int[] |
getValues() |
static java.lang.String |
toString(int sdtAppearance) |
public static int BOUNDING_BOX
public static int TAGS
public static int HIDDEN
public static int DEFAULT
BOUNDING_BOX.public static int length