It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want do use some of my own converter from html table to xls table, but I don't know where to start. The google don't show me comprehensive results. I know about Apache tika and poi, but do they have something easy to build converter? I used to read POI docs but it's just says about converting from xls-to-html most of time. What you will suggest to read. Where to search? Thank you.
It's a two-step process. I'd advise you to keep them separate.
Scrape and parse HTML to get table data
Write table data into Excel.
If the HTML is XHTML your life gets better: All you need is an XML DOM parser and some code to find the node at the root of the tree with the data.
I prefer Andy Khan's JExcel to POI. I think it's far better for dealing with Excel.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How do you use the reddit API to get the title/upvotes/op of a post using IOS? Is it even possible or do I have to parse the HTML? I have already parsed the front page but the posts I get don't match the desktop version at all. I feel there must be an easier way to access this information.
You sort of answered this yourself. Use the Reddit API, request the information you want and parse the JSON that's returned from the API. Specific community support found here but be sure to try and solve your problems by searching first.
You'll find a wealth of information on parsing JSON on StackOverflow, including examples specific to your language.
You can easily get the front page JSON by requesting: http://reddit.com/.json to start with.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm about to start development of an application with Ruby on Rails, which requires to print stuff, mostly tickets.
I'm guessing the printer I use won't have much impact.
So the question is, what are the different things I should take into consideration with the printing? I'm thinking a normal ruby program should have communication with a printer.
The most portable solution here is for your Rails application to emit a PDF and then hand that off to either the browser for rendering and printing, or to inject it into a local print spooler.
There are a number of ways to get PDF out of Ruby depending on your requirements. The easiest method is to render HTML and use a library to convert it to PDF like PDFKit. A method with more control is one where you draw out the document using a library like Prawn.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
We are trying to create an excel document which supports macros with some data validation code.
Is it possible to use axlsx package to create such a document.
e.g. A single sheet called Users which contains a VBA script (which can be viewed using Sheet --> View Code)
We could also provide a simple xls template file with this information, would it be possible to add rows with column data using axlsx gem.
Although, the answer is yes but as Brettdj said this is a broad guestion. I think you should first read this and this about creating forms. and then reffer to these links:
how-do-i-set-data-validation-in-vba
visual-basic-applications-validation-rule
Reviewing these addresses will help you to understand exactly what is possible and what is not.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Ok, quick points for someone who is better at searching than I am...
I know I have seen before a list of translations of common application strings like "File," "Open," "Save," "Close," and "OK," into other languages. This was not just a scrape of Google translator, but an actual "official" list based on the localized OS. It seems to me that it was on Microsoft's site, but I'm not 100% sure.
I need to translate my application into Indonesian and wanted to give our translators a head start by filling in those common terms with the standard values, but now I cannot find the web page(s)! I've spent about 15 minutes and will continue to search (and will post the answer if I find it), but if someone else knows where that is (or finds it first!), please answer.
Microsoft Language Portal
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to create an app where I have a table view and when I select a row where inside is written a name (at example "house") it give me in a textView the explanation of its meaning. What's the approach to do this app? I sould use a database as core data? but what's the way to take the text for every word? Can I use txt file or what? Can you help me?
If you want to store the data locally, I'd go either for core db, or xml file, depending on the kind of data. When you create a project in XCode with core data enabled, you can see how the crud is done.