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 by case] HTMTABLE - MS Word - Portrait & Landscape Orientation
Go
New
Search
Notify
Tools
Reply
  
[CLOSED by case] HTMTABLE - MS Word - Portrait & Landscape Orientation
 Login/Join
 
Platinum Member
posted
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
 
Posts: 241 | Location: Bethesda, MD | Registered: August 14, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
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.
 
Posts: 1950 | Location: New York | Registered: November 16, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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
 
Posts: 241 | Location: Bethesda, MD | Registered: August 14, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED by case] HTMTABLE - MS Word - Portrait & Landscape Orientation

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