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] LARGE TEXT - Table of Contents - LAYOUT
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] LARGE TEXT - Table of Contents - LAYOUT
 Login/Join
 
Gold member
posted
Hi,

I have a large text description on layout component.
I want adjust the text on 2 lines.
I will test with "BR" but the second text don't work.
Can somebody help me ?
Thanks

  
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=CM, $
OBJECT=TOC, NAME='text1', TEXT='<font face="ARIAL" size=10>Table of Contents</font>', MARKUP=ON, TOC-NUMBERING=ON, POSITION=(1.332 1.062), DIMENSION=(17.194 16.351), font='ARIAL', color=RGB(0 0 0),  size=10, TOC-FILL=DOTS, METADATA=' TOCTITLE: Table of Contents', $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter,  $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='rap 1', TEXT='libellé tres long qui bloque la gestion sur 2 lignes avec plusieurs rapport car il retombe sur la 2eme ligne', TOC-LEVEL=2, POSITION=(0.312 2.917), DIMENSION=(7.295 3.373), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.295in; HEIGHT: 3.373in; OVERFLOW: auto; TOP: 2.917in; LEFT: 0.312in', $
COMPONENT='report2', TEXT='2libellé tres long qui bloque la gestion sur 2 lignes avec plusieurs rapport car il retombe sur la 2eme ligne', TOC-LEVEL=2, POSITION=(0.312 6.921), DIMENSION=(7.295 3.373), METADATA='Z-INDEX: 102; POSITION: absolute; WIDTH: 7.295in; HEIGHT: 3.373in; OVERFLOW: auto; TOP: 6.921in; LEFT: 0.312in', $
END
SET COMPONENT='rap 1'
-*component_type report
TABLE FILE CAR
PRINT 
     'CAR.CARREC.MODEL'
     'CAR.COMP.CAR'
     'CAR.ORIGIN.COUNTRY'
     'CAR.BODY.SEATS'
HEADING
""
FOOTING
""
WHERE READLIMIT EQ 10
WHERE RECORDLIMIT EQ 10
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
$
TYPE=TITLE,
     STYLE=BOLD,
$
TYPE=TABHEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=TABFOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=FOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=SUBHEAD,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBFOOT,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBTOTAL,
     BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
     SIZE=9,
$
TYPE=ACROSSTITLE,
     STYLE=BOLD,
$
TYPE=GRANDTOTAL,
     BACKCOLOR=RGB(210 210 210),
     STYLE=BOLD,
$
ENDSTYLE
END
SET COMPONENT='report2'
-*component_type report
TABLE FILE CAR
PRINT 
     'CAR.CARREC.MODEL'
     'CAR.COMP.CAR'
     'CAR.ORIGIN.COUNTRY'
     'CAR.BODY.SEATS'
HEADING
""
FOOTING
""
WHERE READLIMIT EQ 10
WHERE RECORDLIMIT EQ 10
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
$
TYPE=TITLE,
     STYLE=BOLD,
$
TYPE=TABHEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=TABFOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=FOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=SUBHEAD,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBFOOT,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBTOTAL,
     BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
     SIZE=9,
$
TYPE=ACROSSTITLE,
     STYLE=BOLD,
$
TYPE=GRANDTOTAL,
     BACKCOLOR=RGB(210 210 210),
     STYLE=BOLD,
$
ENDSTYLE
END
COMPOUND END

This message has been edited. Last edited by: Kerry,


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
Jacques,

Tout d'abord, des excuses pour mon mauvais français.

Parce que vous avez MARKUP=ON dans votre OBJECT=TOC, vous devriez être en mesure d'utiliser <br> (pas plus tard niveau de <br /> bien).

Toutefois, si vous faites ceci, puis la ligne enveloppé apparaît superposée à la prochaine entrée TOC.

OBJECT=TOC, NAME='text1', TEXT='<font face="ARIAL" size=10>Table of Contents</font>', MARKUP=ON, TOC-NUMBERING=ON,
      POSITION=(1.332 1.062), DIMENSION=(17.194 16.351), font='ARIAL', color=RGB(0 0 0),  size=10, TOC-FILL=DOTS,
      METADATA=' TOCTITLE: Table of Contents', $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter,  $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5,
      METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='rap 1', TEXT='libellé tres long qui bloque la gestion sur 2<br>lignes avec plusieurs rapport car il retombe sur la 2eme ligne',
      TOC-LEVEL=2, POSITION=(0.312 2.917), DIMENSION=(7.295 3.373),
      METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 7.295in; HEIGHT: 3.373in; OVERFLOW: auto; TOP: 2.917in; LEFT: 0.312in', $
COMPONENT='report2', TEXT='2libellé tres long qui bloque la gestion sur 2<br>lignes avec plusieurs rapport car il retombe sur la 2eme ligne',
      TOC-LEVEL=2, POSITION=(0.312 6.921), DIMENSION=(7.295 3.373),
      METADATA='Z-INDEX: 102; POSITION: absolute; WIDTH: 7.295in; HEIGHT: 3.373in; OVERFLOW: auto; TOP: 6.921in; LEFT: 0.312in', $

Translation -

Because you have MARKUP=ON within your OBJECT=TOC, you should be able to use <br> (but not the later <br /> standard).

However, if you do this, then the wrapped line appears superimposed on the next TOC entry.

T

This message has been edited. Last edited by: Tony A,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Gold member
posted Hide Post
Merci pour l'effort sur le Français (mon anglais n'est pas meilleur)
Cependant le problème persiste sur votre exemple le 1er libellé chevauche la 2ème ligne. J'aimerais qu'il le décale...

The problem is : second line is under the first text component, because is to large.
How can i changed it ?


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
Jacques,

Je ne pense pas que cela peut être réalisé au sein de la syntaxe existante disponibles.
J'ai essayé différents changements à effectuer à vos besoins, mais en vain.

I do not think that this can be achieved within the existing available syntax.
I have tried various changes to effect your requirements but to no avail.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Gold member
posted Hide Post
Ok, But is it possible to WRAP or TRUNCATE the libellé ?


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
I can find no method of achieving this for you.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] LARGE TEXT - Table of Contents - LAYOUT

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