Hi David,
Thanks for your inquiry. The line of code that you added to remove the empty bullet point appears to work as you want so that's fine.
Could you please attach your template here for testing and an example document of how you want it to look after removing the regions so I can get a better understanding your situation?
I believe the code doesn't remove the empty paragraphs in the cell right now, becasue as you know the code was a work around and most likely the customer wanted or did not mind the paragraphs being left as they were in that situation.
What your asking though is understandable, as one customer will want the regions removed differently from the next. For example some may want the paragraph where a empty region is removed to be completely removed all of the time, while some may want it to be only removed if the paragraph becomes empty, and some may never want it to be removed regardless.
I will look into adding a few parameters to cater for these sorts of requirements and reattach an updated version some time soon. Please note that we have also linked your request to the appropriate issue and we will notify you when this feature becomes fully supported. For now I believe utilizing this class is the best way to achieve your objective.
Thanks,
Adam Skelton
Programming Writer
Aspose Auckland Team