blob: dd2b1044ff7b8d13c95dc9d9edf7e638966cec31 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<widget id="html.heading" displayName="Heading"
smallIcon="heading_small.png" icon.16="heading_16.png"
category="HTML"
description="This widget is a standard HTML widget."
helpCategory="Tizen_Html"
helpContents=""
borderVisible="false">
<property name="id" type="string" displayName="ID" default="" category="Common">
<condition name="string-id" error="string-id"/>
</property>
<property name="text" type="string" displayName="Text" default="" initValue="Heading"/>
<property name="group-text" type="group-text" displayName="Text Style" default="">
<property name="font-family" type="font@family" displayName="Font Family" selector="#%id%"/>
<property name="text-align" type="css-text-align" displayName="Text Align" selector="#%id%"/>
<property name="font-style" type="css-font-style" displayName="Font Style" selector="#%id%"/>
<property name="text-decoration" type="css-text-decoration" displayName="Text Decoration" selector="#%id%"/>
<property name="color" type="css-color" displayName="Color" selector="#%id%"/>
</property>
<property name="size" type="html.heading@size" displayName="Size" default="3"/>
<event name="ontap" displayName="Tap" eventType="event.defaultevent" />
<event name="ontaphold" displayName="TapHold" eventType="event.defaultevent" />
<event name="onswipe" displayName="Swipe" eventType="event.defaultevent" />
<event name="onswipeleft" displayName="SwipeLeft" eventType="event.defaultevent" />
<event name="onswiperight" displayName="SwipeRight" eventType="event.defaultevent" />
<xsl-for-output xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="html.heading">
<xsl:variable name="elem_name" select="concat('h', @size)"/>
<xsl:element name="{$elem_name}">
<xsl:call-template name="print-part-id"/>
<xsl:apply-templates select="@id" mode="simple-property"/>
<xsl:value-of select="@text"/>
</xsl:element>
</xsl:template>
</xsl-for-output>
</widget>