Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

BarcodeType Class Reference

One Barcode Entity. More...

#include <barcodegenerator.h>

List of all members.

Public Member Functions

 BarcodeType ()
 Constructor provided for QMap initialization only.
 BarcodeType (QString cmd, QString exa, QString comm, QString regExp, bool includeCheck=false, bool includeCheckInText=false)
 Setup the Barcode entity.
 ~BarcodeType ()

Public Attributes

QString command
 postscript command
QString example
 BC example.
QString comment
 comment or help for given BC type
QString regularExp
 Regular expression for valid barcode of this type.
bool includeCheck
bool includeCheckInText


Detailed Description

One Barcode Entity.

Author:
Petr Vanek <petr@yarpen.cz>

Definition at line 21 of file barcodegenerator.h.


Constructor & Destructor Documentation

BarcodeType::BarcodeType (  )  [inline]

Constructor provided for QMap initialization only.

Definition at line 25 of file barcodegenerator.h.

BarcodeType::BarcodeType ( QString  cmd,
QString  exa,
QString  comm,
QString  regExp,
bool  includeCheck = false,
bool  includeCheckInText = false 
)

Setup the Barcode entity.

Todo:
Make better regular expressions for BCDs.
Parameters:
cmd a Postsript command for given BC type
exa an example of the BC
comm a comment/help for current BC type
checkType how to validate the input

Definition at line 22 of file barcodegenerator.cpp.

References command, comment, example, and regularExp.

BarcodeType::~BarcodeType (  )  [inline]

Definition at line 35 of file barcodegenerator.h.


Member Data Documentation

postscript command

Definition at line 35 of file barcodegenerator.h.

Referenced by BarcodeType().

BC example.

Definition at line 39 of file barcodegenerator.h.

Referenced by BarcodeType().

comment or help for given BC type

Definition at line 41 of file barcodegenerator.h.

Referenced by BarcodeType().

Regular expression for valid barcode of this type.

Definition at line 43 of file barcodegenerator.h.

Referenced by BarcodeType().

Definition at line 44 of file barcodegenerator.h.

Definition at line 45 of file barcodegenerator.h.


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.