Старожил
Сообщения: 299
Благодарности: 29
|
Профиль
|
Отправить PM
| Цитировать
Доброе времья суток, уважаемые форумчане!!! При изучении некоторых быблиотек Windows 7 натолкнулся на файл формата DUIXML, который нашел в библиотеке shell32.dll в разделе UIFILE. Можете подсказать, что Это за формат, имеет ли он что то общее с просто XML, чем лучше всего редактировать, либо как можно просмотреть его (подразумевается, можна ли увидеть, что он утворяет)?
Вот пример одного из файлов DUIXML
Код:
<duixml>
<element resid="main" id="atom(dialogroot)" layout="borderlayout()" sheet="ProgressDialog" width="400rp" accessible="true" background="themeable(dtb(TaskDialog, 1, 0), threedface)">
<element layoutpos="top" layout="filllayout()">
<element id="atom(header)" layout="filllayout()">
<element id="atom(HeaderText)" padding="rect(20rp,0,0,0)" layoutpos="left" contentalign="middleleft" background="argb(0,0,0,0)" content="resstr(13576)" accessible="true" accrole="statictext"/>
<movie id="atom(headeranimation)" height="40rp" width="400rp" SmoothingMode="high" repeat="true" AutoStart="false" AutoStop="false" layoutpos="right"/>
</element>
</element>
<element id="atom(content)" layoutpos="client" layout="borderlayout()" contentalign="topleft">
<element layoutpos="top" layout="borderlayout()">
<element id="atom(SummaryProgress)" layout="borderlayout()" layoutpos="top">
<element layout="filllayout()" layoutpos="top">
<element id="atom(SummaryLocations)" layout="borderlayout()" layoutpos="top" animation="alpha|s|fast">
<element id="atom(locations)" background="themeable(dtb(TaskDialog, 1, 0), threedface)" layoutpos="top" width="400rp" layout="flowlayout(0)" animation="alpha|s|fast" contentalign="topleft"/>
<element id="atom(SProgressTime)" layoutpos="top" animation="alpha|s|fast" content="resstr(13585)" accessible="true" accrole="statictext"/>
</element>
<element id="atom(ExpandedLocations)" layout="borderlayout()" layoutpos="top" visible="false" alpha="0" animation="alpha|s|fast">
<element id="atom(ExpandedItem)" layoutpos="top" layout="rowlayout(1)" class="clipped">
<element content="resstr(13631)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XLocItemDisplay)" accessible="true" accrole="statictext" contentalign="wordellipsis" animation="alpha|s|fast"/>
</element>
<element id="atom(ExpandedFrom)" layoutpos="top" layout="rowlayout(1)" class="clipped">
<element content="resstr(13589)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XLocSourceFields)" layout="flowlayout(0)" animation="alpha|s|fast" width="300rp">
<element id="atom(XLocSourceDisplay)" class="transferlocation" accessible="true" accrole="statictext"/>
<element id="atom(XLocSourcePath)" content=" " accessible="true" accrole="statictext" contentalign="pathellipsis" width="200rp"/>
</element>
</element>
<element id="atom(ExpandedTo)" layoutpos="top" layout="rowlayout(1)" class="clipped">
<element id="atom(ExpandedToHeader)" content="resstr(13590)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XLocDestFields)" layout="flowlayout(0)" animation="alpha|s|fast" width="300rp">
<element id="atom(XLocDestDisplay)" class="transferlocation" accessible="true" accrole="statictext"/>
<element id="atom(XLocDestPath)" content=" " accessible="true" accrole="statictext" contentalign="pathellipsis" width="200rp"/>
</element>
</element>
</element>
</element>
</element>
<element id="atom(ExpandedProgress)" layout="verticalflowlayout(0,0,0,0)" layoutpos="top" animation="alpha | s | fast">
<element layoutpos="top" layout="rowlayout(1)">
<element id="atom(XProgressTimeLabel)" animation="alpha|s|fast" content="resstr(13579)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XProgressTime)" animation="alpha|s|fast" content="resstr(13580)" accessible="true" accrole="statictext" width="400rp"/>
</element>
<element layoutpos="top" layout="rowlayout(1)">
<element content="resstr(13581)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XProgressItems)" content="resstr(13582)" accessible="true" accrole="statictext" width="400rp"/>
</element>
<element layoutpos="top" layout="rowlayout(1)">
<element id="atom(XProgressSpeedLabel)" content="resstr(13583)" accessible="true" accrole="statictext" contentalign="topleft"/>
<element id="atom(XProgressSpeed)" content="resstr(13584)" accessible="true" accrole="statictext" width="400rp"/>
</element>
</element>
</element>
</element>
<element id="atom(buttonzone)" layout="filllayout()" layoutpos="bottom">
<element background="argb(0,0,0,0)" layout="borderlayout()">
<element id="atom(buttonpane)" layout="borderlayout()" layoutpos="top">
<element id="atom(ExpandButtonArea)" layoutpos="left" layout="borderlayout()">
<accessiblebutton id="atom(expandbutton)" layoutpos="left" layout="borderlayout()" accessible="true" accrole="pushbutton" accname="resstr(0x80E0)">
<button layoutpos="left" layout="borderlayout()" active="inactive">
<button id="atom(expandImage)" layoutpos="top" active="inactive"/>
</button>
<element id="atom(expandotextExpand)" class="ExpandoText" content="resstr(13586)" layoutpos="left"/>
</accessiblebutton>
</element>
<element id="atom(CollapseButtonArea)" layoutpos="none" layout="borderlayout()">
<accessiblebutton id="atom(collapsebutton)" layoutpos="left" layout="borderlayout()" accname="resstr(0x80E1)" accrole="pushbutton" accessible="true">
<button layoutpos="left" layout="borderlayout()" active="inactive">
<button id="atom(collapseImage)" layoutpos="top" active="inactive"/>
</button>
<element id="atom(expandotextCollapse)" class="ExpandoText" content="resstr(13587)" layoutpos="left"/>
</accessiblebutton>
</element>
<element layoutpos="right" layout="borderlayout()">
<ccpushbutton id="atom(PauseButton)" layoutpos="left" content="resstr(0x8096)" minsize="size(75rp, 25rp)" accessible="true"/>
<ccpushbutton id="atom(CancelButton)" layoutpos="left" content="resstr(13588)" minsize="size(75rp, 25rp)" selected="true" accessible="true"/>
</element>
</element>
</element>
</element>
<element layoutpos="bottom" layout="filllayout()" margin="rect(0rp, 0rp, 0rp, 5rp)" padding="rect(22rp, 0rp, 23rp, 10rp)" background="themeable(dtb(TaskDialog, 1, 0), threedface)">
<ccprogressbar resid="progressbar" id="atom(progressbar)" height="15rp" width="200rp" accessible="true" active="inactive" accname="resstr(0x80DF)"/>
</element>
</element>
<element resid="LocLabel1" id="atom(LocLabel1)" content="resstr(13577)" accessible="true" accrole="statictext"/>
<element resid="LocSourceDisplay" id="atom(LocSourceDisplay)" class="transferlocation" content="" contentalign="endellipsis" accessible="true" accrole="statictext"/>
<element resid="LocSourcePath" id="atom(LocSourcePath)" content="" contentalign="pathellipsis" accessible="true" accrole="statictext"/>
<element resid="LocLabel2" id="atom(LocLabel2)" content="resstr(13578)" accessible="true" accrole="statictext"/>
<element resid="LocDestDisplay" id="atom(LocDestDisplay)" class="transferlocation" content="" contentalign="endellipsis" accessible="true" accrole="statictext"/>
<element resid="LocDestPath" id="atom(LocDestPath)" content="" contentalign="pathellipsis" accessible="true" accrole="statictext"/>
<stylesheets>
<style resid="ProgressDialog">
<element font="gtf(TaskDialogStyle, 4, 0)"/>
<if class="transferlocation">
<element font="gtf(TEXTSTYLE, 3, 0)"/>
</if>
<if id="atom(content)">
<element font="gtf(TaskDialogStyle, 4, 0)" foreground="gtc(TaskDialogStyle, 4, 0, 3803)" background="themeable(dtb(TaskDialog, 1, 0), threedface)" padding="rect(20rp,10rp,20rp,10rp)"/>
</if>
<if id="atom(header)">
<element background="Gradient(argb(255, 220, 229, 244), argb(255, 155, 192, 227), argb(255, 0, 43, 85), 3)" foreground="gtc(TaskDialogStyle, 4, 0, 3803)" height="40rp" font="gtf(TaskDialogStyle, 2, 0)"/>
</if>
<if id="atom(headerText)">
<element font="gtf(TaskDialogStyle, 2, 0)"/>
</if>
<if id="atom(buttonzone)">
<element foreground="gtc(TaskDialogStyle, 4, 0, 3803)" background="themeable(dtb(TaskDialog, 8, 0), threedface)" padding="themeable(rect(22rp,9rp,22rp,9rp), rect(21rp,9rp,23rp,9rp))"/>
</if>
<if class="clipped">
<element background="themeable(dtb(TaskDialog, 1, 0), threedface)"/>
</if>
<if id="atom(ExpandImage)">
<button height="themeable(gtmet(TaskDialog, 13, 0, 2417), '21rp')" width="themeable(gtmet(TaskDialog, 13, 0, 2416), '18rp')" background="themeable(dtb(TaskDialog, 13, 1), dfc(3, 0x0001))" accessible="true" accrole="pushbutton"/>
<if mousefocused="true">
<button background="themeable(dtb(TaskDialog, 13, 2), dfc(3, 0x0001 | 0x1000))"/>
</if>
<if keyfocused="true">
<button background="themeable(dtb(TaskDialog, 13, 2), dfc(3, 0x0001 | 0x1000))"/>
</if>
<if pressed="true">
<button background="themeable(dtb(TaskDialog, 13, 3), dfc(3, 0x0001 | 0x0200))"/>
</if>
</if>
<if id="atom(CollapseImage)">
<button height="themeable(gtmet(TaskDialog, 13, 0, 2417), '21rp')" width="themeable(gtmet(TaskDialog, 13, 0, 2416), '18rp')" background="themeable(dtb(TaskDialog, 13, 4), dfc(3, 0x0000))" accessible="true" accrole="pushbutton"/>
<if mousefocused="true">
<button background="themeable(dtb(TaskDialog, 13, 5), dfc(3, 0x0000 | 0x1000))"/>
</if>
<if keyfocused="true">
<button background="themeable(dtb(TaskDialog, 13, 5), dfc(3, 0x0000 | 0x1000))"/>
</if>
<if pressed="true">
<button background="themeable(dtb(TaskDialog, 13, 6), dfc(3, 0x0000| 0x0200))"/>
</if>
</if>
<if class="ExpandoText">
<element font="gtf(TaskDialogStyle, 12, 0)" foreground="gtc(TaskDialogStyle, 12, 0, 3803)" contentalign="middleleft | wordellipsis" padding="themeable(gtmar(TaskDialog, 12, 0, 3602), rect(3rp,3rp,0rp,0rp))"/>
<if keyfocused="true">
<element contentalign="middleleft | focusrect | wordellipsis"/>
</if>
<if mousefocused="true">
<element contentalign="middleleft | wordellipsis"/>
</if>
</if>
</style>
</stylesheets>
</duixml>
|