Powerpoint footer replacement C# office automation

C

CodeHulk

This is an office automation project.

I am currently working on a document control project tracking
powerpoint, word, and excel documents. The documents are required to
have a specific style of footer as mandated by an organization that has
given us certification. The style looks as follows:

<UserDefinedInfo> <UserDefinedInfo>
<Date> Page <page> of
<Pages>

If there is a footer the data needs to be erased and then replaced with
a footer that looks like the one above. If there isn't a footer then
one needs to be added and include the above information.

The word and excel documents went well and work fine. However, seeing
as there is no real standardization between how the products work. I'm
having a lot of trouble. The biggest is we can assume nothing about
the format of the document. We can't assume slide size, footer
location, whehter or not the footer is present or whether or not it has
text in. I could find a lot of information on such activites in word
and excel but absolutely nothing in Powerpoint. I've performed the
task as a macro and then converted the VBA to C#, however, the VBA that
gets spit out is specific to the document the macro was recorded in.

The boss was very adamant about this being possible and done in this
exact away, however, he could offer no input as to how.

If anybody can give me a hand or point me in some type of direction
with this I would much appreciate it.

Thanks,
~Justin
 
C

Cindy M.

Hi CodeHulk,
I could find a lot of information on such activites in word
and excel but absolutely nothing in Powerpoint. I've performed the
task as a macro and then converted the VBA to C#, however, the VBA that
gets spit out is specific to the document the macro was recorded in.
The best place to pursue this, if you haven't been able to find a
solution, is the one-and-only powerpoint newsgroup. You'll find
.NET-savvy folks in there.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
C

CodeHulk

Thanks for the reply Cindy. I had actually posted on 4 different
different groups including microsoft.public.powerpoint. I had no luck
at all. I think I'm going to move on with my project and if a solution
presents itself I will use it otherwise they can stay away from
stinking powerpoint :)

Thanks again,
~Justin
 
S

Steve Rindsberg

CodeHulk said:
Thanks for the reply Cindy. I had actually posted on 4 different
different groups including microsoft.public.powerpoint. I had no luck
at all. I think I'm going to move on with my project and if a solution
presents itself I will use it otherwise they can stay away from
stinking powerpoint :)

To be fair, they'll have to avoid Excel, Word, ascii text and quite a few other
file formats. The problem, essentially, was determining which of any number of
possible text boxes on a document page was the footnote, with no rules to
distinguish footnote text from all_other_text.

It's not really a C#, .NET or PPT problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top