//
//  Text.h
//  POSSDKDebug
//
//  Created by liangchenying on 12-3-31.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "POSSDK.h"

@interface Text : UIViewController<UITextViewDelegate,UITextFieldDelegate>

@property (nonatomic, retain) NSMutableArray *array_HorizontalTimes;
@property (nonatomic, retain) NSMutableArray *array_VerticalTimes;
@property (nonatomic, retain) NSMutableArray *array_Alignment;
@property (nonatomic, retain) NSMutableArray *array_Rotate;
@property (nonatomic, retain) NSMutableArray *array_Underline;
@property (nonatomic, retain) NSMutableArray *array_FontType;

@property (nonatomic, assign) NSInteger selectedHorizontalTimes;
@property (nonatomic, assign) NSInteger selectedVerticalTimes;
@property (nonatomic, assign) NSInteger selectedAlignment;
@property (nonatomic, assign) NSInteger selectedRotate;
@property (nonatomic, assign) NSInteger selectedUnderline;
@property (nonatomic, assign) NSInteger selectedFontType;

@property (retain, nonatomic) IBOutlet UISwitch *ReverseAble;
@property (retain, nonatomic) IBOutlet UISwitch *BoldAble;
@property (retain, nonatomic) IBOutlet UIButton *Back;
@property (retain, nonatomic) IBOutlet UIButton *TextPrint;
@property (retain, nonatomic) IBOutlet UIButton *HorizontalTimesButton;
@property (retain, nonatomic) IBOutlet UIButton *VerticalTimesButton;
@property (retain, nonatomic) IBOutlet UIButton *AlignmentButton;
@property (retain, nonatomic) IBOutlet UITextView *textContent;
@property (retain, nonatomic) IBOutlet UIButton *Cut;
@property (retain, nonatomic) IBOutlet UIButton *RotateButton;
@property (retain, nonatomic) IBOutlet UIButton *UnderlineButton;
@property (retain, nonatomic) IBOutlet UITextField *CharacterSpace;
@property (retain, nonatomic) IBOutlet UITextField *LineHeight;
@property (retain, nonatomic) IBOutlet UIButton *TextColorPrint;
@property (retain, nonatomic) IBOutlet UIButton *FontTypeButton;

- (id)initWithNibNamePOSSDK:(NSString *)nibNameOrNil pos_sdk:(POSSDK*)pos_sdk bundle:(NSBundle *)nibBundleOrNil;

@end
