Class DocumentStyleAPI
- java.lang.Object
-
- chemaxon.marvin.sketch.swing.modules.documentstyle.DocumentStyleAPI
-
@PublicAPI public class DocumentStyleAPI extends Object
API for DocumentStyle management.
-
-
Constructor Summary
Constructors Constructor Description DocumentStyleAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAvailableStyles()
Gets the list of available DocumentStyle namesString
getImageExportParameterStringForStyle(String name)
Creates a string used for Image Export, without format.
-
-
-
Method Detail
-
getAvailableStyles
public List<String> getAvailableStyles()
Gets the list of available DocumentStyle names- Returns:
- the style names as a list
-
getImageExportParameterStringForStyle
public String getImageExportParameterStringForStyle(String name)
Creates a string used for Image Export, without format. The returned string starts with a colon, append the returned value to a format string.- Parameters:
name
- the name of the style available fromgetAvailableStyles()
- Returns:
- the style as an image export parameter string
-
-