--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webviewer+unsubscribe@googlegroups.com.
To post to this group, send email to pdfnet-webviewer@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
Hello,If you look at lib/html5/annotationHandler.php, it should have a basic implementation that handles AJAX requests to save/load annotations through xfdf. http://myserver.com is just an arbitrary url, which should be replaced with your own server url. Same thing for mydoc.xod, it is just an arbitrary name/path.Replacing the file is also shown in annotationHandler.php. Basically, it uses http://php.net/manual/en/function.file-put-contents.phpThe default setting in WebViewer uses xfdf file to save/load annotations. It makes a POST request when saving and a GET request when loading to the serverURL. You can change the serverURL to be whatever you want, as long as it handles the POST and GET request.Justin JungSoftware DeveloperPDFTron Systems Inc.
On Tue, Mar 7, 2017 at 9:03 AM, Warit Khuntaraporn via PDFTron WebViewer <pdfnet-webviewer+APn2wQd_08An0SZOwJlvSbzkMLzV9mJApfYhIcZBQU...@googlegroups.com> wrote:
I already can save the .xfdf file but I cannot load it to the current pdf please help.
On Tuesday, 7 March 2017 23:13:09 UTC+7, Warit Khuntaraporn wrote:Now I can download the pdf with annotation by press download button but I want to download this file into the server the replace the old file how to config this button
On Tuesday, 7 March 2017 01:01:50 UTC+7, Warit Khuntaraporn wrote:I can load the pdf file that embedded with annotation but when I use that file to load into the website the annotation doesn't appear on the website.
I already look at the tutorials and doesn't know how to get the .xod file and the serverUrl that has myAnnotationHandler.php
var myWebViewer = new PDFTron.WebViewer({
initialDoc: "mydoc.xod",
serverUrl: "http://myserver.com/myAnnotationHandler.php",
documentId: "unique-id-for-this-document",
enableAnnotations: true,
}, viewerElement);
Please give me some guideline to installation this method thanks.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Hello,If you look at lib/html5/annotationHandler.php, it should have a basic implementation that handles AJAX requests to save/load annotations through xfdf. http://myserver.com is just an arbitrary url, which should be replaced with your own server url. Same thing for mydoc.xod, it is just an arbitrary name/path.Replacing the file is also shown in annotationHandler.php. Basically, it uses http://php.net/manual/en/function.file-put-contents.phpThe default setting in WebViewer uses xfdf file to save/load annotations. It makes a POST request when saving and a GET request when loading to the serverURL. You can change the serverURL to be whatever you want, as long as it handles the POST and GET request.Justin JungSoftware DeveloperPDFTron Systems Inc.
On Tue, Mar 7, 2017 at 9:03 AM, Warit Khuntaraporn via PDFTron WebViewer <pdfnet-webviewer+APn2wQd_08An0SZOwJlvSbzkMLzV9mJApfYhIcZBQU...@googlegroups.com> wrote:
I already can save the .xfdf file but I cannot load it to the current pdf please help.
On Tuesday, 7 March 2017 23:13:09 UTC+7, Warit Khuntaraporn wrote:Now I can download the pdf with annotation by press download button but I want to download this file into the server the replace the old file how to config this button
On Tuesday, 7 March 2017 01:01:50 UTC+7, Warit Khuntaraporn wrote:I can load the pdf file that embedded with annotation but when I use that file to load into the website the annotation doesn't appear on the website.
I already look at the tutorials and doesn't know how to get the .xod file and the serverUrl that has myAnnotationHandler.php
var myWebViewer = new PDFTron.WebViewer({
initialDoc: "mydoc.xod",
serverUrl: "http://myserver.com/myAnnotationHandler.php",
documentId: "unique-id-for-this-document",
enableAnnotations: true,
}, viewerElement);
Please give me some guideline to installation this method thanks.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
I closed the cookie in annotationHandler.php Is it occur any problems.I just want to load the annotation back when I F5 the page mean that when I assign the did of document it should find the old annotation and load it to show on the page.Thanks,
Warit
On Wednesday, 8 March 2017 03:07:37 UTC+7, Justin Jung wrote:
Hello,If you look at lib/html5/annotationHandler.php, it should have a basic implementation that handles AJAX requests to save/load annotations through xfdf. http://myserver.com is just an arbitrary url, which should be replaced with your own server url. Same thing for mydoc.xod, it is just an arbitrary name/path.Replacing the file is also shown in annotationHandler.php. Basically, it uses http://php.net/manual/en/function.file-put-contents.phpThe default setting in WebViewer uses xfdf file to save/load annotations. It makes a POST request when saving and a GET request when loading to the serverURL. You can change the serverURL to be whatever you want, as long as it handles the POST and GET request.Justin JungSoftware DeveloperPDFTron Systems Inc.
On Tue, Mar 7, 2017 at 9:03 AM, Warit Khuntaraporn via PDFTron WebViewer <pdfnet-webviewer+APn2wQd_08An0SZOwJlvSbzkMLzV9mJApfYhIcZBQUh5...@googlegroups.com> wrote:I already can save the .xfdf file but I cannot load it to the current pdf please help.
On Tuesday, 7 March 2017 23:13:09 UTC+7, Warit Khuntaraporn wrote:Now I can download the pdf with annotation by press download button but I want to download this file into the server the replace the old file how to config this button
On Tuesday, 7 March 2017 01:01:50 UTC+7, Warit Khuntaraporn wrote:I can load the pdf file that embedded with annotation but when I use that file to load into the website the annotation doesn't appear on the website.
I already look at the tutorials and doesn't know how to get the .xod file and the serverUrl that has myAnnotationHandler.php
var myWebViewer = new PDFTron.WebViewer({
initialDoc: "mydoc.xod",
serverUrl: "http://myserver.com/myAnnotationHandler.php",
documentId: "unique-id-for-this-document",
enableAnnotations: true,
}, viewerElement);
Please give me some guideline to installation this method thanks.--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webviewer+unsubscribe@googlegroups.com.
To post to this group, send email to pdfnet-webviewer@googlegroups.com.
Hello Warit,Currently there can be issues with loading annotations to linearized PDFs. To work around, you can set useDownloader: false in PDFTron.WebViewer constructor.You can refer to the documentation about the useDownloader option: https://www.pdftron.com/webviewer/demo/doc/symbols/PDFTron.WebViewer.Options.html#useDownloaderJustin JungSoftware DeveloperPDFTron Systems Inc.
On Tue, Mar 7, 2017 at 11:41 PM, Warit Khuntaraporn via PDFTron WebViewer <pdfnet-webviewer+APn2wQd_08An0SZOwJlvSbzkMLzV9mJApfYhIcZBQU...@googlegroups.com> wrote:
I closed the cookie in annotationHandler.php Is it occur any problems.I just want to load the annotation back when I F5 the page mean that when I assign the did of document it should find the old annotation and load it to show on the page.Thanks,
Warit
On Wednesday, 8 March 2017 03:07:37 UTC+7, Justin Jung wrote:
Hello,If you look at lib/html5/annotationHandler.php, it should have a basic implementation that handles AJAX requests to save/load annotations through xfdf. http://myserver.com is just an arbitrary url, which should be replaced with your own server url. Same thing for mydoc.xod, it is just an arbitrary name/path.Replacing the file is also shown in annotationHandler.php. Basically, it uses http://php.net/manual/en/function.file-put-contents.phpThe default setting in WebViewer uses xfdf file to save/load annotations. It makes a POST request when saving and a GET request when loading to the serverURL. You can change the serverURL to be whatever you want, as long as it handles the POST and GET request.Justin JungSoftware DeveloperPDFTron Systems Inc.
Dear Justin,I have a few question about annotation I want to add the annotation to mysql database for doing global search function on my web application. Can you give me some hint to do this thingsThanks,
Warit
On Thursday, 9 March 2017 08:07:22 UTC+7, Justin Jung wrote:
Hello Warit,Currently there can be issues with loading annotations to linearized PDFs. To work around, you can set useDownloader: false in PDFTron.WebViewer constructor.You can refer to the documentation about the useDownloader option: https://www.pdftron.com/webviewer/demo/doc/symbols/PDFTron.WebViewer.Options.html#useDownloaderJustin JungSoftware DeveloperPDFTron Systems Inc.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webviewer+unsubscribe@googlegroups.com.
To post to this group, send email to pdfnet-webviewer@googlegroups.com.
Hello Warit,Sorry, I'm not quite sure what you mean. Are you looking for a functionality to search for an annotation from the database? Can you describe what you would want to search for?Currently WebViewer is focused on the front-end of the application (documents and annotations), and we have left back-end to be open ended.As per global search function, you can use either the search tab from left panel of the viewer, or use textSearchInit function (https://www.pdftron.com/webviewer/demo/lib/html5/doc/symbols/CoreControls.DocumentViewer.html#textSearchInit)Justin JungSoftware DeveloperPDFTron Systems Inc.
You received this message because you are subscribed to a topic in the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pdfnet-webviewer/F0eHrysYolM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pdfnet-webviewer+unsubscribe@googlegroups.com.
I mean that how I can directly add the annotation to database. For example, I comment on the pdf file I want this comment added on my database to let my user searching.
On Mar 21, 2017 12:47 AM, "PDFTron WebViewer on behalf of Justin Jung" <pdfnet-webviewer@googlegroups.com> wrote:
Hello Warit,Sorry, I'm not quite sure what you mean. Are you looking for a functionality to search for an annotation from the database? Can you describe what you would want to search for?Currently WebViewer is focused on the front-end of the application (documents and annotations), and we have left back-end to be open ended.As per global search function, you can use either the search tab from left panel of the viewer, or use textSearchInit function (https://www.pdftron.com/webviewer/demo/lib/html5/doc/symbols/CoreControls.DocumentViewer.html#textSearchInit)Justin JungSoftware DeveloperPDFTron Systems Inc.
I mean that how I can directly add the annotation to database. For example, I comment on the pdf file I want this comment added on my database to let my user searching.
On Mar 21, 2017 12:47 AM, "PDFTron WebViewer on behalf of Justin Jung" <pdfnet-webviewer@googlegroups.com> wrote:
Hello Warit,Sorry, I'm not quite sure what you mean. Are you looking for a functionality to search for an annotation from the database? Can you describe what you would want to search for?Currently WebViewer is focused on the front-end of the application (documents and annotations), and we have left back-end to be open ended.As per global search function, you can use either the search tab from left panel of the viewer, or use textSearchInit function (https://www.pdftron.com/webviewer/demo/lib/html5/doc/symbols/CoreControls.DocumentViewer.html#textSearchInit)Justin JungSoftware DeveloperPDFTron Systems Inc.