Re: Diagram tree window

2001-11-02 Thread Hans Breuer

At 02:00 02.11.01 +0100, Jose A. Ortega Ruiz wrote:
>Hans Breuer <[EMAIL PROTECTED]> writes:
>
>> Just commited your patch. Please check if I've accidently broken anything 
>> while fixing some glitches :)
>> 
>
>i've updated my local copy, but the patch is not there yet... i guess
>the update relies on some cron job? (i'm using
>:pserver:[EMAIL PROTECTED]:/cvs/gnome )
>
I think so. AFAIK gnome cvs is mirrored to four servers under the 
name anoncvs.gnome.org. A least one of them had _very_
noticeable delay in the time I worked with them ...

>> Some features and improvements which came to my mind:
>> - It would be nice to have some ordering options for the diagram tree, 
>>   i.e. sort by type, sort by name, ...
>
>i agree... i'll work on this... maybe we could have a tab for the
>diagram tree configuration options in the properties dialog (i would
>add the initial size of the window too)...
>
An own page for sounds reasonable to me. Though for window sizes it
would probably be better to impement some kind of generic SessionInfo
handling like The Gimp does. There are more top level windows which
would benefit from 'remember where placed last time'.

>> - allow multiple object selection from the tree and within the
>> diagram ?
>
>i can do that, but do you think it is really useful? when i want to
>mark multiple objects, i think i'd always do that on the diagram
>window... 
>
I recently have worked on diagrams too huge to have readable class
names when showing all. There some other selection ui would have 
been rather useful ...

>> - I'm not sure if the gdk_window_raise should really be done when
>>   clicking around in the tree, instead the tree window could keep the
>>   focus
>
>well, i had the idea of this tree thing because i usually have a lot
>of open diagrams, and wanted to quickly locate any of them and bring
>it to the foreground, but i agree that loosing the focus can be
>annoying... we can fix this in (at least) two ways: either call
>gdk_window_raise both for the diagram window and, afterwards, for the
>diagram tree window (and you have the diagram on the foreground and
>don't miss the focus), or raise the selected diagram only if you
>double click on its node (and, btw, double clicking an object node
>could pop up its properties window): what do you think?
>
The latter option(s) are more appealing to me (don't mess around
with focus until explicit being told to do so). As you already
sayed there are more operations which are nice to have while
operating with the tree. What about a context menu for tree nodes
which offers:
 - Locate (i.e. select)
 - Properties
 - Delete ?
 - ... (more to come)

Hans
 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to 
get along without it.-- Dilbert
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



RE: Dia + OO

2001-11-02 Thread Hans Breuer

At 02:39 02.11.01 +, Alan Horkan wrote:
>
>You are probably already aware of libwmf its used by a bunch of other
>Gnome Office Apps.
>(but just in case you aren't ill post this link anyway)
>
>http://www.wvware.com/libwmf.html
>
Last time I looked it did only implement Import. Not that useful
when writing of wmf is required, isn't it ?

>
>On Fri, 2 Nov 2001, Young, Robert wrote:
>
>> What about WMF import? Surely OO can import this? Dia can export this under
>> windoze and the plugin just needs a bit owf work (Hans as done the bulk of
>> the work) to get it working under non windoze platforms (according to the
>> comment in dia/plug-ins/wmf/wmf_gdi.cpp).
>>
>> If you want to get this working, take a look - the code looks quite
>> readable.
>
Thanks :-)

Hans
 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to 
get along without it.-- Dilbert
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: Dia + OO

2001-11-02 Thread Robert Campbell

When creating an EPS file, you typically have the option of embedding a preview.  This 
preview is what a word processor or other program displays on the screen.  Even in MS 
Word, if the preview is not included in the EPS file, the image will not appear when 
the document is edited (presumably, it will print).  So it sounds as though:

(1) Dia isn't including a preview in the EPS files that it creates.  It probably 
should if it isn't.
(2) OpenOffice isn't taking advantage of the preview, if it is there.  It should.
(3) Or both.

Rob Campbell
[EMAIL PROTECTED]


-Original Message-
From:Sergey V. Udaltsov [EMAIL PROTECTED]
Sent:01 Nov 2001 09:32:57 +
To:  [EMAIL PROTECTED]
Subject: Re: Dia + OO


Hi Vlad

>  OO allows to insert .eps files too (but it doesn't display them - it just
> embeds the file when printing the document it's inserted in). Have you tried
> it?
Yes but I just did not know OO is able to print images which it is not
able to show. I lived in WYSIWYG world for too long. So when I see
nothing instead of my image I just think OO is not able to understand
it:)

>  But IMO OO should implement support for importing of SVG ASAP - then
> everything will be as user friendly as you wish.
I look forward to get the next version of OO for this...

Thanks for comments,

Sergey

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



___
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: Dia + OO

2001-11-02 Thread Robert Campbell

I'm going to reply to my own post before it even shows up on the list.  I just opened 
a MS Word document that contains embedded EPS with OpenOffice, and the image was 
visible.  So the problem may be with the EPS output that Dia is producing.  Maybe the 
library that Dia is using for this purpose has an option for creating previews that 
could be turned on.  If not, the interested party ought to put a request into that 
library's maintainers.

Rob Campbell
[EMAIL PROTECTED]

-Original Message-
From:Robert Campbell [EMAIL PROTECTED]
Sent:Fri, 02 Nov 2001 08:49:09 -0800
To:  [EMAIL PROTECTED]
Subject: Re: Dia + OO


When creating an EPS file, you typically have the option of embedding a preview.  This 
preview is what a word processor or other program displays on the screen.  Even in MS 
Word, if the preview is not included in the EPS file, the image will not appear when 
the document is edited (presumably, it will print).  So it sounds as though:

(1) Dia isn't including a preview in the EPS files that it creates.  It probably 
should if it isn't.
(2) OpenOffice isn't taking advantage of the preview, if it is there.  It should.
(3) Or both.

Rob Campbell
[EMAIL PROTECTED]


-Original Message-
From:Sergey V. Udaltsov [EMAIL PROTECTED]
Sent:01 Nov 2001 09:32:57 +
To:  [EMAIL PROTECTED]
Subject: Re: Dia + OO


Hi Vlad

>  OO allows to insert .eps files too (but it doesn't display them - it just
> embeds the file when printing the document it's inserted in). Have you tried
> it?
Yes but I just did not know OO is able to print images which it is not
able to show. I lived in WYSIWYG world for too long. So when I see
nothing instead of my image I just think OO is not able to understand
it:)

>  But IMO OO should implement support for importing of SVG ASAP - then
> everything will be as user friendly as you wish.
I look forward to get the next version of OO for this...

Thanks for comments,

Sergey

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



___
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.



___
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: Dia + OO

2001-11-02 Thread Hans Breuer

At 09:34 02.11.01 -0800, Robert Campbell wrote:
>I'm going to reply to my own post before it even shows up on the list.  I
just opened a MS Word document that contains embedded EPS with OpenOffice,
and the image was visible.  So the problem may be with the EPS output that
Dia is producing.  Maybe the library that Dia is using for this purpose has
an option for creating previews that could be turned on.  If not, the
interested party ought to put a request into that library's maintainers.

Dia is not using a library to produce the eps, but does it from scratch.
(app/render_eps.c). If I would have to implement a preview image for
the eps files I would probably try to delay it until Dia uses Gtk2,
because there are some nice functions to get on the bits of a drawable.
Producing the output would involve the Gdk Renderer already available
in the Dia sources.

Another workaround for the original problem may be to simply use
Dia's png exporter ...

Hans
 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to 
get along without it.-- Dilbert
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: Dia + OO

2001-11-02 Thread Jacek Pliszka

On Fri, 2 Nov 2001, Robert Campbell wrote:

> I'm going to reply to my own post before it even shows up on the list.  
> I just opened a MS Word document that contains embedded EPS with
> OpenOffice, and the image was visible.  So the problem may be with the
> EPS output that Dia is producing.  Maybe the library that Dia is using
> for this purpose has an option for creating previews that could be
> turned on.  If not, the interested party ought to put a request into
> that library's maintainers.

Hi!

Just use ps2epsi afterwards - it is in ghostsccript package.

I think this feature should not be included in dia.

The reason is philosophy. In Linux/UNIX 
tasks which can be performed by a simple and robust standalone
tools should not be included in all possible kinds
of related software bloating it unnecessarily.

In addition  EPSI files are usually larger
so unless one needs them - they should not be used.

Just try ps2epsi and if it works, please
write the doc for this topic.

Good Luck,

Jacek



___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-02 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Jose A. Ortega Ruiz" <[EMAIL PROTECTED]> writes:

> Cyrille Chepelov <[EMAIL PROTECTED]> writes:
> 
> > This feature sounds interesting... Please hack at will ! Unfortunately,
> > given the current apparently very limited time historic coders of dia can
> > spend on it nowadays, things are very quiet on the CVS side. I don't even
> > know whether my snapshot generator even generates correct tarballs, and if
> > not, what's broken in them :-(
> > 
> > I guess the general policy applies: show us unidiffs that rock and they get
> > in :-) 
> > 
> 
> hi, 
> 
> the attached patch (to be applied to the current CVS tree) implements
> the diagram window idea i mentioned a few days ago:
> 
> - a new menu item "View/Diagram tree" in the toolbox toggles the
>   diagram tree window.


Dude... you rock! This will be a great feature.  I am working on a Java/UML
export for dia and with 1000 or more classes, this will really help out.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

All your MP3 are belong to us!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE74wWyAwM6xb2dfE0RAuPGAJwIdGHjkvZaSDKVIwbUpAyU5O0zdQCeLVaq
fV9fUkAXKuPa96J4grC/a3k=
=wIFB
-END PGP SIGNATURE-
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Property changes for all selected items

2001-11-02 Thread Owen Densmore

Hi; I've just started using Dia and Gawd, its lovely.  I thought
everyone had forsaken simplicity (simple semantics) and elegance
(powerful combinations of the simple semantics) for click-o-matic
"power apps".  Thankyou for Dia!

OK, after that shameless sucking up, I have a usage question:
I'd like to change the properties of several objects at one time.
For example, the change the font for all the selected objects,
or linewidth, say.  How would I do that?  I've tried selecting
all boxes for example, and changing the color to "red" via the
properties menu.  Only one of the objects changes color.

I bet I'm being dumb here, but is there a way to do this?

Owen
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



[Fwd: from a dia user]

2001-11-02 Thread Alexander Larsson

I just got this. Forwarding to mailing list.




Hello Alexander.

Let me make a little suggestion about an UML modeling extention in dia.

It would be great having an additional text field in a class form among the 
Attributes, Operations, Template. A field like a Description or a Comment notes. 
People who modeling with an UML might write to that field classes responsibilities or 
a descriptional notes or notes just like "implemented in a file.cc". Having a field 
where one may write a responsibilities list is a greate feature to make CRC-cards 
analisys :). Using Notes in this case causes a sheet space loosing and just 
non-confortable to watch on it.

Regards
Anton






Re: Property changes for all selected items

2001-11-02 Thread Lars Clausen

On Fri, 02 Nov 2001, Owen Densmore wrote:

> Hi; I've just started using Dia and Gawd, its lovely.  I thought
> everyone had forsaken simplicity (simple semantics) and elegance
> (powerful combinations of the simple semantics) for click-o-matic
> "power apps".  Thankyou for Dia!

Glad to hear you like it:)

> OK, after that shameless sucking up, I have a usage question:
> I'd like to change the properties of several objects at one time.
> For example, the change the font for all the selected objects,
> or linewidth, say.  How would I do that?  I've tried selecting
> all boxes for example, and changing the color to "red" via the
> properties menu.  Only one of the objects changes color.
> 
> I bet I'm being dumb here, but is there a way to do this?

It's slightly counter-intuitive, but you have to group the objects first.
Then property changes affect them all.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I   |
will defend to the death your right to say it."   | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list