help



Pls remove me from this list

pete

-----Original Message-----
From: dia-list-bounces gnome org [mailto:dia-list-bounces gnome org] On
Behalf Of dia-list-request gnome org
Sent: 20 September 2004 17:00
To: dia-list gnome org
Subject: Dia-list Digest, Vol 5, Issue 9

Send Dia-list mailing list submissions to
        dia-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/dia-list
or, via email, send a message with subject or body 'help' to
        dia-list-request gnome org

You can reach the person managing the list at
        dia-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dia-list digest..."


Today's Topics:

   1. Patch adding UML transitions, trouble with bounding boxes
      (Peter Allin)
   2. Re: Scaling, printing, etc. in Dia (Chris Green)
   3. Object / sheets  (Eric Schabell)
   4. bug 147431 (skim)


----------------------------------------------------------------------

Message: 1
Date: Sun, 19 Sep 2004 23:38:18 +0200
From: Peter Allin <pallists peca dk>
Subject: Patch adding UML transitions, trouble with bounding boxes
To: dia-list gnome org
Message-ID: <1095629898 6998 1 camel marx>
Content-Type: text/plain

Hi,

I've just attached a patch file to bug number 144956. The patch should
add UML statechart transitions to the UML sheet. Any comments are very
much welcome! This is my first shot at submitting code to this project,
so please tell me if I've broken any unwritten (or unread ;-) ) rules in
the code or the way I submitted it.

I have some problems calculating the bounding box for the transition. I
have the orthogonal connector and the texts covered, but the arrowhead
on the connector isn't included in my calculations. This results in some
artifacts when dragging the transition.

As far as I can see in some other objects, I'm supposed to use the
extra_spacing member in the OrthConn struct to add the extra space used
by the arrowhead. But I can't figure out how to use it.

Can anyone help me understanding how it should be used?

Best regards,
 Peter Allin




------------------------------

Message: 2
Date: Mon, 20 Sep 2004 09:42:28 +0100
From: Chris Green <chris areti co uk>
Subject: Re: Scaling, printing, etc. in Dia
To: discussions about usage and development of dia
        <dia-list gnome org>
Message-ID: <20040920084228 GB22006 areti co uk>
Content-Type: text/plain; charset=us-ascii

On Sun, Sep 19, 2004 at 07:45:30PM +0200, Lars Clausen wrote:
    The rulers are entirely arbitrary, my A4 sheets is 24 x 15 whereas
    a real A4 sheet of paper is 29.7 x 20.5.

That's due to margins.  If you change the margins in page setup, the
rulers will go to normal A4 paper.  The centimeters are real
centimeters.

Ah, OK, I hadn't realised that!

    The grid is too coarse, it has only 24 divisions across the long
    dimension of my A4 sheet and snap to grid snaps to this (larger
    than 1cm) grid.

You can set the grid explicitly in the Diagram Properties dialog, just
turn off dynamic grid and set the grid to 0.1x0.1.

If I zoom to the 283% default I get a much finer grid drawn but it
doesn't affect the scaling (still 24 divisions for the length of my
A4) and, mor importantly it doesn't affect 'snap to grid' so I still
get larger than 1cm jumps.

The latter would be a problem with the dynamic grid code.  Doesn't seem
to adjust along with the shown grid.

So if I turn dynamic grid off all should be well?  Anyway I'll try it
when I get home this evening (at work now).

Thanks for all the helpful replies.

-- 
Chris Green (chris areti co uk)

    "Never ascribe to malice, that which can be explained by incompetence."


------------------------------

Message: 3
Date: Mon, 20 Sep 2004 11:18:21 +0000
From: Eric Schabell <erics cs kun nl>
Subject: Object / sheets 
To: dia-list gnome org
Message-ID: <20040920111821 GA26757 schabell com>
Content-Type: text/plain; charset=us-ascii

Howdy all,

I have been busy and have a good idea of how to get the Object-Role
Modeling sheets done and ready for inclusion if Lars would like to add
them one day to dia.

I have one problem that I don't really understand:

When i make a custom shape, I export the diagram as a *.shape file, it
is then available for inclusion into my ORM sheet via File -> Sheets and
Objects. When I include my new shape and apply the changes, I get a very
unreadable picture in the sheet view, like my diagrams are miniture.

How can I get the nice clear pictures you have for the other sheets?
Make my diagrams huge? Fatter line widths?

Thanks,
erics


------------------------------

Message: 4
Date: Mon, 20 Sep 2004 16:08:58 +0200
From: skim <skim skim cz>
Subject: bug 147431
To: dia-list gnome org
Message-ID: <20040920140858 GA18047 vydle>
Content-Type: text/plain; charset=iso-8859-2

  Hello,

  I don't understand why is this bug opened?

My result:
1. If you want tag xmlns:dia, than must apply patch to:

Index: doc/diagram.dtd
===================================================================
RCS file: /cvs/gnome/dia/doc/diagram.dtd,v
retrieving revision 1.5
diff -r1.5 diagram.dtd
3c3
<    xmlns CDATA #FIXED "http://www.gnome.org/projects/dia/";>
---
   xmlns:dia CDATA #FIXED "http://www.gnome.org/projects/dia/";>

Or rewrite xmlns:dia to xmlns in dia files.

2. I don't understand why is in <dia:composite> tag next
   <dia:composite> tag.
   In dtd this isn't. 
   If this right, than patch to:

Index: doc/diagram.dtd
===================================================================
RCS file: /cvs/gnome/dia/doc/diagram.dtd,v
retrieving revision 1.5
diff -r1.5 diagram.dtd
33c33
< <!ELEMENT dia:composite (dia:attribute)*>
---
<!ELEMENT dia:composite (dia:attribute | dia:composite)*>

  If this isn't right, than remove <dia:composite type="color"/> from
dia files.
When i using autodia, that tag isn't in code.
I don't understand what it doing?

Is it a problem?

Regards,
skim
-- 
---------------------------------------------------
  Michal "skim" ©paèek            Brno, CZ, Europe
 E-mail: skim (at) skim.cz      
 jabber: skim (at) njs.netlab.cz   user: unix, TeX              
------=[ #!/usr/bin/perl ]=------------------------


------------------------------

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list


End of Dia-list Digest, Vol 5, Issue 9
**************************************


***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312.       Registered Office: 36 St Andrew 
Square, Edinburgh EH2 2YB.                                      
Authorised and regulated by the Financial Services Authority     
 
This e-mail message is confidential and for use by the                      addressee only. If the message is 
received by anyone other             
than the addressee, please return the message to the sender          
by replying to it and then delete the message from your                    computer. Internet e-mails are not 
necessarily secure. The               Royal Bank of Scotland plc does not accept responsibility for          
changes made to this message after it was sent.                              
                                                                                                        
Whilst all reasonable care has been taken to avoid the                   
transmission of viruses, it is the responsibility of the recipient to        
ensure that the onward transmission, opening or use of this             
message and any attachments will not adversely affect its               
systems or data.  No responsibility is accepted by The Royal           
Bank of Scotland plc in this regard and the recipient should carry   
out such virus and other checks as it considers appropriate.           
                                                                                                              
 Visit our websites at:                                                                          
http://www.rbs.co.uk/CBFM                                                        
http://www.rbsmarkets.com                                                         
                                                                                                       
********************************************************************************




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]