Skinning.documents

From Shareaza Wiki
Revision as of 21:31, 17 August 2009 by Ocexyz (talk | contribs) (added recovered 2nd level content Skinning.documents - Verification needed!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  Languages:

[[::Skinning.documents|English]] • [[::Skinning.documents/de|Deutsch]] • [[::Skinning.documents/es|Español]] • [[::Skinning.documents/fr|Français]] • [[::Skinning.documents/he|עברית]] • [[::Skinning.documents/it|Italiano]] • [[::Skinning.documents/nl|Nederlands]] • [[::Skinning.documents/pl|Polski]] • [[::Skinning.documents/pt|Português]] • [[::Skinning.documents/ru|Русский]] • [[::Skinning.documents/zh-hant|‪中文(繁體)]]

e
  Recovered

The following content has been recovered from the old wiki and pantheraproject*net. Competent verification is needed.

e

<documents>

The <documents> element provides RichDoc documents that are used within the user interface. At the current time only one Richdoc is used on the Home tab.

RichDoc documents are not HTML, but have some distant similarities. Rather than being a text-parsed language, it is focused on being programmatic so that it may be efficiently updated in real-time without reparsing. It is also very focused, and contains only the basic functionality required to meet its intended purpose (thus eliminating the unnecessary bulk of a full HTML browser).

The RichDoc namespace has not been fully documented yet, but here is a rough guide:

Element Description
<document> The root document element. Several attribute are available, such as crBackground, crText, etc.
<text> Creates a text element
<link> Creates a hyperlink element, with a target attribute.
<heading> Creates a heading element, in the document's heading style.
<bitmap> Creates a bitmap element
<icon> Creates an icon element
<newline> Creates a newline element, with specified margin and vertical spacing
<gap> Creates a gap element
<group> Groups several elements together

All document elements have some attributes in common:

  • id - ID name for the element, used for programmatic access
  • group - Group number, used for programmatic document visibility alterations
  • format - text formatting, a string including one or more tokens from "bold", "italic", "underline"
  • align - alignment specification, such as "middle"