In word, quotation marks can be set to either straight or smart (curly) quotes. A common frustration amongst users is that their documents often contain a mixture of both, or they insert the incorrect type by default. With BaseExtensions we have the ability to help users control this behaviour.
Toggle between quote types
This command allows users to toggle set all quotation marks in a document to one form or the other.
CMD
<Cmd case="BaseExtensions:convert-quotes" ConvertToSmartQuotes="false"/>
Parameters
ConvertToSmartQuotes
Boolean. Set to true to convert all quotes in a document to Smart quotes. Set to false to convert all quotes to straight quotes. Default is true.
Set detault quote behaviour
This command sets the word default behavior as desired.
CMD
<Cmd case="BaseExtensions:toggle-quote-autoformatting" AutoFormatToSmartQuotes="true"/>
Parameters
AutoFormatToSmartQuotes
Boolean. Set to true to insert all quotes as Smart quotes. Set to false to insert all quotes as straight quotes. Default is true.
Different kind of quotes
We have different kinds of smartquotes based on regions, the command checks for all of the different kind of quotes listed in the table.
| Quote | Charcode | Name | Used |
| “ | '\u201C' 8220 | Left Double Quotation Mark | English, Swedish, Finnish, Turkish |
| ” | '\u201D' 8221 | Right Double Quotation Mark | English, Swedish, Finnish, Turkish |
| ‘ | '\u2018' 8216 | Left Single Quotation Mark | English(inner quotes), Irish, others |
| ’ | '\u2019' 8217 | Right Single Quotation Mark | English(inner), apostrophes |
| « | '\u00AB' 171 | Left - Pointing Double Angle Quote | French, Spanish, Italian, Russian |
| » | '\u00BB' 187 | Right - Pointing Double Angle Quote | French, Spanish, Italian, Russian |
| ‹ | '\u2039' 8249 | Single Left-Pointing Angle Quote- | French(sometimes), Dutch(rare) |
| › | '\u203A' 8250 | Single Right-Pointing Angle Quote | French(sometimes), Dutch(rare) |
| „ | '\u201E' 8222 | Double Low-9 Quotation Mark | German, Polish, Czech, Slovak |
| ‚ | '\u201A' 8218 | Single Low-9 Quotation Mark | German(inner), Polish |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article