]> git.lyx.org Git - lyx.git/commit
Implement writing of layouts
authorGeorg Baum <baum@lyx.org>
Sun, 31 Mar 2013 13:33:26 +0000 (15:33 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 31 Mar 2013 13:33:26 +0000 (15:33 +0200)
commit7cf8b9da78d2747e4bba25d7f103da422ae28a6f
treed3ef5daf76414b17a3295c84afc4de3328bafa5b
parent3aede0b92d6edc252a9e49cf6ecf889071208a1d
Implement writing of layouts

This will be needed for layout forward compatibility, and could also be used
for a layout editor. Writing was only implemented for styles, not for complete
layout files (text class). I rarely made use of default values for missing
variables which exist in read(), so the output it a bit verbose (but more safe
against future changes). Also, some things like CopyStyle are never written for
obvious reasons.
src/FontInfo.cpp
src/FontInfo.h
src/Layout.cpp
src/Layout.h
src/support/Package.cpp