Packages

class PdfTheme extends HtmlTheme

Linear Supertypes
HtmlTheme, Theme, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PdfTheme
  2. HtmlTheme
  3. Theme
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PdfTheme(global: Global)

Type Members

  1. type ResourceTemplate = Template1[HtmlSiteModel, play.twirl.api.TxtFormat.Appendable]
    Definition Classes
    HtmlTheme
  2. type Template = Template1[HtmlPageModel, play.twirl.api.HtmlFormat.Appendable]
    Definition Classes
    HtmlTheme

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addMathJaxResources(pc: HtmlPageContext): Option[(URI, Option[ConfigObject])]

    If MathJax is needed by the page, add all resources and return the resolved main script URI and inline config.

    If MathJax is needed by the page, add all resources and return the resolved main script URI and inline config.

    Definition Classes
    HtmlTheme
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def build: Unit

    The full pipeline for building the site.

    The full pipeline for building the site.

    Definition Classes
    Theme
  7. def buildAllPages: Vector[Page]

    Get all source pages and synthetic pages

    Get all source pages and synthetic pages

    Definition Classes
    Theme
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def createPageContext(siteContext: HtmlSiteContext, page: Page): HtmlPageContext
    Definition Classes
    HtmlTheme
  10. def createPageModel(pc: HtmlPageContext, renderer: HtmlRenderer): PdfPageModel
    Definition Classes
    PdfThemeHtmlTheme
  11. def createSearchIndex(site: Site): Unit
    Attributes
    protected
    Definition Classes
    HtmlTheme
  12. def createSiteContext(site: Site): HtmlSiteContext
    Definition Classes
    HtmlTheme
  13. def createSiteModel(pms: Vector[HtmlPageModel]): HtmlSiteModel
    Definition Classes
    PdfThemeHtmlTheme
  14. val defaultNoHighlightLanguages: Set[String]
    Definition Classes
    HtmlTheme
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getResourceTemplate(name: String): ResourceTemplate
    Definition Classes
    HtmlTheme
  20. def getTemplate(name: String): Template
    Definition Classes
    HtmlTheme
  21. val global: Global
    Definition Classes
    Theme
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. val indexPage: Option[String]
    Definition Classes
    HtmlTheme
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def logTime[T](msg: String)(f: ⇒ T): T
    Definition Classes
    Logging
  26. val logger: Logger
    Definition Classes
    Logging
  27. val mathJaxExclude: FileMatcher
    Definition Classes
    HtmlTheme
  28. val mermaidJS: String
    Definition Classes
    HtmlTheme
  29. val minifyCSS: Boolean
    Definition Classes
    HtmlTheme
  30. val minifyHTML: Boolean
    Definition Classes
    HtmlTheme
  31. val minifyJS: Boolean
    Definition Classes
    HtmlTheme
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def noHighlightLanguages(p: Page): Set[String]

    The language codes that should not be processed by a highlighter.

    The language codes that should not be processed by a highlighter.

    Definition Classes
    HtmlThemeTheme
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def pdfTargetDir: File
  37. def render(site: Site): Unit

    Render the site.

    Render the site. May create additional synthetic pages and copy resources on demand.

    Definition Classes
    PdfThemeHtmlThemeTheme
  38. def renderAttributedBlockQuote(n: AttributedBlockQuote, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  39. def renderAttributedHeading(pc: HtmlPageContext)(n: AttributedHeading, c: HtmlNodeRendererContext): Unit

    Render a heading with an ID.

    Render a heading with an ID. It can be overridden in subclasses as needed.

    Definition Classes
    PdfThemeHtmlTheme
  40. def renderCode(hlr: HighlightResult, code: Node, c: HtmlNodeRendererContext, pc: HtmlPageContext): Unit

    Render code that was run through the highlighter.

    Render code that was run through the highlighter. This method is called for all fenced code blocks, indented code blocks and inline code. It can be overridden in subclasses as needed.

    Definition Classes
    PdfThemeHtmlTheme
  41. def renderEmoji(pc: HtmlPageContext)(n: Emoji, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  42. def renderFencedCodeBlock(pc: HtmlPageContext)(n: AttributedFencedCodeBlock, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  43. def renderHighlitBlock(pc: HtmlPageContext)(n: HighlitBlock, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  44. def renderHighlitInline(pc: HtmlPageContext)(n: HighlitInline, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  45. def renderIndentedCodeBlock(pc: HtmlPageContext)(n: IndentedCodeBlock, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  46. def renderIndexBlock(pc: HtmlPageContext)(n: IndexBlock, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  47. def renderInlineCode(pc: HtmlPageContext)(n: Code, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  48. def renderInlineMath(pc: HtmlPageContext)(n: InlineMath, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  49. def renderMath(code: String, c: HtmlNodeRendererContext, pc: HtmlPageContext, mathType: String, block: Boolean): Unit

    Render a TeX math, MML or ASCIIMath block or inline element.

    Render a TeX math, MML or ASCIIMath block or inline element. The default implementation puts the code into a "script" element with the proper language code (which should be one of "tex", "asciimath" and "mml"). Inline elements get a preceding "MathJax_Preview" span element, for block elements this is created as a div and a "mode=display" annotation is added to the script.

    Definition Classes
    HtmlTheme
  50. def renderMathBlock(pc: HtmlPageContext)(n: MathBlock, c: HtmlNodeRendererContext): Unit
    Definition Classes
    HtmlTheme
  51. def renderMermaid(n: AttributedFencedCodeBlock, c: HtmlNodeRendererContext, pc: HtmlPageContext): Unit

    Render a Mermaid diagram block.

    Render a Mermaid diagram block. This does not add any dependency on Mermaid to the generated site. The method should be overwritten accordingly (unless a theme always adds it anyway).

    Definition Classes
    PdfThemeHtmlTheme
  52. def renderSpecialImageBlock(pc: HtmlPageContext)(n: SpecialImageBlock, c: HtmlNodeRendererContext): Unit

    This method should be overridden if specialImageSchemesBlock is used.

    This method should be overridden if specialImageSchemesBlock is used.

    Definition Classes
    HtmlTheme
  53. def renderSpecialImageInline(pc: HtmlPageContext)(n: SpecialImageInline, c: HtmlNodeRendererContext): Unit

    This method should be overridden if specialImageSchemesInline is used.

    This method should be overridden if specialImageSchemesInline is used.

    Definition Classes
    HtmlTheme
  54. def renderTabView(pc: HtmlPageContext)(n: TabView, c: HtmlNodeRendererContext): Unit

    Render a tab view.

    Render a tab view. The default implementation simply renders the content so that merged code blocks look no different than regular code blocks. Themes can override this method to render the actual tab view.

    Definition Classes
    PdfThemeHtmlTheme
  55. def renderTableBlock(n: TableBlock, c: HtmlNodeRendererContext): Unit
  56. def renderers(pc: HtmlPageContext): Seq[HtmlNodeRendererFactory]
    Definition Classes
    PdfThemeHtmlTheme
  57. def resolveResource(uri: URI): URI

    Resolve a resource URI to a source file location.

    Resolve a resource URI to a source file location. Resource URIs can use use the following protocols: file, site (static site resources), webjar (absolute WebJar resource), theme (relative to theme class), classpath (relative to classpath root), template (generated from template)

    Definition Classes
    Theme
  58. def specialImageSchemesBlock: Set[String]

    Extra image URI schemes to turn into SpecialImage nodes for rendering in block contexts

    Extra image URI schemes to turn into SpecialImage nodes for rendering in block contexts

    Definition Classes
    Theme
  59. def specialImageSchemesInline: Set[String]

    Extra image URI schemes to turn into SpecialImage nodes for rendering in inline contexts

    Extra image URI schemes to turn into SpecialImage nodes for rendering in inline contexts

    Definition Classes
    Theme
  60. val suffix: String
    Definition Classes
    HtmlTheme
  61. def suggestRelativePath(uri: URI): String

    Get a default relative path for a resource URI

    Get a default relative path for a resource URI

    Definition Classes
    Theme
  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def synthesizePages(missingSyntheticPages: Vector[(String, URI)]): Vector[Page]

    Synthesize configured synthetic pages pre-TOC.

    Synthesize configured synthetic pages pre-TOC. Not all requested pages have to be created but only the ones that are returned will be available for resolving the TOC.

    Definition Classes
    Theme
  64. def syntheticPageURIs: Vector[(String, URI)]

    Get synthetic page names and the mapped URIs for pages that should be created by the theme.

    Get synthetic page names and the mapped URIs for pages that should be created by the theme. Any pages that have to be created before resolving the TOC should be part of this.

    Attributes
    protected
    Definition Classes
    Theme
  65. def targetDir: File
    Definition Classes
    PdfThemeHtmlTheme
  66. def targetFile(uri: URI): File
    Definition Classes
    HtmlTheme
  67. val tc: Config
    Definition Classes
    HtmlTheme
  68. def toString(): String
    Definition Classes
    AnyRef → Any
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from HtmlTheme

Inherited from Theme

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped