W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: 1.2 Text Wrapping ...section 1.3

From: Robert Diblasi <rdiblas@wpo.it.luc.edu>
Date: Fri, 22 Nov 2002 12:16:17 -0600
Message-Id: <sdde2017.098@wpo.it.luc.edu>
To: <www-svg@w3.org>, "Robert Diblasi" <RDIBLAS@wpo.it.luc.edu>

Hello,

<snip>
We [W3 working group] explicitly invite comments on this specification
<snip>

OK

I will break my comments up in to sections....

1.3 The flowRegion element
The flowRegion element can define a rectangular region in the current user coordinate 
system through it's x, y, width, and height attributes, or it may reference existing geometry
 through it's xlink:href attribute.


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" 
         xmlns:xlink="http://www.w3.org/1999/xlink" 
         version="1.2">
  <flowText>
       <flowLayout>
           <flowRegion x="0" y="0" width="100" height="100"/>
       </flowLayout>
  </flowText>
</svg>

or

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" 
         xmlns:xlink="http://www.w3.org/1999/xlink" 
         version="1.2">
   <defs>
       <circle id="textCircle"cx="50" cy="100" r="20" fill="red" stroke="blue" stroke-width="5" />
   <defs>
  <flowText>
       <flowLayout>
           <flowRegion xlink:href="#textCircle"/>
      </flowLayout>
  </flowText>
</svg>

I think this is great.......I can create  a rectange to place text in or a graphic object of my choice (text or shape)

QUESTION:
Can refernce other docuements. I can imagine making one docuement that has a shape and refering to to with
the <flowRegion> element.

QUESTION:
This is a very basic question.....I really want to know the answer if someone could be help this would great:
The spec states:

<snip>
When used the xlink:href must directly reference path, text, or basic shape elements. Indirect references are an error
</snip>

What is a direct reference?
What is a indirect reference?


We all learn by sharing what we know
Robert A. DiBlasi
http://www.svgnotebook.com 
rdiblasi@svgnotebook.com 
SVG User Group: Chicago IL. Chapter member
Received on Friday, 22 November 2002 13:16:25 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:23 GMT