public class EmbedFileOptions extends Object
Constructor and Description |
---|
EmbedFileOptions(String desc,
String relation)
Create an EmbedFileOptions object with the given description and relationship.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description of the embedded file
(to be saved in the embedded file specifications dictionary).
|
String |
getRelationship()
Gets the relationship of the embedded file in relation to the document
(to be saved in the embedded file specifications dictionary).
|
boolean |
isZugferdInvoice()
Returns a boolean indicating whether the embedded file is a ZUGFeRD invoice.
|
void |
setZugferdInvoice(boolean isZugferd)
Indicates if the embedded file is a ZUGFeRD invoice.
|
public EmbedFileOptions(String desc, String relation)
desc
- The description of the embedded filerelation
- The relationship of the embedded file relative to the documentpublic String getDescription()
public String getRelationship()
public void setZugferdInvoice(boolean isZugferd)
isZugferd
- true or falsepublic boolean isZugferdInvoice()