1234567891011121314151617181920212223242526 |
- package xlink
- import (
- "github.com/kpmy/odf/model"
- "github.com/kpmy/odf/xmlns"
- )
- const (
- Href model.AttrName = "xlink:href"
- Type model.AttrName = "xlink:type"
- Show model.AttrName = "xlink:show"
- Actuate model.AttrName = "xlink:actuate"
- )
- const Simple = "simple"
- const Embed = "embed"
- const OnLoad = "onload"
- func init() {
- xmlns.Typed[Type] = xmlns.ENUM
- xmlns.Typed[Show] = xmlns.ENUM
- xmlns.Typed[Actuate] = xmlns.ENUM
- xmlns.Enums[Type] = []string{Simple}
- xmlns.Enums[Show] = []string{Embed}
- xmlns.Enums[Actuate] = []string{OnLoad}
- }
|