Added UI to change paragraph style

This commit is contained in:
Yousef Khadadeh 2025-11-10 16:49:02 +03:00
parent 435d9346a9
commit def4ccb984
12 changed files with 117 additions and 43 deletions

View file

@ -28,9 +28,10 @@ class TextBoxEditTool : public DrawingProgramEditToolBase {
bool newIsLinethrough = false;
bool newIsOverline = false;
std::string newFontName;
ParagraphStyleData currentPStyle;
uint8_t get_new_decoration_value();
void set_mods_at_selection(const std::shared_ptr<DrawTextBox>& a);
void set_styles_at_selection(const std::shared_ptr<DrawTextBox>& a);
RichText::TextStyleModifier::ModifierMap currentMods;
std::vector<std::string> sortedFontList;