Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » landscape masterpage problem in word emitter
landscape masterpage problem in word emitter [message #368547] Tue, 09 June 2009 10:10 Go to next message
Conor O'Mahony is currently offline Conor O'MahonyFriend
Messages: 108
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020902090909080304070803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have a report design with 2 masterpages, one portrait and one landscape. The masterpages work fine
when I generate a PDF document from the design, but when I generate a Word document from the same
design, the landscape masterpage is not applied correctly. The page does actually appear in
landscape orientation, but the header and footer content is from the portrait masterpage.

I have attached the report design, the pdf output which has the landscape master page correctly
applied (text in header in landscape page says "landscape"), and the word output which is incorrect
(text in header in landscape page says "portrait", width of header and footer is incorrect).

Does anyone know how to fix this, or even a workaround? The content of the header and footers in
both masterpages is the same, so even if i could just make the width of the header/footer the
correct width for the landscape page in the doc output, this would help.

Eclipse is 3.4.1
Birt is 2.3.1

Many thanks,
Conor

--------------020902090909080304070803
Content-Type: text/xml;
name="test.rptdesign"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="test.rptdesign"

<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.3.1.v20080911 Build &lt;2.3.1.v20080917-1340></property>
<property name="units">in</property>
<simple-property-list name="includeResource">
<value>resources/report</value>
</simple-property-list>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .PAScalReportEventAdapter </property>
<property name="layoutPreference">fixed layout</property>
<property name="bidiLayoutOrientation">ltr</property>
<data-sources>
<script-data-source name="scripted" id="203"/>
<script-data-source name="Data Source" id="1273"/>
</data-sources>
<data-sets>
<script-data-set name="librariesUsed" id="204">
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .LibrariesUsedDataSetEventHandler </property>
<list-property name="resultSetHints">
<structure>
<property name="position">0</property>
<property name="name">name</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">1</property>
<property name="name">version</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">date</property>
<property name="dataType">date-time</property>
</structure>
</list-property>
<list-property name="columnHints">
<structure>
<property name="columnName">name</property>
</structure>
<structure>
<property name="columnName">version</property>
</structure>
<structure>
<property name="columnName">date</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">name</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">version</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">date</property>
<property name="dataType">date-time</property>
</structure>
</list-property>
</structure>
<property name="dataSource">scripted</property>
</script-data-set>
</data-sets>
<styles>
<style name="crosstab-cell" id="4">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="tool-title" id="18">
<property name="fontWeight">bold</property>
<property name="color">#000000</property>
<property name="textUnderline">underline</property>
<property name="textAlign">right</property>
</style>
<style name="right_image" id="21">
<property name="backgroundPositionX">0%</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">right</property>
<property name="whiteSpace">nowrap</property>
<property name="display">inline</property>
</style>
<style name="headerText" id="115">
<property name="fontWeight">bold</property>
<property name="textAlign">center</property>
<property name="verticalAlign">bottom</property>
</style>
<style name="center-link" id="186">
<property name="color">blue</property>
<property name="textUnderline">underline</property>
<property name="textAlign">center</property>
</style>
<style name="centerText" id="298">
<property name="textAlign">center</property>
</style>
<style name="leftText" id="299">
<property name="textAlign">left</property>
</style>
<style name="inline" id="709">
<property name="display">inline</property>
</style>
<style name="gridHeadingRowGen" id="748">
<property name="backgroundColor">#FFB300</property>
<property name="fontWeight">bold</property>
</style>
<style name="table_detail_font" id="749">
<property name="fontSize">small</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</style>
<style name="bugfix" id="1058">
<property name="display">inline</property>
</style>
<style name="gridItemWithBorderGen" id="1203">
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">thin</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">thin</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">thin</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">thin</property>
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">1pt</property>
</style>
<style name="gridItemHeadingWithBorderGen" id="1204">
<property name="backgroundColor">#FFB300</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">thin</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">thin</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">thin</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">thin</property>
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">1pt</property>
</style>
<style name="gridCellNoPadding" id="1207">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">1pt</property>
</style>
<style name="gridDetailRowOddGen" id="1212">
<property name="backgroundColor">#E9FFE9</property>
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">1pt</property>
</style>
<style name="gridDetailRowEvenGen" id="1213">
<property name="backgroundColor">#FFFFE9</property>
</style>
<style name="report" id="1214">
<property name="fontFamily">sans-serif</property>
</style>
<style name="gridStyleGen" id="1215">
<property name="fontFamily">sans-serif</property>
<property name="fontSize">small</property>
</style>
<style name="sectionHeadingGen" id="1216">
<property name="backgroundColor">#D3D3D3</property>
<property name="fontSize">larger</property>
<property name="fontWeight">bold</property>
</style>
<style name="sectionHeading2Gen" id="1217">
<property name="backgroundColor">#D3D3D3</property>
<property name="fontWeight">bold</property>
</style>
</styles>
<page-setup>
<simple-master-page name="MasterPagePortrait" id="416">
<property name="type">a4</property>
<property name="orientation">portrait</property>
<property name="topMargin">0.5in</property>
<property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.5in</property>
<property name="rightMargin">0.5in</property>
<property name="backgroundImage">resources\images\demo.gif</property >
<property name="backgroundPositionX">center</property>
<property name="backgroundPositionY">center</property>
<property name="backgroundRepeat">no-repeat</property>
<property name="fontFamily">sans-serif</property>
<page-header>
<grid name="headerGridPortrait" id="6">
<property name="style">right_image</property>
<property name="fontFamily">sans-serif</property>
<property name="fontSize">medium</property>
<property name="marginTop">0pt</property>
<property name="width">100%</property>
<column id="7"/>
<column id="8"/>
<column id="9"/>
<row id="10">
<cell id="11">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
<cell id="12">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<text name="headerText" id="197">
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .HeaderFooterEventHandler </property>
<property name="style">headerText</property>
<property name="fontWeight">bold</property>
<property name="marginTop">0pt</property>
<property name="contentType">plain</property>
</text>
</cell>
<cell id="13">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
</row>
<row id="193">
<property name="backgroundColor">#FFB300</property>
<cell id="194">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="195">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
<text name="incompleteTextPortrait" id="1271">
<property name="textAlign">center</property>
<text-property name="content"><![CDATA[Incomplete draft report
Do not use for certificationPORTRAIT]]></text-property>
</text>
</cell>
<cell id="196">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<image name="headerImagePortrait" id="1132">
<property name="style">inline</property>
<property name="height">35px</property>
<property name="width">100px</property>
<property name="source">embed</property>
<property name="imageName">smallpilzlogo.png</property>
</image>
<label id="1057">
<property name="style">bugfix</property>
</label>
</cell>
</row>
<row id="1184">
<property name="height">0.2in</property>
<property name="backgroundColor">#FFFFFF</property>
<cell id="1185">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="1186">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="1187">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
</row>
</grid>
</page-header>
<page-footer>
<grid id="91">
<property name="backgroundColor">silver</property>
<property name="fontFamily">sans-serif</property>
<property name="width">100%</property>
<column id="92">
<property name="width">2.3854166666666665in</property>
</column>
<column id="93">
<property name="width">2.3958333333333335in</property>
</column>
<column id="94"/>
<row id="1188">
<property name="height">0.2in</property>
<property name="backgroundColor">#FFFFFF</property>
<cell id="1189"/>
<cell id="1190"/>
<cell id="1191"/>
</row>
<row id="95">
<cell id="96">
<text name="pascalVersion" id="192">
<text-property name="content" key="GenerateReportAction_PAScal_version"><![CDATA[]]></text-property >
</text>
</cell>
<cell id="97">
<text name="footerText" id="112">
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .HeaderFooterEventHandler </property>
<property name="style">headerText</property>
<property name="fontWeight">bold</property>
</text>
</cell>
<cell id="98">
<property name="textAlign">right</property>
<grid id="1134">
<property name="width">100%</property>
<column id="1135">
<property name="width">1.3020833333333333in</property>
</column>
<column id="1136"/>
<column id="1137"/>
<column id="1138"/>
<row id="1139">
<cell id="1140">
<label name="pageNumberSpaceLabel" id="1144"/>
</cell>
<cell id="1141">
<auto-text id="106">
<property name="type">page-number</property>
</auto-text>
</cell>
<cell id="1142">
<text id="108">
<property name="contentType">plain</property>
<text-property name="content"><![CDATA[/]]></text-property>
</text>
</cell>
<cell id="1143">
<auto-text id="110">
<property name="type">total-page</property>
</auto-text>
</cell>
</row>
</grid>
</cell>
</row>
<row id="188">
<cell id="189">
<text id="111">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</cell>
<cell id="190"/>
<cell id="191"/>
</row>
</grid>
</page-footer>
</simple-master-page>
<simple-master-page name="NewSimpleMasterPage" id="1218">
<property name="type">a4</property>
<property name="orientation">landscape</property>
<property name="topMargin">0.5in</property>
<property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.5in</property>
<property name="rightMargin">0.5in</property>
<page-header>
<grid name="headerGridLandscape" id="1219">
<property name="style">right_image</property>
<property name="fontFamily">sans-serif</property>
<property name="fontSize">medium</property>
<property name="marginTop">0pt</property>
<property name="width">10.693in</property>
<column id="1220"/>
<column id="1221"/>
<column id="1222"/>
<row id="1223">
<cell id="1224">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
<cell id="1225">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<text name="headerText1" id="1226">
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .HeaderFooterEventHandler </property>
<property name="style">headerText</property>
<property name="fontWeight">bold</property>
<property name="marginTop">0pt</property>
<property name="contentType">plain</property>
</text>
</cell>
<cell id="1227">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
</row>
<row id="1228">
<property name="backgroundColor">#FFB300</property>
<cell id="1229">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="1230">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
<text name="incompleteTextLandscape" id="1272">
<text-property name="content"><![CDATA[Incomplete draft report
Do not use for certificationLANDSCAPE]]></text-property>
</text>
</cell>
<cell id="1231">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<image name="headerImageLandscape" id="1232">
<property name="style">inline</property>
<property name="height">35px</property>
<property name="width">100px</property>
<property name="source">embed</property>
<property name="imageName">smallpilzlogo.png</property>
</image>
<label id="1233">
<property name="style">bugfix</property>
</label>
</cell>
</row>
<row id="1234">
<property name="height">0.2in</property>
<property name="backgroundColor">#FFFFFF</property>
<cell id="1235">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="1236">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="1237">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">0pt</property>
</cell>
</row>
</grid>
</page-header>
<page-footer>
<grid id="1238">
<property name="backgroundColor">silver</property>
<property name="fontFamily">sans-serif</property>
<property name="width">10.693in</property>
<column id="1239">
<property name="width">2.3854166666666665in</property>
</column>
<column id="1240">
<property name="width">2.3958333333333335in</property>
</column>
<column id="1241"/>
<row id="1242">
<property name="height">0.2in</property>
<property name="backgroundColor">#FFFFFF</property>
<cell id="1243"/>
<cell id="1244"/>
<cell id="1245"/>
</row>
<row id="1246">
<cell id="1247">
<text name="pascalVersion1" id="1248">
<text-property name="content" key="GenerateReportAction_PAScal_version"><![CDATA[]]></text-property >
</text>
</cell>
<cell id="1249">
<text name="footerText1" id="1250">
<property name="eventHandlerClass"> com.pilz.ie.pascal.report.core.logic.impl.birt.eventhandlers .HeaderFooterEventHandler </property>
<property name="style">headerText</property>
<property name="fontWeight">bold</property>
</text>
</cell>
<cell id="1251">
<property name="textAlign">right</property>
<grid id="1252">
<property name="width">100%</property>
<column id="1253">
<property name="width">1.3020833333333333in</property>
</column>
<column id="1254"/>
<column id="1255"/>
<column id="1256"/>
<row id="1257">
<cell id="1258">
<label name="pageNumberSpaceLabel1" id="1259"/>
</cell>
<cell id="1260">
<auto-text id="1261">
<property name="type">page-number</property>
</auto-text>
</cell>
<cell id="1262">
<text id="1263">
<property name="contentType">plain</property>
<text-property name="content"><![CDATA[/]]></text-property>
</text>
</cell>
<cell id="1264">
<auto-text id="1265">
<property name="type">total-page</property>
</auto-text>
</cell>
</row>
</grid>
</cell>
</row>
<row id="1266">
<cell id="1267">
<text id="1268">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</cell>
<cell id="1269"/>
<cell id="1270"/>
</row>
</grid>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<grid name="coverPage" id="148">
<property name="style">centerText</property>
<property name="fontFamily">sans-serif</property>
<property name="marginTop">0pt</property>
<property name="masterPage">MasterPagePortrait</property>
<property name="pageBreakAfter">always</property>
<property name="height">9.7in</property>
<property name="width">100%</property>
<column id="149"/>
<row id="150">
<cell id="151">
<grid name="whiteSpaceGrid1" id="85">
<property name="width">100%</property>
<column id="86"/>
<row id="87">
<property name="height">3in</property>
<cell id="88">
<property name="canShrink">true</property>
</cell>
</row>
</grid>
</cell>
</row>
<row id="1194">
<cell id="1195">
<grid name="projectDetailsGridGen" id="1196">
<property name="textAlign">left</property>
<property name="width">100%</property>
<column id="1197"/>
<row id="1198">
<cell id="1199">
<grid id="1274">
<column id="1275"/>
<column id="1276"/>
<row id="1277">
<property name="height">0.1in</property>
<cell id="1278"/>
<cell id="1279"/>
</row>
<row id="1280">
<property name="style">gridHeadingRowGen</property>
<cell id="1281">
<label id="1282">
<text-property name="text">Project name</text-property>
</label>
</cell>
<cell id="1283">
<text id="1284">
<text-property name="content"><![CDATA[sample report]]></text-property>
</text>
</cell>
</row>
<row id="1285">
<cell id="1286">
<label id="1287">
<text-property name="text">Safety standard</text-property>
</label>
</cell>
<cell id="1288">
<text id="1289">
<text-property name="content"><![CDATA[EN ISO 13849-1(PL)]]></text-property>
</text>
</cell>
</row>
<row id="1290">
<cell id="1291">
<label id="1292">
<text-property name="text">Author</text-property>
</label>
</cell>
<cell id="1293">
<text id="1294">
<text-property name="content"><![CDATA[]]></text-property>
</text>
</cell>
</row>
<row id="1295">
<cell id="1296">
<label id="1297">
<text-property name="text">Company name</text-property>
</label>
</cell>
<cell id="1298">
<text id="1299">
<text-property name="content"><![CDATA[]]></text-property>
</text>
</cell>
</row>
<row id="1300">
<cell id="1301">
<label id="1302">
<text-property name="text">Company address</text-property>
</label>
</cell>
<cell id="1303">
<text id="1304">
<text-property name="content"><![CDATA[]]></text-property>
</text>
</cell>
</row>
<row id="1305">
<cell id="1306">
<label id="1307">
<text-property name="text">Version</text-property>
</label>
</cell>
<cell id="1308">
<text id="1309">
<text-property name="content"><![CDATA[]]></text-property>
</text>
</cell>
</row>
<row id="1310">
<cell id="1311">
<label id="1312">
<text-property name="text">Creation date</text-property>
</label>
</cell>
<cell id="1313">
<text id="1314">
<text-property name="content"><![CDATA[09 June 2009 10:47:41 IST]]></text-property>
</text>
</cell>
</row>
<row id="1315">
<cell id="1316">
<label id="1317">
<text-property name="text">Last modified date</text-property>
</label>
</cell>
<cell id="1318">
<text id="1319">
<text-property name="content"><![CDATA[09 June 2009 10:54:26 IST]]></text-property>
</text>
</cell>
</row>
</grid>
</cell>
</row>
</grid>
</cell>
</row>
</grid>
<grid name="projectBodyGridGen" id="1208">
<property name="fontFamily">sans-serif</property>
<property name="width">100%</property>
<column id="1209"/>
<row id="1210">
<cell id="1211">
<grid id="1320">
<column id="1321"/>
<row id="1322">
<cell id="1323">
<grid id="1324">
<property name="style">gridStyleGen</property>
<column id="1325"/>
<row id="1326">
<property name="height">0.2in</property>
<cell id="1327"/>
</row>
<row id="1328">
<property name="style">sectionHeadingGen</property>
<cell id="1329">
<label id="1330">
<text-property name="text">SRCF Overview</text-property>
</label>
</cell>
</row>
</grid>
</cell>
</row>
<row id="1331">
<cell id="1332">
<grid id="1333">
<property name="style">gridStyleGen</property>
<property name="width">100%</property>
<column id="1334"/>
<column id="1335"/>
<column id="1336"/>
<column id="1337"/>
<column id="1338"/>
<column id="1339"/>
<row id="1340">
<property name="height">0.1in</property>
<cell id="1341"/>
<cell id="1342"/>
<cell id="1343"/>
<cell id="1344"/>
<cell id="1345"/>
<cell id="1346"/>
</row>
<row id="1347">
<property name="style">gridHeadingRowGen</property>
<cell id="1348">
<property name="style">gridItemWithBorderGen</property>
<label id="1349">
<text-property name="text">System/Module</text-property>
</label>
</cell>
<cell id="1350">
<property name="style">gridItemWithBorderGen</property>
<label id="1351">
<text-property name="text">Target PL</text-property>
</label>
</cell>
<cell id="1352">
<property name="style">gridItemWithBorderGen</property>
<label id="1353">
<text-property name="text">Result</text-property>
</label>
</cell>
<cell id="1354">
<property name="style">gridItemWithBorderGen</property>
<label id="1355">
Re: landscape masterpage problem in word emitter [message #368643 is a reply to message #368547] Wed, 17 June 2009 08:52 Go to previous messageGo to next message
Conor O'Mahony is currently offline Conor O'MahonyFriend
Messages: 108
Registered: July 2009
Senior Member
Hi,

Anyone have any help or any workaround on this?

Many thanks,
Conor

Conor O'Mahony wrote:
> Hi,
>
> I have a report design with 2 masterpages, one portrait and one
> landscape. The masterpages work fine when I generate a PDF document from
> the design, but when I generate a Word document from the same design,
> the landscape masterpage is not applied correctly. The page does
> actually appear in landscape orientation, but the header and footer
> content is from the portrait masterpage.
>
> I have attached the report design, the pdf output which has the
> landscape master page correctly applied (text in header in landscape
> page says "landscape"), and the word output which is incorrect (text in
> header in landscape page says "portrait", width of header and footer is
> incorrect).
>
> Does anyone know how to fix this, or even a workaround? The content of
> the header and footers in both masterpages is the same, so even if i
> could just make the width of the header/footer the correct width for the
> landscape page in the doc output, this would help.
>
> Eclipse is 3.4.1
> Birt is 2.3.1
>
> Many thanks,
> Conor
>
Re: landscape masterpage problem in word emitter [message #368648 is a reply to message #368643] Wed, 17 June 2009 13:52 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

Conor,

Can you try this with one of the 2.5 builds just to check and see if the
bug has been fixed?

Jason

Conor O'Mahony wrote:
> Hi,
>
> Anyone have any help or any workaround on this?
>
> Many thanks,
> Conor
>
> Conor O'Mahony wrote:
>> Hi,
>>
>> I have a report design with 2 masterpages, one portrait and one
>> landscape. The masterpages work fine when I generate a PDF document
>> from the design, but when I generate a Word document from the same
>> design, the landscape masterpage is not applied correctly. The page
>> does actually appear in landscape orientation, but the header and
>> footer content is from the portrait masterpage.
>>
>> I have attached the report design, the pdf output which has the
>> landscape master page correctly applied (text in header in landscape
>> page says "landscape"), and the word output which is incorrect (text
>> in header in landscape page says "portrait", width of header and
>> footer is incorrect).
>>
>> Does anyone know how to fix this, or even a workaround? The content of
>> the header and footers in both masterpages is the same, so even if i
>> could just make the width of the header/footer the correct width for
>> the landscape page in the doc output, this would help.
>>
>> Eclipse is 3.4.1
>> Birt is 2.3.1
>>
>> Many thanks,
>> Conor
>>
Previous Topic:Merging Birt files stored in Source Control
Next Topic:[Standalone] Partially retrace a chart.
Goto Forum:
  


Current Time: Sat Apr 27 03:33:14 GMT 2024

Powered by FUDForum. Page generated in 0.02837 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top