https://bugs.documentfoundation.org/show_bug.cgi?id=88752

Kevin Suo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Kevin Suo <[email protected]> ---
(In reply to Caolán McNamara from comment #2)
> You probably need to find the code in writer that calculates the grid and see 
> how it calculates it in order to feed it numbers that will make it behave 
> like word.

The relevant code should be in:
sw/source/ui/misc/pggrid.cxx
https://opengrok.libreoffice.org/xref/core/sw/source/ui/misc/pggrid.cxx?r=875c27dc

People interested on this can take a try. 

> It might be that to get the same layout as word you have to add/subtract page 
> margins and/or header/footer heights or something like that.

SwTextGridPage::UpdatePageSize tries to do this kind of thing, but not sure
whether it did it correct.

When I open this doc in MS Word, it has Text Grid turned on, grid type is Lines
Only, 29 lines per page, 18pt max base text size, which is the same as what
shows in Writer's Format > Page > Text Grid dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to