I have a Excel file that I want to display and edit on a Website.
I know displaying is possible with PHPExcel.
https://github.com/PHPOffice/PHPExcel
Maybe this can help? https://github.com/SheetJS/js-xlsx
The question is: is it possible to have the Excel file on the website and two cells being editable for the user. The information in the Excel file would most likely change after calculating the file again, if the cells got changed. I couldn't find information about that online, so I ask you guys. Maybe it's not possible at all. In that case what would be your recommendation to solve this problem?
Thank you
Related
We have a large HTML file which allows us to make inputs such as somebodies name, gender and then from a dropdown list the session they completed in this day. This then autogenerates a bunch of text for that client. This is then copy and pasted into the relevant Word document template and saved as a pdf and emailed off. So far we have only been able to generate .txt files but this of course has not got images.
I have asked around the office and into other places online and no soloutions have yet to get any results. I have been able to generate .txt files but this does not help too much as it cannot have any images for the report. I am currently using Javascript. I have really been looking in to this for days and found nothing so posting here as a last resort
I am looking for ways to present a PDF file in the browser but make it not downloadable or printable.
If someone really goes through all the trouble to disable the JavaScript library or anything like that, that is fine. This is more for the reason that the content within the PDF will be updated regularly so if you download it it will be out of date by the next day.
I also cannot rely on marking the pdf as protected or encryption as a reasonable way to accomplish this.
If you have any library recommendations or anything else it would be appreciated. I am currently exploring if it is feasible using PDF.js and ViewerJS
I was able to find a solution using ViewerJS and this CSS. The CSS shows a blank page when you try to print (ViewerJS already distorts it to a non-printable state) and ViewerJS prevents you from downloading as a PDF file and instead tries to save as an HTML file.
This meets the requirements of making it just inconvenient enough to discourage users from trying to download the file since the file is always easily accessible on almost any page of the site.
https://gist.github.com/ActuallyConnor/2a80403c7827dd1f78077fb2b5b7e785
Does anyone know a way to write to a specific cell in to an existing excel file using nodejs.
Reading specific cells from an existing excel file is not a problem for me.
I have tried exceljs and kexcel without any success.
I just have started to work with Alfresco repository so I'm very much new to this technology. I'm facing a common problem to file upload(using simple HTML form submit) to add custom data to be saved.
I'm able to upload file to my alfresco repository. I'm also trying to add description, title as a field but they are not saved. When I check from Alfresco data dictionary web interface I find description field is blank.
Also, I need to save custom data like file size, image height, image width, file codec etc.
I've searched a lot this forum and internet and found several answers but none of them are complete or relevant to my work. In many cases it is stated that I need to define my custom fields in the content model XML but I'm not sure enough how to do that.
I would like to mention some references,
http://wiki.alfresco.com/wiki/Data_Dictionary_Guide
http://alfrescoblog.com/2014/05/19/alfresco-tutorial-custom-content-types
http://docs.alfresco.com/3.4/references/RESTful-UploadUploadPost.html
Another problem is most of the answers are related to JAVA which is not my technology.
I need to upload file with simple form submit by post data using the file upload API as
/alfresco/service/api/upload.
Along with custom data to be saved.
I'm bound to use technologies like HTML, Javascript, Jquery.
If someone help me by stating step-by-step process to achieve this it will be highly appreciated.
Thanks in advance.
Please read this tutorial on custom content types, which also includes a section on CMIS, which you may find relevant.
Now, I know that when I post here on SO, it is best if I include code that I've tried. The issue is, I cannot find anything on Google that is specific to my needs. So I am taking a small risk asking this question with no code to show what I've tried, because in reality I haven't been able to try anything except changing file extensions of compressed folders to match the devices used to download them on. So, here it goes -)
I have a folder, it contains 15 .MP3 files. The viewers of the site can download them via an audio player I found online (Royal Audio Player). I want to incorporate a way (not into the Audio Player, in separate HTML using images) that allows my users to have the option of downloading all the MP3 files at once, and not on-by-one.
Is there a way to do this? Any help is appreciated and I apologize again for not providing any code for people to see. Thanks in advance. =)
EDIT: Changed the title to ask about PHP methods also. =)
Create an anchor element like this
Download All
And in php, add a route on this path and create a zip and return the zip as a response.
You can use these examples on php.net to know how to create a zip in php.