exportDropCapMod function
Implementation
String? exportDropCapMod(DropCapMode? mode) {
if (mode == null) {
return null;
}
switch (mode) {
case DropCapMode.inside:
return "inside";
case DropCapMode.baseline:
return "baseline";
case DropCapMode.aside:
return "aside";
case DropCapMode.upwards:
return "upwards";
default:
return "inside";
}
}