File: oldconfig

package info (click to toggle)
abiword 0.7.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 20,604 kB
  • ctags: 18,358
  • sloc: cpp: 88,791; ansic: 66,296; sh: 7,777; makefile: 3,397; xml: 687; perl: 361; awk: 273; sed: 36; csh: 28
file content (141 lines) | stat: -rw-r--r-- 2,883 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#Elements are *not* supported at this time, only Styles
#The currently acceptable variable are
#pixelsBefore	the height of space in pixels before a paragraph
#pixelsAfter	the height of space in pixels after a paragraph
#patterndir		the directory of the patterns

#Element Bold
#	{
#	Start <b>
#	End </b>
#	}

#Element Italic
#	{
#	Start <i>
#	End </i>
#	}


#Some of the global options that we can tweak.

Document
	{
	Start the doc begins
	TWIPS 76
	End the doc ends
	}

# A style configuration has the following syntax
#Style Name , Name is the name that word gives to the style.
#	{
#	Prespace string, prespace is designed to be a placeholder for
#	                 the vertical space that is at the beginning of
#	                 a paragraph
#	Start string,    start is the starting tag of a style
#	Bold On/Off,	 Each one of these tags can be set to On or Off.
#	                 Off means that if the style according to word 
#	                 should be bold, then that is ignored. On means
#	                 that mswordview follows what word says, if its
#	                 bold, it stays bold, if its not it stays non-bold.
#	Italic On/Off,	 
#	Font On/Off,
#   Default On/Off,  Default On/Off sets the default handling for character
#	                 attributes in a style to On or Off, ala the Bold example.
#	End string, 	 end is the ending tag of a style
#	Postspace string, postspace is designed to be a placeholder for
#	                  the vertical space that is at the end of a
#	                  paragraph
#	}

Style Normal
	{
	PreSpace "<img width=1 height=$pixelsBefore src=$patterndir/clear.gif><br>"
	Start "<!--Normal Para Begin-->"
	End "<!--Normal Para End-->"
	PostSpace "<img width=1 height=$pixelsAfter src=$patterndir/clear.gif><br>"
	}

#e.g. advanced configuration
#if you want the default word heading to be just a <h1></h1>, and to ignore
#the character formatting do something like this.
Style "Heading 1"
	{
	PreSpace "<img width=1 height=$pixelsBefore src=$patterndir/clear.gif><br>"
	Start <h1>                     
	Default Off
	End </h1>
	PostSpace "<img width=1 height=$pixelsAfter src=$patterndir/clear.gif><br>"
	}

Style "Heading 2"
	{
	PreSpace " "
	Start <h2>
	Default Off
	End </h2>
	PostSpace " "
	}

Style "Heading 3"
	{
	PreSpace " "
	Start <h3>
	Default Off
	End </h3>
	PostSpace " "
	}

Style "Heading 4"
	{
	PreSpace " "
	Start <h4>
	Default Off
	End </h4>
	PostSpace " "
	}

Style "Heading 5"
	{
	PreSpace " "
	Start <h5>
	Default Off
	End </h5>
	PostSpace " "
	}

Style "Heading 6"
	{
	PreSpace " "
	Start <h6>
	Default Off
	End </h6>
	PostSpace " "
	}

Style "Heading 7"
	{
	PreSpace " "
	Start <h7>
	Default Off
	End </h7>
	PostSpace " "
	}

Style "Heading 8"
	{
	PreSpace " "
	Start <h8>
	Default Off
	End </h8>
	PostSpace " "
	}

Style "Heading 9"
	{
	PreSpace " "
	Start <h9>
	Default Off
	End </h9>
	PostSpace " "
	}