diff options
Diffstat (limited to 'xmloff/source/style/XMLFontStylesContext.cxx')
-rw-r--r-- | xmloff/source/style/XMLFontStylesContext.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx index 29f480864a29..f6006aa60a88 100644 --- a/xmloff/source/style/XMLFontStylesContext.cxx +++ b/xmloff/source/style/XMLFontStylesContext.cxx @@ -267,6 +267,13 @@ void XMLFontStyleContextFontFaceUri::SetFormat( const OUString& rFormat ) { format = rFormat; } + +// the CSS2 standard ( http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#referencing ) +// defines these format strings. +const char* OPENTYPE_FORMAT = "opentype"; +const char* TRUETYPE_FORMAT = "truetype"; +const char* EOT_FORMAT = "embedded-opentype"; + void XMLFontStyleContextFontFaceUri::EndElement() { if( linkPath.getLength() == 0 ) |