| 
	
 | 
 Posted by Patrik Birgersson on 06/18/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] 
 |