Class DocumentStyleAPI

java.lang.Object
chemaxon.marvin.sketch.swing.modules.documentstyle.DocumentStyleAPI

@PublicAPI public class DocumentStyleAPI extends Object
API for DocumentStyle management.
  • Constructor Details

    • DocumentStyleAPI

      public DocumentStyleAPI()
  • Method Details

    • 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 from getAvailableStyles()
      Returns:
      the style as an image export parameter string