ThemeManager

This class is the responsible of replacing template variables

package

Docxpresso

subpackage

Themes

Methods

Construct

__construct(\Docxpresso\Themes\CreateDocument $doc, string $theme) 
access

public

Arguments

$doc

\Docxpresso\Themes\CreateDocument

$theme

string

path to the file that stores the theme CSS props

searches for a class name within a selector

_extractClassName( $selector) : string
access

public

Arguments

$selector

the selector name we want to parse

Response

string

checks for a single property

_extractSingleCSSRule( $selector) : string
access

public

Arguments

$selector

the selector we want to extract

Response

string

parses theme styles

_parseTheme() : string
access

public

Response

string

Properties

This array stores the class names used in the theme

CSSClasses : array
static
var
access

public

static

Type(s)

array

This array stores the preparsed CSS theme properties

CSSProps : array
static
var
access

public

static

Type(s)

array

The CSS associated with the selected theme

_CSS : string
var
access

private

Type(s)

string