I'm looking to export an Excel file into HTML format and keep the same formatting when this is done. I'm aware of general difficulties when dealing with Excel and HTML exporting, but for a variety of reasons this is what we are pursuing.
I'm constrained to Microsoft Excel 2010. When I export to HTML, every aspect of the formatting goes through except for conditionally formatted icons (in this case the little green circle / yellow caution sign). The way we are reporting makes having these icons crucial. Is there an easy way (in VBA or otherwise) to "hardcode" the icons in order to make them appear in the HTML export? That is, is there an easy way to place an image at a certain size in a certain cell conditionally using a script before something is exported?
Alternatively, if there is a way to get conditionally formatted icons to work in HTML exports that would be a great solution.
Related
Does anyone know a good way to generate an adaptive pdf? I am currently working on a project where I need to create a report where text and numbers are inserted into the text in a template. I, therefore, need the pdf to adapt to the length of these inputs. My initial thought was converting HTML to pdf, which works, it is just very time-consuming to write HTML for 14 pages. I have tried different ways to generate HTML, from canvas to adobe and different applications found online. Although this often looks beautiful in HTML, the HTML generated in this way does not convert to pdf without compromising the appearance of the report. At least not with my method of using wkhtmltopdf. Does anyone have any ideas on how to efficiently make a beautiful pdf report that adapts to the length of text input?
Thanks for any answers:)
This question is pretty straightforward.
I have a bunch of code that I want to put into Microsoft Word. Naturally, I copied and pasted it from Flash CS6, but the colours weren't part of the formatting. It's essential that the colours stay so I can differentiate between keywords, variables, classes, etc.
Is there a way I can do this?
NB: By the way I'm talking pages upon pages of code, I've done a little searching and all solutions I've found so far are to do with code snippets, or other languages.
Try this online tool.
Simply paste your code into the box and from the drop-down list choose C# as your code language (is nearest to AS3 for syntax formatting, but you could experiment with the other options).
Now click Show Highlighted and a new window will have the code with colour formatting. Just select and copy-paste that into MS Word.
I have a number of reports that display dates in the UK format. I need to change these to display dates in the Japanese format. I've changed the LANGUAGE to be ja-jp and the report looks fine when I preview it in Visual Studio 2008. However, when I upload it to the server and come to view it the styling has gone and the date isn't formatting.
Is there anything obvious I'm missing or have overlooked?
I have found two solutions to this. The first involved moving the text box. I had a text box at the top of the report. When I changed its language to ja-jp then the appearance of the table beneath was affected. Moving the text box below the table prevented this from happening. It sounds a bit ridiculous but it worked.
The other involved editing the actual RDL file. Instead of specifying the language I edited the FORMAT tag within the STYLE tag
<Format>yyyy-MM-dd HH:m</Format>
We are having Multiple PDF which have account tables and balance sheet within it. We have tried many Converters but the result is not satisfactory. Can anybody please suggest any good converter that would replicated the contents of PDF to Exact structure in HTML. IF any paid Converter is there please suggest me .
This is the PDF we want to convert and Show in html "http://www.marico.com/html/investor/pdf/Quarterly_Updates/Consolidated%20Financial%20Results%20-%20Q3FY11.pdf"
Have you looked into this? http://pdftohtml.sourceforge.net/
It's open source as well, so it's free and can be modified if necessary.
There's even a demo showing the before PDF and the after HTML version. Not bad if you ask me.
If you're having issues specifically with tables in PDFs, perhaps the issue are the table themselves and whatever program is being used to generate them. Not all PDFs are created equal.
ALSO: Be aware that all PDFs that I've created and come across over the years have had lots of issues when it comes to copy/pasting blocks/lines of text that have other blocks/lines of text at equal or higher height on any given page. I think Acrobat lacks the ability to define a "sequence order" of what block is selected after what (or most programs don't use it properly), so the system sorta moves from a top-down, left-to-right way of selecting content.....even if that means jumping over large blank areas or grabbing lines from multiple columns at once when you wouldn't expect it. This may be part of your tabular data issue. Your weak link here is the PDF format itself and I think perhaps you may be expecting too much from it. Turning anything into a PDF is pretty much a one-way street, especially when you start putting lots of editable text into it.
Have you tried http://www.jpedal.org/html_index.php - there is also a free online version
I basically have an application that generates reports in a .html file, I use a .html file for the ease of making tables and formatting text.
Now I would like to introduce a way of printing the reports from my program. Because I use a .html file, the formatting would not the correct if I was to print it directly from my application (as far as I know). For this reason, I would like to print it just like my web browser would have in order to keep the tabular data intact and the text formatting.
Does anyone know a way to do this?
Thank you.
CSS can do everything you need. You may want to open the document in its own window (or Iframe) with its own stylesheet specifically designed for your report.
See: Good rules for setting up print css?