public class NewpagedDiagram extends AbstractPSystem
Modifier and Type | Method and Description |
---|---|
net.sourceforge.plantuml.command.CommandExecutionResult |
executeCommand(net.sourceforge.plantuml.command.Command cmd,
java.util.List<java.lang.String> lines) |
net.sourceforge.plantuml.core.ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
java.lang.String |
getDescription() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
java.lang.String |
getWarningOrError() |
static NewpagedDiagram |
newpage(AbstractPSystem diagram,
AbstractPSystem empty) |
getMetadata, getSource, getTitle, hasUrl, isOk, makeDiagramReady, setSource
public static NewpagedDiagram newpage(AbstractPSystem diagram, AbstractPSystem empty)
public net.sourceforge.plantuml.command.CommandExecutionResult executeCommand(net.sourceforge.plantuml.command.Command cmd, java.util.List<java.lang.String> lines)
executeCommand
in class AbstractPSystem
public net.sourceforge.plantuml.core.ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
net.sourceforge.plantuml.core.Diagram
new page
for sequence diagram for example).os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to usejava.io.IOException
public int getNbImages()
net.sourceforge.plantuml.core.Diagram
getNbImages
in interface net.sourceforge.plantuml.core.Diagram
getNbImages
in class AbstractPSystem
public java.lang.String getDescription()
public java.lang.String getWarningOrError()
getWarningOrError
in interface net.sourceforge.plantuml.core.Diagram
getWarningOrError
in class AbstractPSystem