Revert "Reduce copy'n'paste by different nesting of if's."
Revert "Reduce copy'n'paste by different nesting of if's."

This reverts commit 83208da599e46dbba39c9e9a5b503bc4e93d4eea.

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core