0.4.1 • Published 2 years ago
ooxast-util-get-style v0.4.1
Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.
ooxast-util-get-style
Get style from a w:p element.
Contents
What is this?
When should I use this?
Install
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-styleUse
API
getPStyle()
Signature
getPStyle(p: P): string | null | undefined;Parameters
| Name | Type |
|---|---|
p | P |
Returns
string | null | undefined
Defined in: lib/ooxast-util-get-pstyle.ts:4
getRStyle()
Signature
getRStyle(r: P | R): RPrJSON | undefined;Parameters
| Name | Type | |
|---|---|---|
r | P | R |
Returns
RPrJSON | undefined
Defined in: lib/ooxast-util-get-rstyle.ts:16
RPrAttributes
keyof
RPrMap
Defined in: lib/ooxast-util-get-rstyle.ts:6
RPrJSON
RPrAttributesextends keyofRPrMap?Partial<Record<w:${RPrAttributes},NonNullable<RPrMap[RPrAttributes]>number| {w:val?:string; }>> :never
Defined in: lib/ooxast-util-get-rstyle.ts:7
Syntax tree
Types
Compatibility
Security
Related
Contribute
License
GPL-3.0-or-later © Thomas F. K. Jorna