Hi,
It would be nice to have a save as pdf.
I know this library, but I'm using excel templates and it's easier to have a save as function.jPDFjet
jPDFjet is a PDF document authoring library for B4J jPDFjet wraps the PDFjet for Java library from pdfjet.com. Here are some of it's features: Drawing support for: Points Lines Boxes Circles Bezier Curves Polygons Stars Complex paths and shapes Text Unicode support Text kerning when using...www.b4x.com
excel.get("sheet1","A",3) 'based on the below excel it would return Bill
excel.get("sheet1","B",3) ' based on the below excel it would return Jones
excel.put("sheet1","A",5, "Tommy") ' and it replace the value or insert the value
excel.setformula("sheet1","C",6,"=SUM(C2:C5)") 'based on the example it would add the formula in C6.
excel.getformula("sheet1","C",6) 'this would return the formula currently set in C6
excel.makebold("sheet1","A",4) 'based on the example it would make A4 have bold font.
excel.removebold("sheet1","A",4) 'based on the example it would remove the bold text on cell A4.
excel.setfont("sheet1","A",4, font_style)' font_style would be a object the contains if it's bold, underline, selected font to use etc.
excel.sortcolumn("sheet1","A","A","ASC") 'based on the example it would sort column A (A-Z)
excel.sortcolumn("sheet1","B","B","DESC") 'based on the example it would sort column B (Z-A)
excel.sortcolumn("sheet1","B1","B3","DESC") 'based on the example it would sort part of the column, B1 to B3 only (Z-A)
... or from any database.It would also be nice to have a class that would export data from a map, CSV, JSON or from a Sqlite table into a MS Excel spreadsheet.
This would help to get data out of the app and into Excel easily instead of having to code a different set export rtns.
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("select_data", Array(param1, param2))
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
POISheet.AddQueryResults(res, sheet1, A1)
....
PoiRow.CreateCellDate(DateFormat as string)
PoiRow.CreateCellCurrency(currency as string) e.g. "$", or just pick up local device setting.
PoiRow.CreateCellCustom(customFormat As string) e.g. "yyyy-MM-dd HH:mm:ss"
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?