Building PDF watermark editing tool on SharePoint Framework for SharePoint Online - reactjs

I have a requirement to build an spfx webpart that displays pdf documents stored on SharePoint Online.
The web part is meant to display links to the pdf documents and when one link is clicked, it shows the document with an autogenerated watermark and a dynamic footer. The document should then be downloaded and save those watermarks and footers.
I know spfx and react, Please who can direct me to someone or link where this has been done or provide guidance as to how to achieve it
I am still researching and I want to find the best answers before I start work

Related

ReactJS document scanner

I am new to Reactjs i am searching for a library that can be used to scan the documents from the scanner and show a preview in the react application and once i click save i need to save the preview as a pdf file.
I have looked at the options like Dynamic web TWAIN but it needs to be paid once the trial period is completed.
I would like to know is there are any open-source libraries or approaches to tackling my problem.
Thanks in advance.

Content Management Api to POST media files from external source

I am looking for a solution in episerver to add media files from external sources into episerver.I am aware that episerver has recently released Episerver Content Management API to post contents within Episerver.Is it possible to use this for media files as well.As this is newly introduced in episerver, i cant find any references other than the documentation within epi which has more of CRUD operations on Content.Can someone please point out some reference links for me to get this started?
Any input is appreciated.
Regards,
The content management API is useful if you want to create a headless website that talks to Episerver via an API to get content.
Depending on what you want to use the media for will depend on the optimal approach. I assume you want the content editors to be able to pick these items from within the CMS? If so there are two main appraoches:
You could write a scheduled task using the content repository API to import the media into the Episerver media library
The other option is to create a content provider, so the media is available in the editor, read this to learn how to do it. This option is more fidley so I would go with option 1 if possible.
If you just want to render images on a web page, then call the API using AJAX. Job done!

Aspose PDF viewer

I am using the Aspose PDF tools and have successfully got it to print the pdf which is great, but ideally I want to be able to add a wpf control to display this as well.
I would have assumed that the PdfViewer class would have something, but I can't tell.
So far I have needed to use a different control MoonPdfPanel which is annoying as I would have preferred 1 tool to do both jobs.
Does anyone know of a control I can use to hook into the aspose?
Thanks
We have developed an HTML5 PDF Editor application using Aspose.Pdf for .NET API which you can use in your application as a PDF Viewer as well. You can get the details and complete source code here. You can use the source code to edit the viewer as per your requirement.
P.S. I am working as social media developer at Aspose.
Well, if you are interesting in viewing the PDF file, you may convert the file to HTML and display it using an IFrame in your application. I have developed a sample application which performs different operations including viewing a PDF file in IFrame. Download it and try it at your end. Another option is that you can convert the PDF file to images and display in Imageviewer in your application (Code is available in the above application).
P.S. I am working as social media developer at Aspose.

Dynamic Data Display

I can't load the Applications which are get it from this link. I am going to create a many charts in Wpf by the help of Dynamic Data Display and i have seen some samples on below link but can't able to load atleast any one of them. Can any body try this, plz help me if u knw.
https://d3future.codeplex.com/SourceControl/latest#Main/src/DynamicDataDisplay.Samples/Demos
It will be great help.
Regards:-
Rajanikanth
You just have to click on the Download button, as shown in the image:
UPDATE>>>>>>>>
Please note that this is just a library, there no Main application to launch it ! You have just to make a reference to it, and then use it in your own application.
Here is what I found in the readme file:
WPF Dynamic Data Display' is a library of WPF controls for dynamic data visualization.
Homepage - http://www.codeplex.com/dynamicdatadisplay/
Blog - http://microsoft.cs.msu.su/Blog/thecentury/default.aspx (mostly in Russian for now)
Twitter - http://twitter.com/DynamicDataDisp
If you have questions, bug reports or feature requests, you can post them at 'Discussions' page at our codeplex site or
e-mail them to d3#mslab.cs.msu.su

Issues with displaying salesforce rich text editor image

We are having few rich text box in our custom objects in force.com enterprise edition. These rich text box are rendered in an android application given to our clients. Till now we were using the android app online but due to huge customer demand, we wish to make our app offline. But we are facing difficulties due to images in rich text box. The images in rich text box are stored as in a form
But when we try to use the android app offline, we cannot see the images in webview. Consulting our web developer, he said that the images do not have static path and so they cannot be downloaded and stored for offline use. So my query is, is there some way, which will help us to get static path for the images inserted in Rich Text Box available in force.com, so that we can use them offline.
Thanks!
I had the same problem some time ago and also raised the issue with salesforce. They got back to me saying that images within rich text boxes could be stored in any server and needs to be authenticated to via a browser to have access too.
But you could try to use this, but its not a guaranteed approach as salesforce can change the way they store images.
http://boards.developerforce.com/t5/General-Development/API-access-to-Knowledge-article-content-inline-images/td-p/233065
Hope this helps.
Here's the response from SFDC :
As discussed over the call, as of now Salesforce does not have this feature built in the current release, else we would be more than happy to help you.
However, you can also post an idea on our Idea Exchange, where our customers share their ideas and expectations. (http://sites.force.com/ideaexchange/ideaHome)
Please feel free to contact us, if you need any further assistance.
Thank you for contacting salesforce.
Regards
Developer Support Engineer
salesforce.com

Resources