Skip to main content

ParagraphListStyle

Enumerations

ListStyleType

Enumeration Members

Enumeration MemberValue
bullets1
none0
numbers2

NumberFormatType

Enumeration Members

Enumeration MemberValue
lowerLetter2
lowerRoman4
none0
number1
upperLetter3
upperRoman5

NumberMode

Enumeration Members

Enumeration MemberValue
continueFromPrevious0
startAt1

Classes

ParagraphListStyle

Constructors

Constructor
new ParagraphListStyle(): ParagraphListStyle;
Returns

ParagraphListStyle

Properties

bulletChar
bulletChar: number;
formatType
formatType: NumberFormatType;
level
level: number;
mode
mode: NumberMode;
startAt
startAt: number;
tabPosition
tabPosition: number;
type
type: ListStyleType;

ParagraphMetadata

Extends

  • Map<string, string>

Constructors

Constructor
new ParagraphMetadata(entries?): ParagraphMetadata;
Parameters
ParameterType
entries?readonly readonly [string, string][]
Returns

ParagraphMetadata

Inherited from
Map<string, string>.constructor
Constructor
new ParagraphMetadata(iterable?): ParagraphMetadata;
Parameters
ParameterType
iterable?Iterable<readonly [string, string], any, any>
Returns

ParagraphMetadata

Inherited from
Map<string, string>.constructor

Properties

[toStringTag]
readonly [toStringTag]: string;
Inherited from
Map.[toStringTag]
size
readonly size: number;
Returns

the number of elements in the Map.

Inherited from
Map.size;
[species]
readonly static [species]: MapConstructor;
Inherited from
Map.[species]

Methods

[iterator]()
iterator: MapIterator<[string, string]>;

Returns an iterable of entries in the map.

Returns

MapIterator<[string, string]>

Inherited from
Map.[iterator]
clear()
clear(): void;
Returns

void

Inherited from
Map.clear;
delete()
delete(key): boolean;
Parameters
ParameterType
keystring
Returns

boolean

true if an element in the Map existed and has been removed, or false if the element does not exist.

Inherited from
Map.delete;
entries()
entries(): MapIterator<[string, string]>;

Returns an iterable of key, value pairs for every entry in the map.

Returns

MapIterator<[string, string]>

Inherited from
Map.entries;
forEach()
forEach(callbackfn, thisArg?): void;

Executes a provided function once per each key/value pair in the Map, in insertion order.

Parameters
ParameterType
callbackfn(value, key, map) => void
thisArg?any
Returns

void

Inherited from
Map.forEach;
get()
get(key): string;

Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.

Parameters
ParameterType
keystring
Returns

string

Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.

Inherited from
Map.get;
has()
has(key): boolean;
Parameters
ParameterType
keystring
Returns

boolean

boolean indicating whether an element with the specified key exists or not.

Inherited from
Map.has;
keys()
keys(): MapIterator<string>;

Returns an iterable of keys in the map

Returns

MapIterator<string>

Inherited from
Map.keys;
set()
set(key, value): this;

Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.

Parameters
ParameterType
keystring
valuestring
Returns

this

Inherited from
Map.set;
values()
values(): MapIterator<string>;

Returns an iterable of values in the map

Returns

MapIterator<string>

Inherited from
Map.values;
Was this page helpful?