Focal Point
[CASE OPENED] Dev Studio 8.0.08 Document Composer - Page n of nn problem

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

December 01, 2015, 04:31 PM
Francis Mariani
[CASE OPENED] Dev Studio 8.0.08 Document Composer - Page n of nn problem
After opening and saving a report designed for PDF using Document Composer, the 'Page n of nn' text does not look as pretty as it once did. Is this a sign of getting older? Can I do something about it?

WF 7.7.05


WF 8.0.08

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 01, 2015, 04:40 PM
Waz
Is the underlying code the same ?


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!

December 01, 2015, 04:51 PM
Francis Mariani
Of course not! The metadata generated by Document Composer (the stuff I'm not legally allowed to look at) is different. For the 'Page' piece:

WF 7705 is
OBJECT=STRING, NAME='text2', TEXT='<font face="ARIAL" size=8><left>Page <ibi-page-number/> of <ibi-total-pages/><BR></left></font>', POSITION=(0.250 8.125), MARKUP=ON, DIMENSION=(2.000 0.292),  METADATA='', $

WF 8008 is
OBJECT=STRING, NAME='text2', TEXT='<font face="ARIAL" size=8><left>Page <ibi-page-number/> of <ibi-total-pages/><BR></left></font>', POSITION=(0.250 7.950), MARKUP=ON, WRAP=ON, DIMENSION=(2.000 0.292),  METADATA='Z-INDEX: 102; POSITION: absolute; TEXT-ALIGN: left; WIDTH: 2in; FONT-FAMILY: ARIAL; WORD-WRAP: break-word; HEIGHT: 0.292in; FONT-SIZE: 8pt; TOP: 7.95in; LEFT: 0.25in', $

I'm too afraid to manually make any changes, but I have no clue how to do it using the GUI.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 01, 2015, 05:03 PM
Waz
The question is:

Can you point and click your way out of it ?


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!

December 01, 2015, 05:09 PM
Francis Mariani
That definitely is the question! I don't see how I got that
<ibi-NofN/>
there in the first place.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 01, 2015, 05:16 PM
Waz
Almost looks like a change in ibi-page-number.


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!

December 07, 2015, 09:38 AM
Francis Mariani
IBI directed me to documentation: Creating Reports With WebFOCUS Language Release 8.0 Version 04 > Creating a Compound Layout Report With Document Composer Syntax > Page Numbering and Dates. Using the text editor, I modified "MARKUP=ON, WRAP=ON" to "MARKUP=ON, WRAP=OFF" and that corrected the problem.

In the v7.7.05 (untouched by v8.0.08) version of the fex, the WRAP attribute is not in the code. When I edited the fex in the (Document) Composer tool, WRAP=ON was added, causing the issue I reported.

I rarely use a GUI tool to create WebFOCUS reports, but I do use (Document) Composer for a Compound PDF report. I wonder how I change WRAP=ON to WRAP=OFF using the (Document) Composer tool...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 07, 2015, 10:48 AM
Tim P.
Can you go into the tree navigation control in the IE landing page and change it in the text editor there? We do this with the html pages built in the html composer.


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
December 07, 2015, 11:12 AM
Francis Mariani
Tim, they keep insisting that the GUI tools can do everything I'd ever want them to do, so I'd like to know how to do it in the GUI Smiler

When I open the manually edited fex in the GUI, the WRAP=OFF is somehow changed to WRAP=ON. So, in a few days, when I've forgotten the workaround and edit/save the fex using the GUI, the workaround will be lost.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 07, 2015, 11:19 AM
Tim P.
Oh, yea i can see that being an issue. They told us only 85% can be done in the GUI haha. I feel like i've seen a manual for it somewhere online.

In all honesty, I've learned to manipulate anything with the word 'composer' in the name by using the text editor. Sad state of affairs but hey it works.


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
December 08, 2015, 09:41 AM
Francis Mariani
This is a bug because the GUI does not allow the user to change the WRAP setting, and using the editor to change the WRAP setting is pointless, because the next time the GUI is used, the edited WRAP setting will get overridden.

I know what will happen - the case will be closed because I reported it as a Developer Studio issue, when I should be using Application Studio, but from what I have heard and experienced, WebFOCUS Application Studio 8.0.08 is not production ready.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server