Table of Contents

Class CssQuotes

Namespace
iText.StyledXmlParser.Css.Resolve
Assembly
itext.styledxmlparser.dll

Helper class to deal with quoted values in strings.

public class CssQuotes
Inheritance
CssQuotes
Inherited Members

Methods

CreateDefaultQuotes()

Creates the default CssQuotes instance.

public static CssQuotes CreateDefaultQuotes()

Returns

CssQuotes

the CssQuotes instance

CreateQuotes(string, bool)

Creates a CssQuotes instance.

public static CssQuotes CreateQuotes(string quotesString, bool fallbackToDefault)

Parameters

quotesString string

the quotes string

fallbackToDefault bool

indicates whether it's OK to fall back to the default

Returns

CssQuotes

the resulting CssQuotes instance

ResolveQuote(string, AbstractCssContext)

Resolves quotes.

public virtual string ResolveQuote(string value, AbstractCssContext context)

Parameters

value string

the value

context AbstractCssContext

the CSS context

Returns

string

the quote string