Focal Point
[CLOSED by case] HTMTABLE - MS Word - Portrait & Landscape Orientation

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

October 15, 2010, 02:56 PM
ColdWhiteMilk
[CLOSED by case] HTMTABLE - MS Word - Portrait & Landscape Orientation
I appreciate everyone's help getting this PDF report converted to MS Word. I'm down to my last stumbling block.

When I change the page orientation from Portrait to Landscape in the stylesheet, even though there is a page break, the orientation is not changing.

I've seen on various posts that HTML and Landscape don't play well together, but would that be true if I'm forcing the HTML out to DOC format?

Can anyone see what I'm missing?

My Code:

-*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-*REPORT HEADER
-*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
FILEDEF OUTPUT1 DISK REPORT1.DOC
SET COMPONENT = 'report1'

DEFINE FILE BASELINE1
SECTIONDATA WITH FACILITY_NAME/A1= '';
END

TABLE FILE BASELINE1
BY FACILITY_NAME NOPRINT

HEADING
"REPORT 1 – HEADER 1"
"REPORT 1 – HEADER 2"

WHERE RECORDLIMIT EQ 0

ON TABLE SET STYLE *
UNITS=IN, ORIENTATION=PORTRAIT, TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,$
TYPE=REPORT,FONT='ARIAL', GRID=ON, WIDTH=7.500,$
TYPE=HEADING,LINE=1,JUSTIFY=CENTER,STYLE=BOLD,SIZE=14,BACKCOLOR=RGB(210 210 210), WIDTH=7.500,$
TYPE=HEADING,LINE=2,JUSTIFY=CENTER,STYLE=BOLD,SIZE=14,BACKCOLOR=RGB(210 210 210), WIDTH=7.500,$
ENDSTYLE

ON TABLE HOLD AS REPORT1 FORMAT HTMTABLE
END
-RUN

-*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-*SECTION 1 HEADER
-*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
FILEDEF OUTPUT1 DISK REPORT2.DOC
SET COMPONENT = 'report2'

DEFINE FILE BASELINE1
SECTIONDATA WITH FACILITY_NAME/A1= '';
END

TABLE FILE BASELINE1
BY FACILITY_NAME NOPRINT

HEADING
" SECTION 1 – HEADER 1"
" SECTION 1 – HEADER 2"

WHERE RECORDLIMIT EQ 0

ON TABLE SET STYLE *
UNITS=IN, ORIENTATION=LANDSCAPE, TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,$
TYPE=REPORT,FONT='ARIAL', GRID=ON, WIDTH=7.500,$
TYPE=HEADING,LINE=1,JUSTIFY=CENTER,STYLE=BOLD,SIZE=14,BACKCOLOR=RGB(210 210 210), WIDTH=7.500,$
TYPE=HEADING,LINE=2,JUSTIFY=CENTER,STYLE=BOLD,SIZE=14,BACKCOLOR=RGB(210 210 210), WIDTH=7.500,$
ENDSTYLE

ON TABLE HOLD AS REPORT2 FORMAT HTMTABLE
END
-RUN

SET HTMLFORMTYPE=DOC
-HTMLFORM BEGIN
!IBI.FIL.REPORT1;
<P STYLE="PAGE-BREAK-BEFORE: ALWAYS">
!IBI.FIL.REPORT2;
-HTMLFORM END 

-EXIT


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


Production - 7.6.4
Sandbox - 7.6.4
October 22, 2010, 10:48 AM
Kerry
Hi ColdWhiteMilk,

I passed this one to our technicals and was told that, this does not seem to be supported for Word, and there are a few new feature request open for this
to be supported. To verify, and/or submit your request, please contact Customer Support Services, either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
October 22, 2010, 01:45 PM
ColdWhiteMilk
Kerry Slagowitz was also working on this for me, and told me that landscape orientation with HTMTABLE is not possible.


Production - 7.6.4
Sandbox - 7.6.4