Writer 25.2.7.latest
Document editorial method used
Style-based document formatting, however only paragraphs, characters and pages.
Template-based style management and maintenance.
Problem encountered
For some page style its definition deviates template versus document.
Next style attribute of objective page style in template is different than same page style in document.
Neither menu Styles > Load Styles from Template… nor Reloading whole document helps to fix.
DeepWiKi Devin points to following line in source code
cit.:
The issue is in the base LoadStyles implementation where page style follow relationships are incorrectly copied. When loading styles from a template, the code calls GetParent() instead of
GetFollow() objcont.cxx:431-435 :if(pFound[i].pSource->HasFollowSupport()) pFound[i].pDest->SetFollow(pFound[i].pSource->GetParent()); // BUG: Should be GetFollow()This causes page styles to lose their “Next style” relationship when loaded from templates.
Is it really the reason of problem myself observes?
I want to manage my styles (paragraph, character, page) in template to avoid manual management.
Myself not lucky on finding matching topic here on AskLO, nor in bugs.documentfoundation.org.
Short test of the link: ‘document template to document’ completed with passed >>> Test-wise one paragraph style got a slight modification; template modification stored to disk; document Reload detects template modification yet subsequent examination of paragraph modified in template reveals presence of modification in document.
EDIT
Whaala, conducted test of template-document link helped to have desired state: page style in focus is in-sync template versus document; problem healed.