Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIFontEnumerator Interface Reference

import "nsIFontEnumerator.idl";

Inheritance diagram for nsIFontEnumerator:
Inheritance graph
[legend]
Collaboration diagram for nsIFontEnumerator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void EnumerateAllFonts (out PRUint32 aCount,[retval, array, size_is(aCount)] out wstring aResult)
 Return a sorted array of the names of all installed fonts.
void EnumerateFonts (in string aLangGroup, in string aGeneric, out PRUint32 aCount,[retval, array, size_is(aCount)] out wstring aResult)
 Return a sorted array of names of fonts that support the given language group and are suitable for use as the given CSS generic font.
void HaveFontFor (in string aLangGroup,[retval] out boolean aResult)
wstring getDefaultFont (in string aLangGroup, in string aGeneric)
boolean updateFontList ()
 update the global font list return true if font list is changed

Detailed Description

Definition at line 43 of file nsIFontEnumerator.idl.


Member Function Documentation

void nsIFontEnumerator::EnumerateAllFonts ( out PRUint32  aCount,
[retval, array, size_is(aCount)] out wstring  aResult 
)

Return a sorted array of the names of all installed fonts.

Parameters:
aCountreturns number of names returned
aResultreturns array of names
Returns:
void
void nsIFontEnumerator::EnumerateFonts ( in string  aLangGroup,
in string  aGeneric,
out PRUint32  aCount,
[retval, array, size_is(aCount)] out wstring  aResult 
)

Return a sorted array of names of fonts that support the given language group and are suitable for use as the given CSS generic font.

Parameters:
aLangGrouplanguage group
aGenericCSS generic font
aCountreturns number of names returned
aResultreturns array of names
Returns:
void
wstring nsIFontEnumerator::getDefaultFont ( in string  aLangGroup,
in string  aGeneric 
)
Parameters:
aLangGrouplanguage group
aGenericCSS generic font
Returns:
suggested default font for this language group and generic family
void nsIFontEnumerator::HaveFontFor ( in string  aLangGroup,
[retval] out boolean  aResult 
)
Parameters:
aLangGrouplanguage group
Returns:
bool do we have a font for this language group

update the global font list return true if font list is changed


The documentation for this interface was generated from the following file: