Thomas Dumm wrote: > Is there a way (setting) to make it impossible to **enter** more than one > consecutive ordinary space while editing the document with XMLmind? > The setting "preserveSpace" does not help here, as I understand the > manual.
> Thank you! I will try this. Not in java, as I have no idea of java. > Note: I have to make sure, that "occasional" authors do not try > "layout" their content with white spaces, while writing the content an > afterwards complain, that all the work they did is lost after saving the > document.... > > Is there a way to edit an attribute of "colspec", lets say "colwidth" in > CALS-Tables other than with the normal attribute-pane? Yes, by writing a custom command in Java[tm]. > I tried all sorts of content-objects, but they did not show up at all. > colspec is the only attribute, where I need the attribut pane. I woul like to > avoid using the attribut-pane. I just wanted to stress the fact that when advanced customizations of XMLmind XML Editor will always require you to write some code in Java[tm]. (If you cannot do this and nevertheless want the best for your users, you may consider hiring a Java[tm] programmer.) For example, it is perfectly possible to create in Java[tm] some gadgets inserted in the styled view which, when dragged by the user, automatically update the colwidth attributes of the colspec elements. Now, why not do this in standard? The anwser is that we, XMLmind, never attempt to hide the fact that XMLmind XML Editor is, well, an XML Editor. Example: the table editor allows to cut and paste table columns. Why? because doing this by hand is tedious and error-prone. Counter-example: setting the colwidth attributes of a colspec element is on the contrary very simple: [1] click on the colspec [2] use the attribute tool to specify a value for the colwidth attribute. Moreover most of the time, you'll want to specify a width such as "2*" and not something like "50px".

