c.go 359 B

12345678910
  1. package model
  2. //LeafFactory for pimpl, creates nodes by specified name (names in xmlns/* package and corellate to ODF description
  3. var LeafFactory func(LeafName) Leaf
  4. //ModelFactory for pimpl that creates model
  5. var ModelFactory func() Model
  6. //Text is special leaf constructor because Text Leaf has no name in ODF document model
  7. var Text func(s string) Leaf