postel-ita
Version:
Library to create files compatible with italian Poste Postel system
23 lines (22 loc) • 814 B
TypeScript
import { PostelRowConstructor, PostelRowPosition } from '../../types';
import { IWithResult } from '../IWithResult';
import PostelTextBlock from './PostelTextBlock';
declare class PostelRow implements IWithResult {
private _textBlocks;
private _position;
private _lineSpacing;
private _font;
private _prePostText;
private _shebang;
constructor(opt: PostelRowConstructor);
get position(): PostelRowPosition;
set position(value: PostelRowPosition);
shebang(newValue: boolean): PostelRow;
lineSpacing(spaceCount?: number): PostelRow;
font(index?: number): PostelRow;
appendText(text: string): PostelTextBlock;
prePostText(pre?: string | undefined, post?: string | undefined): PostelRow;
result(): string;
toString(): string;
}
export default PostelRow;