Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override: support sheet-level message data overriding for different sheets but same protoconf schema #99

Closed
wenchy opened this issue May 23, 2024 · 1 comment · Fixed by #123
Labels
enhancement New feature or request

Comments

@wenchy
Copy link
Member

wenchy commented May 23, 2024

Add new metasheet option override:

// Override support sheet-level message data overriding for different sheets but same protoconf schema.
// NOTE: should be used with *scatter* option.
bool override = 19;

// Scatter convert multiple workbook sheets (comma-separated) separately
// with same schema. E.g.: Item1.xlsx,Item2.xlsx,ItemAward*.xlsx.
repeated string scatter = 18;

// Override support sheet-level message data overriding for different sheets but same protoconf schema.
// NOTE: should be used with *scatter* option.
bool override = 19; [(tableau.field) = { name: "Override " optional: true }];

// Scatter converts sheets separately with same schema.
// each element is:
// - a workbook name or Glob(https://pkg.go.dev/path/filepath#Glob) which is relative to this workbook: <Workbook>,
// then the sheet name is the same as this sheet.
// - or a workbook name which is relative to this workbook with a worksheet name: <Workbook>#<Worksheet>.
repeated string scatter = 18 [(tableau.field) = { name: "Scatter" optional: true layout: LAYOUT_INCELL }];

@wenchy
Copy link
Member Author

wenchy commented Jun 25, 2024

Maybe using yaml is a good format option. And schema checking is guaranteed for override option.

@wenchy wenchy added the enhancement New feature or request label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant