Logo Search packages:      
Sourcecode: jabref-plugin-oo version File versions  Download package

net::sf::jabref::oo::OOBibStyle Class Reference

List of all members.


Detailed Description

This class embodies a bibliography formatting for OpenOffice, which is composed of the following elements:

1) Each OO bib entry type must have a formatting. A formatting is an array of elements, each of which is either a piece of constant text, an entry field value, or a tab. Each element has a character format associated with it.

2) Many field values (e.g. author) need to be formatted before input to OpenOffice. The style has the responsibility of formatting all field values. Formatting is handled by 0-n JabRef LayoutFormatter classes.

3) If the entries are not numbered, a citation marker must be produced for each entry. This operation is performed for each JabRef BibtexEntry.

Definition at line 31 of file OOBibStyle.java.


Public Member Functions

int compareTo (Object o)
void ensureUpToDate () throws Exception
boolean equals (Object o)
String formatField (String field, String content)
String getAuthorLastName (AuthorList al, int number)
String getAuthorYearInTextMarker (BibtexEntry[] entries, BibtexDatabase database, String authorField, String yearField, int maxA, String authorSep, String andString, String etAlString, String yearSep, String startBrace, String endBrace, String citationSeparator, String[] uniquefiers, int[] unlimAuthors)
String getAuthorYearParenthesisMarker (BibtexEntry[] entries, BibtexDatabase database, String authorField, String yearField, int maxA, String authorSep, String andString, String etAlString, String yearSep, String startBrace, String endBrace, String citationSeparator, String[] uniquifiers, int[] unlimAuthors)
boolean getBooleanCitProperty (String key)
String getCitationMarker (BibtexEntry[] entries, BibtexDatabase database, boolean inParenthesis, String[] uniquefiers, int[] unlimAuthors)
String getCitationMarker (BibtexEntry entry, BibtexDatabase database, boolean inParenthesis, String uniquefier, int unlimAuthors)
String getCitationMarkerField (BibtexEntry entry, BibtexDatabase database, String field)
File getFile ()
int getIntCitProperty (String key)
Set< String > getJournals ()
String getName ()
String getNumCitationMarker (int[] number, int minGroupingCount, boolean inList)
Object getProperty (String name)
Layout getReferenceFormat (String type)
boolean isBoldCitations ()
boolean isFormatCitations ()
boolean isItalicCitations ()
boolean isNumberEntries ()
boolean isSortByPosition ()
boolean isUpToDate ()
boolean isValid ()
 OOBibStyle (Reader in) throws Exception
 OOBibStyle (File styleFile) throws Exception
void reload () throws Exception

Static Public Attributes

static final String UNDEFINED_CITATION_MARKER = "??"

Package Attributes

LayoutFormatter[] allAfterFormat
LayoutFormatter[] allBeforeFormat
HashMap< String, Layout > bibLayout = new HashMap<String, Layout>()
HashMap citProperties = new HashMap()
Layout defaultBibLayout
HashMap formatters = new HashMap()
SortedSet< String > journals = new TreeSet<String>()
List juks = new ArrayList()
String name = null
Pattern numPattern = Pattern.compile("-?\\d+")
HashMap properties = new HashMap()
boolean valid = false

Static Package Attributes

static final int CITATION = 3
static final String CITATION_MARK = "CITATION"
static final String DEFAULT_MARK = "default"
static final int JOURNALS = 5
static final String JOURNALS_MARK = "JOURNALS"
static final int LAYOUT = 1
static final String LAYOUT_MRK = "LAYOUT"
static final int NAME = 4
static final String NAME_MARK = "NAME"
static final int NONE = 0
static final int PROPERTIES = 2
static final String PROPERTIES_MARK = "PROPERTIES"

Private Member Functions

void group (BibtexEntry[] entries, String[] uniquefiers, int from, int to, String separator)
void handleJournalsLine (String line) throws IOException
void handlePropertiesLine (String line, HashMap map) throws IOException
void handleStructureLine (String line) throws IOException
void initialize (Reader in) throws IOException
void readFormatFile (Reader in) throws IOException

Private Attributes

String COMBINED_ENTRIES_SEPARATOR = "-"
File styleFile = null

Static Private Attributes

static long styleFileModificationTime = Long.MIN_VALUE

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

Generated by  Doxygen 1.6.0   Back to index