2 Sep 05:56 2004

Custom View Problem

I've been working on integrating a mathml editor (from design science)
and I've got
it working!  The problem I have is that the component behaves strangely
inside the
editor in a number of ways:

1. At document load, odd "white" boxes appear as the document load
in the upper right
corner.  They go away when the whole document appears.

2. As the document scrolls and the components should scroll off the
page, they float
over the bottom of the document and the status bar to the end of
the window.

3. If I load another document, they stay visible over the new
document.

These are all Java/Swing issues, but I'm not certain what's up.

The MathML viewer/editor is an applet that I've wrapped in a JPanel.
Obviously, something
is not quite right.

Alex Milowski                FAX: (707) 598-7649
alex <at> milowski.com

"The excellence of grammar as a guide is proportional to the paucity of
the
inflexions, i.e. to the degree of analysis effected by the language


3 Sep 19:24 2004

RFE: Atomic Treatment of Customized Commands

When I run a custom XXE command, performing an undo of that command
requires an undo of all of the components of that command.  This may be
by design, in which case I'd be curious to know the intent, here.  If it
is not by design and not too hard to change, I would find it useful to
be able to atomically undo (and redo) a macro command as a whole.

Thanks, and take care,

John L. Clark


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
6 Sep 10:08 2004

Re: Error when building dictionary for XXE

I've transmitted your problem to the XMLmind Spell-Checker team. You
should get a feedback very quickly.

Kenneth Johansson wrote:
> Thanks to your previous information we have now succesfully managed to
> compile a Swedish dictionary file that can be used in, for instance, the
> XMLEditor. However, it has some flaws. For some unknow reason it treats the
> Swedish letter 'Å å' as white space. Instead of checking the word in the
> wordlist it uses the letters before 'å' as one word, and the letters
> following 'å' as another word.
>
> The spelling mechanism has no problems with other unigue Swedish letters
> such as 'Ö ö' or 'Ä ä', it is only the letter 'Å å' that is mistreated.
>
> The original wordlist we used to create sv.dar contains many words with the
> letter 'Å å' in it, so it is either being mistreated in the making of
> sv.dar. However, the character encoding in the Makefile do specify the
> correct encoding, ISO8859_1, and in the hints file the letter 'Å å' is
> included in the %chars variable.
>
> Since we don't know how to manually check the compiled sv.dar we have a hard
> time figuring out where the problem might be. Can you be of assistance?
>
> Please see the attached files, sv.dar and sv.wl. sv.dar has been compiled
> using your Dictionary builder, running on Cygwin for Win2000 with Java:
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04).

--
XMLmind XML Editor Support List


6 Sep 10:53 2004

Re: Powerpoint Generated GIFs sometimes request the need for the professional edition?

Paul wrote:
> Recently I switched to the standard version 2.7
>
> I have links to gifs that were generated using the "Powerpoint 97 SR-2"
> save as GIF feature.
> Note: Powerpoint can do this for one slide or for the complete slideshow.
>
> The behaviour I experience is that XXE now tells me I need the
> professional edition for the Powerpoint generated slides (but only if I
> generate the complete slideshow) when I try to convert my article to html.
>
> Is this a bug?
> ==========
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
> <article>
>   <title>XXE</title>
>
>   <section>
>     <title>GIF from powerpoint</title>
>
>     <para></para>
>
>     <figure>
>       <title></title>
>
>       <mediaobject>
>         <imageobject>
>           <imagedata fileref="XXE/Slide1.GIF" />


6 Sep 11:02 2004

Re: DocBook ulink tag without content not displayed properly

Michael_Rudolf <at> gmx.de wrote:
> while viewing a DocBook file with XXE I noticed that ulink tags without
> content are not displayed correctly. They are rendered as empty elements,
> although - as stated in the DocBook documentation - the value of the url
> attribute should be shown instead. Example:
>
>
> results in
>
> <a href="http://www.cnn.com/">http://www.cnn.com/</a>
>
> while XXE doesn't seem to recognize this rule.

When rendering a DocBook document *on screen*, we don't really try to
implement the processing expectations described in
http://www.docbook.org/tdg/en/html/docbook.html. However you are right,
this should be improved.

Currently, there is no elegant way to do this. To really improve the
rendering of empty ulinks we need a feature "label(xpath,...)" (see
http://www.xmlmind.com/xmleditor/_distrib/docs/csssupport/ch05s21.html)
that will be implemented in V2.8.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support



6 Sep 12:34 2004

Re: Custom View Problem

Alex Milowski wrote:
> I've been working on integrating a mathml editor (from design science)
> and I've got
> it working!  The problem I have is that the component behaves strangely
> inside the
> editor in a number of ways:
>
>    1. At document load, odd "white" boxes appear as the document load in
> the upper right
>       corner.  They go away when the whole document appears.
>
>    2. As the document scrolls and the components should scroll off the
> page, they float
>       over the bottom of the document and the status bar to the end of
> the window.
>
>    3. If I load another document, they stay visible over the new document.
>
> These are all Java/Swing issues, but I'm not certain what's up.
>
> The MathML viewer/editor is an applet that I've wrapped in a JPanel.
> Obviously, something
> is not quite right.

From what you describe, I think the component you are using (the
applet) is a *heavyweight* java component.

This kind of component does not mix well with the so-called
lightweight'' Swing components
(com.xmlmind.xmleditor.view.DocumentPane is a lightweight'' Swing


6 Sep 12:48 2004

Re: RFE: Atomic Treatment of Customized Commands

John L. Clark wrote:
> When I run a custom XXE command, performing an undo of that command
> requires an undo of all of the components of that command.  This may be
> by design, in which case I'd be curious to know the intent, here.  If it
> is not by design and not too hard to change, I would find it useful to
> be able to atomically undo (and redo) a macro command as a whole.

This is not a bug, just a limitation. I'll add your request to the wish
list.

Note that when this request will implemented (I don't know when), you'll
need to explicitly specify which macro-commands are undoable (because it
does not make sense to undo a macro-command which has performed a format
conversion or which has just changed the selection).

---
PS: As an XXE user, I find that the fact that macro commands are not
repeatable (using Ctrl-A) even more annoying than the fact they are not
undoable as a whole (example: convert text to emphasis[role=bold]).

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support


6 Sep 13:09 2004

Re: Help

You are the first person to report this problem (which is a ZeroG
InstallAnywhere one). We have no idea. (May be the installer does not

xxe-std-27-setup.exe which is useless for you.)

[2] Unzip the download archive in a newly created directory (say C:\xxe)

[3] You seem to have already installed a Java runtime and having added
it to your PATH, which is fine.

[4] Use C:\xxe\xxe.bat to start XXE.

Alejandro Castaño Velasquéz wrote:
> this popup window everytime I try to install it.
>
>
>
> The error says:
>
>
>
> Win32 Error: 0 File: “Win32Util.cpp” Line: 1295
>
> The operation completed successfully.


6 Sep 12:46 2004

How to specify the encoding automatically ?

Hello,

I need to set automatically the encoding at start up as the encoding in xxe
is set by default to UTF-8 and my template is set with an encoding
ISO-8859-1.

Is it possible to set this encoding at start up ?

stephane

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support


6 Sep 12:21 2004

How does XXE interpret jnlp file ?

Hello,

I deployed xxe via javaWebStart.
Now I would like to modify the jnlp file.
In fact, I tried to add the element <argument> to define system properties
which are useful to my application.
example :   <application-desc
main-class="com.xmlmind.xmleditapp.app.WebStart" >
<argument>-sysproperty</argument>
</application-desc>

When I launch xxe I've got an error message like this :

"userName=toto" n'est pas un URL ou un nom de fichier
Usage: java com.xmlmind.xmleditapp.app.Start URL_ou_fichier ...
URL_ou_fichier

How can I define system properties which can be read by my application ?

stephane

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support



Gmane