Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.
Get style from a w:p
element.
This package is ESM only. In Node.js (version 12.20 , 14.14 , 16.0 , 18.0 ), install as
pnpm add ooxast-util-get-style
# or with yarn
# yarn add ooxast-util-get-style
# or with npm
# npm install ooxast-util-get-style
getPStyle(p: P): string | null | undefined;
Name | Type |
---|---|
p |
P |
string
| null
| undefined
Defined in: lib/ooxast-util-get-pstyle.ts:4
getRStyle(r: R): RPrJSON;
Name | Type |
---|---|
r |
R |
Defined in: lib/ooxast-util-get-rstyle.ts:16
keyof
RPrMap
Defined in: lib/ooxast-util-get-rstyle.ts:6
RPrAttributes
extends keyofRPrMap
?Partial
<Record
<w:${RPrAttributes}
,RPrMap
[RPrAttributes
] | {w:val
?:boolean
; }>> :never
Defined in: lib/ooxast-util-get-rstyle.ts:7
GPL-3.0-or-later © Thomas F. K. Jorna