Spell Check in custom properties

P

Paul Herber

Is there any way to extend the spell checker to custom properties?

Doesn't look like it. Custom Properties aren't usually something you
would need to spell check, it's often a numeric value or formula.

However, you could do it in code, create a temporary shape, for each
shape, for each custom property, get the custom property text, put it
in the temporary shape, spell check it.
 
G

goldnhue

Thank you, Paul.

Just wanted to get a little more guidance on how you might approach it:

1. Cycle through all existing shapes and create a temporary shape containing
text to be checked (would you just pile them all in one location on top of
each other off the drawing space?)

2. Run the spell checker (how is this triggered programmatically?)

3. When spell check is complete, you would cycle back through and copy text
from the temporary shapes back to the custom properties of permanent shapes,
deleting the temporary shapes as complete. (can you capture the spell check
complete event?)

Thanks again,
Gina
 
P

Paul Herber

Thank you, Paul.

Just wanted to get a little more guidance on how you might approach it:

1. Cycle through all existing shapes and create a temporary shape containing
text to be checked (would you just pile them all in one location on top of
each other off the drawing space?)

I suppose it depends on what type of diagram, how many shapes, how
much text. It might be better to put all the text in one shape, maybe
on a new page.
2. Run the spell checker (how is this triggered programmatically?)

initiate a DoCMD with visCmdToolsSpelling.
3. When spell check is complete, you would cycle back through and copy text
from the temporary shapes back to the custom properties of permanent shapes,
deleting the temporary shapes as complete. (can you capture the spell check
complete event?)

er, the difficult bit may be knowing where the text came from.
 
Top