Generate Jasper reports without text boxes - jasper-reports

When I generate an RTF report with Jasper each text field and static text that I declared in JRXML are converted in Text Boxes
[
I need to generate an base64 then and send to an webservice which were build from other people. The problem is that this webservice did not process those text boxes which Jasper generate.
As far as I realize this is not an Jasper problem it is an problem from Webservice´s API which do not process that component however is there some configuration to generate reports in Jasper without this text boxes just text and enters?

Acording Jaspersoft Community
Unfortunately there's no possibility to avoid RTF textboxes at the moment.Due to pixel-perfect output requirements, the RTF exporter in JR is based on textbox-layout.
So I will try anoter RTF exporter

Related

How to hide text fields while print the report using JasperReports

I'm developing report compatible with pdf, xls and html.
I need to hide a text field when print the report in JasperReports.
I've use the net.sf.jasperreports.export.{format}.exclude.key.{keyvalue} property to hide the text field while export the document in pdf.
I need the same while take print the report.

is there a way to remove rtf from a database memo field within a formula in crystal reports version 11.5.10

I have a database memo field stored as rich text format ( rtf). I can drop it in a report and set the format of the field as rtf within crystal reports version 11.5.10 and see the text without the rtf control characters. However, I want to construct a crystal reports formula/function to process the ascii text, so is there a way to programmatically within crystal report to strip the rtf control characters from the memo field so I can work with only the ascii characters ?
I could not find such a function within CR or mention of a solution to this problem by googling.
Cheers,
You could try looking at this.
http://tech.groups.yahoo.com/group/BillQuick/message/937?
I found it and used it to change/override RTF font settings to print large text for easier reading. It could probably be modified to strip to ASCII.
Cheers,

iReport and rich text editor printouts

I have a question to iReport/JasperReports experts.
I just started to learn JasperReports and iReport.
It looks promising, when you want to print some table reports based on some datasource.
But I have little different requirement.
I have templates prepared in Microsoft Word (typical agreement printout).
Mostly static text with lots of formating like:
lists,
enumerations,
bolding,
italic,
different size fonts,
margins,
indentions,
alignments
and so on
with very few dynamic fields to fill like name, surname, identity number, ...
I can`t find easy way to implement such rich text editor templates in iReport.
Is it possible?
Is it managable?
Is iReport/JasperReports suitable for such rich text editor like printouts?
Thanks
iReport really just defines the template and formatting of the data printed in the report, so you can use it to set font sizes, styles, margins, indentations, etc. If you're using things like a bulleted list or a numbered list, you may have to improvise some using subreports, but for the most part this type of setup is exactly what iReport does.

Crystal Reports Formula to parse RTFtext based on font format ie Bold and Italic

I have a column of RTF data that looks like the following:
The terms or definitions to be used in this document are:
Daily Operator. Used when the user is.......etc..
Using crystal reports I would like to grab just the BOLD text using a formula or equivalent.
I keep getting the RTF markup instead of standard text. Here is an example that I used to grab first 10 characters.
DIM convertedText as String
convertedText = cstr({table.DefinitionRTF})
FORMULA = MID(convertedText, 1, 10).
Looking ahead a bit more, how would one determine where the bold or italic Starts. Can you check for crBOLD and return the characters index position?
Thanking all in advance.
No, Crystal does not have the built-in commands to parse RTF objects by font properties. The purpose of Crystal Reports is to present formatted reports (and it more or less does this job very well). Sorry, but it's definitely not made to be a RTF parser.
I recommend doing this with some other tool, for example, a VBA script in MS Access that imports the RTF and parses it using the MS Word API. Probably wouldn't be that difficult.

RTF formatting in jasper reports

I have a report which I generate RTF format off that. It displays fine on the jsp page or in the ireports preview but when it generates the RFT format, it gives me the "Invalid text height" error.
I have no idea which field is causing this error, is there a way in ireports to drill down exactly which field is causing it?
Search for height="0", I had the same issue and in my case there was a Static Text field which had height set to 0. Once I removed this Text Field RTF worked like a charm again.