# GoogleDocsImportOptions

Import mode, tab/suggestion selection, and bounded projection limits.

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsImportOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L33)

**Modifiers**

sealed

Import mode, tab/suggestion selection, and bounded projection limits.

## Inheritance

- object
- GoogleDocsImportOptions

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 3

- Method [GoogleDocsImporter.ImportAsync](/api/word-google-docs/officeimo-word-googledocs-googledocsimporter/#method-importasync-string-officeimo-googleworkspace-googleworkspacesession-officeimo-word-googledocs-googledocsimportoptions-threading-cancellationtoken) parameter `options`
- Method [IGoogleDocsImporter.ImportAsync](/api/word-google-docs/officeimo-word-googledocs-igoogledocsimporter/#method-importasync-string-officeimo-googleworkspace-googleworkspacesession-officeimo-word-googledocs-googledocsimportoptions-threading-cancellationtoken) parameter `options`
- Method [WordGoogleDocsExtensions.ImportGoogleDocAsync](/api/word-google-docs/officeimo-word-googledocs-wordgoogledocsextensions/#method-importgoogledocasync-officeimo-googleworkspace-googleworkspacesession-string-officeimo-word-googledocs-googledocsimportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public GoogleDocsImportOptions()` [#](#constructor-ctor)

[GoogleDocsImportOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L33)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public GoogleWorkspaceImportMode Mode { get; set; }` [#](#property-mode)

[GoogleDocsImportOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L31)

Gets or sets Drive-export or native Docs import; defaults to Drive export.

`public GoogleDocsImportTabMode TabMode { get; set; }` [#](#property-tabmode)

[GoogleDocsImportOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L33)

Gets or sets native tab handling; defaults to flattening with headings.

`public string? TabId { get; set; }` [#](#property-tabid)

[GoogleDocsImportOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L35)

Gets or sets the tab identifier required by selected-tab native import.

`public GoogleDocsSuggestionsMode Suggestions { get; set; }` [#](#property-suggestions)

[GoogleDocsImportOptions.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L37)

Gets or sets how the Docs API presents suggestions; defaults to an accepted preview.

`public WordLoadOptions LoadOptions { get; set; }` [#](#property-loadoptions)

[GoogleDocsImportOptions.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L39)

Gets or sets options used to load Drive-exported DOCX.

`public IProgress<GoogleDriveTransferProgress>? Progress { get; set; }` [#](#property-progress)

[GoogleDocsImportOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L41)

Gets or sets an optional observer for Drive-export transfer progress.

`public long MaxResponseBytes { get; set; }` [#](#property-maxresponsebytes)

[GoogleDocsImportOptions.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L43)

Gets or sets the positive byte limit for Drive-exported DOCX or native API response.

`public int MaxTabs { get; set; }` [#](#property-maxtabs)

[GoogleDocsImportOptions.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L45)

Gets or sets the positive maximum number of tabs accepted by native import.

`public int MaxStructuralElements { get; set; }` [#](#property-maxstructuralelements)

[GoogleDocsImportOptions.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L48)

Gets or sets the positive structural-element limit for body content across all returned tabs, including unselected tabs.

`public int MaxTableCells { get; set; }` [#](#property-maxtablecells)

[GoogleDocsImportOptions.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L55)

Maximum aggregate rectangular table-cell projection in body content across all returned tabs, including unselected tabs. The same ceiling independently bounds aggregate table rows so sparse tables cannot allocate unbounded document rows.

`public long MaxTextCharacters { get; set; }` [#](#property-maxtextcharacters)

[GoogleDocsImportOptions.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L58)

Gets or sets the positive text-character limit for body content across all returned tabs, including unselected tabs.

## Fields

`public const long DefaultMaxResponseBytes` [#](#field-defaultmaxresponsebytes)

[GoogleDocsImportOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImportOptions.cs#L29)

Default response-size limit for Drive-exported DOCX or native Docs JSON, in bytes.

Value: `67108864`

<!-- PowerForge markdown artifact sha256:DEE68F328590946AF28FAE1E4070D762FE48F6E1A96C59205CF51C09491FAD51 -->
