public interface TextInterpretationProperties
Modifier and Type | Field and Description |
---|---|
static int |
ADVANCED_HTML_TEXT
Constant for text interpretation.
|
static int |
HTML_TEXT
Constant for text interpretation.
|
static int |
PLAIN_TEXT
Constant for text interpretation.
|
static int |
RTF_TEXT
Constant for text interpretation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUrl()
Returns the currently set base URL for relative URLs.
|
FormulaField |
getBaseUrlFormula()
Returns the property formula set for the base URL property.
|
int |
getTextInterpretation()
Returns the type of text interpretation.
|
FormulaField |
getTextInterpretationFormula()
Sets the formula for the type of text interpretation.
|
void |
setBaseUrl(java.lang.String base)
Sets the base URL for relative URLs.
|
void |
setBaseUrlFormula(FormulaField newFormula)
Sets a property formula for the base URL property.
|
void |
setTextInterpretation(int interpretation)
Sets the type of text interpretation for the data of the field.
|
void |
setTextInterpretationFormula(FormulaField newFormula)
Sets the formula for the type of text interpretation.
|
static final int PLAIN_TEXT
static final int RTF_TEXT
static final int HTML_TEXT
RICH_HTML_TEXT
but the HTML features are limited For details of
implemented tags and attributes see the designer documentation.static final int ADVANCED_HTML_TEXT
int getTextInterpretation()
PLAIN_TEXT
,
RTF_TEXT
,
HTML_TEXT
void setTextInterpretation(int interpretation)
interpretation
- the new text interpretation to set. must be one of PLAIN_TEXT
, RTF_TEXT
, HTML_TEXT
or ADVANCED_HTML_TEXT
getTextInterpretation()
,
PLAIN_TEXT
,
RTF_TEXT
,
HTML_TEXT
FormulaField getTextInterpretationFormula()
null
if none has been setsetTextInterpretation(int)
,
getTextInterpretation()
,
setTextInterpretationFormula(com.inet.report.FormulaField)
,
PLAIN_TEXT
,
RTF_TEXT
,
HTML_TEXT
void setTextInterpretationFormula(FormulaField newFormula)
newFormula
- the formula to set for text interpretation or null
if no formula should be setsetTextInterpretation(int)
,
getTextInterpretation()
,
getTextInterpretationFormula()
,
PLAIN_TEXT
,
RTF_TEXT
,
HTML_TEXT
void setBaseUrl(java.lang.String base)
base
- Base URL to use for relative URLsDocument.StreamDescriptionProperty
java.lang.String getBaseUrl()
Document.StreamDescriptionProperty
void setBaseUrlFormula(FormulaField newFormula)
newFormula
- formula field for the property formula for the base URL property, or nullDocument.StreamDescriptionProperty
FormulaField getBaseUrlFormula()
Document.StreamDescriptionProperty
Copyright © 1999-2020 by i-net software GmbH