[Solved] Variable font size in report

Getting your data onto paper - or the web - Discussing the reports features of Base

[Solved] Variable font size in report

Postby dreamquartz » Wed Feb 04, 2015 9:00 am

Hi All,

Trying to fill a fixed length of a Field, with variable text length, because of space restrictions.
Would like to be able to have a flexibile font size, so that text will fit in set length.

Possible?

Dream
Last edited by dreamquartz on Sun Feb 15, 2015 9:49 pm, edited 1 time in total.
LO 6.x and OO 4.x on Windows 7 PRO & Ubuntu 18.04 LTS.
dreamquartz
 
Posts: 684
Joined: Mon May 30, 2011 4:02 am

Re: Variable font size in report

Postby eremmel » Wed Feb 04, 2015 10:26 am

I only know that this is one of the properties of a cell in Calc. So might be possible to link to a Calc cel or use Calc as the layer on top of your imaged-pdf document, might work out nice in combination with print area, cell protection etc.
Is your question answered: edit your initial post add "[Solved]" to the subject and check V
LO4.2.8 for work with ORB; AOO4.1.4,LO5.2.5/6.0.5 on W7E SP1 64bit
It's Microsoft marketing that tells you computers are qualified for non-technicians
User avatar
eremmel
Volunteer
 
Posts: 1035
Joined: Tue Dec 30, 2008 1:15 am
Location: Barneveld, Netherlands

Re: Variable font size in report

Postby longi » Fri Feb 06, 2015 10:00 am

Hi!

I realize that you want a different thing, and I don't know how to solve this, but it is possible that this solution works for you.
1-The first report:
It only change the size of the field depending on the length of text.
Also has the posibility to change the height if the text has more than one line.
At this moment I didn't get both posibilities at the same time ( in the moment the text has the máximum length to fill a line, increase the height)
2-The second report:
The text of the textfield is copied and pasted in the writer document (because the report is a writer document). So it is manipulated as a text.
In this case I also got to justify the text.

Have a look!

Regards!
Attachments
Resizing textfield in reports.rar
(61.5 KiB) Downloaded 57 times
OpenOffice 4.1.5 on Windows 10
LibreOffice 5.1 on Windows 7
LibreOffice 6.0.1 on Windows10
longi
 
Posts: 107
Joined: Mon Jul 15, 2013 5:04 pm

Re: Variable font size in report

Postby dreamquartz » Sun Feb 15, 2015 9:49 pm

eremmel wrote:I only know that this is one of the properties of a cell in Calc. So might be possible to link to a Calc cel or use Calc as the layer on top of your imaged-pdf document, might work out nice in combination with print area, cell protection etc.


I was using cells in the Writer document, and the function of alignment on the bottom is available. The initial layout provided for multiple lines in the 1st place, so the fix was simple.

Thanks,
Dream
LO 6.x and OO 4.x on Windows 7 PRO & Ubuntu 18.04 LTS.
dreamquartz
 
Posts: 684
Joined: Mon May 30, 2011 4:02 am


Return to Reporting

Who is online

Users browsing this forum: No registered users and 1 guest