public class InsertOverprintOptions extends Model
InsertOverprintOptions()
. Model.parse(String[],MessageReceiver)
has_[X]()
. get_[X]_[n]()
. get_[X]_[n](k)
. If anything went wrong in parsing, errors
have been sent to the MessageReceiver
.
Then further analysis methods can be applied (Model.getParsingProtocol()
, #getMissingOptions()
, Model.usage()
, etc.)
For further details. please see the
documentation of the methods inherited from the superclass Model
and the option
compiler's user documentation.
Here is the source text.
There have been description texts only in one language, namely en.
The usage()
method will show this screen:
====== USAGE: ====== -0 / --inputfile uri(="") input file -1 / --outputfile uri(="") output file -t / --text ( string(="") )+ text to overprint on each page -a / --angle int(=65) angle of overprinted text -g / --grayvalue float(=0.9) grey value used for overprinted text
Modifier and Type | Class and Description |
---|---|
class |
InsertOverprintOptions.Descriptions
Programmatically generated catalog of translations.
|
class |
InsertOverprintOptions.Values_text
One instance realizes one repeated argument group of option
text . |
Model.ExcDuplicate, Model.ExcFinish, Model.ExcNoData, Model.ExcNoData_allowed, Model.ExcUnknownOpt, Model.ExcWrongType, Model.Pre20220613, Model.SeemsToWorkForLinuxAndSomeWindowsVersions20220613
Modifier and Type | Field and Description |
---|---|
protected boolean |
has_angle |
protected boolean |
has_grayvalue |
protected boolean |
has_inputfile |
protected boolean |
has_outputfile |
protected boolean |
has_text |
protected List<InsertOverprintOptions.Values_text> |
repvalues_text |
Function<InsertOverprintOptions.Values_text,String> |
serialize_text |
protected int |
value_angle_0 |
protected double |
value_grayvalue_0 |
protected String |
value_inputfile_0 |
protected String |
value_outputfile_0 |
boolresult, curArg, curArgGroup, curOption, descriptions, dummyRat, hasNonMetaOptions, inputlength, inputstring, matcher, messages, nextAbbrev, nextArgToken, nextName, optTokenValid, p_argRAUS, p_hideblanks, p_option, p_rest, parseErrorGenerator, positionalPhase, positionalsExplicit, positionalsFound, protocol, shellAdapter
Constructor and Description |
---|
InsertOverprintOptions() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalCheck()
Callback, overridden by compiled code.
|
String |
_getMissingOptions() |
String |
_getRedundantOptions() |
protected void |
checkActive()
The generated code will evaluate all conditions to activate/deactive
options in the GUI.
|
int |
get_angle_0()
Getter method for the only argument of option
angle . |
double |
get_grayvalue_0()
Getter method for the only argument of option
grayvalue . |
String |
get_inputfile_0()
Getter method for the only argument of option
inputfile . |
String |
get_outputfile_0()
Getter method for the only argument of option
outputfile . |
String |
get_text_0(int index)
Getter method for the only repeated argument of option
text . |
List<InsertOverprintOptions.Values_text> |
get_text()
Getter method for all repetition groups of option
text . |
boolean |
has_angle()
Deprecated.
|
boolean |
has_grayvalue()
Deprecated.
|
boolean |
has_inputfile()
Deprecated.
|
boolean |
has_outputfile()
Deprecated.
|
boolean |
has_text()
Deprecated.
|
InsertOverprintOptions |
makeDefaultInstance()
Overriden by the generated code to make a constructor call of the actual
Model (sub-)class.
|
protected int |
numberOfPositionals() |
protected void |
parseAbbrev(String select)
Callback, overridden by compiled code, which realizes a switch over all one character
option names.
|
protected void |
parseName(String select)
Callback, overridden by compiled code, which realizes a switch over all long
option names.
|
protected void |
parsePositionals()
Callback, overridden by compiled code, which calls one after the other
the positional parameters.
|
String |
serialize()
Called to generate a String representation of the model's state.
|
void |
usage_en()
Print usage information in the language 'en' on System.err.
|
void |
usage_en(PrintStream pr)
Print usage information in the language 'en'.
|
void |
usage(PrintStream pr)
Print usage information in the default language.
|
void |
usage(PrintStream pr,
String lang)
Print usage information in the requested language.
|
_getMissingParams, ARG_ERROR, canReenterRepetitionGroup, descriptionKeyForCommentField, descriptionKeyForEnum, descriptionKeyForEnum, descriptionKeyForEnumItem, ERROR_plus, ERROR_UNKNOWN_ABBREV, ERROR_UNKNOWN_NAME, ERROR, ERROR, getInputString, getMissingParams, getNextArgToken, getOptToken, getParsingProtocol, lookForArgToken, parse, parseBool_optional, parseBool_X, parseBool, parseChar, parseEnum, parseEnumSet, parseFloat, parseInit, parseInt_16or10, parseInt, parseOneString, parseOneUri, parseRational, parseString, putprot_option, putprot, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize, skipToOption, T_ERROR, updateOptTokens, usage, usage, WARNING
protected boolean has_inputfile
protected String value_inputfile_0
protected boolean has_outputfile
protected String value_outputfile_0
protected boolean has_text
protected List<InsertOverprintOptions.Values_text> repvalues_text
public final Function<InsertOverprintOptions.Values_text,String> serialize_text
protected boolean has_angle
protected int value_angle_0
protected boolean has_grayvalue
protected double value_grayvalue_0
public InsertOverprintOptions makeDefaultInstance()
Model
makeDefaultInstance
in class Model
protected void checkActive()
Model
checkActive
in class Model
@Deprecated public boolean has_inputfile()
get_inputfile_0()
.public String get_inputfile_0()
inputfile
.
-0 / --inputfile uri(="")
@Deprecated public boolean has_outputfile()
get_outputfile_0()
.public String get_outputfile_0()
outputfile
.
-1 / --outputfile uri(="")
@Deprecated public boolean has_text()
get_text()
.public List<InsertOverprintOptions.Values_text> get_text()
text
.
-t / --text ( string(="") )+
public String get_text_0(int index)
text
.
For details of this option see the method get_text()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_angle()
get_angle_0()
.public int get_angle_0()
angle
.
-a / --angle int(=65)
@Deprecated public boolean has_grayvalue()
get_grayvalue_0()
.public double get_grayvalue_0()
grayvalue
.
-g / --grayvalue float(=0.9)
public String serialize()
Model
public void usage(PrintStream pr)
public void usage(PrintStream pr, String lang)
public void usage_en()
public void usage_en(PrintStream pr)
protected void parseAbbrev(String select)
Model
parseAbbrev
in class Model
select
- the one-character option name, as parsed by this code.protected void parseName(String select)
Model
protected int numberOfPositionals()
protected void parsePositionals()
Model
parsePositionals
in class Model
protected void _finalCheck()
Model
_finalCheck
in class Model
public String _getMissingOptions()
public String _getRedundantOptions()
see also the complete user documentation .