Skip to content

Commit 0997b4f

Browse files
Merge branch 'development' into EJ2-984044-D
2 parents 6286ddb + 89b5650 commit 0997b4f

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

Document-Processing/Word/Word-Processor/angular/how-to/export-document-as-pdf.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ domainurl: ##DomainURL##
1212

1313
In this article, we are going to see how to export the document as PDF format. You can export the document as PDF in following ways:
1414

15+
To quickly get started with exporting to PDF in Document Editor, please check out the video below.
16+
17+
{% youtube "https://www.youtube.com/watch?v=JVRSc865Pa4" %}
18+
1519
## Export the document as pdf in client-side
1620

1721
Use [`pdf export component`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export) in application level to export the document as pdf using [`exportAsImage`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#exportasimage) API. Here, all pages will be converted to image and inserted as pdf pages(works like print as PDF).
@@ -194,4 +198,4 @@ public void ExportPdf([FromBody]SaveParameter data)
194198
}
195199
```
196200

197-
Get the complete working sample in this [`link`](https://github.com/SyncfusionExamples/Export-document-as-PDF-in-Document-Editor/).
201+
Get the complete working sample in this [`link`](https://github.com/SyncfusionExamples/Export-document-as-PDF-in-Document-Editor/).

Document-Processing/Word/Word-Processor/blazor/paragraph-format.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@ await documentEditor.Editor.ToggleTextAlignmentAsync(TextAlignment.Center);
6363
You can define the line spacing and its type for selected paragraphs using the following sample code.
6464

6565
```csharp
66+
// Set line spacing type
6667
await documentEditor.Selection.ParagraphFormat.SetLineSpacingTypeAsync(LineSpacingType.AtLeast);
67-
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6);
68+
// Set line spacing value (supports both integer and float)
69+
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6); // Integer value
70+
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6.5); // Float value
6871
```
6972

7073
## Paragraph spacing

Document-Processing/Word/Word-Processor/react/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ To get started quickly with DocumentEditor component, you can check the video be
1818

1919
## Prerequisites
2020

21-
[System requirements for Syncfusion<sup style="font-size:70%">&reg;</sup> Document Editor](https://ej2.syncfusion.com/vue/documentation/system-requirements/)
21+
[System requirements for Syncfusion<sup style="font-size:70%">&reg;</sup> Document Editor](https://ej2.syncfusion.com/vue/documentation/system-requirements)
2222

2323
## Dependencies
2424

25-
Following is the list of minimum dependencies required to use the documenteditor.
25+
Following is the list of minimum dependencies required to use the document editor.
2626

2727
```javascript
2828
|-- @syncfusion/ej2-react-documenteditor
@@ -139,7 +139,7 @@ import * as React from 'react';
139139
import { DocumentEditorContainerComponent, Toolbar } from '@syncfusion/ej2-react-documenteditor';
140140
DocumentEditorContainerComponent.Inject(Toolbar);
141141
function App() {
142-
return (<DocumentEditorContainerComponent id="container" style={{ 'height': '590px' }} serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/" enableToolbar={true}/>);
142+
return (<DocumentEditorContainerComponent id="container" height={'590px'} serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/" enableToolbar={true}/>);
143143
}
144144
export default App
145145

Document-Processing/Word/Word-Processor/react/track-changes.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,10 @@ import * as React from 'react';
7878
import {
7979
DocumentEditorContainerComponent,
8080
Toolbar,
81-
Selection,
82-
Editor,
8381
} from '@syncfusion/ej2-react-documenteditor';
8482

8583
// Inject the required modules
86-
DocumentEditorContainerComponent.Inject(Toolbar, Selection, Editor);
84+
DocumentEditorContainerComponent.Inject(Toolbar);
8785

8886
function App() {
8987
let container = null;
@@ -103,8 +101,6 @@ function App() {
103101
height={'590px'}
104102
serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/"
105103
enableToolbar={true}
106-
enableSelection={true}
107-
enableEditor={true}
108104
enableTrackChanges={true}
109105
/>
110106
</div>
@@ -197,7 +193,7 @@ In DocumentEditor, we have built-in review panel in which we have provided suppo
197193

198194
Document Editor provides support for protecting the document with `RevisionsOnly` protection. In this protection, all the users are allowed to view the document and do their corrections, but they cannot accept or reject any tracked changes in the document. Later, the author can view their corrections and accept or reject the changes.
199195

200-
Document editor provides an option to protect and unprotect document using [`enforceProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor#enforceprotection) and [`stopProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor#stopprotection) API.
196+
Document editor provides an option to protect and unprotect document using [`enforceProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor/#enforceprotection) and [`stopProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor/#stopprotection) API.
201197

202198
The following example code illustrates how to enforce and stop protection in Document editor container.
203199

0 commit comments

Comments
 (0)