#include "NOFont.h"
Inherits NiXPSObjects::NOPartBased.
Public Member Functions | |
NOFont (NOPackage *pPackage, NCommon::UInt16 pID) | |
const NCommon::UTF8String | getFileName () |
const NCommon::UTF8String | getFontFamilyName () |
const NCommon::UTF8String | getFontStyleName () |
NCommon::UInt32 | isRestricted () |
void | writeToFile (const NCommon::UTF8Char *destinationPath) |
bool | replaceWithFile (const NCommon::UTF8Char *sourcePath) |
bool | hasGlyphsFor (const NCommon::UTF8Char *pTextString) |
Class representing a font in an XPS package
NCommon::UInt32 NiXPSObjects::NOFont::isRestricted | ( | ) |
Returns wheter a font is restricted or not. A font is restricted when it's relationship in the XPS package indicates it as such.
bool NiXPSObjects::NOFont::replaceWithFile | ( | const NCommon::UTF8Char * | sourcePath | ) |
Replaces a font with the given file
sourcePath | An UTF8String with the path of the font file to add as a replacement. The path is seperated by forward slashes ('/'). |
void NiXPSObjects::NOFont::writeToFile | ( | const NCommon::UTF8Char * | destinationPath | ) |
Saves font to a file
destinationPath | An UTF8String with the path to write the file to. The path is seperated by forward slashes ('/'). |