Here is an example of the the values for the variables we are using:
file_name = “test_doc.docx”
file_name_without_extension = “test_doc”
folder_name = “documents/test_doc_docx/”
That folder already exists in S3 and contains the original Word Doc that is “test_doc.docx”
As you can see, in the options we are setting the StorageName field with the name of our storage created in aspose.
I’m assuming that by setting that StorageName, the save_as_online will store the generated files inside that S3 bucket.
Is there a missed step on our end for that to happen? or is there another way to get the generated file from the save_as_online response that we can then store in S3?
Please note that the online methods are used to process files/content from the request body. Please use the SaveAs method to convert files from cloud storage. Please check the following links for more details.
@tilal.ahmad thank you for your answer, it seems that it is doing what is expected, I’m getting this response that includes this segment, which means to me that it is storing a register of a file stored on our S3 bucket and in the expected folders.
As stated above, please note the online methods do not involve cloud storage for file processing. So if you want to convert files from cloud storage and save the output to cloud storage, then please use the simple SaveAs method.
Hi @tilal.ahmad after successfully convert the documents we are facing a new issue, it is not happening with all the paragraphs but with most of them, using the same sample files I’ve shared in other threads:
in this html for every single space between words a <span> is created, is there a way to avoid that to happen and just create a <p> or <span> with the whole text?
The document looks very good, but the thing is that we have a feature that allows the users to highlight content from it, and with this new HTML structure that feature is failing.
Hi @tilal.ahmad I want to ask you if you know of other aspose users having problems with selecting text to create highlights and if they had resolved it in any way.
I know this question has nothing to do with the library but we haven’t been able to find a solution for this feature yet.
Can you please elaborate on what exact issue you are facing while highlighting the text in the current output HTML? We will check how we can help in this scenario.