WordStyle

public struct WordStyle : Codable, Equatable

Microsoft Word styles to convert into a specified HTML head level.

  • HTML head level that content matching this style is tagged with.

    Declaration

    Swift

    public var level: Int?
  • Array of word style names to convert.

    Declaration

    Swift

    public var names: [String]?
  • Initialize a WordStyle with member variables.

    Declaration

    Swift

    public init(
        level: Int? = nil,
        names: [String]? = nil
    )

    Parameters

    level

    HTML head level that content matching this style is tagged with.

    names

    Array of word style names to convert.

    Return Value

    An initialized WordStyle.