public static enum ReplaceTextStrategy.Scope extends Enum<ReplaceTextStrategy.Scope>
Scope where replace text operation is applied REPLACE_FIRST by default
Enum Constant and Description |
---|
ReplaceAll
Replace all text occurences on all affected pages
|
ReplaceFirst
Replace only first occurence of the text on each of affected pages
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ReplaceTextStrategy.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplaceTextStrategy.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplaceTextStrategy.Scope ReplaceFirst
Replace only first occurence of the text on each of affected pages
public static final ReplaceTextStrategy.Scope ReplaceAll
Replace all text occurences on all affected pages
public static ReplaceTextStrategy.Scope[] values()
for (ReplaceTextStrategy.Scope c : ReplaceTextStrategy.Scope.values()) System.out.println(c);
public static ReplaceTextStrategy.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2024 Aspose. All Rights Reserved.