IPluginFont Struct Reference

Universal Document Shell Plugin Font interface. Through IPluginFont, caller can get/set font size and font family. More...

#include <plugin_font.h>

Inheritance diagram for IPluginFont:
Inheritance graph
[legend]

Data Fields

int(* get_font_size )(IPluginUnknown *thiz)
 Get the font size in point.
PluginStatus(* set_font_size )(IPluginUnknown *thiz, const unsigned int font_size)
 Set the font size in point.
PluginStatus(* get_font_family )(IPluginUnknown *thiz, UDSString *font_family)
 Get the font family.
PluginStatus(* set_font_family )(IPluginUnknown *thiz, const UDSString *font_family)
 Set the font family.

Detailed Description

Universal Document Shell Plugin Font interface. Through IPluginFont, caller can get/set font size and font family.

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 41 of file plugin_font.h.


Field Documentation

Get the font family.

Parameters:
thiz IPluginUnknown pointer to the object which implments IPluginFont.
font_family The output string of the font_family.
Returns:
TODO. Add return code here.

Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().

Get the font size in point.

Parameters:
thiz IPluginUnknown pointer to the object which implments IPluginFont.
Returns:
This function returns the font size in point.

Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().

Set the font family.

Parameters:
thiz IPluginUnknown pointer to the object which implments IPluginFont.
font_family The input string of the font_family which is going to be set.
Returns:
TODO. Add return code here.

Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().

PluginStatus(* IPluginFont::set_font_size)(IPluginUnknown *thiz, const unsigned int font_size)

Set the font size in point.

Parameters:
thiz IPluginUnknown pointer to the object which implments IPluginFont.
font_size The font size to be set.
Returns:
TODO. Add return code here.

Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208