Hi, i am using Ionic 4 . I load a word document using FileOpener: https://ionicframework.com/docs/native/file-opener. This gives me only a preview though.I would like to be able to change the color of each line using a pattern, e.g: red-green-red-green-… and red-green-blue-red-green-blue-… on pressing a button in the toolbar. Is there a way to achieve that?
I was wondering though . Could i a) first create a copy of the file, b) change the color of each line ,using FileWriter : https://cordova.apache.org/docs/en/3.3.0/cordova/file/filewriter/filewriter.html and then c) show the file using FileOpener ? What do you think? Would it be possible?
I was wondering if you could give me any ideas and help me achieve the desired functionality,please?
Thank you in advance