Documentation
¶
Index ¶
- type Format
- func (f Format) GetOpenXMLExtension() string
- func (f Format) IsAutoConvertable() bool
- func (f Format) IsEditable() bool
- func (f Format) IsFillable() bool
- func (f Format) IsLossyEditable() bool
- func (f Format) IsOpenXMLConvertable() bool
- func (f Format) IsViewOnly() bool
- func (f Format) IsViewable() bool
- type FormatManager
- type MapFormatManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format struct { Name string `json:"name"` Type string `json:"type"` Actions map[string]string `json:"-"` Convert map[string]string `json:"-"` Mime []string `json:"mime"` }
func (Format) GetOpenXMLExtension ¶
func (Format) IsAutoConvertable ¶
func (Format) IsEditable ¶
func (Format) IsFillable ¶
func (Format) IsLossyEditable ¶
func (Format) IsOpenXMLConvertable ¶
func (Format) IsViewOnly ¶
func (Format) IsViewable ¶
type FormatManager ¶
type FormatManager interface { EscapeFileName(filename string) string GetFormatByName(name string) (Format, bool) GetAllFormats() map[string]Format }
func NewMapFormatManager ¶
func NewMapFormatManager() (FormatManager, error)
type MapFormatManager ¶
type MapFormatManager struct {
// contains filtered or unexported fields
}
func (MapFormatManager) EscapeFileName ¶
func (m MapFormatManager) EscapeFileName(filename string) string
func (MapFormatManager) GetAllFormats ¶
func (m MapFormatManager) GetAllFormats() map[string]Format
func (MapFormatManager) GetFormatByName ¶
func (m MapFormatManager) GetFormatByName(name string) (Format, bool)
Click to show internal directories.
Click to hide internal directories.