| View previous topic :: View next topic |
| Author |
Message |
Harlequin General User

Joined: 13 Jan 2004 Posts: 15
|
Posted: Tue Jan 13, 2004 2:02 pm Post subject: Importing graphic and resizing problem |
|
|
Dear All,
I am trying to move away from Word and I have one last problem. I need to import a large no. of graphs into a report. I can cut and paste special using MACRO Record, but when I try and record a resize and repostion nothing seems to happen. When I look at the macro in the editor I can see the paste special instruction but nothing after that.
I can resize and reposition manually but would very much like to automate the whole process.
Thanks in advance of any help.
J  |
|
| Back to top |
|
 |
dfrench Moderator

Joined: 03 Mar 2003 Posts: 1605 Location: Wellington, New Zealand
|
Posted: Tue Jan 13, 2004 3:06 pm Post subject: |
|
|
Size and position objects can be manipulated through the api. You will need to explore the documentation a bit and consider carefully what you wish to happen. The macro recorder does not capture this stuff for you.
The XRAY tool from www.ooomacros.org will help you identify which properties that you are likely to need to change for the object holding the graph, SIZE for example. Which is my hacker approach .
The Development Guide downloaded with the sdk contains examples of the use of the api. |
|
| Back to top |
|
 |
|