Package net.webpdf.wsclient.openapi
Class OperationUrlConverterFooter
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationUrlConverterFooter
-
public class OperationUrlConverterFooter extends Object
Defines the content that will be used as a footer. The content is passed in BASE64 encoded and contains HTML and (embedded) CSS code to position and format the footer. The footer can contain the variables `${html.pageNumber}` (page number), `${html.totalPages}` (total number of pages) and `${html.title}` (HTML head meta tag `<title>`). **Important:**The footer is not used for all file format conversions. The footer is not supported for file formats that already contain their own footer definition, such as Office formats. The footer defined here works only for HTML-based formats such as HTML files, emails, or template-based conversions (e.g. text formats). Example: ```html <p> <span style=\"font-size: 12px\">Page ${html.pageNumber} of ${html.totalPages} pages</span> </p> ```
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationUrlConverterFooter.SourceEnumSelects the data source for the hereby expressed resource.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SOURCEstatic StringJSON_PROPERTY_URIstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description OperationUrlConverterFooter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationUrlConverterFooter.SourceEnumgetSource()Selects the data source for the hereby expressed resource.@Nullable StringgetUri()The uri the data shall be located at.@org.jetbrains.annotations.Nullable byte[]getValue()Get valueinthashCode()voidsetSource(OperationUrlConverterFooter.SourceEnum source)voidsetUri(String uri)voidsetValue(byte[] value)OperationUrlConverterFootersource(OperationUrlConverterFooter.SourceEnum source)StringtoString()OperationUrlConverterFooteruri(String uri)OperationUrlConverterFootervalue(byte[] value)
-
-
-
Field Detail
-
JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
source
public OperationUrlConverterFooter source(OperationUrlConverterFooter.SourceEnum source)
-
getSource
@Nullable public @Nullable OperationUrlConverterFooter.SourceEnum getSource()
Selects the data source for the hereby expressed resource. Possible values are: * value = The element's value shall contain the BASE64 encoded data. * uri = The data shall be located at the given uri.- Returns:
- source
-
setSource
public void setSource(OperationUrlConverterFooter.SourceEnum source)
-
uri
public OperationUrlConverterFooter uri(String uri)
-
getUri
@Nullable public @Nullable String getUri()
The uri the data shall be located at. (This shall only have effect, if the \"source\" is \"uri\".)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
value
public OperationUrlConverterFooter value(byte[] value)
-
getValue
@Nullable public @org.jetbrains.annotations.Nullable byte[] getValue()
Get value- Returns:
- value
-
setValue
public void setValue(byte[] value)
-
-