-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save PDF instead of download only #6
Comments
If the annotated file replaces the original PDF, the annotations can not be removed in the future. |
Ok, good point. So with a press on the save button the user should be prompted with a text input to enter a file name. The original file name could be inserted as a default placeholder. With that mechanism in place, the user could decide, wether he wants to replace the original file or make a copy of it. If you cannot implement this functionality at the moment, could you point me in the right direction so that I could start developing it? Maybe with some helpful comments from your side we could get it working... |
The combined file is available on the server at Line 813 in 2304412
Here an upload to Nextcloud would have to be implemented. I don't know about the necessary APIs though. Another way would be to add an API to Nextcloud that downloads the combined file from the server and stores it internally. For that I would have to read API documentation first, too. |
This feature would be really great 👍 |
There is no need to rename the file when saving. Nextcloud keeps old versions (3-dots button --> details --> versions), so the original file will always remain available. |
I need to add 2 cents to this request, it is an ABSOLUTELY CRITICAL feature that it will be able to save-IN-PLACE (i.e., withOUT renaming). In fact, the "download" option can be removed altogether -- it is completely unnecessary since Nextcloud can provide download functionality after saving. The problem with being restricted to download-only, is that it doesn't offer any utility that can't be done better with a standalone pdf annotator. Trying to use this within Nextcloud means annotating the file, downloading, and then uploading. Using a standalone annotator means only changing the order of that -- download, then annotate, then upload -- no benefit here. Following a successful save, it should also clear all annotations for that document from the database, having already been applied to the document. |
@fancycode - Here's the easy sauce;
** Note that that creates a PUT request. The user-agent header there is to bypass a cross-site request forgery check in lib/Connector/Sabre/Auth.php And every time you upload the file like that, its a new version with old versions still recoverable in the "versions" menu, so always keep the same name. The only data missing in server.js to accomplish this is the "path/to/" component of the file path, which I'm sure is easy enough at the frontend code to find and pass along to the backend. |
This is an important feature that would allow me to use this App as a replacement PDF reader on tablets whilst keeping the documents in a centralised location |
I suggest you try this fork as it has many missing features already done: https://gitlab.com/nextcloud-other/nextcloud-annotate |
Thanks for this this is exactly what I was looking for. :-)
…________________________________________
From: szaimen ***@***.***>
Sent: 02 September 2021 15:52
To: strukturag/pdfdraw
Cc: Pete Symes; Comment
Subject: [Marketing] Re: [strukturag/pdfdraw] Save PDF instead of download only (#6)
CAUTION: This email originated outside of Kinly.
Please help keep your organization and partners safe, think before you click.
I suggest you try this fork as it has many missing features already done: https://gitlab.com/nextcloud-other/nextcloud-annotate
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVOSGNAUFA7AAHZOY6OJ373T76FT7ANCNFSM4U3LBBRQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
|
Could it be possible to save the annotated PDF to the original file instead of being able to only download it? Like a "save"-button in the secondary toolbar right next to the download button. That would be awesome.
We are using this plugin to annotate documents in the nextcloud for some users. They have to be able to see the annotations. So the current workflow is: The annotator opens a PDF file from a user, annotates it, then downloads it. Then he deletes the original file and uploads the annotated file. That could be much simpler if there were a save button which just combines the annotations and the pdf and saves it to the path of the original file.
Is this somehow possible?
Best regards,
elvirus
The text was updated successfully, but these errors were encountered: