Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Public Attributes
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@.nosp@m.yarp.nosp@m.en.cz

Definition at line 22 of file barcodegenerator.h.


Constructor & Destructor Documentation

Constructor provided for QMap initialization only.

Definition at line 26 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:
cmda Postsript command for given BC type
exaan example of the BC
comma comment/help for current BC type
checkTypehow to validate the input

Definition at line 31 of file barcodegenerator.cpp.

{
       command = cmd;
       example = exa;
       comment = comm;
       regularExp = regExp;
       this->includeCheck = includeCheck;
       this->includeCheckInText = includeCheckInText;
}

Definition at line 36 of file barcodegenerator.h.

{};

Member Data Documentation

postscript command

Definition at line 36 of file barcodegenerator.h.

comment or help for given BC type

Definition at line 42 of file barcodegenerator.h.

BC example.

Definition at line 40 of file barcodegenerator.h.

Definition at line 45 of file barcodegenerator.h.

Definition at line 46 of file barcodegenerator.h.

Regular expression for valid barcode of this type.

Definition at line 44 of file barcodegenerator.h.


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