You are here: Re: COM word.application, read checkbox value « PHP Programming Language « IT news, forums, messages
Re: COM word.application, read checkbox value

Posted by Patrik Birgersson on 11/19/40 11:45

Well, I thought so too, but it doesn't seem so.
In the Word document there are several text-fields and checkboxes, and
the particular checkboxes I'm interested in lies between som
text-fields.

If I want to call the text-field right after the desired checkbox I use
$word->ActiveDocument->Fields(53);

If the checkbox was also callable by this method then I would get it
with
$word->ActiveDocument->Fields(52);
but then I get the text-field right before the checkboxes.

When I search for this problem I see that in other languages, such as
VB, C#, C++ and others, there are methods for calling checkbox.
(http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.word.formfield.checkbox(VS.80).aspx)

So, how could I accomplish this with PHP?
Is there perhaps any way to enumerate the callable methods of the
word.application COM object?


Regards,
Patrik Birgersson

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация