I think it might be possible to program what you asked for - but it is really not that easy, specially with different languages having different kinds of quotation marks (“Spanish”, „German“, « French », etc...)
Anyway, it is not needed, because this function is already included in OpenOffice Writer:
1. In Tools - AutoCorrect edit the tab Custom Quotes to your liking.
2. In Format - Autoformat click Apply. That will change all single and double quotation marks to the ones you defined in the first step - but only in paragraphs formatted with the Default paragraph style.
odt2pml will translate each formatted quotation mark to the corresponding PML tag.
Last edited by Rup.Xamqon; 12-24-2008 at 10:20 AM.
Reason: Different languages
|