Variable: DEFAULT_STYLES
const DEFAULT_STYLES: {
bd: {
b: null;
l: null;
r: null;
t: null;
};
bg: {
rgb: string;
};
bl: BooleanNumber;
cl: {
rgb: string;
};
ff: string;
fs: number;
ht: HorizontalAlign;
it: BooleanNumber;
n: null;
ol: {
s: BooleanNumber;
};
pd: {
b: number;
l: number;
r: number;
t: number;
};
st: {
s: BooleanNumber;
};
tb: WrapStrategy;
td: TextDirection;
tr: {
a: number;
v: BooleanNumber;
};
ul: {
s: BooleanNumber;
};
vt: VerticalAlign;
};
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:69
Default styles.
Type declaration
Name | Type | Default value | Description | Defined in |
---|---|---|---|---|
bd | { b : null ; l : null ; r : null ; t : null ; } | - | border | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:160 |
bd.b | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:161 |
bd.l | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:162 |
bd.r | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:163 |
bd.t | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:164 |
bg | { rgb : string ; } | - | background | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:132 |
bg.rgb | string | ’#fff’ | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:133 |
bl | BooleanNumber | BooleanNumber.FALSE | bold 0: false 1: true | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:89 |
cl | { rgb : string ; } | - | color | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:126 |
cl.rgb | string | ’#000’ | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:127 |
ff | string | ’Arial’ | fontFamily | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:73 |
fs | number | 11 | fontSize | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:77 |
ht | HorizontalAlign | HorizontalAlign.UNSPECIFIED | horizontalAlignment | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:138 |
it | BooleanNumber | BooleanNumber.FALSE | italic 0: false 1: true | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:83 |
n | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:156 |
ol | { s : BooleanNumber ; } | - | overline | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:105 |
ol.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:106 |
pd | { b : number ; l : number ; r : number ; t : number ; } | - | padding | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:150 |
pd.b | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:153 |
pd.l | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:154 |
pd.r | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:152 |
pd.t | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:151 |
st | { s : BooleanNumber ; } | - | strikethrough | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:99 |
st.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:100 |
tb | WrapStrategy | WrapStrategy.UNSPECIFIED | wrapStrategy | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:146 |
td | TextDirection | TextDirection.UNSPECIFIED | textDirection | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:122 |
tr | { a : number ; v : BooleanNumber ; } | - | textRotation | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:111 |
tr.a | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:112 |
tr.v | BooleanNumber | BooleanNumber.FALSE | true : 1 false : 0 | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:117 |
ul | { s : BooleanNumber ; } | - | underline | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:93 |
ul.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:94 |
vt | VerticalAlign | VerticalAlign.UNSPECIFIED | verticalAlignment | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:142 |