NiXPSObjects::NOFont Class Reference

#include "NOFont.h"

List of all members.

Public Member Functions

const NCommon::UTF8String getFileName ()
const NCommon::UTF8String getFontFamilyName ()
NCommon::UInt32 isRestricted ()
void writeToFile (const NCommon::UTF8String &destinationPath)
bool replaceWithFile (const NCommon::UTF8String &sourcePath)


Detailed Description

Class representing a font in an XPS package
Examples:

docexample_createpage.cpp.


Member Function Documentation

const NCommon::UTF8String NiXPSObjects::NOFont::getFileName (  ) 

Returns the filename of the font.

const NCommon::UTF8String NiXPSObjects::NOFont::getFontFamilyName (  ) 

Returns the family name of the font.

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.

void NiXPSObjects::NOFont::writeToFile ( const NCommon::UTF8String 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 ('/').

bool NiXPSObjects::NOFont::replaceWithFile ( const NCommon::UTF8String 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 ('/').


The documentation for this class was generated from the following files:
Generated on Thu Jan 24 10:37:58 2008 for NiXPS Library by  doxygen 1.5.3