toolbar.dtd 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. * This file is part of the LibreOffice project.
  4. *
  5. * This Source Code Form is subject to the terms of the Mozilla Public
  6. * License, v. 2.0. If a copy of the MPL was not distributed with this
  7. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  8. *
  9. * This file incorporates work covered by the following license notice:
  10. *
  11. * Licensed to the Apache Software Foundation (ASF) under one or more
  12. * contributor license agreements. See the NOTICE file distributed
  13. * with this work for additional information regarding copyright
  14. * ownership. The ASF licenses this file to you under the Apache
  15. * License, Version 2.0 (the "License"); you may not use this file
  16. * except in compliance with the License. You may obtain a copy of
  17. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  18. -->
  19. <!ENTITY % boolean "(true|false)">
  20. <!ENTITY % numeric "CDATA">
  21. <!ENTITY % alignment "(top|bottom|left|right)">
  22. <!ENTITY % style "(symbol|text|symboltext)">
  23. <!ELEMENT toolbar:toolbar (toolbar:toolbaritem | toolbar:toolbarspace | toolbar:toolbarbreak | toolbar:toolbarseparator)*>
  24. <!ATTLIST toolbar:toolbar
  25. xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
  26. xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
  27. >
  28. <!ELEMENT toolbar:toolbaritem EMPTY>
  29. <!ATTLIST toolbar:toolbaritem
  30. xlink:href CDATA #REQUIRED
  31. toolbar:visible %boolean; "true"
  32. toolbar:text CDATA #IMPLIED
  33. toolbar:style CDATA #IMPLIED
  34. >
  35. <!ELEMENT toolbar:toolbarspace EMPTY>
  36. <!ELEMENT toolbar:toolbarbreak EMPTY>
  37. <!ELEMENT toolbar:toolbarseparator EMPTY>
  38. <!ELEMENT toolbar:toolbarlayouts (toolbar:toolbarlayout*)>
  39. <!ATTLIST toolbar:toolbarlayouts
  40. xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
  41. >
  42. <!ELEMENT toolbar:toolbarlayout EMPTY>
  43. <!ATTLIST toolbar:toolbarlayout
  44. toolbar:id CDATA #REQUIRED
  45. toolbar:floatingposleft %numeric; #IMPLIED
  46. toolbar:floatingpostop %numeric; #IMPLIED
  47. toolbar:floatinglines %numeric; "0"
  48. toolbar:dockinglines %numeric; "1"
  49. toolbar:align %alignment; "left"
  50. toolbar:visible %boolean; "false"
  51. toolbar:floating %boolean; "false"
  52. toolbar:style %style; "symbol"
  53. toolbar:userdefname CDATA #IMPLIED
  54. >