Commit
This reverts commit a4737e8.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bower_components/ | ||
favicon.ico |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
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.
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.
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.
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.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.