473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Microsoft Powerpoint AutoShape / object structure

HI!

I have two expert questions:

1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box?

2. How is it possible to access the object structure in PowerPoint. I mean
by this accessing the objects that are created on the given slide. I would
like to identify the selected object, maybe check its category (arrow, text,
etc), take and pass it to my program. Then put the changed object back into
the slide instead of the selected object. Off course I will ensure the right
format. But what format is it?

I am all ears!
gicio

Nov 15 '05 #1
1 2256
Sahu,
1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box? No, it is not.
2. How is it possible to access the object structure in PowerPoint. The object model provides properties which can be queried. The Shape always
has a Type properties. Each specific Type of shape can be further queried
for properties like AutoShapeType, Placeholder etc. You will find VBA
examples on http://msdn.microsoft.com , www.mvps.org/skp, www.pptfaq.com
(programming section) to name a few.

e.g.
ActiveWindow.Selection.ShapeRange(1).Type gives you the type of shape that
is currently selected.
ActivePresentation.Slides(1).Shapes(1).Type gives you the type of the 1st
shape on the 1st Slide of the active presentation.

Regards
Shyam Pillai

"sahu" <fd@we.pl> wrote in message
news:ui**************@TK2MSFTNGP09.phx.gbl... HI!

I have two expert questions:

1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box?

2. How is it possible to access the object structure in PowerPoint. I mean
by this accessing the objects that are created on the given slide. I would
like to identify the selected object, maybe check its category (arrow, text, etc), take and pass it to my program. Then put the changed object back into the slide instead of the selected object. Off course I will ensure the right format. But what format is it?

I am all ears!
gicio

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sahu | last post by:
HI! I have two expert questions: 1. Is it possible to add new (own) End Styles of arrows in the Format AutoShape window (Colors and Lines) drop down box? 2. How is it possible to access the...
0
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the...
1
by: Harry Bellafonte | last post by:
Hi I want to open a simple powerpoint sheet in the browser window. What is the best way to do that? I have searched in this group and saw different people telling that the pluginn for...
1
by: sofakingfree | last post by:
This error is driving me nuts. The code below will run perfectly when it has a breakpoint. But as soon as I remove the breakpoint and run it normally outside of debug mode I get a strange error...
3
by: | last post by:
Hi! How to extand and access the internat Office object structure. Is there any Dev Kit for Microsoft Partners that in not available to "normal" users? Something like NOKIA back entrence!? ...
0
by: Aleksandar Panov | last post by:
I am going to use PowerPoint 10.0 Object library because I have to extract slides from PowerPoint file. Does anybody know do I have to install Office on server, where the IIS is installed, in order...
8
by: Rut | last post by:
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible =...
9
by: MattC | last post by:
Hi, Not sure if this is the correct forum, so apologies in advance, if it's not. I have a requirement to dynamically generate a powerpoint slide via a webpage. My first thought was some knid...
3
by: WPeterson | last post by:
Converting PowerPoint to Flash would absolutely be a good choice to distribute your bulky PowerPoint presentations. You can do the whole PowerPoint to Flash conversion manually or with...
2
by: LucasLondon | last post by:
Hi, I'm trying to use VBA to extract underlying data from charts in powerpoint to excel, i.e from the underlying powerpoint datasheet that feeds the chart. I've found the macro below on the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.