This content has been marked as final. Show 8 replies
What are those four choices?
As far as I know, the object model is functionally the same across the three scripting languages.
If you use one of those four choices in a VBS script and then interrogate the text with a JS script, what does it give you?
this is the call
In vbs passing the number value works but in js passing the number value return "expecting NumberingStyle but received 1296130410"
when set with vbs then callin in js for example
returns a string value but not a NumberingStyle enumerator
Looks like a hole in the implementation of the unsupported RtoL features. There are others more knowledgeable than I on this issue, so perhaps one of them can cast more light.
There is no documented, formal mechanism for a user to extend an enumeration.
In JS you would use the following format:
....pageNumberStyle = PageNumberStyle.arabicAbjad
The five availsble styles are
I've got to be out of my mind for helping out with a competing product!
But, what the heck...
It's not exactly a hole. It's very much scriptable.
You can't add to the enums, but it does accept strings as well... That
should be enough info to point you in the right direction.
FWIW, I've found enums in CS4 to be rather buggy. I've found the need to
switch to the numerical forms on a number of occasions.
Peter Kahrel wrote:
> In JS you would use the following format:
> .....pageNumberStyle = PageNumberStyle.arabicAbjad
He's talking about the chapter numbering formats. That's a bit trickier.
It's interesting that vbs has the enums though... Who wants to file the bug?
Thanks for all the help esp Harbs. I am currently using string values, but I was trying to change it all to enums. Thanks again