---
title: "HtmlListStyleConverter | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/HtmlListStyleConverter/"
---

# HtmlListStyleConverter

> [`HtmlListStyleConverter`](#htmlliststyleconverter)

## Classes

### HtmlListStyleConverter

#### Constructors

##### Constructor

```ts
new HtmlListStyleConverter(): HtmlListStyleConverter;
```

###### Returns

#### Methods

##### parseComplex()

```ts
static parseComplex(listStyleTypeCSS): object;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listStyleTypeCSS` | `string` |

###### Returns

`object`

###### bulletChar

```ts
bulletChar: number;
```

###### listStyleType

```ts
listStyleType: ListStyleType;
```

###### numberFormatType

```ts
numberFormatType: NumberFormatType;
```

##### parseNumberModeStartAt()

```ts
static parseNumberModeStartAt(value): object;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `number` |

###### Returns

`object`

###### numberMode

```ts
numberMode: NumberMode;
```

###### startAt

```ts
startAt: number;
```

##### parseOltype()

```ts
static parseOltype(listStyleTypeCSS): OrderedListType;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listStyleTypeCSS` | `string` |

###### Returns

[`OrderedListType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/OrderedList.md#orderedlisttype)

##### parseUltype()

```ts
static parseUltype(listStyle): 
  | UnorderedListType
  | UnorderedListTypeSymbol;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listStyle` | `string` |

###### Returns

  \| [`UnorderedListType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/UnorderedList.md#unorderedlisttype)
  \| [`UnorderedListTypeSymbol`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/UnorderedList.md#unorderedlisttypesymbol)

##### serializeComplex()

```ts
static serializeComplex(
   listStyleType, 
   numberFormatType, 
   bulletChar): string;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listStyleType` | [`ListStyleType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ParagraphListStyle.md#liststyletype) |
| `numberFormatType` | [`NumberFormatType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ParagraphListStyle.md#numberformattype) |
| `bulletChar` | `string` \| `number` |

###### Returns

`string`
