🖼 Simple file-upload utility that shows a preview of the uploaded image. Written in TypeScript. No dependencies. Works well with or without a framework.
BasicSetbasicSet = newBasicSet(
MainActivity.this,
sourceFilePath,//word file pathhtmlFilePath,//after conver html file storage pathhtmlFileName);//html fileName//Some configuration can be added...//The concrete in BasicSet.class//basicSet.setHtmlBegin(htmlBegin);StringhtmlSavePath = WordUtils.getInstance(basicSet).word2html();
...
//Render in a webviewwebView.loadUrl("file://"+htmlSavePath);
Known Bug
Ican't set the image to fit the screen width
Itriedtostylethelabel//String imgBegin = "<img src=\"%s\" width=\"100%\" height=\"auto\">";//basicSet.setImgBegin(imgBegin);Butitfailed...
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].