Packagestimulsoft.report.barCodes
Classpublic class StiEAN13BarCodeType
InheritanceStiEAN13BarCodeType Inheritance StiBarCodeTypeService Inheritance StiService Inheritance StiObject Inheritance Object
Subclasses StiEAN8BarCodeType, StiIsbn13BarCodeType, StiJan13BarCodeType, StiUpcABarCodeType, StiUpcEBarCodeType, StiUpcSup2BarCodeType, StiUpcSup5BarCodeType



Public Properties
 PropertyDefined By
  height : Number
[override] Gets os sets height factor of the bar code.
StiEAN13BarCodeType
  labelFontHeight : Number
[override] [read-only]
StiEAN13BarCodeType
  module : Number
[override] Gets or sets width of the most fine element of the bar code.
StiEAN13BarCodeType
 Inheritedproperties : StiRepositoryItems
StiService
 Inheritedref : int
StiBarCodeTypeService
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
 InheritedserviceName : String
[read-only] Gets a service name.
StiService
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
  showQuietZoneIndicator : Boolean
Gets or sets value which indicates will show Quiet Zone Indicator or no.
StiEAN13BarCodeType
  supplementCode : String
Gets or sets the component supplement bar code.
StiEAN13BarCodeType
  supplementType : int
Gets or sets type of supplement code.
StiEAN13BarCodeType
Protected Properties
 PropertyDefined By
 InheritedbarCodeData : StiBarCodeData
[read-only]
StiBarCodeTypeService
  ean13SymData : Array
StiEAN13BarCodeType
  eanLineHeightForCut : Number
[read-only]
StiEAN13BarCodeType
  eanLineHeightLong : Number
[read-only]
StiEAN13BarCodeType
  eanLineHeightShort : Number
[read-only]
StiEAN13BarCodeType
  eanMainHeight : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceBeforeAdd : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceBottom : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceLeft : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceRight : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceTextTop : Number
[read-only]
StiEAN13BarCodeType
  eanSpaceTop : Number
[read-only]
StiEAN13BarCodeType
  eanTextHeight : Number
[read-only]
StiEAN13BarCodeType
  eanTextPositionBottom : Number
[read-only]
StiEAN13BarCodeType
  eanTextPositionTop : Number
[read-only]
StiEAN13BarCodeType
  eanWideToNarrowRatio : Number
[read-only]
StiEAN13BarCodeType
 InheritedrectWindow : StiRectangle
StiBarCodeTypeService
  symComboSet : Array
StiEAN13BarCodeType
  symParitySetAdd2 : Array
StiEAN13BarCodeType
  symParitySetAdd5 : Array
StiEAN13BarCodeType
 InheritedtextAlignment : int
[read-only]
StiBarCodeTypeService
Public Methods
 MethodDefined By
  
StiEAN13BarCodeType(module:Number = 13, height:Number = 1, supplementType:int = 0, supplementCode:String = null, showQuietZoneIndicator:Boolean = true)
StiEAN13BarCodeType
 Inherited
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiService
  
draw(g:StiGraphics, barCode:StiBarCode, rect:StiRectangle, zoom:Number):void
[override] Draws the bar code with the specified parameters.
StiEAN13BarCodeType
  
equals(object:Object):Boolean
[override]
StiEAN13BarCodeType
 Inherited
getCode(barCode:IStiBarCode):String
Returns string of char - input data for calculation of bar code.
StiBarCodeTypeService
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override]
StiEAN13BarCodeType
 Inherited
StiService
Protected Methods
 MethodDefined By
 Inherited
baseDrawRectangle(g:StiGraphics, penColor:StiColor, penSize:Number, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
baseDrawString(g:StiGraphics, st:String, font:StiFont, brush:StiBrush, x:Number, y:Number):void
StiBarCodeTypeService
 Inherited
baseDrawStringRect(g:StiGraphics, st:String, font:StiFont, brush:StiBrush, rect:StiRectangle):void
StiBarCodeTypeService
 Inherited
baseFillRectangle(g:StiGraphics, brush:StiBrush, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
baseFillRectangle2D(g:StiGraphics, brush:StiBrush, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
baseTransform(g:StiGraphics, x:Number, y:Number, angle:Number, dx:Number, dy:Number):void
StiBarCodeTypeService
 Inherited
calculateSize2(spaceLeft:Number, spaceRight:Number, spaceTop:Number, spaceBottom:Number, lineHeightShort:Number, lineHeightLong:Number, textPosition:Number, textHeight:Number, mainHeight:Number, wideToNarrowRatio:Number, zoom:Number, barsArray:String, rect:StiRectangle, barCode:StiBarCode):void
StiBarCodeTypeService
  
calculateSizeEan(offsetY:Number, zoom:Number, barsArray:StiArrayList, rect:StiRectangle, barCode:StiBarCode):void
StiEAN13BarCodeType
 Inherited
calculateSizeFull(spaceLeft:Number, spaceRight:Number, spaceTop:Number, spaceBottom:Number, lineHeightShort:Number, lineHeightLong:Number, textPosition:Number, textHeight:Number, mainHeight:Number, lineHeightForCut:Number, wideToNarrowRatio:Number, zoom:Number, code:String, textString:String, barsArray:String, rect:StiRectangle, barCode:StiBarCode):void
StiBarCodeTypeService
 Inherited
checkCodeSymbols(inputCode:String, tolerantSymbols:String):String
Remove from string all undefined symbols.
StiBarCodeTypeService
 Inherited
draw2DBarCode(g:StiGraphics, rect:StiRectangle, barCode:StiBarCode, zoom:Number):void
StiBarCodeTypeService
 Inherited
Draws bar code.
StiBarCodeTypeService
 Inherited
drawBarCodeError(g:StiGraphics, rect:StiRectangle, barCode:StiBarCode, message:String = null):void
StiBarCodeTypeService
 Inherited
drawBars(g:StiGraphics, sym:String, foreBrush:StiBrush):void
Draws content of bar code.
StiBarCodeTypeService
  
drawEanBars(g:StiGraphics, barsArray:StiArrayList, barCode:StiBarCode):void
StiEAN13BarCodeType
 Inherited
getSymbolsStringWidth(symbolsString:String):Number
Returns width of string in modules.
StiBarCodeTypeService
  
getSymbolWidth(symbol:String):Number
[override] Returns width of one symbol in module.
StiEAN13BarCodeType
 Inherited
IsSymbolLong(symbol:String):Boolean
Returns true if one line is long.
StiBarCodeTypeService
 Inherited
isSymbolPostDescend(symbol:String):Boolean
Returns true if short line is post-descend
StiBarCodeTypeService
  
isSymbolSpace(symbol:String):Boolean
[override] Returns true is char is space.
StiEAN13BarCodeType
  
makeEan13Bars(codeObject:Object, isLast:Boolean):StiArrayList
StiEAN13BarCodeType
  
makeEanAdd2Bars(code:String, baseArray:StiArrayList, isLast:Boolean):StiArrayList
StiEAN13BarCodeType
  
makeEanAdd5Bars(code:String, baseArray:StiArrayList, isLast:Boolean):StiArrayList
StiEAN13BarCodeType
  
makeLonger(symString:String):String
StiEAN13BarCodeType
 Inherited
StiBarCodeTypeService
 Inherited
Translate coordinates using vertical and horizontal justify
StiBarCodeTypeService
Protected Constants
 ConstantDefined By
 InheriteddefaultLabelFontHeight : Number = 8
StiBarCodeTypeService
Property Detail
ean13SymDataproperty
protected var ean13SymData:Array

eanLineHeightForCutproperty 
eanLineHeightForCut:Number  [read-only]


Implementation
    protected function get eanLineHeightForCut():Number
eanLineHeightLongproperty 
eanLineHeightLong:Number  [read-only]


Implementation
    protected function get eanLineHeightLong():Number
eanLineHeightShortproperty 
eanLineHeightShort:Number  [read-only]


Implementation
    protected function get eanLineHeightShort():Number
eanMainHeightproperty 
eanMainHeight:Number  [read-only]


Implementation
    protected function get eanMainHeight():Number
eanSpaceBeforeAddproperty 
eanSpaceBeforeAdd:Number  [read-only]


Implementation
    protected function get eanSpaceBeforeAdd():Number
eanSpaceBottomproperty 
eanSpaceBottom:Number  [read-only]


Implementation
    protected function get eanSpaceBottom():Number
eanSpaceLeftproperty 
eanSpaceLeft:Number  [read-only]


Implementation
    protected function get eanSpaceLeft():Number
eanSpaceRightproperty 
eanSpaceRight:Number  [read-only]


Implementation
    protected function get eanSpaceRight():Number
eanSpaceTextTopproperty 
eanSpaceTextTop:Number  [read-only]


Implementation
    protected function get eanSpaceTextTop():Number
eanSpaceTopproperty 
eanSpaceTop:Number  [read-only]


Implementation
    protected function get eanSpaceTop():Number
eanTextHeightproperty 
eanTextHeight:Number  [read-only]


Implementation
    protected function get eanTextHeight():Number
eanTextPositionBottomproperty 
eanTextPositionBottom:Number  [read-only]


Implementation
    protected function get eanTextPositionBottom():Number
eanTextPositionTopproperty 
eanTextPositionTop:Number  [read-only]


Implementation
    protected function get eanTextPositionTop():Number
eanWideToNarrowRatioproperty 
eanWideToNarrowRatio:Number  [read-only]


Implementation
    protected function get eanWideToNarrowRatio():Number
heightproperty 
height:Number[override]

Gets os sets height factor of the bar code.


Implementation
    public function get height():Number
    public function set height(value:Number):void
labelFontHeightproperty 
labelFontHeight:Number  [read-only] [override]


Implementation
    public function get labelFontHeight():Number
moduleproperty 
module:Number[override]

Gets or sets width of the most fine element of the bar code.


Implementation
    public function get module():Number
    public function set module(value:Number):void
showQuietZoneIndicatorproperty 
showQuietZoneIndicator:Boolean

Gets or sets value which indicates will show Quiet Zone Indicator or no.


Implementation
    public function get showQuietZoneIndicator():Boolean
    public function set showQuietZoneIndicator(value:Boolean):void
supplementCodeproperty 
supplementCode:String

Gets or sets the component supplement bar code.


Implementation
    public function get supplementCode():String
    public function set supplementCode(value:String):void
supplementTypeproperty 
supplementType:int

Gets or sets type of supplement code.


Implementation
    public function get supplementType():int
    public function set supplementType(value:int):void
symComboSetproperty 
protected var symComboSet:Array

symParitySetAdd2property 
protected var symParitySetAdd2:Array

symParitySetAdd5property 
protected var symParitySetAdd5:Array

Constructor Detail
StiEAN13BarCodeType()Constructor
public function StiEAN13BarCodeType(module:Number = 13, height:Number = 1, supplementType:int = 0, supplementCode:String = null, showQuietZoneIndicator:Boolean = true)



Parameters
module:Number (default = 13)
 
height:Number (default = 1)
 
supplementType:int (default = 0)
 
supplementCode:String (default = null)
 
showQuietZoneIndicator:Boolean (default = true)
Method Detail
calculateSizeEan()method
protected function calculateSizeEan(offsetY:Number, zoom:Number, barsArray:StiArrayList, rect:StiRectangle, barCode:StiBarCode):void

Parameters

offsetY:Number
 
zoom:Number
 
barsArray:StiArrayList
 
rect:StiRectangle
 
barCode:StiBarCode

draw()method 
override public function draw(g:StiGraphics, barCode:StiBarCode, rect:StiRectangle, zoom:Number):void

Draws the bar code with the specified parameters.

Parameters

g:StiGraphics
 
barCode:StiBarCode
 
rect:StiRectangle
 
zoom:Number

drawEanBars()method 
protected function drawEanBars(g:StiGraphics, barsArray:StiArrayList, barCode:StiBarCode):void

Parameters

g:StiGraphics
 
barsArray:StiArrayList
 
barCode:StiBarCode

equals()method 
override public function equals(object:Object):Boolean

Parameters

object:Object

Returns
Boolean
getSymbolWidth()method 
override protected function getSymbolWidth(symbol:String):Number

Returns width of one symbol in module.

Parameters

symbol:String

Returns
Number
isSymbolSpace()method 
override protected function isSymbolSpace(symbol:String):Boolean

Returns true is char is space.

Parameters

symbol:String

Returns
Boolean
makeEan13Bars()method 
protected function makeEan13Bars(codeObject:Object, isLast:Boolean):StiArrayList

Parameters

codeObject:Object
 
isLast:Boolean

Returns
StiArrayList
makeEanAdd2Bars()method 
protected function makeEanAdd2Bars(code:String, baseArray:StiArrayList, isLast:Boolean):StiArrayList

Parameters

code:String
 
baseArray:StiArrayList
 
isLast:Boolean

Returns
StiArrayList
makeEanAdd5Bars()method 
protected function makeEanAdd5Bars(code:String, baseArray:StiArrayList, isLast:Boolean):StiArrayList

Parameters

code:String
 
baseArray:StiArrayList
 
isLast:Boolean

Returns
StiArrayList
makeLonger()method 
protected function makeLonger(symString:String):String

Parameters

symString:String

Returns
String
memberwiseClone()method 
override public function memberwiseClone():Object

Returns
Object