OpenOffice spreadsheet import into HSQLDB - openoffice.org

OpenOffice ships with HSQLDB. Is it possible to easily import the contents of an OO spreadsheet into the built in database? An added nice to have would be to include the formatting of the cell contents. ie. colors, line feeds, etc.
This question has gone unanswered so I'm offering a bounty. Please provide the code to the solution.
The provided link does work, and no coding is required. To summarize:
Create and register an Open Office DB.
1.1 Looks like you can register any DB for which you have a JDBC driver. (ie. MySql,Postgres)
Create column headings in row 1.
Select data and copy it to the clipboard.
3.1 Limited selection to only the desired rows because OO crashed when I selected all rows.
Go to the Table (Tables pane) view of the database.
Right-click and paste your data.
Follow the instructions provided my the wizard that opens.

I don't know if you would call it easy, but apparently there are ways to import data into open office's base database.
This article explains how to manually import data into the database. And this article has more pretty pictures for the same process. One reason you may not be getting the answer that you want, is that there is very little detail in your question. You could add some more and maybe someone out there can help.

Related

How do I import a Google sheet in a chrome extension project?

I wish to enhance an existing web page by adding statistics that can be regularly fed by a large amount of people.
I chose to use Google Sheets to retrieve the data so that anyone can access the tables and make their addition but I have no clue of how to display the sheet's results in the concerned web page.
In my case, I'm editing the webpage's text from Javascript.
I thougth of two tools that might help:
Importing the google sheet in Javascript (I can't find how to do that, an alternative would be welcome if not possible)
Importing the google sheet in Python and then exporting its results as an internal .txt file which I should be able to read with Javascript but that would require the .txt file to be updated every now and then.
Could you guys lend me a hand in how to do this?
Thanks in advance!

Custom Report Printing in Oracle Apex

What is the best way to create a Custom Report Template to print in Oracle Apex ? I saw some posts that've already been answered, but since they were Apex 5.1, I was wondering if these were still up to date, or if there are easier way no (I am using Apex v21.1). Also, the "Printing" attribute in the Reports does not give me the possiblities to do these specific things :
I would like the users to print an Interactive Report, which will display the logo of the company, the export date, and the data obviously. Is it possible to set custom margin so the list take more space on the page, and to set a custom size for the column, in case I have a column with a long text in it ?
Thanks in advance,
Thomas
Welcome to one of the weakest points of Oracle APEX, printing.
Honestly, the best option is Apex Office Print(AOP), but they are a paid plugin.
They enable lots of different printing, quite easy to grasp, and I am quite satisfied with them.
Other options I have seen are:
Make an excel sheet from within the database and you can generate that dynamically(you can also expand fields, colour them, probably can also put an image in there but I havent tried that).
I once decided to torture myself and I tried printing through HTML, as in I created an HTML document with the data I wanted(I made an invoice), but that has many problems, chief among them being page breaks.
Another option that was recommended to me, but that I have not yet tried was setting up an Apache FOP, having the Oracle database generate an XML, send it there and get back a nice looking pdf(http://www.apex-reports.com/videos.html).
I hope you get something working, and if you try this Apache FOP approach please let me know how it goes.

Ranorex to read data from an Excel spreadsheet

I have an Excel spreadsheet with lots of data that needs to be entered to a desktop app.I do not want to manually type in all this information because it can take me forever to do that. Is there a way i can make a recording on ranorex for only one row (first row) of data and somehow instruct Ranorex to follow what i did on the first row to load the rest.
Your question isn't very clear, so I'll try to answer what I think you're asking.
Ranorex has built-in support for working with Excel spreadsheets.
Basically, you need to create a data source that uses your Excel spreadsheet file. Ranorex will then be able to map the values in each row to module variables. You can find the Data Sources dialog by right-clicking on a Test Case in the rxtst file.
Ranorex will automatically rerun the test case for each row in the spreadsheet. You can limit it, if you want, to just the first x number of rows in the Data Sources dialog.
You can find a lot more info about this on Ranorex's User Guide in the Data-Driven Testing Lesson.

Insert a table with images into a specific cell in Excel

I have an ASP.NET MVC website and my client would like to export data to an excel spreadsheet but a certain template needs to be used. All the data is pulled dynamically from a MS SQL database.
I have used this thread as a start up point, open xml excel Insert actual value in the placeholder. It works well for me with regards to replacing placeholders in an excel template with data from the database.
However, I am completely stumped when it comes to placing a complete table with data directly into a cell, i.e. A10. Also, each row in the table has an image in the first column.
I thought about replacing the "{table}" placeholder with a html table containing the data, but with the research I have done, it doesn't look like that would work. If I am correct about it not working, could you please point me in the right direction?
Thanks in advance for any help.
I have found a solution using OpenXML through this tutorial by Eric White on the MSDN site.
Hope this can help someone else.

ASP.NET: How to retrieve data from access/Excel file?

A company is creating a web site for the organization I work for. Since the web site is still being developed, some modules are not yet there. For instance, in order to print data obtained from a query, one needs first to export it to Excel or Access. Then, from Excel or Access, it is important to do some adjustments (adjust columns width and rows height, modify titles, so on) to make it easy to print.
I would like to create a small web application that will avoid us doing those operations manually. Unfortunately, the other application is in JSP/Java while I only know ASP.NET/C#.
How can I retrieve all this data, which are either in Excel or Access, and reload them into my application for printing?
Thank you
This guy did a brilliant article on getting data from excel using ado.net, I have written a program based on his instructions and it is working fine with Excel 2007 files, and can handle very long column data as well.
Link to article
Have you considered writing a macro in Excel instead of trying to do everything on the server? Creating a macro in VBA isn't difficult, and you can distribute it as an Add-In to your users. Takes some good instructions for them to install it, but avoids all the potentially messy issues of import/export of Excel files.

Resources