Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sdkjs-plugins/content/propact/3rd-Party.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This plugin uses code from the following 3rd party projects.


1. jQuery - Query is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. (http://jquery.com/)

License: MIT License
License File: jQuery.license
21 changes: 21 additions & 0 deletions sdkjs-plugins/content/propact/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 ONLYOFFICE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 17 additions & 0 deletions sdkjs-plugins/content/propact/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Overview

This plugin shows how to get content controls (automatically or manually), navigation content controls, select and paste text.

It is called "Example work with content controls navigation" in the interface and isn't installed by default in cloud, [self-hosted](https://github.com/ONLYOFFICE/DocumentServer) and [desktop version](https://github.com/ONLYOFFICE/DesktopEditors) of ONLYOFFICE editors.

## How to use

1. Open the Plugins tab and press "Example work with content controls navigation". You need to add some content controls into document (you can do it before or after the plugin was started).
2. In the first field you can see all content controls (it is updated automatically). To move to a specific content control, click on it in the list. (It was selected automatically).
3. Press the "Past "Test paste for document"" for paste text into document (where the cursor localed).
4. In the second field you can see selected content.
5. The third field is the same as the first, but it is updated manually (press the "Get All Content Controls" button).
6. You can click on some content control in document and fhe first and third fields show you the selected content controls.
7. If you nee select text in content constol - select some content control and press the "Select Current Content Control" button.

If you need more information about how to use or write your own plugin, please see this https://api.onlyoffice.com/plugin/basic
52 changes: 52 additions & 0 deletions sdkjs-plugins/content/propact/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name" : "ProPact",
"guid" : "asc.{C36NCMB5-08F0-4A68-B829-5F1F7D488588}",
"autostart": true,
"isAutoStart": true,
"autoStart": true,
"variations" : [
{
"description" : "ProPact's agile workflow drives efficiency, accountability and trust into legal and commercial document negotiation.",
"url" : "index.html",
"icons": [ "resources/light/icon.png", "resources/light/icon@2x.png" ],
"icons2": [
{
"style" : "light",
"100%": {
"normal": "resources/light/icon.png"
},
"200%": {
"normal": "resources/light/icon@2x.png"
}
},
{
"style" : "dark",
"100%": {
"normal": "resources/dark/icon.png"
},
"200%": {
"normal": "resources/dark/icon@2x.png"
}
}
],
"isViewer" : false,
"EditorsSupport" : ["word"],

"isVisual" : true,
"isModal" : false,
"isInsideMode" : true,

"initDataType" : "text",
"initData" : "",
"size" : [485, 712],

"isUpdateOleOnResize" : false,

"buttons" : [],

"initOnSelectionChanged" : true,

"events" : ["onTargetPositionChanged"]
}
]
}
Binary file not shown.
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions sdkjs-plugins/content/propact/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions sdkjs-plugins/content/propact/images/Polygon_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions sdkjs-plugins/content/propact/images/attach-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions sdkjs-plugins/content/propact/images/calender-add.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions sdkjs-plugins/content/propact/images/chat-header-icon1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions sdkjs-plugins/content/propact/images/chat-header-icon2-old.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions sdkjs-plugins/content/propact/images/chat-header-icon2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions sdkjs-plugins/content/propact/images/chat-header-icon3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions sdkjs-plugins/content/propact/images/chat-header-icon4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions sdkjs-plugins/content/propact/images/check-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions sdkjs-plugins/content/propact/images/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions sdkjs-plugins/content/propact/images/file-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading