⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reportstatic.xml

📁 是用c#实现的一个有关于报表设计的程序代码
💻 XML
字号:
<daReport papersize="A4" layout="Portrait">
<margins left="50" top="50" right="50" bottom="50"></margins>
<parameters>
   <parameter name="author" />
</parameters>
<content>
<staticContent>
 
<textField x="188" y="50" width="450" height="40" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Center" verAlignment="Top">Venice - the pearl of Adriatic</text>
<font family="Tahoma" size="18"  style="Bold"></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
 
<pictureBox x="50" y="130" width="351" height="237" stretch="true"  horAlignment="None" verAlignment="None" Selectable="True">
<file>pic/venice.jpg</file>
<border width="1" color="Black"></border>
</pictureBox>
 
<textField x="50" y="375" width="350" height="40" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Center" verAlignment="Top">Venice - The Grand Canal</text>
<font family="Tahoma" size="8" ></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
 
<textField x="414" y="130" width="363" height="236" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Justified" verAlignment="Middle">Venice is one of the most picturesque cities in Italy. It is situated in the north-east of the country, in the region of Veneto. Venice is also famous for it&apos;s rich and long history. The city Republic reached it&apos;s peak moments at the end of 13th century, and even threatened the glory of the great Byzantine empire.</text>
<font family="Times New Roman" size="10" ></font>
<foregroundColor color="Blue"></foregroundColor>
<backgroundColor color="Yellow"></backgroundColor>
<border width="2" color="Red"></border>
</textField>
 
<textField x="50" y="420" width="727" height="100" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Justified" verAlignment="Top">     The islands of the Venetian lagoon were first settled during the barbarian invasions of the 5th and 6th centuries AD, when the people of the Veneto mainland sought refuge in the marshy region. The refugees built watery villages on rafts of wooden posts driven into the subsoil, laying the foundations for the floating palaces of today. The traditional date of Venice&apos;s birth is given as 25 March 421, but there is little evidence to support this belief.</text>
<font family="Tahoma" size="9" ></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
 
<textField x="50" y="525" width="727" height="170" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Justified" verAlignment="Top">     The major event of the Venetian calendar is February&apos;s bewigged, bemasked and berobed Carnevale, the event that&apos;s spawned a million pastel postcards of pierrots and columbines looking unduly pensive. In May there&apos;s the Festa della Sensa (Feast of the Ascension), when Venice celebrates the Sposalizio del Mar (Wedding with the Sea). The Venezia Biennale arts fest is held every odd-numbered year in June in the pavilions of the Giardini Pubblici. July&apos;s Festa del Redentore is another highlight, with a regatta and fireworks festival. The Venice International Film Festival, Italy&apos;s version of Cannes, is held annually in August at the Palazzo del Cinema on the Lido. The Regatta Storica in September is a historic gondola race along the Grand Canal that&apos;s well worth catching. November&apos;s Festa della Madonna della Salute procession crosses the Grand Canal via a bridge of boats.</text>
<font family="Tahoma" size="9" ></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
 
<table x="231" y="668" width="300" height="200" drawEmptyRows="false" cellHeight="20" horAlignment="None" verAlignment="None" Selectable="True">
<font family="Tahoma" size="8" ></font>
<header headerColor="White" headerFontColor="Black">
<font family="Tahoma" size="8"  style="Bold"></font>
</header>
<columns>
<column name="id0"  label="Venice basic facts"  width="200" align="Left"  />
<column name="id1"  label=""  width="100" align="Left"  />
</columns>
</table>
 
<textField x="54" y="1066" width="281" height="30" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Left" verAlignment="Top">Author : $P{author}</text>
<font family="Tahoma" size="10" ></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
</staticContent>
 
<dynamicContent>
 
<textField x="476" y="1066" width="300" height="30" horAlignment="None" verAlignment="None" Selectable="True">
<text horAlignment="Right" verAlignment="Top">Page $P{pageNumber} of $P{totalPages}</text>
<font family="Tahoma" size="10" ></font>
<foregroundColor color="Black"></foregroundColor>
<backgroundColor color="Transparent"></backgroundColor>
<border width="0" color="Black"></border>
</textField>
</dynamicContent>
 
</content>
</daReport>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -