Klasse WeasyDoc
java.lang.Object
de.srsoftware.document.processor.FileProcessor
de.srsoftware.document.processor.weasyprint.WeasyDoc
- Alle implementierten Schnittstellen:
de.srsoftware.document.api.Document
PDF compiled from HTML via weasyprint
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungProvides the command for rendering using weasyprint.id()mimeType()software()Provides the name of the software used with the processor instanceprotected abstract de.srsoftware.document.api.Documentsource()the source code documenttimeout()the default timeout for the render processVon Klasse geerbte Methoden de.srsoftware.document.processor.FileProcessor
precursors, render, toStringVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden de.srsoftware.document.api.Document
name
-
Konstruktordetails
-
WeasyDoc
public WeasyDoc()create a new instance
-
-
Methodendetails
-
command
Provides the command for rendering using weasyprint. Defaults to: weasyprint [input filename] [output filename] Additional arguments can be added as String List in the value for the key "additional_args" of the data map.- Angegeben von:
commandin KlasseFileProcessor- Parameter:
data- context for the command creation- Gibt zurück:
- the weasyprint compile command
-
description
-
id
-
mimeType
-
software
Beschreibung aus Klasse kopiert:FileProcessorProvides the name of the software used with the processor instance- Angegeben von:
softwarein KlasseFileProcessor- Gibt zurück:
- a software string
-
source
protected abstract de.srsoftware.document.api.Document source()the source code document- Gibt zurück:
- the source code document
-
timeout
Beschreibung aus Klasse kopiert:FileProcessorthe default timeout for the render process- Setzt außer Kraft:
timeoutin KlasseFileProcessor- Gibt zurück:
- a duration of 10 seconds
-