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
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