Search results

Globalization in JavaScript (ES5) DocumentEditor control

14 Apr 2021 / 15 minutes to read

Localization

The Localization library allows you to localize default text content of the DocumentEditor. The document editor component has static text on some features (like find & replace, context-menu, dialogs) that can be changed to other cultures (Arabic, Deutsch, French, etc.) by defining the locale value and translation object. Please refer the sample link RTL

Note: Please refer the Locale.

Document Editor

The following list of properties and its values are used in the document editor.

Locale keywords Text
Table Table
Row Row
Cell Cell
Ok OK
Cancel Cancel
Size Size
Preferred Width Preferred width
Points Points
Percent Percent
Measure in Measure in
Alignment Alignment
Left Left
Center Center
Right Right
Justify Justify
Indent from left Indent from left
Borders and Shading Borders and Shading
Options Options
Specify height Specify height
At least At least
Exactly Exactly
Row height is Row height is
Allow row to break across pages Allow row to break across pages
Repeat as header row at the top of each page Repeat as header row at the top of each page
Vertical alignment Vertical alignment
Top Top
Bottom Bottom
Default cell margins Default cell margins
Default cell spacing Default cell spacing
Allow spacing between cells Allow spacing between cells
Cell margins Cell margins
Same as the whole table Same as the whole table
Borders Borders
None None
Style Style
Width Width
Height Height
Letter Letter
Tabloid Tabloid
Legal Legal
Statement Statement
Executive Executive
A3 A3
A4 A4
A5 A5
B4 B4
B5 B5
Custom Size Custom size
Different odd and even Different odd and even
Different first page Different first page
From edge From edge
Header Header
Footer Footer
Margin Margins
Paper Paper
Layout Layout
Orientation Orientation
Landscape Landscape
Portrait Portrait
Show page numbers Show page numbers
Right align page numbers Right align page numbers
Nothing Nothing
Tab leader Tab leader
Show levels Show levels
Use hyperlinks instead of page numbers Use hyperlinks instead of page numbers
Build table of contents from Build table of contents from
Styles Styles
Available styles Available styles
TOC level TOC level
Heading Heading
Heading 1 Heading 1
Heading 2 Heading 2
Heading 3 Heading 3
Heading 4 Heading 4
Heading 5 Heading 5
Heading 6 Heading 6
List Paragraph List Paragraph
Normal Normal
Outline levels Outline levels
Table entry fields Table entry fields
Modify Modify
Color Color
Setting Setting
Box Box
All All
Custom Custom
Preview Preview
Shading Shading
Fill Fill
Apply To Apply to
Table Properties Table Properties
Cell Options Cell Options
Table Options Table Options
Insert Table Insert Table
Number of columns Number of columns
Number of rows Number of rows
Text to display Text to display
Address Address
Insert Hyperlink Insert Hyperlink
Edit Hyperlink Edit Hyperlink
Insert Insert
General General
Indentation Indentation
Before text Before text
Special Special
First line First line
Hanging Hanging
After text After text
By By
Before Before
Line Spacing Line spacing
After After
At At
Multiple Multiple
Spacing Spacing
Define new Multilevel list Define new Multilevel list
List level List level
Choose level to modify Choose level to modify
Level Level
Number format Number format
Number style for this level Number style for this level
Enter formatting for number Enter formatting for number
Start at Start at
Restart list after Restart list after
Position Position
Text indent at Text indent at
Aligned at Aligned at
Follow number with Follow number with
Tab character Tab character
Space Space
Arabic Arabic
UpRoman UpRoman
LowRoman LowRoman
UpLetter UpLetter
LowLetter LowLetter
Number Number
Leading zero Leading zero
Bullet Bullet
Ordinal Ordinal
Ordinal Text Ordinal Text
For East For East
No Restart No Restart
Font Font
Font style Font style
Underline style Underline style
Font color Font color
Effects Effects
Strikethrough Strikethrough
Superscript Superscript
Subscript Subscript
Double strikethrough Double strikethrough
Regular Regular
Bold Bold
Italic Italic
Cut Cut
Copy Copy
Paste Paste
Hyperlink Hyperlink
Open Hyperlink Open Hyperlink
Copy Hyperlink Copy Hyperlink
Remove Hyperlink Remove Hyperlink
Paragraph Paragraph
Linked Style Linked(Paragraph and Character)
Character Character
Merge Cells Merge Cells
Insert Above Insert Above
Insert Below Insert Below
Insert Left Insert Left
Insert Right Insert Right
Delete Delete
Delete Table Delete Table
Delete Row Delete Row
Delete Column Delete Column
File Name File Name
Format Type Format Type
Save Save
Navigation Navigation
Results Results
Replace Replace
Replace All Replace All
We replaced all We replaced all
Find Find
No matches No matches
All Done All Done
Result Result
of of
instances instances
with with
Click to follow link Click to follow link
Continue Numbering Continue Numbering
Bookmark name Bookmark name
Close Close
Restart At Restart At
Properties Properties
Name Name
Style type Style type
Style based on Style based on
Style for following paragraph Style for following paragraph
Formatting Formatting
Numbering and Bullets Numbering and Bullets
Numbering Numbering
Update Field Update Field
Edit Field Edit Field
Bookmark Bookmark
Page Setup Page Setup
No bookmarks found No bookmarks found
Number format tooltip information Single-level number format:
[PREFIX]%[LEVELNUMBER][suffix]
For example, ‘Chapter %1.’ will display numbering like
Chapter 1. Item
Chapter 2. Item

Chapter N. Item

Multilevel number format:
[PREFIX]%[LEVELNUMBER][suffix]+[PREFIX]%[LEVELNUMBER][suffix]
For example, ‘%1.%2.’ will display numbering like
1.1. Item
1.2. Item

1.N. Item
Format Format
Create New Style Create New Style
Modify Style Modify Style
New New
Bullets Bullets
Use bookmarks Use bookmarks
Table of Contents Table of Contents
AutoFit AutoFit
AutoFit to Contents AutoFit to Contents
AutoFit to Window AutoFit to Window
Fixed Column Width Fixed Column Width
Reset Reset
Match case Match case
Whole words Whole words
Add Add
Go To Go To
Search for Search for
Replace with Replace with
TOC 1 TOC 1
TOC 2 TOC 2
TOC 3 TOC 3
TOC 4 TOC 4
TOC 5 TOC 5
TOC 6 TOC 6
TOC 7 TOC 7
TOC 8 TOC 8
TOC 9 TOC 9
Right-to-left Right-to-left
Left-to-right Left-to-right
Direction Direction
Table direction Table direction
Indent from right Indent from right
Contextual Spacing Don’t add space between the paragraphs of the same styles
Password Mismatch The password don’t match
Restrict Editing Restrict Editing
Formatting restrictions Formatting restrictions
Allow formatting Allow formatting
Editing restrictions Editing restrictions
Read only Read only
Exceptions Optional Exceptions (optional)
Select Part Of Document And User Select parts of the document and choose users who are allowed to freely edit them.
Everyone Everyone
More users More users
Add Users Add Users
Enforcing Protection Yes, Start Enforcing Protection
Start Enforcing Protection Start Enforcing Protection
Enter User Enter User
Users Users
Enter new password Enter new password
Reenter new password to confirm Reenter new password to confirm
Your permissions Your permissions
Protected Document This document is protected from unintentional editing. You may edit in this region.
FormFieldsOnly This document is protected from unintentional editing. You may only fill in forms in this region.
You may format text only with certain styles You may format text only with certain styles.
Stop Protection Stop Protection
Password Password
Spelling Editor Spelling Editor
Spelling Spelling
Spell Check Spell Check
Underline errors Underline errors
Ignore Ignore
Ignore all Ignore All
Add to Dictionary Add to Dictionary
Change Change
Change All Change All
Suggestions Suggestions
The password is incorrect The password is incorrect
Error in establishing connection with web server Error in establishing connection with web server
Highlight the regions I can edit Highlight the regions I can edit
Show All Regions I Can Edit Show All Regions I Can Edit
Find Next Region I Can Edit Find Next Region I Can Edit
Keep source formatting Keep source formatting
Match destination formatting Match destination formatting
Text only Text only
Comments Comments
Type your comment Type your comment
Post Post
Reply Reply
New Comment New Comment
Edit Edit
Resolve Resolve
Reopen Reopen
No comments in this document No comments in this document
more more
Type your comment here Type your comment here
Next Comment Next Comment
Previous Comment Previous Comment
Un-posted comments Un-posted comments
Discard Comment Added comments not posted. If you continue, that comment will be discarded.
No Headings No Heading Found!
Add Headings This document has no headings. Please add headings and try again.
More Options More Options
Click to see this comment Click to see this comment
Drop Down Form Field Drop Down Form Field
Drop-down items Drop-down items
Items in drop-down list Items in drop-down list
ADD ADD
REMOVE REMOVE
Field settings Field settings
Tooltip Tooltip
Drop-down enabled Drop-down enabled
Check Box Form Field Check Box Form Field
Check box size Check box size
Auto Auto
Default value Default value
Not checked Not checked
Checked Checked
Check box enabled Check box enabled
Text Form Field Text Form Field
Type Type
Default text Default text
Maximum length Maximum length
Text format Text format
Fill-in enabled Fill-in enabled
Default number Default number
Default date Default date
Date format Date format
Merge Track This action wont be marked as change. Do you want to continue?
UnTrack Cannot be tracked
Accept Accept
Reject Reject
Previous Changes Previous Changes
Next Changes Next Changes
Inserted Inserted
Deleted Deleted
Changes Changes
Accept all Accept all
Reject all Reject all
No changes No changes
Accept Changes Accept Changes
Reject Changes Reject Changes
User User
View View

Document Editor Container

The following list of properties and its values are used in the document editor container.

Locale keywords Text
New New
Open Open
Undo Undo
Redo Redo
Image Image
Table Table
Link Link
Bookmark Bookmark
Table of Contents Table of Contents
HEADING - - - - 1 HEADING - - - - 1
HEADING - - - - 2 HEADING - - - - 2
HEADING - - - - 3 HEADING - - - - 3
Header Header
Footer Footer
Page Setup Page Setup
Page Number Page Number
Break Break
Find Find
Local Clipboard Local Clipboard
Restrict Editing Restrict Editing
Upload from computer Upload from computer
By URL By URL
Page Break Page Break
Section Break Section Break
Header And Footer Header & Footer
Options Options
Levels Levels
Different First Page Different First Page
Different header and footer for odd and even pages Different header and footer for odd and even pages.
Different Odd And Even Pages Different Odd & Even Pages
Different header and footer for first page Different header and footer for first page.
Position Position
Header from Top Header from Top
Footer from Bottom Footer from Bottom
Distance from top of the page to top of the header Distance from top of the page to top of the header.
Distance from bottom of the page to bottom of the footer Distance from bottom of the page to bottom of the footer.
Aspect ratio Aspect ratio
W W
H H
Width Width
Height Height
Text Text
Paragraph Paragraph
Fill Fill
Fill color Fill color
Border Style Border Style
Outside borders Outside borders
All borders All borders
Inside borders Inside borders
Left border Left border
Inside vertical border Inside vertical border
Right border Right border
Top border Top border
Inside horizontal border Inside horizontal border
Bottom border Bottom border
Border color Border color
Border width Border width
Cell Cell
Merge cells Merge cells
Insert Or Delete Insert / Delete
Insert columns to the left Insert columns to the left
Insert columns to the right Insert columns to the right
Insert rows above Insert rows above
Insert rows below Insert rows below
Delete rows Delete rows
Delete columns Delete columns
Cell Margin Cell Margin
Top Top
Bottom Bottom
Left Left
Right Right
Align Text Align Text
Align top Align top
Align bottom Align bottom
Align center Align center
Number of heading or outline levels to be shown in table of contents Number of heading or outline levels to be shown in table of contents.
Show page numbers Show page numbers
Show page numbers in table of contents Show page numbers in table of contents.
Right align page numbers Right align page numbers
Right align page numbers in table of contents Right align page numbers in table of contents.
Use hyperlinks Use hyperlinks
Use hyperlinks instead of page numbers Use hyperlinks instead of page numbers.
Font Font
Font Size Font Size
Font color Font color
Text highlight color Text highlight color
Clear all formatting Clear all formatting
Bold Tooltip Bold (Ctrl+B)
Italic Tooltip Italic (Ctrl+I)
Underline Tooltip Underline (Ctrl+U)
Strikethrough Strikethrough
Superscript Tooltip Superscript (Ctrl+Shift++)
Subscript Tooltip Subscript (Ctrl+=)
Align left Tooltip Align left (Ctrl+L)
Center Tooltip Center (Ctrl+E)
Align right Tooltip Align right (Ctrl+R)
Justify Tooltip Justify (Ctrl+J)
Decrease indent Decrease indent
Increase indent Increase indent
Line spacing Line spacing
Bullets Bullets
Numbering Numbering
Styles Styles
Manage Styles Manage Styles
Page Page
of of
Fit one page Fit one page
Spell Check Spell Check
Underline errors Underline errors
Fit page width Fit page width
Update Update
Cancel Cancel
Insert Insert
No Border No Border
Create a new document Create a new document.
Open a document Open a document.
Undo Tooltip Undo the last operation (Ctrl+Z).
Redo Tooltip Redo the last operation (Ctrl+Y).
Insert inline picture from a file Insert inline picture from a file.
Insert a table into the document Insert a table into the document
Create Hyperlink Create a link in your document for quick access to web pages and files (Ctrl+K).
Insert a bookmark in a specific place in this document Insert a bookmark in a specific place in this document.
Provide an overview of your document by adding a table of contents Provide an overview of your document by adding a table of contents.
Add or edit the header Add or edit the header.
Add or edit the footer Add or edit the footer.
Open the page setup dialog Open the page setup dialog.
Add page numbers Add page numbers.
Find Text Find text in the document (Ctrl+F).
Toggle between the internal clipboard and system clipboard Toggle between the internal clipboard and system clipboard.
Access to system clipboard through script is denied due to browsers security policy. Instead,
1. You can enable internal clipboard to cut, copy and paste within the component.
2. You can use the keyboard shortcuts (Ctrl+X, Ctrl+C and Ctrl+V) to cut, copy and paste with system clipboard.
Current Page Number The current page number in the document. Click or tap to navigate specific page.
Read only Read only
Protections Protections
Error in establishing connection with web server Error in establishing connection with web server
Single Single
Double Double
New comment New comment
Comments Comments
Print layout Print layout
Web layout Web layout
Text Form Text Form
Check Box Check Box
DropDown Drop-Down
Update Fields Update Fields
Update cross reference fields Update cross reference fields
Hide properties pane Hide properties pane
Show properties pane Show properties pane

Color Picker

The following list of properties and its values are used in the color picker.

Locale keywords Text
Apply Apply
Cancel Cancel
ModeSwitcher Switch Mode