Focal Point
[CASE-OPENED] Document Composer - line (pdf)

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

August 26, 2014, 06:49 AM
beffes
[CASE-OPENED] Document Composer - line (pdf)
Hi,

I'm trying to make a box with dotted lines to export to PDF.

But the line always appear solid...

Any sugestion?

Thanks,
Bruno

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


WebFOCUS 8.0.08
Windows, All Outputs
August 26, 2014, 09:54 AM
jvb
can you share the sample code using car file.


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
August 26, 2014, 10:56 AM
diogopc
This works for me:

TABLE FILE CAR
PRINT 
     CAR.ORIGIN.COUNTRY
     CAR.COMP.CAR
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
$
TYPE=REPORT,
     BORDER-TOP=MEDIUM,
     BORDER-BOTTOM=MEDIUM,
     BORDER-LEFT=MEDIUM,
     BORDER-RIGHT=MEDIUM,
     BORDER-TOP-STYLE=DOTTED,
     BORDER-BOTTOM-STYLE=DOTTED,
     BORDER-LEFT-STYLE=DOTTED,
     BORDER-RIGHT-STYLE=DOTTED,
$
ENDSTYLE
END



WebFOCUS App Studio 8103
Windows7
All outputs
August 26, 2014, 11:53 AM
beffes
Hi,

Here is a simple example, with 4 lines (box) and a report in the middle:

-* File newfex.fex
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
END


/*** In document composer ***/

*-HOLD_SOURCE
-* File fex_pdf
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
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,', $
OBJECT=BOX, NAME='line1', POSITION=(0.313 0.833), DIMENSION=(0.104 3.541), BACKCOLOR=BLACK, BORDER-COLOR=BLACK, METADATA='FONT-SIZE: 1pt; HEIGHT: 3.541in; POSITION: absolute; LEFT: 0.313in; Z-INDEX: 1; TOP: 0.833in; WIDTH: 0.104in; BACKGROUND-COLOR: black', $
OBJECT=BOX, NAME='line2', POSITION=(0.417 0.833), DIMENSION=(4.167 0.083), BACKCOLOR=BLACK, BORDER-COLOR=BLACK, METADATA='FONT-SIZE: 1pt; HEIGHT: 0.083in; POSITION: absolute; LEFT: 0.417in; Z-INDEX: 2; TOP: 0.833in; WIDTH: 4.167in; BACKGROUND-COLOR: black', $
OBJECT=BOX, NAME='line3', POSITION=(4.583 0.833), DIMENSION=(0.083 3.645), BACKCOLOR=BLACK, BORDER-COLOR=BLACK, METADATA='FONT-SIZE: 1pt; HEIGHT: 3.645in; POSITION: absolute; LEFT: 4.583in; Z-INDEX: 3; TOP: 0.833in; WIDTH: 0.083in; BACKGROUND-COLOR: black', $
OBJECT=BOX, NAME='line4', POSITION=(0.417 4.375), DIMENSION=(4.271 0.083), BACKCOLOR=BLACK, BORDER-COLOR=BLACK, METADATA='FONT-SIZE: 1pt; HEIGHT: 0.083in; POSITION: absolute; LEFT: 0.417in; Z-INDEX: 4; TOP: 4.375in; WIDTH: 4.271in; BACKGROUND-COLOR: black', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.521 1.042), DIMENSION=(3.854 3.229), ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.229in; POSITION: absolute; LEFT: 0.521in; Z-INDEX: 5; TOP: 1.042in; WIDTH: 3.854in', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE newfex.fex
COMPOUND END


I can't put the lines dotted...

Thanks


WebFOCUS 8.0.08
Windows, All Outputs
August 26, 2014, 12:32 PM
diogopc
As far as I know you can't do it through pdf composer.


WebFOCUS App Studio 8103
Windows7
All outputs
August 26, 2014, 12:37 PM
beffes
hum....

any other way?

the goal here is to delimit the report (included) in a dotted box...


WebFOCUS 8.0.08
Windows, All Outputs
August 26, 2014, 05:40 PM
Waz
Can't you just edit your code and add the BORDER-???-STYLE=DOTTED to it as diogopc has shown ?


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!

August 27, 2014, 05:01 AM
beffes
Hi,

Doesn't work...

This option is deleted when I go to design view.


WebFOCUS 8.0.08
Windows, All Outputs
August 27, 2014, 05:15 PM
Waz
What you will find is that composer is deleting the code that is does not understand.

This does not mean that the code does not work. If you run the report it should be OK.

Keep in mind that once you go down this path, you have two choices.

1. move away from composer
2. re-add the custom code each time you edit with composer


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!

August 28, 2014, 07:18 AM
David Glick
You should open a case to add support for that.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
August 28, 2014, 10:59 AM
beffes
quote:
I'm trying to make a box with dotted lines to export to PDF



Case opened...

Thanks


WebFOCUS 8.0.08
Windows, All Outputs