Interface IFontProvider

All Known Implementing Classes:
FontProvider

public interface IFontProvider
This is a class that provides map of predefined and(or) user defined font styles. Each style defines a complete set of font properties.
  • Method Details

    • getStyleFonts

      Map<String,Font> getStyleFonts(Version version)
      Obtains map of predefined style fonts.
      Parameters:
      version - project runtime version, cannot be null
      Returns:
      the map (styled font name, font)
    • getStyleItemFonts

      Map<String,Font> getStyleItemFonts(IDtProject dtProject)
      Obtains map of style fonts, defined in StyleElementType.FONT type StyleItems.
      Parameters:
      dtProject - the dt-project, cannot be null
      Returns:
      the map (style item font name, font), defined in font type style items
    • getSystemFonts

      Map<String,Font> getSystemFonts(Version version)
      Obtains map of predefined system fonts.
      Parameters:
      version - project runtime version, cannot be null
      Returns:
      the map (system font name, font)
    • getStyleFontIds

      Map<CompositeId,Font> getStyleFontIds(Version version)
      Obtains map of predefined style font ids.
      Parameters:
      version - project runtime version, cannot be null
      Returns:
      the map (styled font id, font)
    • getStyleItemFontIds

      Map<CompositeId,Font> getStyleItemFontIds(IDtProject dtProject)
      Obtains map of style font ids, defined in StyleElementType.FONT type StyleItems.
      Parameters:
      dtProject - the dt-project, cannot be null
      Returns:
      the map (style item font id, font), defined in font type style items
    • getSystemFontIds

      Map<CompositeId,Font> getSystemFontIds(Version version)
      Obtains map of predefined system font ids.
      Parameters:
      version - project runtime version, cannot be null
      Returns:
      the map (system font id, font)