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

Excel export produces invalid Excel file with C1_* name #5514

Closed
ebruchez opened this issue Oct 31, 2022 · 3 comments
Closed

Excel export produces invalid Excel file with C1_* name #5514

ebruchez opened this issue Oct 31, 2022 · 3 comments

Comments

@ebruchez
Copy link
Collaborator

Finding the exact Excel name rules is challenging!

C1_FOO doesn't work, while B1_FOO does work. It appears that C and R are special.

There is also the R1C1 notation which should be watched for. This means using literally R and C, but then numbers, like R3C2. Brackets can be used for relative references, like R[-1]C3. The number is optional as in RC[1]!

+1 from customer

@ebruchez ebruchez self-assigned this Oct 31, 2022
@ebruchez ebruchez added this to To consider in Orbeon Forms 2022.1 via automation Oct 31, 2022
@ebruchez
Copy link
Collaborator Author

ebruchez commented Oct 31, 2022

Work:

  • C_FOO
  • C.
  • C_
  • C1234567 (might depend on sheet size)
  • B1R
  • B1_FOO
  • AA
  • AA1_
  • AA1FOO
  • AAAA1 (might depend on sheet size)
  • é
  • é1

Don't work:

  • C, c, R, r
  • B1
  • C1_FOO
  • C123456
  • AA1
  • AAA1

Note that case doesn't matter.

We are leaning towards not prefixing all names, but prefixing the problematic names.

@ebruchez ebruchez moved this from To consider to Done in Orbeon Forms 2022.1 Nov 1, 2022
@ebruchez ebruchez reopened this Nov 2, 2022
@ebruchez
Copy link
Collaborator Author

ebruchez commented Nov 2, 2022

Suggesting:

  • use _ as prefix
  • prefix with _ fields where suffix might need to be prefixed
  • Form Builder should show these names

ebruchez added a commit that referenced this issue Nov 2, 2022
ebruchez added a commit that referenced this issue Nov 2, 2022
@ebruchez ebruchez closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant