- if (fd_form_document->form_document->visible) {
- UpdateLayoutDocument();
- }
- if (fd_form_preamble->form_preamble->visible) {
- UpdateLayoutPreamble();
- }
- if (fd_form_quotes->form_quotes->visible) {
- UpdateLayoutQuotes();
- }
- if (fd_form_paragraph->form_paragraph->visible) {
- UpdateLayoutParagraph();
- }
- if (fd_form_paragraph_extra->form_paragraph_extra->visible) {
- UpdateParagraphExtra();
- }
- if (fd_form_paper->form_paper->visible) {
- UpdateLayoutPaper();
- }
- if (fd_form_table_options->form_table_options->visible) {
- UpdateLayoutTable(1); // just like a right mouse click
- }
- if (fd_form_bullet) {
- if (fd_form_bullet->form_bullet->visible) {
- updateBulletForm();
- }
- }
- if (fd_form_toc->browser_toc->visible) {
- TocUpdateCB(0,0);
- }
-#ifdef ALWAYS_UPDATE_REF
- // Ideally, the RefUpdateCB should be modified so that if the
- // current document is a subdocument the reference list should come
- // from master document (or even be a merger of references from all
- // its sibling documents). For now this has effectively been
- // commented out to ensure that users of multipart documents can
- // access the reference list of a different document. This is
- // of course a compromise and an annoyance for users switching
- // between separate documents. ARRae 241198
- if (fd_form_ref->form_ref->visible) {
- RefUpdateCB(0,0);
- }
-#endif
- if (current_view->currentBuffer()->isReadonly()) {