[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Classes | Public Member Functions | Public Attributes | List of all members
KLFStyle Struct Reference

A Formula Style (collection of properties) More...

#include <klfstyle.h>

Collaboration diagram for KLFStyle:
Collaboration graph
[legend]

Classes

struct  BBoxExpand
 a structure memorizing parameters for bbox expansion More...
 

Public Member Functions

 KLFStyle (QString nm=QString(), unsigned long fgcol=qRgba(0, 0, 0, 255), unsigned long bgcol=qRgba(255, 255, 255, 0), const QString &mmode=QString(), const QString &pre=QString(), int dotsperinch=-1)
 
 KLFStyle (const KLFBackend::klfInput &input)
 
 KLFStyle (const KLFStyle &o)
 
const KLFStyleoperator= (const KLFStyle &o)
 

Public Attributes

QString name
 this may not always be set, it's only important in saved style list. More...
 
unsigned long fg_color
 
unsigned long bg_color
 
QString mathmode
 
QString preamble
 
int dpi
 
BBoxExpand overrideBBoxExpand
 

Detailed Description

A Formula Style (collection of properties)

Structure containing forground color, bg color, mathmode, preamble, etc.

Definition at line 37 of file klfstyle.h.

Constructor & Destructor Documentation

KLFStyle::KLFStyle ( QString  nm = QString(),
unsigned long  fgcol = qRgba(0,0,0,255),
unsigned long  bgcol = qRgba(255,255,255,0),
const QString mmode = QString(),
const QString pre = QString(),
int  dotsperinch = -1 
)
inline

Definition at line 66 of file klfstyle.h.

KLFStyle::KLFStyle ( const KLFBackend::klfInput input)
inline

Definition at line 76 of file klfstyle.h.

KLFStyle::KLFStyle ( const KLFStyle o)
inline

Definition at line 82 of file klfstyle.h.

Member Function Documentation

const KLFStyle& KLFStyle::operator= ( const KLFStyle o)
inline

Definition at line 96 of file klfstyle.h.

References bg_color, dpi, fg_color, mathmode, name, overrideBBoxExpand, and preamble.

Member Data Documentation

unsigned long KLFStyle::bg_color
int KLFStyle::dpi
unsigned long KLFStyle::fg_color
QString KLFStyle::mathmode
QString KLFStyle::name

this may not always be set, it's only important in saved style list.

Definition at line 88 of file klfstyle.h.

Referenced by klfLoadVariantFromText(), klfSaveVariantToText(), operator<<(), operator=(), operator==(), and operator>>().

BBoxExpand KLFStyle::overrideBBoxExpand

Definition at line 94 of file klfstyle.h.

Referenced by operator<<(), operator=(), operator==(), and operator>>().

QString KLFStyle::preamble

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

Generated by doxygen 1.8.6