ContentService

gitinsp.infrastructure.ContentService

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def docTemplate(num: Int, text: String): String

Format a document with a template

Format a document with a template

Value parameters

docNumber

The document number

text

The document text

Attributes

Returns

Formatted document

Definition Classes
override def toHtml(content: String): String

Format content as HTML with proper styling.

Format content as HTML with proper styling.

Value parameters

content

The plain text content to format

Attributes

Returns

HTML formatted string

Definition Classes
override def toPlainText(content: String): String

Format content as plain text with minimal formatting

Format content as plain text with minimal formatting

Value parameters

content

The content to format

Attributes

Returns

Plain text formatted string

Definition Classes