bibhtml  1.0
 All Classes Functions Variables Enumerations
Public Types | Static Public Member Functions | List of all members
BibFields Class Reference

Entry Fields. More...

Public Types

enum  ID
 Predefined field IDs.
 

Static Public Member Functions

static const std::string & fieldName (BibFields::ID fieldID)
 returns the fieldName corresponding to this ID (or an empty string if this ID is unknown).
 
static BibFields::ID addField (const std::string &fieldName)
 returns the ID corresponding to this fieldName (after adding it if neeeded).
 
static BibFields::ID fieldID (const std::string &fieldName, bool abridged)
 returns the ID corresponding to this fieldName. More...
 

Detailed Description

Entry Fields.

Entries can contain any field. Regular BibTex fields, common biblatex fields and special bibtohtml fields are predefined (see macro BIBFIELDS). Other fields found in BibTex files are automatically added.

Specific fields or behaviors:

Depending on the printing style (see BibStyle), fields can be displayed as images keywords, or plain text. They can also be displayed on demand (using javascript).

Member Function Documentation

BibFields::ID BibFields::fieldID ( const std::string &  fieldName,
bool  abridged 
)
static

returns the ID corresponding to this fieldName.

The name can be abridged if abridged is true. Returns BibField::none (i.e. 0) if fieldName is unknown.


The documentation for this class was generated from the following files: