Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

svg-developers · SVG Developers

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 8774
  • Category: Data Formats
  • Founded: Aug 16, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 42010 - 42041 of 66112   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#42010 From: "corto1980" <corto1980@...>
Date: Sat May 1, 2004 11:50 am
Subject: Java and SVG
corto1980
Send Email Send Email
 
Hello,

I wondered if it was possible to handle every SVG events in Java
(not in Javascript) : Click, Mouseover, out, etc... ?

If it is, so could you please, help me to find resources.

Thanks.

Corto

#42011 From: "harry_ha_ha" <harry_ha_ha@...>
Date: Sat May 1, 2004 1:54 pm
Subject: Best option for a data-driven SVG
harry_ha_ha
Send Email Send Email
 
Hi

I'm just starting to get into the data driven aspect of SVG. I
wondering what would be the best way to do this. I have some
experience with a MySQL database and I can use Php a little. Does
this work well with SVG and is there other things I need to know or
is there an altogether better way of doing things?

#42012 From: "svgdeveloper" <rdeserranno@...>
Date: Sat May 1, 2004 2:35 pm
Subject: Re: SVG in .NET-projects
svgdeveloper
Send Email Send Email
 
MOBIFORM SVGViewPlus is a commercial product for using SVG with .NET
applications. It is being used in a number of products in many
verticals. It is affordable and supported.

Regards,

Ron @ Mobiform
www.mobiform.com


--- In svg-developers@yahoogroups.com, "mirjamerl" <mirjamerl@y...>
wrote:
> Hi,
>
> I'm part of a VB.NET-developerteam and we
> want to use SVG in our project esp. in our report-component.
>
> This report-component should provide the ability to publish the
> reports on the web and to export reports to MS word and PDF,
> using SVG for the graphics (bar-diagrams).
> We're not sure if SVG is a good solution for our requirements.
>
> Has anybody experience with SVG in .NET-Projects and
> can post some useful links. I was searching for a while
> and I didn't find much information.
>
> I'm also interested in experiences with SharpVectorGraphics.
>
> Thank you very much!
>
> Regards,
> Mirjam Rupp

#42013 From: "daniel_horspool" <daniel_horspool@...>
Date: Sat May 1, 2004 7:23 pm
Subject: Re: Java and SVG
daniel_horspool
Send Email Send Email
 
As far as I know, this is the only way to do it:
make an html webpage that loads both the svg and a java applet (the
applet could be in an iframe so that users can't see it.)

Then for each event you want to handle in svg, write a javascript
method for them, the function should simply call a method in the
applet class you made on the page.

Check out this link for info on how to do java/javascript
interaction:
http://www.apl.jhu.edu/~hall/java/Java-from-JavaScript.html


P.S. If anyone knows a direct method for svg/java interaction I'd
love to know...


Daniel


--- In svg-developers@yahoogroups.com, "corto1980" <corto1980@y...>
wrote:
> Hello,
>
> I wondered if it was possible to handle every SVG events in Java
> (not in Javascript) : Click, Mouseover, out, etc... ?
>
> If it is, so could you please, help me to find resources.
>
> Thanks.
>
> Corto

#42014 From: "daniel_horspool" <daniel_horspool@...>
Date: Sat May 1, 2004 7:32 pm
Subject: filters slowing down javascript animation
daniel_horspool
Send Email Send Email
 
Hello,

I'm currently working on a small svg project that has a nice gui
setup and uses javascript (setInterval() and setAttribute() calls)
to animate some objects...

I have noticed however a serious problem:
If I just do the animation part on it's own it works great, but once
I add in the static gui layer (which utilizes a bunch of filters to
make it look all pretty) the animation turns terrible. (chunky and
uneven.)

It seems this problem only occurs when the filters are used.

Is there a way to fix this and keep the animation speed crisp?


Thanks,
Daniel

#42015 From: "jing_n_jie" <jing_n_jie@...>
Date: Sat May 1, 2004 11:06 pm
Subject: SVG components & A free WYSIWYG SVG development envirenment
jing_n_jie
Send Email Send Email
 
A set of nice SVG components, including Button, Label, RadioButton,
CheckBox, ListBox,ScrollBar,TextEdit etc and a free WYSIWYG SVG
development envirenment is available in

www.openvue.net/projects.php

#42016 From: "jing_n_jie" <jing_n_jie@...>
Date: Sat May 1, 2004 11:41 pm
Subject: Rich Internet Application : Flash vs SVG
jing_n_jie
Send Email Send Email
 
Rich Internet Application would be a wonderful solution for
ebusiness. Macromedia has provided a very powerful IDE with its new
product Flash MX 2004. However what SVG community has done? There is
only a little personal project(http://www.openvue.net/projects) in
this issue in the internet. It should be a shame for SVG community.

#42017 From: "Gordon Bowman" <gordon_bowman@...>
Date: Sun May 2, 2004 3:32 am
Subject: Re: How to Kill a SVG
gordon_bowman
Send Email Send Email
 
Hey Jim,

--- In svg-developers@yahoogroups.com, "Jim Ley" <jim@j...> wrote:

> Is that really worth the effort, anyone can trivially un-obfuscate
that
> script enough to remove your SVG validator, it'll take mere
seconds of all
> but the most naive - and protecting from the naive is not a very
efficient
> strategy.
>

> just replace the contents with some other SVG element using the
DOM, it'll
> be trivial, but as I say there's no efficient protection method.
javascript
> obfuscation is certainly completely pointless.

Any obfuscated code can be unobfuscated, but it's only trivial if
the obfuscation process itself was trivial, e.g. garbled via global
search and replace. Even then, you're guessing at what the original
variable names are, losing the semantics of it, and making it
difficult for the code to be maintable without a lot of work in
figuring out what variables and functions are actually for and
naming them appropriately. Obfuscation can get a lot more
complicated, of course, with flow-control obfuscation, encryption,
etc. Basically, obfuscation simply serves as a deterrent, making it
more trouble than it's worth to try to steal the code instead of
legally writing it from scratch. Some companies will want to use it
to protect their IP (or at least show their investors that they are
protecting their IP) and others simply won't bother.

As well, as I mentioned in a post last summer, obfuscation can also
improve the run-time performance (as well as making the code size
smaller). Back when I was working on Corel's dSVG, we found that the
obfuscated code outperformed the non-obfuscated
code "significantly". I don't have stats here, but it wasn't simply
1 percent or anything--it was very noticeable to the end-user. That
in itself made obfuscation worthwhile.

Gordon Bowman
SVG Consultant

#42018 From: "R" <ron4u_us@...>
Date: Sun May 2, 2004 5:17 am
Subject: Multiple Language use...especially Japanese using system language element
ron4u_us
Send Email Send Email
 
Does anyone have an example or know how I can use multiple languages in an SVG
file so
that the system language switch is used?

I understand the method, but I am not able to get Japanese or any double byte
type
typefaces to work.

Thank you

-R

#42019 From: "anniea13" <annie@...>
Date: Sun May 2, 2004 5:40 am
Subject: Re: xlink from SVG to HTML anchor in containing page
anniea13
Send Email Send Email
 
Yes, I've seen this page.
And in the "Limitations with Inline SVGs" section it is explicitly
said that the result is not valid XHTML, which is one of my
requirements. BTW, this is also why I want to use object
instead of embed (and it is written there too that embed is more
reliable).

So I'm in kind of a lock here.

Could be there is no good valid XHTML way of embedding an SVG in
XHTML page? This would be very sad.

Anyway, I will be happy to hear any other suggestions,
I'm still only starting to explore the possibilities of SVG.

Thank you all very much for help.

Anna

--- In svg-developers@yahoogroups.com, "paulroubekas" <paul@r...>
wrote:
> Help me understand where you are coming from.  Have you seen the
> following page?
>
> http://www.schepers.cc/inlinesvg.html
>
> Make sure you read the section "Limitations with Inline SVGs"
>
>

#42020 From: "Doug Schepers" <doug@...>
Date: Sun May 2, 2004 8:07 am
Subject: Re: Re: xlink from SVG to HTML anchor in containing page
d_a_schepers
Send Email Send Email
 
Hi, Anna-

Like I said on my page, there really doesn't seem to be a good (that is,
reliable) valid manner to use SVG (or Flash, or anything else that uses
embed)... this strikes me as odd and sad. A pretty complete exploration of
this topic appears here:

http://www.alleged.org.uk/pdc/2002/svg-object.html

Sorry to be the bearer of bad tidings. Are you absolutely set on valid
XHTML?

Regards-
-Doug

anniea13 wrote:
> Yes, I've seen this page.
> And in the "Limitations with Inline SVGs" section it is explicitly
> said that the result is not valid XHTML, which is one of my
> requirements. BTW, this is also why I want to use object
> instead of embed (and it is written there too that embed is more
> reliable).
>
> So I'm in kind of a lock here.
>
> Could be there is no good valid XHTML way of embedding an SVG in
> XHTML page? This would be very sad.
>
> Anyway, I will be happy to hear any other suggestions,
> I'm still only starting to explore the possibilities of SVG.
>
> Thank you all very much for help.
>
> Anna
>
> --- In svg-developers@yahoogroups.com, "paulroubekas" <paul@r...>
> wrote:
>> Help me understand where you are coming from.  Have you seen the
>> following page?
>>
>> http://www.schepers.cc/inlinesvg.html
>>
>> Make sure you read the section "Limitations with Inline SVGs"
>>
>>
>

#42021 From: "anniea13" <annie@...>
Date: Sun May 2, 2004 9:04 am
Subject: Re: xlink from SVG to HTML anchor in containing page
anniea13
Send Email Send Email
 
Hi Doug
Thanks for answering.

Yes, unfortunately, the resulting page with SVG absolutely has to be
XHTML valid. This is one of the requirements.

As I said before, it would be nice for me to have an inline XHTML-
valid SVG on the page, but this is not really necessary.
I can be satisfied with including it inside the object tag.

But the problem that I started with was, that, when embedding the
SVG in object tag, javascript events inside SVG stop to work
completely.
This, however, doesn't happen if I use the embed tag.

So, my question again is why does this happen and can something
be done in order to make javascript events to trigger in SVG
embedded in object element rather than in embed element?

BTW, do javascript events work in object embedded SVG for anyone?

Thank you very much for help.

Anna

P.S. Sorry to come back to this issue again and again.
I'm still a newbie and a lot of things are really obscure for me.

--- In svg-developers@yahoogroups.com, "Doug Schepers" <doug@s...>
wrote:
> Hi, Anna-
>
> Like I said on my page, there really doesn't seem to be a good
(that is,
> reliable) valid manner to use SVG (or Flash, or anything else that
uses
> embed)... this strikes me as odd and sad. A pretty complete
exploration of
> this topic appears here:
>
> http://www.alleged.org.uk/pdc/2002/svg-object.html
>
> Sorry to be the bearer of bad tidings. Are you absolutely set on
valid
> XHTML?
>
> Regards-
> -Doug
>
> anniea13 wrote:
> > Yes, I've seen this page.
> > And in the "Limitations with Inline SVGs" section it is
explicitly
> > said that the result is not valid XHTML, which is one of my
> > requirements. BTW, this is also why I want to use object
> > instead of embed (and it is written there too that embed is more
> > reliable).
> >
> > So I'm in kind of a lock here.
> >
> > Could be there is no good valid XHTML way of embedding an SVG in
> > XHTML page? This would be very sad.
> >
> > Anyway, I will be happy to hear any other suggestions,
> > I'm still only starting to explore the possibilities of SVG.
> >
> > Thank you all very much for help.
> >
> > Anna
> >
> > --- In svg-developers@yahoogroups.com, "paulroubekas" <paul@r...>
> > wrote:
> >> Help me understand where you are coming from.  Have you seen the
> >> following page?
> >>
> >> http://www.schepers.cc/inlinesvg.html
> >>
> >> Make sure you read the section "Limitations with Inline SVGs"
> >>
> >>
> >

#42022 From: "eclipseglenn" <aoxx13@...>
Date: Sun May 2, 2004 12:26 pm
Subject: SVG Visual Development Tool in progress...
eclipseglenn
Send Email Send Email
 
Hi,

I've just started work on a visual development tool for producing SVG
pages. It's in the early stages but it does produce working SVG code,
allow you to apply filters, use primitives, write text, define links
etc...

Details can be found on my website, which is <a
href="http://www.eclipsedevelopment.co.uk/">here</a>. Then use the
menu to go to the pages for DUSK.

Any feedback you have can help me develop this into a really good
application for the purposes of producing SVG.

Regards,

Glenn Carter

<p><img src="http://www.eclipsedevelopment.co.uk/Images/DUSK1.jpg"
alt="Dusk Screenshot" /></p>

#42023 From: "Jim Ley" <jim@...>
Date: Sun May 2, 2004 12:46 pm
Subject: Re: How to Kill a SVG
jibberjim
Send Email Send Email
 
"Gordon Bowman" <gordon_bowman@...> wrote in message
news:c71q4e+keu1@....
> Any obfuscated code can be unobfuscated, but it's only trivial if
> the obfuscation process itself was trivial, e.g. garbled via global
> search and replace. Even then, you're guessing at what the original
> variable names are, losing the semantics of it, and making it
> difficult for the code to be maintable without a lot of work in
> figuring out what variables and functions are actually for and
> naming them appropriately.

Not particularly difficult since the DOM interactions cannot be renamed and
they're the key elements for understanding what the code does.

> Obfuscation can get a lot more
> complicated, of course, with flow-control obfuscation, encryption,
> etc. Basically, obfuscation simply serves as a deterrent, making it
> more trouble than it's worth to try to steal the code instead of
> legally writing it from scratch.

I would say obfuscations only value is in rebutting a defence of accidental
mis-use of your code when someone has stolen it, if there were steps needed
to read the code.

The "more trouble to steal than rewrite" I find on the web is generally
achieved just by not writing very good script.

> As well, as I mentioned in a post last summer, obfuscation can also
> improve the run-time performance (as well as making the code size
> smaller). Back when I was working on Corel's dSVG, we found that the
> obfuscated code outperformed the non-obfuscated
> code "significantly".

Yep, I've seen that a stated a lot, it's also undoubtedly true if you don't
optimise your code as you write it, but I've never seen it true against code
which has been written for speed.  (The general reason is the caching of
references which you get as part of the obfuscation process, you can just do
that yourself.)

So whilst you could gain this optimisation you do it at a conisderable
support and QA cost - you're QA'ing different code to what you develop
against, line numbers and variable names mentioned in errors are different
to what you develop against.

Jim.

#42024 From: "Jim Ley" <jim@...>
Date: Sun May 2, 2004 12:46 pm
Subject: Re: xlink from SVG to HTML anchor in containing page
jibberjim
Send Email Send Email
 
"anniea13" <annie@...> wrote in message
news:c72dje+m55b@....
> Yes, unfortunately, the resulting page with SVG absolutely has to be
> XHTML valid. This is one of the requirements.

If you have to be XHTML valid, IE is obviously not a requirement (it doesn't
support any flavour of XHTML) in which case you can use mixed namespace
XHTML in Amaya, Mozilla SVG, X-Smiles and Deng.  Those will all work well,
although their SVG support is not particularly advanced.

> This, however, doesn't happen if I use the embed tag.

Use IFRAME and an appropriate XHTML DTD.

> BTW, do javascript events work in object embedded SVG for anyone?

OBJECT is a very broken element, both in specification and in
implementations, I'd strongly avoid using it.

Jim.

#42025 From: "Jim Ley" <jim@...>
Date: Sun May 2, 2004 12:50 pm
Subject: Re: SVG components & A free WYSIWYG SVG development envirenment
jibberjim
Send Email Send Email
 
"jing_n_jie" <jing_n_jie@...> wrote in message
news:c71ai3+lq4f@....
> A set of nice SVG components, including Button, Label, RadioButton,
> CheckBox, ListBox,ScrollBar,TextEdit etc and a free WYSIWYG SVG
> development envirenment is available in
>
> www.openvue.net/projects.php

Hi, they look very nice, I can't seem to type in the boxes in ASV6preview
release (a common problem with text elements and that UA)  Does the editor
have to be tied to Eclipse, as I'm really not a fan of that product but
would like to try it out?

Jim.

#42026 From: "Jim Ley" <jim@...>
Date: Sun May 2, 2004 2:08 pm
Subject: Re: Best option for a data-driven SVG
jibberjim
Send Email Send Email
 
"harry_ha_ha" <harry_ha_ha@...> wrote in message
news:c70a6o+ltgh@....
> Hi
>
> I'm just starting to get into the data driven aspect of SVG. I
> wondering what would be the best way to do this. I have some
> experience with a MySQL database and I can use Php a little. Does
> this work well with SVG and is there other things I need to know or
> is there an altogether better way of doing things?

Yep, whatever you're comfortable using for the backend works fine, like HTML
is well served with many backends so is SVG.

The big thing is to think about how you can do incremental updates using
getURL etc. to improve the user experience.

Cheers,

Jim.

#42028 From: "harry_ha_ha" <harry_ha_ha@...>
Date: Sun May 2, 2004 4:51 pm
Subject: Setting the colour due to variable status
harry_ha_ha
Send Email Send Email
 
Can anyone tell me what I am doing wrong here? I am trying to create
a situation where I can change the colour of specfic table by
changing the status of a variable, but I am just getting a black
table, which i am assuming to be the default colour.

Here is the code:


<svg width='100%' height='600' onload='dessin(evt)'>
<script><![CDATA[
var svgdoc,root, floorplan;

function dessin(evt)
{
	 svgdoc=evt.target.ownerDocument;
	 root = svgdoc.documentElement;

	 var status = 1;
	 var table6_A = svgdoc.getElementById("table6_A");

		 if(status = 1)
		 {
			 node = table6_A.cloneNode(true);
			 node.setAttribute('fill','white');
			 table6_A.appendChild(node);
		 }
}


]]>
</script>
<g id='floorplan'>
<defs>

<desc> Here is a description of a table for six</desc>
<symbol id="table_6" overflow="visible">
<path  d="M5 30 5 -10 L -100 -60 -130 -40 -129 -5 L -130 -40 -35 10 -
35 50 -35 10 5 -10 z"
stroke-linecap="round" transform="scale(1.2, .6)" stroke-width="3"
stroke="black" />
<text id="table_6_text" transform="rotate(15)" font-size="12pt" x="-
120" y="10" fill="black">Available</text>
</symbol>

</defs>

<g id='floor'/>



<g>
<use id="table6_A" xlink:href="#table_6" x="350" y="120" />
<use id="table6_B" xlink:href="#table_6" x="510" y="170" />
<use id="table6_C" xlink:href="#table_6" x="675" y="225" />
<use id="table6_D" xlink:href="#table_6" x="840" y="280"  />

</g>

<linearGradient id="brown_2" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:saddlebrown; stop-opacity:1"/>
<stop offset="100%" style="stop-color:darkgoldenrod; stop-opacity:1"/>
</linearGradient>

</g>
</svg>

#42029 From: "Pete dOronzio" <pete@...>
Date: Sun May 2, 2004 7:51 pm
Subject: Extents of graphic object
pdprog
Send Email Send Email
 
How do I find the extents of graphic in SVG?

I'm attempting to port my own graphics engine over to SVG.  I've
succeeded on many fronts, and have just a couple more things to
manage.  Here's one:

My application builds a dynamic graphic based on data in a data
record.  It checks the data for certain values and appends new
graphics based on what it finds.  (and rotates, colors, scales, etc.)

Once a graphic is created, I need to label that graphic with some
text.  The text is placed relative to the extents (smallest rectangle
that can encompass the graphic) of the graphic it is labeling.

Does the SVG DOM, specifically the Adobe SVG implementation define a
call to determine the graphic's extents?

Thanks,
-pete

#42030 From: "Pete dOronzio" <pete@...>
Date: Sun May 2, 2004 7:56 pm
Subject: Scaling a graphic without scaling the line width
pdprog
Send Email Send Email
 
I am creating SVG dynamically in my app.  I build my graphics from
primitives, to symbols (not SVG symbols), to graphic objects.
Finally, I combine all the graphics into a schematic.

The problem that I am having is that when I scale a graphic, it
scales the line width.  When dealing with a simple line-segment, I
can specify that the scaling be only in one dimension (i.e. X, not
Y).  This means I can build things with line segments into larger
objects.  But, if I try to scale a polyline, circle, rectangle, etc.
this becomes a problem.  The line width scales with the object.

Suggestions?
Thanks,
-pete

#42032 From: "Jim Ley" <jim@...>
Date: Sun May 2, 2004 10:25 pm
Subject: Re: Scaling a graphic without scaling the line width
jibberjim
Send Email Send Email
 
"Pete dOronzio" <pete@...> wrote in message
news:c73joi+9vht@....
> The problem that I am having is that when I scale a graphic, it
> scales the line width.  When dealing with a simple line-segment, I
> can specify that the scaling be only in one dimension (i.e. X, not
> Y).  This means I can build things with line segments into larger
> objects.  But, if I try to scale a polyline, circle, rectangle, etc.
> this becomes a problem.  The line width scales with the object.
>
> Suggestions?

Until SVG 1.2 viewers you'll have to use script to compensate for the scale
factor of the stroke-width.

Jim.

#42033 From: "Muhammad Shoaib Khan" <u2000070@...>
Date: Sun May 2, 2004 10:48 pm
Subject: SVG to AI
u2000070@...
Send Email Send Email
 
I urgently need SVG to AI (Adobe illustrator format)  converter.. i dotn
have illustrator.. please help

thanks
Shoaib

**************************************************************
Scanned by  MailScan Anti-Virus and Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************

#42034 From: "Gordon Bowman" <gordon_bowman@...>
Date: Mon May 3, 2004 1:08 am
Subject: Re: How to Kill a SVG
gordon_bowman
Send Email Send Email
 
--- In svg-developers@yahoogroups.com, "Jim Ley" <jim@j...> wrote:
>
> "Gordon Bowman" <gordon_bowman@h...> wrote in message
> news:c71q4e+keu1@e...
> > Any obfuscated code can be unobfuscated, but it's only trivial if
> > the obfuscation process itself was trivial, e.g. garbled via
global
> > search and replace. Even then, you're guessing at what the
original
> > variable names are, losing the semantics of it, and making it
> > difficult for the code to be maintable without a lot of work in
> > figuring out what variables and functions are actually for and
> > naming them appropriately.
>
> Not particularly difficult since the DOM interactions cannot be
renamed and
> they're the key elements for understanding what the code does.

True, but even with the DOM methods unchanged, we've all written
algorithms that have indepth comments to help us understand the
logic behind it at a later date. When those comments and the
meaningful variable names disappear, it can take time to make sense
of it all, intact DOM methods or no.
>
> > Obfuscation can get a lot more
> > complicated, of course, with flow-control obfuscation,
encryption,
> > etc. Basically, obfuscation simply serves as a deterrent, making
it
> > more trouble than it's worth to try to steal the code instead of
> > legally writing it from scratch.
>
> I would say obfuscations only value is in rebutting a defence of
accidental
> mis-use of your code when someone has stolen it, if there were
steps needed
> to read the code.

Yes, I forgot that one. But I would say this is "another" value of
obscuation, not the only one.
>
> The "more trouble to steal than rewrite" I find on the web is
generally
> achieved just by not writing very good script.
>
> > As well, as I mentioned in a post last summer, obfuscation can
also
> > improve the run-time performance (as well as making the code size
> > smaller). Back when I was working on Corel's dSVG, we found that
the
> > obfuscated code outperformed the non-obfuscated
> > code "significantly".
>
> Yep, I've seen that a stated a lot, it's also undoubtedly true if
you don't
> optimise your code as you write it, but I've never seen it true
against code
> which has been written for speed.  (The general reason is the
caching of
> references which you get as part of the obfuscation process, you
can just do
> that yourself.)

The obfuscation that resulted in improved performance was a simple
search and replace, nothing intelligent about it.

> So whilst you could gain this optimisation you do it at a
conisderable
> support and QA cost - you're QA'ing different code to what you
develop
> against, line numbers and variable names mentioned in errors are
different
> to what you develop against.

That's not really any different than the standard practice of
developing a C++ application in DEBUG mode, while giving optimized
RELEASE builds to QA.

#42035 From: Jérôme Tricand de la Goutte <jdelagou@...>
Date: Mon May 3, 2004 7:37 am
Subject: Re: *** Probable SPAM *** svg and MSWord 10.1
trigoutte
Send Email Send Email
 
You can also copy your svg from your browser then paste it in Word using Edition
Menu then "special paste"
It works but you will loose animations and javascript, of course
Jérôme

Sean Montague wrote:

> You can insert an SVG object under the insert menu.  I haven't done it much,
but have added some SVG to Word Docs, it seems to be unstable.
>
> >>> mcreijnders@... 04/30/04 10:29AM >>>
> Hi,
> Is it possible to place/integrate a svg-pie-chart in MS Word? How?
> Who can help me?
> Greetings,
> Rien
>
> -----
> To unsubscribe send a message to: svg-developers-unsubscribe@yahoogroups.com
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
> ----
>
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/svg-developers/
>   To unsubscribe from this group, send an email to:
> svg-developers-unsubscribe@yahoogroups.com
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> -----
> To unsubscribe send a message to: svg-developers-unsubscribe@yahoogroups.com
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
> ----
> Yahoo! Groups Links
>
>
>
>

#42036 From: Jérôme Tricand de la Goutte <jdelagou@...>
Date: Mon May 3, 2004 7:47 am
Subject: Re: Setting the colour due to variable status
trigoutte
Send Email Send Email
 
Hi Harry

I don't really understand what you want to do in dessin(), but I think you
should change "table6_A.appendChild(node);" by
"table6_A.parentNode.appendChild(node);" if you want to create a sibling for
table6_A.
On the other hand, if you do'nt set fill attribute for any 'table6_X' they will
be black. Don't forget that you will be able to change it later.

Jérôme

harry_ha_ha wrote:

> Can anyone tell me what I am doing wrong here? I am trying to create
> a situation where I can change the colour of specfic table by
> changing the status of a variable, but I am just getting a black
> table, which i am assuming to be the default colour.
>
> Here is the code:
>
> <svg width='100%' height='600' onload='dessin(evt)'>
> <script><![CDATA[
> var svgdoc,root, floorplan;
>
> function dessin(evt)
> {
>         svgdoc=evt.target.ownerDocument;
>         root = svgdoc.documentElement;
>
>         var status = 1;
>         var table6_A = svgdoc.getElementById("table6_A");
>
>                 if(status = 1)
>                 {
>                         node = table6_A.cloneNode(true);
>                         node.setAttribute('fill','white');
>                         table6_A.appendChild(node);
>                 }
> }
>
> ]]>
> </script>
> <g id='floorplan'>
> <defs>
>
> <desc> Here is a description of a table for six</desc>
> <symbol id="table_6" overflow="visible">
> <path  d="M5 30 5 -10 L -100 -60 -130 -40 -129 -5 L -130 -40 -35 10 -
> 35 50 -35 10 5 -10 z"
> stroke-linecap="round" transform="scale(1.2, .6)" stroke-width="3"
> stroke="black" />
> <text id="table_6_text" transform="rotate(15)" font-size="12pt" x="-
> 120" y="10" fill="black">Available</text>
> </symbol>
>
> </defs>
>
> <g id='floor'/>
>
> <g>
> <use id="table6_A" xlink:href="#table_6" x="350" y="120" />
> <use id="table6_B" xlink:href="#table_6" x="510" y="170" />
> <use id="table6_C" xlink:href="#table_6" x="675" y="225" />
> <use id="table6_D" xlink:href="#table_6" x="840" y="280"  />
>
> </g>
>
> <linearGradient id="brown_2" x1="0%" y1="0%" x2="100%" y2="0%">
> <stop offset="0%" style="stop-color:saddlebrown; stop-opacity:1"/>
> <stop offset="100%" style="stop-color:darkgoldenrod; stop-opacity:1"/>
> </linearGradient>
>
> </g>
> </svg>
>
>
> -----
> To unsubscribe send a message to: svg-developers-unsubscribe@yahoogroups.com
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
> ----
> Yahoo! Groups Links
>
>
>
>

#42037 From: "Doug Schepers" <doug@...>
Date: Mon May 3, 2004 8:49 am
Subject: Re: Extents of graphic object
d_a_schepers
Send Email Send Email
 
Hi, Pete-

I think that what you're looking for is myElement.getBBox(); which returns
an object with x, y, width, and height members (i.e. "myElementBBox.width").

Keep us posted on your progress.. sounds like an interesting project.

Regards-
-Doug

Pete dOronzio wrote:
> How do I find the extents of graphic in SVG?
>
> I'm attempting to port my own graphics engine over to SVG.  I've
> succeeded on many fronts, and have just a couple more things to
> manage.  Here's one:
>
> My application builds a dynamic graphic based on data in a data
> record.  It checks the data for certain values and appends new
> graphics based on what it finds.  (and rotates, colors, scales, etc.)
>
> Once a graphic is created, I need to label that graphic with some
> text.  The text is placed relative to the extents (smallest rectangle
> that can encompass the graphic) of the graphic it is labeling.
>
> Does the SVG DOM, specifically the Adobe SVG implementation define a
> call to determine the graphic's extents?
>
> Thanks,
> -pete

#42038 From: "Rien" <mcreijnders@...>
Date: Mon May 3, 2004 9:57 am
Subject: Re: svg and MS Word
mcreijnders
Send Email Send Email
 
Hallo Sean,

Yes I tried so. But the whole computer becomes then very slowly due
to the much calculating, and the Word-ducument is then no longer
useble. So that is not the solution.

Rien

--- In svg-developers@yahoogroups.com, "Sean Montague"
<smontague@o...> wrote:
> You can insert an SVG object under the insert menu.  I haven't done
it much, but have added some SVG to Word Docs, it seems to be
unstable.
>
> >>> mcreijnders@h... 04/30/04 10:29AM >>>
> Hi,
> Is it possible to place/integrate a svg-pie-chart in MS Word? How?
> Who can help me?
> Greetings,
> Rien
>
>
>
> -----
> To unsubscribe send a message to: svg-developers-
unsubscribe@yahoogroups.com
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit
my membership"
> ----
>
>
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/svg-developers/
>   To unsubscribe from this group, send an email to:
> svg-developers-unsubscribe@yahoogroups.com
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.

#42039 From: "Rien" <mcreijnders@...>
Date: Mon May 3, 2004 10:25 am
Subject: Re: *** Probable SPAM *** svg and MSWord 10.1
mcreijnders
Send Email Send Email
 
Hallo Jérôme,

It works indeed, but de quality of the characters is much worse. So
I'm not yet satisfied. Is there a solution that maintains the quality?

Rien

--- In svg-developers@yahoogroups.com, Jérôme Tricand de la Goutte
<jdelagou@l...> wrote:
> You can also copy your svg from your browser then paste it in Word
using Edition Menu then "special paste"
> It works but you will loose animations and javascript, of course
> Jérôme
>
> Sean Montague wrote:
>
> > You can insert an SVG object under the insert menu.  I haven't
done it much, but have added some SVG to Word Docs, it seems to be
unstable.
> >
> > >>> mcreijnders@h... 04/30/04 10:29AM >>>
> > Hi,
> > Is it possible to place/integrate a svg-pie-chart in MS Word? How?
> > Who can help me?
> > Greetings,
> > Rien
> >
> > -----
> > To unsubscribe send a message to: svg-developers-
unsubscribe@yahoogroups.com
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers and
click "edit my membership"
> > ----
> >
> > Yahoo! Groups Links
> > To visit your group on the web, go to:
> > http://groups.yahoo.com/group/svg-developers/
> >   To unsubscribe from this group, send an email to:
> > svg-developers-unsubscribe@yahoogroups.com
> >   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >
> >
> > -----
> > To unsubscribe send a message to: svg-developers-
unsubscribe@yahoogroups.com
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers and
click "edit my membership"
> > ----
> > Yahoo! Groups Links
> >
> >
> >
> >

#42040 From: "anniea13" <annie@...>
Date: Mon May 3, 2004 10:27 am
Subject: Re: xlink from SVG to HTML anchor in containing page
anniea13
Send Email Send Email
 
The problem with an iframe is that if I have a link in SVG that
links to some anchor in the HTML page that includes the SVG,
the page is loaded in the iframe, and then I have the same page
twice - normally and in the iframe.

Maybe this is because I use onclick event to jump to the link, e.g.
onclick="location.href='test.html#anchor'", because, as I
said in my initial post, the xlink:href doesn't work for some reason.

Other than that, if the anchors would work normally in SVG inside
iframe, this would be a good solution for me, I think.

Does this work normally for anyone (anchors in iframe, and
xlink:href at all)?
I will be really glad to know something about it.

Thank you all very much for help.

Anna

--- In svg-developers@yahoogroups.com, "Jim Ley" <jim@j...> wrote:
>
> "anniea13" <annie@a...> wrote in message
> news:c72dje+m55b@e...
> > Yes, unfortunately, the resulting page with SVG absolutely has
to be
> > XHTML valid. This is one of the requirements.
>
> If you have to be XHTML valid, IE is obviously not a requirement
(it doesn't
> support any flavour of XHTML) in which case you can use mixed
namespace
> XHTML in Amaya, Mozilla SVG, X-Smiles and Deng.  Those will all
work well,
> although their SVG support is not particularly advanced.
>
> > This, however, doesn't happen if I use the embed tag.
>
> Use IFRAME and an appropriate XHTML DTD.
>
> > BTW, do javascript events work in object embedded SVG for anyone?
>
> OBJECT is a very broken element, both in specification and in
> implementations, I'd strongly avoid using it.
>
> Jim.

#42041 From: Solveig Løvhaug <solveig@...>
Date: Mon May 3, 2004 11:12 am
Subject: Who has written the switch code in svg
solveiglov
Send Email Send Email
 
It seems that we are more than me wondering how to test
switch. But we have not got any answer from this group yet.
So my next question will be, can we contact those written the switch
code in svg and ask how to test it ?
And who do we contact ?
Hilsen Solveig

Messages 42010 - 42041 of 66112   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help