Skip to content

Commit

Permalink
Revert "Update WDV API reference to the version 11.0.0.258"
Browse files Browse the repository at this point in the history
This reverts commit a4737e8.
  • Loading branch information
gennady-ermakov committed Jun 14, 2017
1 parent a4737e8 commit dd094bb
Show file tree
Hide file tree
Showing 88 changed files with 7,261 additions and 6,186 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
bower_components/
favicon.ico
1,050 changes: 0 additions & 1,050 deletions AnnotationData.html

This file was deleted.

490 changes: 0 additions & 490 deletions Atalasoft.Annotations.html

This file was deleted.

This file was deleted.

1,444 changes: 0 additions & 1,444 deletions Atalasoft.Controls.WebDocumentViewer-TextController.html

This file was deleted.

158 changes: 0 additions & 158 deletions Atalasoft.Controls.html

This file was deleted.

159 changes: 0 additions & 159 deletions Atalasoft.html

This file was deleted.

115 changes: 115 additions & 0 deletions README.md
@@ -0,0 +1,115 @@
<a href="http://www.atalasoft.com/" style="display:inline-block"><img src="http://atalasoft.github.io/public/butterfly.png" alt="Atalasoft" display="inline" height="200px"></a>
<a href="https://bower.io/" style="display:inline-block">
<img src="https://bower.io/img/bower-logo.svg" alt="Bower" display="inline" height="200px"></a>


# Atalasoft Web Document Viewer control
[Atalasoft](http://www.atalasoft.com/) Web Document Viewer repository is for distribution on [Bower](https://bower.io/).

### Installation
You can install this package locally with bower.io.
```shell
# To get the latest stable version, use bower from the command line.
bower install web-document-viewer

# To get the specific 10.7.0 version use:
bower install web-document-viewer#10.7.0

# To save the bower settings for future use:
bower install web-document-viewer --save

# Later, you can use easily update with:
bower update
```
> Note that web-document-viewer requires Jquery, Jquery-ui, Jquery.easing, Raphael packages as dependencies.
### Using web-document-viewer
Here is a sample on how to create a client-side view for web-document-viewer.
All installed dependencies should be referenced in the head section.

```html
<head>
<meta charset="utf-8" />
<title>Web Document Viewer Sample</title>
<link href="bower_components/jquery-ui/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="bower_components/web-document-viewer/atalaWebDocumentViewer.css" rel="stylesheet" type="text/css" />

<script src="bower_components/jquery/jquery.min.js" type="text/javascript"></script>
<script src="bower_components/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="bower_components/jquery.easing/jquery.easing.min.js" type="text/javascript"></script>
<script src="bower_components/raphael/raphael.min.js" type="text/javascript"></script>

<script src="bower_components/web-document-viewer/atalaWebDocumentViewer.js" type="text/javascript"></script>
<style type="text/css">
#atala-document-toolbar
{
width: 800px;
}
#atala-document-thumbs
{
float:left;
display: inline-block;
width:150px;
height:600px;
}
#atala-document-container
{
height:600px;
width: 600px;
display: inline-block;
}
</style>
</head>
<body>
<div>
<div id="atala-document-toolbar"></div>
<div>
<div id="atala-document-thumbs"></div>
<div id="atala-document-container"></div>
</div>
</div>

<script>
var _viewer;
var _thumbs;
(function() {
_viewer = new Atalasoft.Controls.WebDocumentViewer({
parent: $('#atala-document-container'),
toolbarparent: $('#atala-document-toolbar'),
serverurl: 'WDVHandler.ashx',
savepath: 'Save/',
});
_thumbs = new Atalasoft.Controls.WebDocumentThumbnailer({
parent: $('#atala-document-thumbs'),
serverurl: 'WDVHandler.ashx',
viewer: _viewer
});
})();
</script>
</body>
```
WDVHandler.ashx as serverurl is the name of the class inherited from IHttpHandler [C#].
See [NuGet Tutorial I - Web Document Viewer](http://atalasoft.github.io/2016/06/21/nuget-tutorial-wdv/) to deploy server-side using NuGet packages.

### Licensing

To run the projects locally, you need to have a DotImage license. There are various way to acquire the license:

- Use [DotImage Activation Wizard Visual Studio extension](https://visualstudiogallery.msdn.microsoft.com/88ff07c9-fe68-48bd-bfdc-3fbc8a0ec1db)
- Download a complete DotImage installation package from the [Atalasoft web site](https://atalasoft.com). You will be prompted to activate the product during installation

Web Document Viewer object cross browser client-side script.
Copyright 2003-2016 Atalasoft Inc. All Rights Reserved.

This source code is property of Atalasoft, Inc. (http://www.atalasoft.com/)
Permission for usage and modification of this code is only permitted
with the purchase of a source code license.

### Related Articles

- [Introducing NuGet Packages](http://atalasoft.github.io/2016/05/03/introducing-nuget/)
- [Introducing Activation Wizard Extension](http://atalasoft.github.io/2016/05/14/introducing-activation-wizard-extension/)
555 changes: 0 additions & 555 deletions WebThumbnailerConfig.html

This file was deleted.

97 changes: 97 additions & 0 deletions atalaWebDocumentViewer.css
@@ -0,0 +1,97 @@
.atala-document-container { border: 1px solid #DDDDDD; }
.atala-document-toolbar { border: 1px solid #DDDDDD; background-color: #DDDDDD; }

.atala-ui { font-size: 0.8em; }
.atala-ui-button { font-size: 0.8em; margin-left:1px; }

.atala-ui-icon { width: 16px; height: 16px; background-image: url('images/atala-ui-icons-16.png') !important; }
.ui-state-default .atala-ui-icon { background-image: url('images/atala-ui-icons-16.png') !important; }

.atala-ui-icon-page-prev { background-position: 0 0; }
.atala-ui-icon-page-next { background-position: -16px 0; }
.atala-ui-icon-zoom-out { background-position: -32px 0; }
.atala-ui-icon-zoom-in { background-position: -48px 0; }
.atala-ui-icon-zoom-full { background-position: -64px 0; }
.atala-ui-icon-fit-best { background-position: -80px 0; }
.atala-ui-icon-fit-width { background-position: -96px 0; }

.atala-ui-icon-save { background-position: -112px 0; }

.atala-ui-icon-ellipse { background-position: -128px 0; }
.atala-ui-icon-highlight { background-position: -144px 0; }
.atala-ui-icon-line { background-position: -160px 0; }
.atala-ui-icon-lines { background-position: -176px 0; }
.atala-ui-icon-freehand { background-position: -192px 0; }
.atala-ui-icon-polygon { background-position: -208px 0; }
.atala-ui-icon-rectangle { background-position: -224px 0; }
.atala-ui-icon-fillrect { background-position: -240px 0; }
.atala-ui-icon-stamp { background-position: -256px 0; }
.atala-ui-icon-image { background-position: -256px 0; }
.atala-ui-icon-note { background-position: -272px 0; }
.atala-ui-icon-text { background-position: -288px 0; }
.atala-ui-icon-comment { background-position: -304px 0; }
.atala-ui-icon-rotate-left { background-position: -320px 0; }
.atala-ui-icon-rotate-right { background-position: -336px 0; }

.atala-ui-icon-selection { background-position: -352px 0; }
.atala-ui-icon-zoom-area { background-position: -368px 0; }
.atala-ui-icon-text-tool { background-position: -384px 0; }
.atala-ui-icon-pan-tool { background-position: -400px 0; }

.atala-ui-icon-search-next { background-position: -416px 0; }
.atala-ui-icon-search-prev { background-position: -432px 0; }

.atala-ui-form-highlight { background-color: rgb(204, 215, 255) !important; background-color: rgba(204, 215, 255, .7) !important }
.atala-ui-form-required { border: 3px solid red !important }

/* set box sizing to default for internal divs since changing to 'border-box' could affect internal sizing calculations */
.atala_main_container div {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}

.atala_page_div, .atala_dom_edge_first, .atala_dom_edge_last {
vertical-align: top;
}

.atala_search_container { float: right; overflow: hidden; white-space: nowrap; max-width: 200px;min-width: 120px; }
.atala_search_container > span { display: table-cell;vertical-align: middle;}
.atala_search_next, .atala_search_prev { margin: 0; }

.atala_search_input {
border: 1px solid #dedede;
border-right: 0;
box-sizing: border-box;
max-width: 100%;
background: #fff url(data:image/gif;base64,R0lGODlhBwAHAIAAAP///5KSkiH5BAAAAAAALAAAAAAHAAcAAAIMTICmsGrIXnLxuDMLADs=) no-repeat right -10px center;
padding: 3px 18px 3px 4px;
transition: background 0.4s;
width: 100%;
}

.atala_search_input.atala_search_input_clearable { background-position: right 5px center; }
.atala_search_input.atala_search_input_clear_hover{ cursor: pointer; }
.atala_search_input::-ms-clear {display: none; width:0; height:0;}
.atala_search_input.atala_search_input_empty { border: 1px solid red; }
.atala_search_input.atala_search_input_loading {
background: url(data:image/gif;base64,R0lGODlhBwAHAIAAAP///5KSkiH5BAAAAAAALAAAAAAHAAcAAAIMTICmsGrIXnLxuDMLADs=) right 5px center no-repeat, url('images/atala-ui-spinner.gif') right 15px center no-repeat;
padding-right: 35px;
background-size: auto, 15px;
background-color: #fff;
transition: background 0
}

.atala_page_loading {
background: url('images/atala-ui-spinner.gif') center no-repeat;
}

.atala_thumb_caption, .atala_page_number{
font-size: medium
}

.atala_drag_placeholder {
/* override placeholder width/height using !important modifier if needed */
border: 1px solid #BBBBBB;
vertical-align: middle;
}
830 changes: 830 additions & 0 deletions atalaWebDocumentViewer.js

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions bower.json
@@ -0,0 +1,31 @@
{
"name": "web-document-viewer",
"description": "Atalasoft JavaScript library for presenting images and documents, including PDF Forms, on a web page.",
"main": [
"atalaWebDocumentViewer.js",
"atalaWebDocumentViewer.css"
],
"keywords": [
"Atalasoft",
"imaging",
"image",
"web",
"javascript"
],
"authors": [
"Atalasoft"
],
"license": "https://www.atalasoft.com/Pricing/Licensing-Overview",
"homepage": "https://www.atalasoft.com/Products/DotImage",
"ignore": [
"icon.png",
"favicon.ico"
],
"dependencies": {
"jquery-ui": "^1.8.23",
"raphael": "^2.1.2",
"jquery": ">=1.7.1",
"jquery-easing-original": "^1.3.0"
},
"version": "10.7.10"
}
1,050 changes: 1,050 additions & 0 deletions docs/AnnotationData.html

Large diffs are not rendered by default.

490 changes: 490 additions & 0 deletions docs/Atalasoft.Annotations.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,444 changes: 1,444 additions & 0 deletions docs/Atalasoft.Controls.WebDocumentViewer-TextController.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions docs/Atalasoft.Controls.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Atalasoft.Utils.html → docs/Atalasoft.Utils.html

Large diffs are not rendered by default.

159 changes: 159 additions & 0 deletions docs/Atalasoft.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

555 changes: 555 additions & 0 deletions docs/WebThumbnailerConfig.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion global.html → docs/global.html

Large diffs are not rendered by default.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
107 changes: 107 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
144 changes: 144 additions & 0 deletions docs/tutorial-annotations-burn.html

Large diffs are not rendered by default.

269 changes: 269 additions & 0 deletions docs/tutorial-demo-application-aspnet-core.html

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions docs/tutorial-demo-application.html

Large diffs are not rendered by default.

105 changes: 105 additions & 0 deletions docs/tutorial-getting-started-web-document-viewer.html

Large diffs are not rendered by default.

253 changes: 253 additions & 0 deletions docs/tutorial-programming-wdv-server-save-doc.html

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions docs/tutorial-programming-wdv-server.html

Large diffs are not rendered by default.

135 changes: 135 additions & 0 deletions docs/tutorial-text-selection.html

Large diffs are not rendered by default.

Binary file added icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/atala-ui-icons-16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/atala-ui-spinner.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 0 additions & 107 deletions index.html

This file was deleted.

144 changes: 0 additions & 144 deletions tutorial-annotations-burn.html

This file was deleted.

269 changes: 0 additions & 269 deletions tutorial-demo-application-aspnet-core.html

This file was deleted.

160 changes: 0 additions & 160 deletions tutorial-demo-application.html

This file was deleted.

105 changes: 0 additions & 105 deletions tutorial-getting-started-web-document-viewer.html

This file was deleted.

253 changes: 0 additions & 253 deletions tutorial-programming-wdv-server-save-doc.html

This file was deleted.

239 changes: 0 additions & 239 deletions tutorial-programming-wdv-server.html

This file was deleted.

135 changes: 0 additions & 135 deletions tutorial-text-selection.html

This file was deleted.

0 comments on commit dd094bb

Please sign in to comment.