Re: Automate Outline Object

2006-05-18 Thread Donald M Rinderknecht
In this project I am opening an XML file using an application with XSLT 
and r/w rules.


Is it possible to specify a border around a graphic object in the EDD, 
or would this be a read/write rule?

Or is it just not possible?

I've been snooping around the Structured Dev Guide but haven't found 
anything yet.


Thanks,
Don.

Don Rinderknecht -- KD5MVV
Meteorologist Instructor/Developer ~ Warning Decision Training Branch
[EMAIL PROTECTED] ~ http://wdtb.noaa.gov



Donald M Rinderknecht wrote:


All,

Is there a way to automate putting an outline on a graphic object. 
(Other than using FrameScript which I don't have.)
I can do this manually by selecting the object then the Tools Palette 
but I've got about 1200 graphic objects to modify.


If not, I'll look at modifying the actual graphic to put a border on 
them.


Thanks,
Don.


___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]

or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Automate Outline Object

2006-05-18 Thread Donald M Rinderknecht
In this project I am opening an XML file using an application with XSLT 
and r/w rules.

Is it possible to specify a border around a graphic object in the EDD, 
or would this be a read/write rule?
Or is it just not possible?

I've been snooping around the Structured Dev Guide but haven't found 
anything yet.

Thanks,
Don.

Don Rinderknecht -- KD5MVV
Meteorologist Instructor/Developer ~ Warning Decision Training Branch
Donald.M.Rinderknecht at noaa.gov ~ http://wdtb.noaa.gov



Donald M Rinderknecht wrote:

> All,
>
> Is there a way to automate putting an outline on a graphic object. 
> (Other than using FrameScript which I don't have.)
> I can do this manually by selecting the object then the Tools Palette 
> but I've got about 1200 graphic objects to modify.
>
> If not, I'll look at modifying the actual graphic to put a border on 
> them.
>
> Thanks,
> Don.
>



Automate Outline Object

2006-05-18 Thread Lynne A. Price
At 07:04 AM 5/18/2006, Donald M Rinderknecht wrote:
>Is it possible to specify a border around a graphic object in the EDD, or 
>would this be a read/write rule?
>Or is it just not possible?

Don,
   Neither a EDD nor r/w rules can set this property. A simple FDK client 
could do so as part of the process of opening the XML document, or 
FrameScript could after the document is opened.
 --Lynne



Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, 
and training
lprice at txstruct.comhttp://www.txstruct.com
voice/fax: (510) 583-1505  cell phone: (510) 421-2284 





Automate Outline Object

2006-05-16 Thread Donald M Rinderknecht

All,

Is there a way to automate putting an outline on a graphic object. 
(Other than using FrameScript which I don't have.)
I can do this manually by selecting the object then the Tools Palette 
but I've got about 1200 graphic objects to modify.


If not, I'll look at modifying the actual graphic to put a border on them.

Thanks,
Don.

--
Don Rinderknecht -- KD5MVV
Meteorologist Instructor/Developer ~ Warning Decision Training Branch
[EMAIL PROTECTED] ~ http://wdtb.noaa.gov

___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]

or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Re: Automate Outline Object

2006-05-16 Thread Rick Quatro

Hi Don,

FrameScript would certainly pay for itself with this job alone. If you 
decide to try it, here is the code to add a 1 point border to all of the 
imported graphics on body pages in the document.


If ActiveDoc = 0
 MsgBox 'There is no active document.';
 LeaveSub;
Else
 Run ProcessDoc oDoc(ActiveDoc);
EndIf

Sub ProcessDoc
//
Set oGraphic = oDoc.FirstGraphicInDoc;
Loop While(oGraphic)
 // See if the graphic is an imported graphic.
 If oGraphic.ObjectName = 'Inset'
   // See if the graphic is on a body page.
   If oGraphic.Page.ObjectName = 'BodyPage'
 Set oGraphic.Pen = FillBlack;
 Set oGraphic.BorderWidth = 1pt;
   EndIf
 EndIf
 Set oGraphic = oGraphic.NextGraphicInDoc;
EndLoop
//
EndSub

Without FrameScript, you could save your documents as MIF and use a text 
editor to add the border. See the online MIF Reference for the syntax 
details.


Rick Quatro
Carmen Publishing
585-659-8267
www.frameexpert.com



All,

Is there a way to automate putting an outline on a graphic object. (Other 
than using FrameScript which I don't have.)
I can do this manually by selecting the object then the Tools Palette but 
I've got about 1200 graphic objects to modify.


If not, I'll look at modifying the actual graphic to put a border on them.

Thanks,
Don.

--
Don Rinderknecht -- KD5MVV
Meteorologist Instructor/Developer ~ Warning Decision Training Branch
[EMAIL PROTECTED] ~ http://wdtb.noaa.gov

___


___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]

or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Automate Outline Object

2006-05-16 Thread Donald M Rinderknecht
All,

Is there a way to automate putting an outline on a graphic object. 
(Other than using FrameScript which I don't have.)
I can do this manually by selecting the object then the Tools Palette 
but I've got about 1200 graphic objects to modify.

If not, I'll look at modifying the actual graphic to put a border on them.

Thanks,
Don.

-- 
Don Rinderknecht -- KD5MVV
Meteorologist Instructor/Developer ~ Warning Decision Training Branch
Donald.M.Rinderknecht at noaa.gov ~ http://wdtb.noaa.gov




Automate Outline Object

2006-05-16 Thread Rick Quatro
Hi Don,

FrameScript would certainly pay for itself with this job alone. If you 
decide to try it, here is the code to add a 1 point border to all of the 
imported graphics on body pages in the document.

If ActiveDoc = 0
  MsgBox 'There is no active document.';
  LeaveSub;
Else
  Run ProcessDoc oDoc(ActiveDoc);
EndIf

Sub ProcessDoc
//
Set oGraphic = oDoc.FirstGraphicInDoc;
Loop While(oGraphic)
  // See if the graphic is an imported graphic.
  If oGraphic.ObjectName = 'Inset'
// See if the graphic is on a body page.
If oGraphic.Page.ObjectName = 'BodyPage'
  Set oGraphic.Pen = FillBlack;
  Set oGraphic.BorderWidth = 1pt;
EndIf
  EndIf
  Set oGraphic = oGraphic.NextGraphicInDoc;
EndLoop
//
EndSub

Without FrameScript, you could save your documents as MIF and use a text 
editor to add the border. See the online MIF Reference for the syntax 
details.

Rick Quatro
Carmen Publishing
585-659-8267
www.frameexpert.com


> All,
>
> Is there a way to automate putting an outline on a graphic object. (Other 
> than using FrameScript which I don't have.)
> I can do this manually by selecting the object then the Tools Palette but 
> I've got about 1200 graphic objects to modify.
>
> If not, I'll look at modifying the actual graphic to put a border on them.
>
> Thanks,
> Don.
>
> -- 
> Don Rinderknecht -- KD5MVV
> Meteorologist Instructor/Developer ~ Warning Decision Training Branch
> Donald.M.Rinderknecht at noaa.gov ~ http://wdtb.noaa.gov
>
> ___