https://bugs.documentfoundation.org/show_bug.cgi?id=174076
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] |desktop.org | --- Comment #2 from Justin L <[email protected]> --- IIUC, Karthik's commit saves the new styles into the document, not into the user's profile. I would guess it ought to do both. The reason Insert/Convert don't list custom styles is because each time the dialog launches, it creates a new SwTableAutoFormatTable - which calls "Load" which loads only from the user profile. And as stated above the user's profile doesn't know about custom styles, or imported styles. On the other hand, svx is passed rDoc.GetTableStyles(). So instead of creating a new one, we should just be using that, right? The problem is our generic dialog can only do what SwView knows, and that is only SwDoc* - so no ironclad guarantee that we even have an rDoc. -- You are receiving this mail because: You are the assignee for the bug.
