Asked questions

From FreeMind

Jump to: navigation, search
(Using physical styles: Adapt to current pattern format)
m (Using physical styles (or patterns): fix some things)
Line 354: Line 354:
Physical styles and patterns are the same and can be compared to "styles" in a text writer: you define a set of styling attributes, give this set a name, and can then assign the style or pattern to different nodes in the same way.
Physical styles and patterns are the same and can be compared to "styles" in a text writer: you define a set of styling attributes, give this set a name, and can then assign the style or pattern to different nodes in the same way.
-
The patterns are defined in the file <tt>patterns.xml</tt> placed in the FreeMind user directory. In Windows, that file is <tt>C:\Documents and Settings\YourUserName\.freemind\patterns.xml</tt>; under Linux, it's <tt>~/.freemind/patterns.xml</tt>.
+
The patterns are defined in the file <tt>patterns.xml</tt> placed in the FreeMind user directory. In Windows, that file is <tt>C:\Documents and Settings\YourUserName\.freemind\patterns.xml</tt>; under Linux, it's <tt>~/.freemind/patterns.xml</tt>. The generic format of this file is the following:
  <?xml version="1.0" encoding="UTF-8"?>
  <?xml version="1.0" encoding="UTF-8"?>
Line 367: Line 367:
  </patterns>
  </patterns>
-
As you can see from above, you need to give each pattern a unique name, and then you need to assign pattern properties. Each pattern property is of the form <tt><'''pattern_property_name''' value="'''property_value'''"/></tt>, or <tt><pattern_'''property_name'''/></tt>, and each property stands for a different format parameter. The following property names are possible:
+
As you can see from above, you need to give each pattern a unique name, and then you need to assign pattern properties. Each pattern property is of the form <tt><'''pattern_property_name''' value="'''property_value'''"/></tt>, or <tt><'''pattern_property_name'''/></tt>, and each property stands for a different format parameter. Where the property is listed without value attribute, the corresponding format is reset to its default value. The following property names are possible:
* pattern_node_background_color
* pattern_node_background_color
Line 382: Line 382:
* pattern_edge_width
* pattern_edge_width
* pattern_child
* pattern_child
-
 
-
; TODO : Add more explanations about the possible values and exact impact for each property.
 
-
 
-
Where the property is listed without value attribute, the corresponding format is reset to its default value.
 
==== Allowed values ====
==== Allowed values ====
Line 427: Line 423:
* penguin
* penguin
* licq
* licq
 +
 +
; TODO : Add more explanations about the possible values and exact impact for each property.
==== Example(s) ====
==== Example(s) ====

Revision as of 20:28, 21 October 2007

Personal tools