Packagestimulsoft.report.barCodes
Classpublic class StiPharmacodeBarCodeType
InheritanceStiPharmacodeBarCodeType Inheritance StiBarCodeTypeService Inheritance StiService Inheritance StiObject Inheritance Object



Public Properties
 PropertyDefined By
  height : Number
[override] Gets os sets height factor of the bar code.
StiPharmacodeBarCodeType
  labelFontHeight : Number
[override] [read-only]
StiPharmacodeBarCodeType
  module : Number
[override] Gets or sets width of the most fine element of the bar code.
StiPharmacodeBarCodeType
 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
Protected Properties
 PropertyDefined By
 InheritedbarCodeData : StiBarCodeData
[read-only]
StiBarCodeTypeService
  pharmacodeSymbols : String = 0123456789
StiPharmacodeBarCodeType
 InheritedrectWindow : StiRectangle
StiBarCodeTypeService
 InheritedtextAlignment : int
[read-only]
StiBarCodeTypeService
Public Methods
 MethodDefined By
  
StiPharmacodeBarCodeType(module:Number = 20, height:Number = 1)
StiPharmacodeBarCodeType
 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.
StiPharmacodeBarCodeType
  
equals(object:Object):Boolean
[override]
StiPharmacodeBarCodeType
 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]
StiPharmacodeBarCodeType
 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
 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
 Inherited
getSymbolsStringWidth(symbolsString:String):Number
Returns width of string in modules.
StiBarCodeTypeService
 Inherited
getSymbolWidth(symbol:String):Number
Returns width of one symbol in module.
StiBarCodeTypeService
 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
 Inherited
isSymbolSpace(symbol:String):Boolean
Returns true is char is space.
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
Translate coordinates using vertical and horizontal justify
StiBarCodeTypeService
Protected Constants
 ConstantDefined By
 InheriteddefaultLabelFontHeight : Number = 8
StiBarCodeTypeService
  defaultPharmacodeModule : Number = 20
StiPharmacodeBarCodeType
  pharmacodeLineHeightForCut : Number = 16
StiPharmacodeBarCodeType
  pharmacodeLineHeightLong : Number = 16
StiPharmacodeBarCodeType
  pharmacodeLineHeightShort : Number = 16
StiPharmacodeBarCodeType
  pharmacodeMainHeight : Number = 22
StiPharmacodeBarCodeType
  pharmacodeSpaceBottom : Number = 0.5
StiPharmacodeBarCodeType
  pharmacodeSpaceLeft : Number = 1
StiPharmacodeBarCodeType
  pharmacodeSpaceRight : Number = 1
StiPharmacodeBarCodeType
  pharmacodeSpaceTop : Number = 0
StiPharmacodeBarCodeType
  pharmacodeTextHeight : Number = 5
StiPharmacodeBarCodeType
  pharmacodeTextPosition : Number = 16.5
StiPharmacodeBarCodeType
Property Detail
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
pharmacodeSymbolsproperty 
protected var pharmacodeSymbols:String = 0123456789

Constructor Detail
StiPharmacodeBarCodeType()Constructor
public function StiPharmacodeBarCodeType(module:Number = 20, height:Number = 1)



Parameters
module:Number (default = 20)
 
height:Number (default = 1)
Method Detail
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

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

Parameters

object:Object

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

Returns
Object
Constant Detail
defaultPharmacodeModuleConstant
protected const defaultPharmacodeModule:Number = 20

pharmacodeLineHeightForCutConstant 
protected const pharmacodeLineHeightForCut:Number = 16

pharmacodeLineHeightLongConstant 
protected const pharmacodeLineHeightLong:Number = 16

pharmacodeLineHeightShortConstant 
protected const pharmacodeLineHeightShort:Number = 16

pharmacodeMainHeightConstant 
protected const pharmacodeMainHeight:Number = 22

pharmacodeSpaceBottomConstant 
protected const pharmacodeSpaceBottom:Number = 0.5

pharmacodeSpaceLeftConstant 
protected const pharmacodeSpaceLeft:Number = 1

pharmacodeSpaceRightConstant 
protected const pharmacodeSpaceRight:Number = 1

pharmacodeSpaceTopConstant 
protected const pharmacodeSpaceTop:Number = 0

pharmacodeTextHeightConstant 
protected const pharmacodeTextHeight:Number = 5

pharmacodeTextPositionConstant 
protected const pharmacodeTextPosition:Number = 16.5