Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Cannot give pixels in report styling
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Cannot give pixels in report styling
 Login/Join
 
Gold member
posted
Hi Everyone,

I am just wondering if it is possible to give report dimensions in pixels. For example
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='ARIAL', SIZE=13 , COLOR=RGB(90 90 90), $.
Here size 13 is in pts not pixels.

I have gone through the below page in documentation and looks like only INCHES, CM and PTS are only allowed units. Please provide your inputs on this one.

https://infocenter.information...ource%2Ftopic167.htm

Regards
BI DEV

Regards

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus 8105/8202
Windows
All Outputs
 
Posts: 64 | Registered: June 26, 2018Reply With QuoteReport This Post
Expert
posted Hide Post
If you want to style a heading in HTML format (Assumed due to 13px size), I would suggest using CSS.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6122 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Gold member
posted Hide Post
Thanks Waz. That is my last resort.But, was just wondering if there is a possible workaround in FOCUS itself.


Webfocus 8105/8202
Windows
All Outputs
 
Posts: 64 | Registered: June 26, 2018Reply With QuoteReport This Post
Expert
posted Hide Post
Your last resort would be asking TechSupport


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6122 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
From your other posts I gather you're working on responsive design. In that case, forget about pixels. They don't scale at all.

Why that matters? Try viewing the same result on a "normal" HD computer display vs. a 4K display the same size vs. a retina display. The same number of pixels gets you a very different result on each, and probably way too small on the 4K display or way too big on the HD display.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1644 | Location: Enschede, Netherlands | Registered: August 12, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
Isn't there a "UNITS=PX" available in the STYLESHEET? Not that it'll help here but it may, keeping in mind Wep's "HD computer display vs. a 4K display the same size vs. a retina display" comment.
 
Posts: 3020 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi Wep5622,

Yes, I am working on using the responsive design. if pixels don't scale, which unit you think is better to use for responsive design.

Regards
BI DEV


quote:
Originally posted by Wep5622:
From your other posts I gather you're working on responsive design. In that case, forget about pixels. They don't scale at all.

Why that matters? Try viewing the same result on a "normal" HD computer display vs. a 4K display the same size vs. a retina display. The same number of pixels gets you a very different result on each, and probably way too small on the 4K display or way too big on the HD display.


Webfocus 8105/8202
Windows
All Outputs
 
Posts: 64 | Registered: June 26, 2018Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi Doug,

UNITS=PX did not work for me.

quote:
Originally posted by Doug:
Isn't there a "UNITS=PX" available in the STYLESHEET? Not that it'll help here but it may, keeping in mind Wep's "HD computer display vs. a 4K display the same size vs. a retina display" comment.


Webfocus 8105/8202
Windows
All Outputs
 
Posts: 64 | Registered: June 26, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
BI_Dev

I looked back and the project to implement UNIT-PX was never implemented and has been dropped as a new feature enhancement.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1603 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Cannot give pixels in report styling

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.