NiXPSObjects::NOFont Class Reference

#include "NOFont.h"

Inherits NiXPSObjects::NOPartBased.

List of all members.

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)

Detailed Description

Class representing a font in an XPS package


Member Function Documentation

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

Parameters:
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

Parameters:
destinationPath An UTF8String with the path to write the file to. The path is seperated by forward slashes ('/').

The documentation for this class was generated from the following files:

Generated on Fri Nov 13 18:23:22 2009 for NiXPS Library SDK by  doxygen 1.6.1