From ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../xsl/params/use.role.for.mediaobject.xml | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 kdoctools/docbook/xsl/params/use.role.for.mediaobject.xml (limited to 'kdoctools/docbook/xsl/params/use.role.for.mediaobject.xml') diff --git a/kdoctools/docbook/xsl/params/use.role.for.mediaobject.xml b/kdoctools/docbook/xsl/params/use.role.for.mediaobject.xml new file mode 100644 index 000000000..d78df1897 --- /dev/null +++ b/kdoctools/docbook/xsl/params/use.role.for.mediaobject.xml @@ -0,0 +1,51 @@ + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + + + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + -- cgit v1.2.3