• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::FontInfo

Okular::FontInfo Class Reference

#include <fontinfo.h>

List of all members.


Detailed Description

A small class that represents the information of a font.

Definition at line 27 of file fontinfo.h.


Public Types

enum  FontType {
  Unknown, Type1, Type1C, Type1COT,
  Type3, TrueType, TrueTypeOT, CIDType0,
  CIDType0C, CIDType0COT, CIDTrueType, CIDTrueTypeOT
}
enum  EmbedType { NotEmbedded, EmbeddedSubset, FullyEmbedded }
typedef QList< FontInfo > List

Public Member Functions

 FontInfo ()
 FontInfo (const FontInfo &fi)
 ~FontInfo ()
QString name () const
void setName (const QString &name)
FontType type () const
void setType (FontType type)
EmbedType embedType () const
void setEmbedType (EmbedType type)
QString file () const
void setFile (const QString &file)
FontInfo & operator= (const FontInfo &fi)
bool operator== (const FontInfo &fi) const
bool operator!= (const FontInfo &fi) const

Member Typedef Documentation

typedef QList<FontInfo> Okular::FontInfo::List

Definition at line 30 of file fontinfo.h.


Member Enumeration Documentation

enum Okular::FontInfo::FontType

The possible kinds of fonts.

Enumerator:
Unknown 
Type1 
Type1C 
Type1COT 
Type3 
TrueType 
TrueTypeOT 
CIDType0 
CIDType0C 
CIDType0COT 
CIDTrueType 
CIDTrueTypeOT 

Definition at line 35 of file fontinfo.h.

enum Okular::FontInfo::EmbedType

The possible kinds of embed.

Enumerator:
NotEmbedded 
EmbeddedSubset 
FullyEmbedded 

Definition at line 54 of file fontinfo.h.


Constructor & Destructor Documentation

FontInfo::FontInfo (  ) 

Construct a new empty font info.

Definition at line 39 of file fontinfo.cpp.

FontInfo::FontInfo ( const FontInfo &  fi  ) 

Copy constructor.

Definition at line 44 of file fontinfo.cpp.

FontInfo::~FontInfo (  ) 

Destructor.

Definition at line 49 of file fontinfo.cpp.


Member Function Documentation

QString FontInfo::name (  )  const

Returns the name of the font.

Definition at line 53 of file fontinfo.cpp.

void FontInfo::setName ( const QString &  name  ) 

Sets a new name for the font.

Definition at line 58 of file fontinfo.cpp.

FontInfo::FontType FontInfo::type (  )  const

Returns the type of the font.

Definition at line 63 of file fontinfo.cpp.

void FontInfo::setType ( FontInfo::FontType  type  ) 

Change the type of the font.

Definition at line 68 of file fontinfo.cpp.

FontInfo::EmbedType FontInfo::embedType (  )  const

Returns the type of font embedding.

Definition at line 73 of file fontinfo.cpp.

void FontInfo::setEmbedType ( FontInfo::EmbedType  type  ) 

Sets the type of font embedding.

Definition at line 78 of file fontinfo.cpp.

QString FontInfo::file (  )  const

In case of not embedded font, returns the path of the font that represents this font.

Definition at line 83 of file fontinfo.cpp.

void FontInfo::setFile ( const QString &  file  ) 

Definition at line 88 of file fontinfo.cpp.

FontInfo & FontInfo::operator= ( const FontInfo &  fi  ) 

Definition at line 103 of file fontinfo.cpp.

bool FontInfo::operator== ( const FontInfo &  fi  )  const

Comparison operator.

Definition at line 93 of file fontinfo.cpp.

bool FontInfo::operator!= ( const FontInfo &  fi  )  const

Definition at line 98 of file fontinfo.cpp.


The documentation for this class was generated from the following files:
  • fontinfo.h
  • fontinfo.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal