Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2007Report 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: 1948 | Location: New York | Registered: November 16, 2004Report 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, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders