feat: add A4 page option to Word Processor
This commit is contained in:
@@ -542,6 +542,8 @@ void wp_init_empty_document(WordProcessorState* wp) {
|
||||
wp->line_spacing_dropdown_open = false;
|
||||
wp->divider_flyout_open = false;
|
||||
wp->special_char_flyout_open = false;
|
||||
wp->page_view_mode = false;
|
||||
wp->pending_page_view_toggle = false;
|
||||
|
||||
wp->undo_count = 0;
|
||||
wp->undo_pos = 0;
|
||||
@@ -1685,6 +1687,8 @@ static bool wp_deserialize_document(WordProcessorState* wp, const uint8_t* buf,
|
||||
wp->divider_flyout_open = false;
|
||||
wp->special_char_flyout_open = false;
|
||||
wp->show_pathbar = false;
|
||||
wp->page_view_mode = false;
|
||||
wp->pending_page_view_toggle = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user