/
ContentModelSegmentFormat.ts
26 lines (25 loc) · 1.1 KB
/
ContentModelSegmentFormat.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';
import type { BoldFormat } from './formatParts/BoldFormat';
import type { FontFamilyFormat } from './formatParts/FontFamilyFormat';
import type { FontSizeFormat } from './formatParts/FontSizeFormat';
import type { ItalicFormat } from './formatParts/ItalicFormat';
import type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';
import type { LineHeightFormat } from './formatParts/LineHeightFormat';
import type { StrikeFormat } from './formatParts/StrikeFormat';
import type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';
import type { TextColorFormat } from './formatParts/TextColorFormat';
import type { UnderlineFormat } from './formatParts/UnderlineFormat';
/**
* The format object for a segment in Content Model
*/
export type ContentModelSegmentFormat = TextColorFormat &
BackgroundColorFormat &
LetterSpacingFormat &
FontSizeFormat &
FontFamilyFormat &
BoldFormat &
ItalicFormat &
UnderlineFormat &
StrikeFormat &
SuperOrSubScriptFormat &
LineHeightFormat;