Next Previous Table of Contents
All configuration information of WebMaker is stored in two files:
~/.kde/share/config/webmakerrc
and
~/.kde/share/config/webmaker-toolbarrc
.
The first is for all options except toolbar customizing and the second is for
customization of toolbars. All options from webmakerrc can be configurable
through the GUI.
All ordinal configuration of WebMaker can be made from menu "Options", its submenus and appearing dialogs.
All toolbars (except main toolbar) can be customized. This can be done by
manual editing of file ~/.kde/share/config/webmaker-toolbarrc
.
This file has the following simple format:
[ToolbarN]
ButtonM=TextOrTagToInsert,ToolTip,ButtonPixmap.xpm,Action
ButtonM+1=TextOrTagToInsert,ToolTip,ButtonPixmap.xpm,Action
...
Explanation:
- toolbar & button with real number, for example:
Toolbar1
, Button3
;
- text or tag to insert, for example:
DIV align="center"
,
- short text that appears when mouse is over button;
- pixmap for button;
- one of the following: insertTag (insert given text with rules applicable to this tag: with surrounding < and >, with closing tag where needed etc.), insertEntity (just insert text), editTag (like insertTag + opens edit dialog for given tag).
---
as TextOrTagToInsert,
in this case all other parameters can be ommited and separator is inserted into
toolbar (ex.: Button8=---
).
There is three types of filters: import, export and real filters
(sections [Import Plugins]
, [Export Plugins]
and [Filter Plugins]
in webmakerrc). Every section has
the following format:
NameN=MenuEntry
CommandN=CommandLine
NameN+1=MenuEntry
CommandN+1=CommandLine
...
Explanation:
- indicate the number of filter;
- text for menu entry;
- command line for starting a filter. Import and export filters can include %s - this will be replaced with the current filename.
You can use filters to open/save files in different formats and encodings,
to print them and so on.
Example of import filter:
Name1=Import WinWord 97 File...
Command1=mswordview -o - %s
For additional examples you can look into supplied webmakerrc.
Next Previous Table of Contents