This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.tsx
More file actions
13 lines (13 loc) · 18.2 KB
/
config.tsx
File metadata and controls
13 lines (13 loc) · 18.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
export const DocumentEditorSampleOrder: Object = [
{ 'path': 'document-editor/default', 'type': 'update', 'name': 'Default Functionalities', 'component': 'Default', 'order': '01', 'category': 'DocumentEditor', 'description': 'The Document Editor component is used to create, edit, view, and print Word documents in web applications.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/character-formatting', 'type': 'New', 'name': 'Character Formatting', 'component': 'CharacterFormatView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports character formatting such as bold, italic, underline, subscript, superscript, font color, and more.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/paragraph-formatting', 'type': 'New', 'name': 'Paragraph Formatting', 'component': 'ParagraphFormatView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports paragraph formatting such as indentation, paragraph spacing, line spacing, and text alignment.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/styles', 'type': 'New', 'name': 'Styles', 'component': 'StylesView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports both built-in and custom styles for character format and paragraph format.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/bullets-and-numbering', 'type': 'New', 'name': 'Bullets and Numbering', 'component': 'BulletsAndNumberingView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports bullets and numbering. Both single list and multi-level lists can be added.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/links-and-bookmarks', 'type': 'New', 'name': 'Hyperlinks and Bookmarks', 'component': 'HyperlinksAndBookmarksView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports hyperlinks and bookmarks. The link can be a file, mail, webpage, or bookmark.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/table-formatting', 'type': 'New', 'name': 'Table Formatting', 'component': 'TableFormatView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports table formatting such as cell margins, cell spacing, horizontal merge, vertical merge, border styles, background color, and more.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/section-formatting', 'type': 'New', 'name': 'Section Formatting', 'component': 'SectionFormatView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports section formatting such as page size, page margins, header distance, and footer distance.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/headers-and-footers', 'type': 'New', 'name': 'Headers and Footers', 'component': 'HeadersAndFootersView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports headers and footers. Different headers and footers can be added to the first page, odd pages, and even pages.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/table-of-contents', 'type': 'New', 'name': 'Table of Contents', 'component': 'TableOfContentsView', 'order': '02', 'category': 'Editing Features', 'description': 'The Document Editor supports table of contents with options for including hyperlink, page number, right-aligned tabs, and styles.', 'api': '{"DocumentEditor":["isReadOnly","enableAllModules","acceptTab","documentName","pageOutline","selection","editor","editorHistory","enableLocalPaste","pageCount","zoomFactor","documentChange","viewChange","selectionChange","requestNavigate","contentChange","open","print","openBlank","focusIn","save","showDialog","showOptionsPane","fitPage","getStyleNames","resize","scrollToPage"],"Selection":["contextType","characterFormat","paragraphFormat","sectionFormat","cellFormat","imageFormat","goToPage","goToHeader","goToFooter","closeHeaderFooter"],"SelectionCharacterFormat":["bold","italic","underline","fontFamily","fontSize","fontColor","highlightColor","strikethrough","baselineAlignment"],"SelectionParagraphFormat":["textAlignment","lineSpacing","styleName"],"SelectionSectionFormat":["differentFirstPage","differentOddAndEvenPages","headerDistance","footerDistance"],"SelectionCellFormat":["topMargin","bottomMargin","leftMargin","rightMargin","verticalAlignment","background"],"SelectionImageFormat":["width","height","resize"],"Editor":["insertImage","toggleBold","toggleItalic","toggleUnderline","toggleStrikethrough","toggleSubscript","toggleSuperscript","toggleTextAlignment","increaseIndent","decreaseIndent","applyNumbering","applyBullet","applyStyle","clearList","clearFormatting","canMergeCells","mergeCells","applyBorders","insertPageNumber","insertTableOfContents","insertRow","insertColumn","deleteRow","deleteColumn"],"EditorHistory":["undo","redo","canUndo","canRedo"]}' },
{ 'path': 'document-editor/print', 'name': 'Print', 'component': 'PrintView', 'description': 'The Document Editor component is used to view and print Word documents in web applications by injecting only the modules that are necessary.', 'order': '03', 'category': 'Print', 'api': '{"DocumentEditor":["enablePrint","documentName","pageOutline","viewChange","documentChange","zoomFactorChange"]}' }
]