By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 1,795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

Extand and access the internat Microsoft Office object structure

P: n/a
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!?
gicio
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Using Office objects from .NET applications is very simple.

If you're using a version of office prior to Office XP you can add a
reference to the relavent office COM objects and the framework will create a
PIA (Primary Interop Assembly) for you which can then be used from .NET just
like any other componenet.

Office XP ships a special set of PIA's that are obtainable from MSDN.

This link has some good info...

http://msdn.microsoft.com/library/de...us/dnofftalk/h
tml/office10032002.asp
--
Bob Powell [MVP]
C#, System.Drawing

ANNOUNCING: Well Formed.
The monthy electronic magazine for
Windows Forms and GDI+ engineers
http://www.bobpowell.net/wellformed.htm

Check out the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
<gi***@web.de> wrote in message news:#X*************@tk2msftngp13.phx.gbl...
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!?
gicio

Nov 15 '05 #2

P: n/a
Hello!

We are currently struggling with a problem of extending Microsoft PowerPoint
(PP) freehand line functionality.

Here is our objective:
Imagine you have a brush in your hand and you are drawing a line. You can
easily change the thickness of this line while drawing by controlling the
pressure on the paper. So after you drew it the line has many different
thicknesses in it depending on how many times you changed the pressure while
drawing. Back to PP.
We need something like a freehand line, but the output will not just be a
line that has the same thickness on the whole length of it. The thickness
varies depending on some logic (black box) that is implemented by our
algorithm. Image you inherit from "freehand line" object and extend it by
characteristics described in the brush example (different thicknesses
contained by one continuous line). We need something that behaves the same
way when you scale it (zoom) like lines in PP do. That means that the
thickness of line is not affected by scaling, opposite to objects in PP,
which change their shapes while scaling.
We have written our own OLE server, which creates such line, but when we
copy it into PP it becomes an object that does not scale like a line - it
changes its shape while scaling.

We think that one of possible directions could be to find out the structure
and format of all possible object types supported by MS Office (Lines,
Shapes, objects, etc). Examine them and find the one that has the closest
match to our requirements. Then inherit from it, extend it and introduce it
SOMEHOW to PP as a new custom drawing object type/class. We have not found
any information on types and formats or the possibility to extend the
standard graphical office objects types by custom graphical objects. Maybe
if you spent a lot of $$ on MS Certificates and you have a certain level of
support this information and appropriate framework is accessible to you?

We think that this problem requires a real expert in MS Office Area
therefore we post it here.

Any help will be gratefully appreciated.
Cheers,
gicio


"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Using Office objects from .NET applications is very simple.

If you're using a version of office prior to Office XP you can add a
reference to the relavent office COM objects and the framework will create a PIA (Primary Interop Assembly) for you which can then be used from .NET just like any other componenet.

Office XP ships a special set of PIA's that are obtainable from MSDN.

This link has some good info...

http://msdn.microsoft.com/library/de...us/dnofftalk/h tml/office10032002.asp
--
Bob Powell [MVP]
C#, System.Drawing

ANNOUNCING: Well Formed.
The monthy electronic magazine for
Windows Forms and GDI+ engineers
http://www.bobpowell.net/wellformed.htm

Check out the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
<gi***@web.de> wrote in message

news:#X*************@tk2msftngp13.phx.gbl...
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!?
gicio


Nov 15 '05 #3

P: n/a

Hi!

I see no one can't help me.

whom can I ask at Microsoft?
can you give me some tips? some email addresses of people at Microsoft?

thanks!

regards,

gicio
PS.: You can also email me the information gi***@web.de


<gi***@web.de> wrote in message
news:ek**************@TK2MSFTNGP11.phx.gbl...
Hello!

We are currently struggling with a problem of extending Microsoft PowerPoint (PP) freehand line functionality.

Here is our objective:
Imagine you have a brush in your hand and you are drawing a line. You can
easily change the thickness of this line while drawing by controlling the
pressure on the paper. So after you drew it the line has many different
thicknesses in it depending on how many times you changed the pressure while drawing. Back to PP.
We need something like a freehand line, but the output will not just be a
line that has the same thickness on the whole length of it. The thickness
varies depending on some logic (black box) that is implemented by our
algorithm. Image you inherit from "freehand line" object and extend it by
characteristics described in the brush example (different thicknesses
contained by one continuous line). We need something that behaves the same
way when you scale it (zoom) like lines in PP do. That means that the
thickness of line is not affected by scaling, opposite to objects in PP,
which change their shapes while scaling.
We have written our own OLE server, which creates such line, but when we
copy it into PP it becomes an object that does not scale like a line - it
changes its shape while scaling.

We think that one of possible directions could be to find out the structure and format of all possible object types supported by MS Office (Lines,
Shapes, objects, etc). Examine them and find the one that has the closest
match to our requirements. Then inherit from it, extend it and introduce it SOMEHOW to PP as a new custom drawing object type/class. We have not found any information on types and formats or the possibility to extend the
standard graphical office objects types by custom graphical objects. Maybe
if you spent a lot of $$ on MS Certificates and you have a certain level of support this information and appropriate framework is accessible to you?

We think that this problem requires a real expert in MS Office Area
therefore we post it here.

Any help will be gratefully appreciated.
Cheers,
gicio


"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Using Office objects from .NET applications is very simple.

If you're using a version of office prior to Office XP you can add a
reference to the relavent office COM objects and the framework will create
a
PIA (Primary Interop Assembly) for you which can then be used from .NET

just
like any other componenet.

Office XP ships a special set of PIA's that are obtainable from MSDN.

This link has some good info...

http://msdn.microsoft.com/library/de...us/dnofftalk/h
tml/office10032002.asp
--
Bob Powell [MVP]
C#, System.Drawing

ANNOUNCING: Well Formed.
The monthy electronic magazine for
Windows Forms and GDI+ engineers
http://www.bobpowell.net/wellformed.htm

Check out the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
<gi***@web.de> wrote in message

news:#X*************@tk2msftngp13.phx.gbl... 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!?
gicio



Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.