Hi,
> ... Better yet, a program that could
> automatically determine the proper width and height plus column
> widths would be even better.
WebDraw used to do that through its DOM inspector, if you can still
find it. And there must be others like XMLSpy probably?, etc.
Otherwise what I think is the least expensive solution, it's to make a
script that:
1) adds event listeners to all or whichever elements you need.
2) creates a text node "myInfoText" where to show the info you need.
3) in the handleEvent function:
if (evt.type == "mouseover") {
var myTarget = evt.target;
// showInfo(printNode(myTarget));
showInfo(myTarget);
}
if (evt.type == "mouseout") {
showInfo("");
}
4) write a showInfo(nodeInfo) function that reads whatever myTarget
attributes you need and prints them to "myInfoText".
Then you will only need to link this file to the SVG document to scan
and place an onload function call, not forgetting to remove afterwards.
ASV has a very practical, non standard, printNode() method (commented
in the above snippet) that allows you to simply state in the showInfo
function:
svgdoc.getElementById("myInfoText").firstChild.nodeValue = "node info:
" + nodeInfo;
For this type of private usage I don't think there's anything wrong
with using a non standard method.
--- In [email protected], "Aric Letzring" <[EMAIL PROTECTED]>
wrote:
>
> Hi everyone.
>
> I work for a company that uses copious amounts of SVG files.
> Essentially, we take pdf files, convert them into SVG with PDFtron and
> then covert the svg into swf. The difficulty lies in the fact that in
> order to make sure all the searchable text and images are converted
> correctly and picked up by the photoshop, we must take a sample page
> from each section we wish to covert, open the SVG in textpad and copy
> a grid matrix into it, reopen the svg get the column metrics by
> clicking points in the matricies to get column width (in some cases)
> and page width and height. Its a laborious process and I was hoping
> that someone could point me to a tool or a way by which I could open
> an svg in a viewer and somehow get the coordinates I need by simply
> scrolling over the svg. Better yet, a program that could
> automatically determine the proper width and height plus column widths
> would be even better.
>
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/