Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByCol ¶
type ByCol []TCellDataDto
*
- "images":{
- "image_3mn0T_1663064091969":{
- "border":{
- "color":"#000",
- "width":0,
- "style":"solid",
- "radius":0
- },
- "originHeight":18,
- "fromRow":1,
- "fromCol":0,
type TCellDataDto ¶
type TCellDataDto struct { R int `json:"r"` C int `json:"c"` Fs int //字体大小 V *VCell `json:"v"` Vv string //原始 值 Image *TImageDto //图片要占位 }
func (*TCellDataDto) ToPrettyString ¶
func (dto *TCellDataDto) ToPrettyString() string
func (*TCellDataDto) ToString ¶
func (dto *TCellDataDto) ToString() string
type TCellTypeDto ¶
type TCellTypeDto struct { }
func (*TCellTypeDto) ToString ¶
func (dto *TCellTypeDto) ToString() string
type TConfigDto ¶
type TConfigDto struct { }
func (*TConfigDto) ToString ¶
func (dto *TConfigDto) ToString() string
type TImageDto ¶
type TemplateDto ¶
type TemplateDto struct { HasHeader bool HasBody bool Header *TemplateItemDto Body *TemplateItemDto }
func (*TemplateDto) ParseCellData ¶
func (dto *TemplateDto) ParseCellData()
func (*TemplateDto) ParseHeaderFooter ¶
func (dto *TemplateDto) ParseHeaderFooter(c []byte)
func (*TemplateDto) ParseTemplate ¶
func (dto *TemplateDto) ParseTemplate(c []byte)
func (*TemplateDto) ToPrettyString ¶
func (dto *TemplateDto) ToPrettyString() string
func (*TemplateDto) ToString ¶
func (dto *TemplateDto) ToString() string
type TemplateItemDto ¶
type TemplateItemDto struct { Name string `json:"name"` Row int `json:"row"` Column int `json:"column"` ZoomRatio int `json:"zoomRatio"` ShowGridLines string `json:"showGridLines"` DefaultColWidth int `json:"defaultColWidth"` DefaultRowHeight int `json:"defaultRowHeight"` Index string `json:"index"` Status string `json:"status"` Order string `json:"order"` CellData []TCellDataDto Config TConfigDto Images map[string]TImageDto }
func (*TemplateItemDto) ParseCellData ¶
func (dto *TemplateItemDto) ParseCellData()
func (*TemplateItemDto) ParseImages ¶
func (dto *TemplateItemDto) ParseImages()
func (*TemplateItemDto) ToPrettyString ¶
func (dto *TemplateItemDto) ToPrettyString() string
func (*TemplateItemDto) ToString ¶
func (dto *TemplateItemDto) ToString() string
type VCell ¶
type VCell struct { Ct struct { Fa string `json:"fa"` T string `json:"t"` } `json:"ct"` Fs int `json:"fs"` Fc string `json:"fc"` Ff string `json:"ff"` Ht int `json:"ht"` Vt int `json:"vt"` Tb int `json:"tb"` V string `json:"v"` Qp int `json:"qp"` M string `json:"m"` }
func (*VCell) ToPrettyString ¶
Click to show internal directories.
Click to hide internal directories.