Focal Point
[CASE OPENED] Using MARKUP on a SUBFOOT

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4507076476

February 10, 2015, 11:43 PM
Waz
[CASE OPENED] Using MARKUP on a SUBFOOT
We have a issue with upgrading to V7.7.05.

We have a block of text displayed in a PDF report that uses MARKUP and the full justification tags.

In 7.6.6 this works, in 7.7.05 the justification does not quite work on the SUBFOOT.
The block moves to the left of the page.

Just wondering if anyone else has had this issue.

This code replicated the issue.

DEFINE FILE CAR
SUBFOOT_LINE1/A1500 = '<full>Customer'
| ' Service Is Everything. At Information Builders, we are as open and flexible as'
| ' our software, and our customers are our greatest asset. For every new product'
| ' and feature, there''s a customer who drove it. For every customer there''s an'
| ' answer. Our customer-centric philosophy is backed up by an integrated support'
| ' network of people passionately dedicated to the success of your business'
| ' initiatives. Consulting, Education, Technical Support, Product Development the'
| ' support network is the sum of these groups, and it stands ready to help you.'
| ' Information Builders has also created a community Web site for our developers.'
| ' At Focal Point, you can visit our message boards and browse through numerous'
| ' helpful resources.'
 | '<br><br>'
 | 'Customer'
| ' Service Is Everything. At Information Builders, we are as open and flexible as'
| ' our software, and our customers are our greatest asset. For every new product'
| ' and feature, there''s a customer who drove it. For every customer there''s an'
| ' answer. Our customer-centric philosophy is backed up by an integrated support'
| ' network of people passionately dedicated to the success of your business'
| ' initiatives. Consulting, Education, Technical Support, Product Development the'
| ' support network is the sum of these groups, and it stands ready to help you.'
| ' Information Builders has also created a community Web site for our developers.'
| ' At Focal Point, you can visit our message boards and browse through numerous'
| ' helpful resources.</full>' ;
END

TABLE FILE CAR
 SUM
 COUNTRY AS 'Col1'
 SEATS/P20.8B   AS 'Col2'
  BY COUNTRY  NOPRINT

WHERE COUNTRY EQ 'ENGLAND'

 ON TABLE NOTOTAL
 ON COUNTRY SUBFOOT
 " "
 "<SUBFOOT_LINE1"
 ON TABLE PCHOLD FORMAT PDF
 ON TABLE SET STYLE *
 TYPE=REPORT, GRID=OFF, ORIENTATION=PORTRAIT, $
 TYPE=REPORT, SIZE=8, $
 TYPE=REPORT, PAGESIZE=A4,FONT=ARIAL, UNITS=CM, $
 TYPE=REPORT, FONT='ARIAL', SIZE=9, LEFTMARGIN=2.1, RIGHTMARGIN=2.1, BOTTOMMARGIN=0.5, TOPMARGIN=1.6, $
 TYPE=REPORT, COLUMN=P1, WRAP=12.5, $
 TYPE=REPORT, COLUMN=P2, WRAP=3,  $
 TYPE=TITLE,  STYLE=BOLD, SIZE=10, BORDER=MEDIUM, BACKCOLOR='RGB(193 197 200)', $
 TYPE=DATA, BACKCOLOR=(WHITE RGB(193 197 200)), BORDER=MEDIUM, $
 TYPE=SUBFOOT, FONT='ARIAL', SIZE=9, MARKUP=ON, $
 ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 11, 2015, 06:08 AM
Tony A
Waz,

Similar in WF8 - I would call it in.

The "full" tags do not seem to be honoured either. Using "wrap" at subhead level helps a little.

The BR tags also appear to help things to go wrong, try using HEXBYT(13,'A1') instead with LINEBREAK=CR at report level.

That gives a reasonable output but without full justification. Frowner

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
February 11, 2015, 09:37 AM
Kevin W
PRINTPLUS = ON is one of my favorite commands when using PDF. You have to understand how it works with PDFs and I'm not sure it will do anything with the MARKUP override. With those caveats, I thought I would throw it in as it can clean up some pesky things.


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.
February 11, 2015, 11:37 AM
DavSmith
Confirmed that this issue exists in 8.09 but works correctly in 7.6.11.

The problem seems to be the sylesheet setting for the leftmargin affecting the MARKUP text field.

The STYLESHEET LEFTMARGIN=2.1 is respected on the first line of text for the defined field (line 2 of the subfoot) but the subsequent lines appear in the leftmost postion on the page.

The same behavior occurs if used in the subheading, heading, etc. The problem seems to be related to the Stylesheet MARKUP tag. If I repalce the MARKUP tag with WRAP=15.5, all of the text aligns properly with the set leftmargin. Of course it loses the MARKUP capabilities.

I also tried removing all MARKUP codes from the text and the same loss of margin occurs.

Kevin, the PRINTPLUS on or off has no impact.

This is indeed a bug.



In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle
February 11, 2015, 03:52 PM
Waz
Thanks Guys,

Case submitted.

I'll see about the other options without full justification.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 17, 2015, 07:06 PM
<Kathryn Henning>
Hi Waz,

While we wait to see if another customer can help with this issue, please keep us posted on the final solution from your case. Thank you in advance for sharing with all.

Regards,

Kathryn