ingomohr / docwriter

API to write docx documents
MIT License
1 stars 0 forks source link

TextReplacementRule: Give hint on parameter format and make toPlaceholder protected #43

Open ingomohr opened 3 years ago

ingomohr commented 3 years ago

Class TextReplacementRule should give a hint on what format to use for the parameters - i.e. do I have to specified the text-to-replace in placeholder format?

Also, the method toPlaceholder is private. It should be ok for subclasses to specify their own placeholder format. This isn't possible when the method is private.