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

# IListStyleSheetManager

> Clears all style sheets.

## Interfaces

### IListStyleSheetManager

#### Methods

##### clearAllStyleSheets()

```ts
clearAllStyleSheets(): void;
```

###### Returns

`void`

##### createDefaultBulletedStyleSheet()

```ts
createDefaultBulletedStyleSheet(bulletCharCode): IListStyleSheetAccessor;
```

Creates a new style sheet with default style for bulleted list.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `bulletCharCode` | `number` | character code used as 'bullet' (e.g., code 8225 used for “‡“). |

###### Returns

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

stylesheet with unique name.

##### createDefaultNumberedStyleSheet()

```ts
createDefaultNumberedStyleSheet(numberingFormat): IListStyleSheetAccessor;
```

Creates a new style sheet with default style for numbered list.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `numberingFormat` | [`NumberingFormatType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/NumberingFormatType.md#numberingformattype) | numbering format. |

###### Returns

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

stylesheet with unique name.

##### createEmptyStyleSheet()

```ts
createEmptyStyleSheet(): IListStyleSheetAccessor;
```

Creates a new empty stylesheet.

###### Returns

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

stylesheet with unique name.

##### createStyleSheet()

```ts
createStyleSheet(listStyles): IListStyleSheetAccessor;
```

Creates a new style sheet by existing list styles.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `listStyles` | [`IListStyle`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyle.md#iliststyle)[] | list styles. |

###### Returns

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

stylesheet with unique name.

##### getAllStyleSheets()

```ts
getAllStyleSheets(): IListStyleSheetAccessor[];
```

Returns all style sheets.

###### Returns

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

##### getDefaultListLevelGap()

```ts
getDefaultListLevelGap(type): number;
```

Returns the default gap between list levels.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `type` | [`ListType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ListType.md#listtype) | list type. |

###### Returns

`number`

##### getDefaultListStyle()

```ts
getDefaultListStyle(type, level): IListStyle;
```

Returns the default list style by type.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `type` | [`ListType`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ListType.md#listtype) | list type. |
| `level` | `number` | list level. |

###### Returns

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

##### getListSetting()

```ts
getListSetting(): IListSetting;
```

Returns list settings.

###### Returns

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

##### getStyleSheet()

```ts
getStyleSheet(name): IListStyleSheetAccessor;
```

Returns the list style sheet by name.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `name` | `string` | unique name of stylesheet. |

###### Returns

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

##### getStyleSheetsCount()

```ts
getStyleSheetsCount(): number;
```

Returns the number of style sheets.

###### Returns

`number`

##### initialize()

```ts
initialize(styleSheets?): void;
```

Clears and initializes list style sheets.

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `styleSheets?` | [`IListStyleSheet`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyleSheet.md#iliststylesheet)[] |

###### Returns

`void`

##### isStyleSheetExists()

```ts
isStyleSheetExists(name): boolean;
```

Checks for the existence of a style sheet.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `name` | `string` | unique name of stylesheet. |

###### Returns

`boolean`

true if the style sheet exists, false otherwise.
