Skip to content

Commit aab98eb

Browse files
Merge branch 'development' of https://github.com/syncfusion-content/document-processing-docs into 1010299-JS-PageUpdate
2 parents c9e4e9c + e145178 commit aab98eb

42 files changed

Lines changed: 4054 additions & 561 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Document-Processing-toc.html

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,9 +899,10 @@
899899
Environment Integration
900900
<ul>
901901
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/nextjs-getting-started">NextJS</a></li>
902-
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/share-point">SharePoint Framework (SPFx)</a></li>
903902
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/preact">Preact</a></li>
904903
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/remix">Remix</a></li>
904+
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/share-point">SharePoint Framework (SPFx)</a></li>
905+
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/gatsby">Gatsby</a></li>
905906
</ul>
906907
</li>
907908
<li><a href="/document-processing/pdf/pdf-viewer/react/feature-module">Feature Modules</a></li>
@@ -932,6 +933,14 @@
932933
<li><a href="/document-processing/pdf/pdf-viewer/react/save-pdf-file/to-azure-active-directory">To Azure Active Directory</a></li>
933934
</ul>
934935
</li>
936+
<li>Document Handling
937+
<ul>
938+
<li><a href="/document-processing/pdf/pdf-viewer/react/document-handling/load-large-pdf">Load Large PDF Files</a></li>
939+
<li><a href="/document-processing/pdf/pdf-viewer/react/document-handling/load-password-pdf">Load Password Protected PDFs</a></li>
940+
<li><a href="/document-processing/pdf/pdf-viewer/react/document-handling/preprocess-pdf">Preprocess PDF Document Before Displaying</a></li>
941+
<li><a href="/document-processing/pdf/pdf-viewer/react/document-handling/retrieve-loadedDoc">Retrieve the Loaded Document Instance </a></li>
942+
</ul>
943+
</li>
935944
<li><a href="/document-processing/pdf/pdf-viewer/react/mobile-toolbar">Mobile Toolbar Interface</a></li>
936945
<li><a href="/document-processing/pdf/pdf-viewer/react/toolbar">Toolbar Customization</a>
937946
<ul>
@@ -956,6 +965,19 @@
956965
<li><a href="/document-processing/pdf/pdf-viewer/react/text-search">Text Search</a></li>
957966
<li>Annotation
958967
<ul>
968+
<li>Annotation Types
969+
<ul>
970+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/highlight-annotation">Highlight</a></li>
971+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/underline-annotation">Underline</a></li>
972+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/strikethrough-annotation">Strikethrough</a></li>
973+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/squiggly-annotation">Squiggly</a></li>
974+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/line-annotation">Line</a></li>
975+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/arrow-annotation">Arrow</a></li>
976+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/rectangle-annotation">Rectangle</a></li>
977+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/circle-annotation">Circle</a></li>
978+
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/annotation-types/polygon-annotation">Polygon</a></li>
979+
</ul>
980+
</li>
959981
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/text-markup-annotation">Text Markup Annotation</a></li>
960982
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/shape-annotation">Shape Annotation</a></li>
961983
<li><a href="/document-processing/pdf/pdf-viewer/react/annotation/stamp-annotation">Stamp Annotation</a></li>
@@ -1011,13 +1033,18 @@
10111033
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-fields-api">APIs</a></li>
10121034
</ul>
10131035
</li>
1014-
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pdf">Organize Pages</a>
1036+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/overview">Organize Pages</a>
10151037
<ul>
1016-
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/overview">Overview</a></li>
1038+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/copy-pages">Copy pages</a></li>
1039+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/import-pages">Import pages</a></li>
1040+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/insert-blank-pages">Insert blank pages</a></li>
1041+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/remove-pages">Remove pages</a></li>
1042+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/reorder-pages">Reorder pages</a></li>
1043+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/rotate-pages">Rotate pages</a></li>
1044+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/zoom-pages">Zoom pages</a></li>
1045+
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/extract-pages">Extract Pages</a></li>
10171046
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/programmatic-support">Programmatic Support</a></li>
1018-
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/ui-interactions">UI Interactions</a></li>
10191047
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/toolbar">Toolbar</a></li>
1020-
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/extract-pages">Extract Pages</a></li>
10211048
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/mobile-view">Mobile View</a></li>
10221049
<li><a href="/document-processing/pdf/pdf-viewer/react/organize-pages/events">Events</a></li>
10231050
</ul>

Document-Processing/Excel/Spreadsheet/React/Save-Excel-File/to-aws-s3-bucket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Save spreadsheet to AWS S3
1111

12-
To save a file to the AWS S3, you can follow the steps below
12+
To save a file to the AWS S3, you can follow the steps below.
1313

1414
**Step 1:** Create a Simple Spreadsheet Sample in React
1515

Document-Processing/Excel/Spreadsheet/React/Save-Excel-File/to-azure-blob-storage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Start by following the steps provided in this [link](https://help.syncfusion.com
2323

2424
3. Import the required namespaces at the top of the file:
2525

26-
```Csharp
26+
```csharp
2727

2828
using System;
2929
using System.IO;
@@ -37,7 +37,7 @@ using Azure.Storage.Blobs;
3737

3838
4. Add the following private fields and constructor parameters to the `SpreadsheetController` class, In the constructor, assign the values from the configuration to the corresponding fields.
3939

40-
```Csharp
40+
```csharp
4141

4242
private readonly string _storageConnectionString;
4343
private readonly string _storageContainerName;
@@ -52,7 +52,7 @@ public SpreadsheetController(IConfiguration configuration)
5252

5353
5. Create the `SaveToAzure()` method to save the document to the Azure Blob storage.
5454

55-
```Csharp
55+
```csharp
5656

5757
[HttpPost]
5858
[Route("SaveToAzure")]
@@ -92,7 +92,7 @@ N> Note: Install the Azure.Storage.Blobs NuGet package in the service project. E
9292

9393
**Step 3:** Modify the index File in the Spreadsheet sample to using [`saveAsJson`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveasjson) method to serialize the spreadsheet and send it to the back-end
9494

95-
```typescript
95+
```js
9696

9797
<button class="e-btn" onClick={saveToAzure}>
9898
Save to Azure Blob Storage

Document-Processing/Excel/Spreadsheet/React/Server-Deployment/spreadsheet-server-docker-image-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ control: Docker deployment
77
documentation: ug
88
---
99

10-
# Spreadsheet server docker image overview in React Spreadsheet
10+
# Docker Image Overview in React Spreadsheet
1111

1212
The [**Syncfusion<sup style="font-size:70%">&reg;</sup> Spreadsheet (also known as Excel Viewer)**](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) is a feature-rich control for organizing and analyzing data in a tabular format. It provides all the common Excel features, including data binding, selection, editing, formatting, resizing, sorting, filtering, importing, and exporting Excel documents.
1313

Document-Processing/Excel/Spreadsheet/React/open-excel-files.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ documentation: ug
99

1010
# Open Excel Files in Syncfusion React Spreadsheet
1111

12-
The Syncfusion React Spreadsheet allows you to open Excel files (.xlsx) by reading the file, converting it into the client‑side Spreadsheet model, and rendering it with full support for data, styles, formats, and more.
12+
The React Spreadsheet component uses a server‑assisted workflow to import Excel files accurately and efficiently. When a user uploads an Excel file, the component sends the file to the server for parsing, ensuring smooth performance because the heavy processing workload is handled on the server side.
1313

14-
To enable opening Excel files, set the [`allowOpen`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowopen) property to **true** and specify the service url using th [`openUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#openurl) property. The control will send the uploaded file to this endpoint, where it is processed and returned as JSON for the Spreadsheet to render.
14+
On the server, the [`Syncfusion.EJ2.Spreadsheet library`](https://www.nuget.org/packages/Syncfusion.EJ2.Spreadsheet.AspNet.Core) built on top of [`Syncfusion XlsIO`](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview), reads the Excel file and extracts all relevant details, including data, styles, formulas, formatting, and sheet structure. The server then converts this information into a Spreadsheet‑compatible JSON workbook.
15+
16+
Once processing is complete, the JSON workbook is returned to the client, where the React Spreadsheet component renders it in the browser. This workflow preserves the original Excel layout and ensures the imported content appears with full fidelity.
17+
18+
To enable opening Excel files, set the [`allowOpen`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowopen) property to **true** and specify the service url using the [`openUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#openurl) property. The control will send the uploaded file to this endpoint, where it is processed and returned as JSON for the Spreadsheet to render.
1519

1620
For a quick walkthrough on how the open functionality works, refer to the following video:
1721
{% youtube "https://www.youtube.com/watch?v=MpwiXmL1Z_o" %}
@@ -33,13 +37,18 @@ The following sample shows the `Open` option by using the [`openUrl`](https://ej
3337

3438
{% previewsample "/document-processing/code-snippet/spreadsheet/react/open-save-cs1" %}
3539

36-
Please find the below table for the beforeOpen event arguments.
40+
Please find the below table for the [beforeOpen](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#beforeopen) event arguments.
41+
42+
## BeforeOpenEventArgs – Properties
3743

38-
| **Parameter** | **Type** | **Description** |
39-
| ----- | ----- | ----- |
40-
| file | FileList or string or File | To get the file stream. `FileList` - contains length and item index. <br/> `File` - specifies the file lastModified and file name. |
41-
| cancel | boolean | To prevent the open operation. |
42-
| requestData | object | To provide the Form data. |
44+
| **Property** | **Type** | **Description** |
45+
|-------------------|-------------------------------|-------------|
46+
| **cancel** | `boolean` | Specifies whether the open action should be canceled. |
47+
| **file** | `FileList` \| `string` \| `File` | Specifies the file to be opened. |
48+
| **parseOptions** | [`WorkbookParseOptions`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/workbookparseoptions) | Specifies the parsing options that control how the Excel file is interpreted during loading. |
49+
| **password** | `string` | Specifies the password required to open the Excel file, if it is protected. |
50+
| **requestData** | object | Specifies any additional data sent along with the open request. |
51+
| **requestType** | `string` | Specifies the type of open request that triggered the **beforeOpen** event. Possible values:<br><br>• **initial** – The default request made when loading a workbook.<br>• **chunk** – A follow‑up request to load a portion of the workbook when chunking is enabled and the server provides a chunk plan.<br>• **thresholdLimitConfirmed** – A request made after the user confirms a threshold warning (such as *maximumDataLimit* or *maximumFileSizeLimit*) and chooses to proceed. |
4352

4453
> * Use `Ctrl + O` keyboard shortcut to open Excel documents.
4554
> * The default value of the [allowOpen](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowopen) property is `true`. For demonstration purpose, we have showcased the [allowOpen](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowopen) property in previous code snippet.
@@ -48,6 +57,13 @@ Please find the below table for the beforeOpen event arguments.
4857

4958
To open Excel files programmatically in the Spreadsheet, you can use the [`open`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method of the Spreadsheet component. Before invoking this method, ensure that the [`openUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#openurl) property is properly configured, as it is required for processing the file on the server.
5059

60+
Please find the table below for the [`open`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method arguments.
61+
62+
| **Parameter** | **Type** | **Description** |
63+
|----------|--------------|-----------------------------------|
64+
| options | [OpenOptions](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/openOptions) | Options for opening the excel file. |
65+
66+
5167
The following code example demonstrates how to open an Excel file programmatically in the Spreadsheet.
5268

5369
```js
@@ -97,9 +113,9 @@ The following Excel file formats are supported for opening in the Spreadsheet co
97113
98114
### Open Excel files from local system
99115
100-
If you explore your machine to select and upload an Excel document using the file uploader, you will receive the uploaded document as a raw file in the [success](https://ej2.syncfusion.com/react/documentation/api/uploader/index-default#success) event of the file uploader. In this `success` event, you should pass the received raw file as an argument to the Spreadsheet's [open](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method to see the appropriate output.
116+
If you explore your machine to select and upload an Excel document using the file upload component, you will receive the uploaded document as a raw file in the [success](https://ej2.syncfusion.com/react/documentation/api/uploader/index-default#success) event of the file upload component. In this `success` event, you should pass the received raw file as an argument to the Spreadsheet's [open](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method to see the appropriate output.
101117
102-
The following code example shows how to import an Excel document using file uploader in spreadsheet.
118+
The following code example shows how to import an Excel document using file upload component in spreadsheet.
103119
104120
{% tabs %}
105121
{% highlight js tabtitle="app.jsx" %}

Document-Processing/Excel/Spreadsheet/React/save-excel-files.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ documentation: ug
99

1010
# Save Excel Files in Syncfusion React Spreadsheet
1111

12-
The Syncfusion React Spreadsheet allows you to save spreadsheet data as Excel files by sending the client‑side Spreadsheet model to the server, where it is processed and exported with full support for data, styles, formats, and more.
12+
When exporting an Excel file from the React Spreadsheet component, the process is handled through a streamlined server‑side workflow. The Spreadsheet content displayed in the browser is first serialized into a structured JSON workbook. This JSON includes all essential details—such as data, formulas, formatting, styles, and sheet configuration.
13+
14+
Once generated, this JSON workbook is sent to the server, where the [`Syncfusion.EJ2.Spreadsheet library`](https://www.nuget.org/packages/Syncfusion.EJ2.Spreadsheet.AspNet.Core) uses [`Syncfusion XlsIO`](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview) to convert the JSON data into a fully formatted Excel file. During this process, the JSON workbook is parsed and its contents are mapped to an XlsIO Workbook instance, ensuring that all data, styles, formulas, and other Spreadsheet features are accurately preserved.
15+
16+
Since the server is responsible for generating the final Excel file, the total export time can vary depending on the workbook’s complexity. Factors such as the level of formatting, styles and the use of advanced features like formulas or conditional formatting can influence processing time. After the file is successfully generated, it is sent back to the client for download.
1317

1418
To enable saving Excel files, set the [`allowSave`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowsave) property to **true** and specify the service URL using the [`saveUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveurl) property. When a save action is triggered, the control sends the spreadsheet model to this endpoint, where it is processed and returned as a downloadable Excel file.
1519

@@ -33,7 +37,7 @@ The following sample shows the `Save` option by using the [`saveUrl`](https://ej
3337

3438
{% previewsample "/document-processing/code-snippet/spreadsheet/javascript-es6/open-save-cs5" %}
3539

36-
Please find the below table for the beforeSave event arguments.
40+
Please find the below table for the [`beforeSave`](https://ej2.syncfusion.com/documentation/api/spreadsheet/index-default#beforesave) event arguments.
3741

3842
| **Parameter** | **Type** | **Description** |
3943
| ----- | ----- | ----- |
@@ -54,6 +58,13 @@ Please find the below table for the beforeSave event arguments.
5458

5559
To save Excel files programmatically in the Spreadsheet, you can use the [`save`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#save) method of the Spreadsheet component. Before invoking this method, ensure that the [`saveUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveurl) property is properly configured, as it is required for processing and generating the file on the server.
5660

61+
Please find the below table for the [`save`](https://ej2.syncfusion.com/documentation/api/spreadsheet/index-default#save) method arguments.
62+
63+
| **Parameter** | **Type** | **Description** |
64+
|-----------------------|------------------------|------------------------------------------------------------------|
65+
| options | [`SaveOptions`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/saveoptions) | Options for opening the JSON object. |
66+
| jsonConfig *(optional)* | [`SerializationOptions`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/serializationOptions) | Specify the serialization options to customize the loading of the JSON data. |
67+
5768
The following code example demonstrates how to save an Excel file programmatically in the Spreadsheet.
5869

5970
```js

0 commit comments

Comments
 (0)