ReactJS document scanner - reactjs

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.

Related

Building PDF watermark editing tool on SharePoint Framework for SharePoint Online

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

creating a document with react-docx using uploaded .docx file

So I have a simple, single-page React app. I want to be able to let users drop an MS Word (.docx) file onto a dropzone and then let them download an edited version of their file.
I got the dropzone working and now can access the files in my JS code, and I'm trying to use react-docx to edit the document. It seems that this is a React version of docx.js. However, I only see ways to create brand new documents, not any way to "load in" old ones for editing.
I don't want to start a document from scratch. Is there any way to make a new document using the file that is uploaded?
Anyone is appreciated who has expertise on this or just has a completely better idea for how to achieve my goal.

Create a thumbnail of document after uploading?

I am making a tiny website with reactJS where users can upload documents and share them,since multiple extensions are being uploaded,I managed to make the viewing work by just using google docs viewer.
but now i want to have thumbnails of those files,maybe of the first page so that it shows up un the search feature.
seeing that theres many extensions flying around i cant figure out how to approach this,what can i use to solve this problem ?
thank you.

$cordovaSocialSharing share() taking long time to show popup

I am building one hybrid app using ionic. Where I am sharing pictures using ngCordova's $cordovaSocialSharing plugin. I am using the general share() function to share on any shareable platform. The feature is working fine but the main bottleneck is, it's taking about 5 seconds to show the list of shareable mediums. I have checked the plugin builder's GitHub, this problem is open in the issue list. So I want to know is there any other way to optimize this.
Thanks in advance.

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