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

XLSX - Color - Alpha #28

Open
the-Arioch opened this issue Mar 25, 2019 · 1 comment
Open

XLSX - Color - Alpha #28

the-Arioch opened this issue Mar 25, 2019 · 1 comment

Comments

@the-Arioch
Copy link
Contributor

Ты везде добавляешь '00' + HTMLColor

На самом деле надо добавлять 'ff'

И по хорошему при чтении надо проверять, что там в точности 8 символов, потому что по %%% стандарту - это до 4 байтов ограниченный w3c xmlBinary (ещё один %%% стандарт).

Кстати, может слегка плюнуть на старую Delphi и использовать TAlphaColor? И UITypes.TColorRec / UITypes.TAlphaColorRec чтобы с shr не трахаться?

@the-Arioch
Copy link
Contributor Author

This is against my internal repo, which predates yours, so you can not apply it by means of Git, but pre-Git patch utilities should do.

0001-XLSX-colour-output.patch.txt

Этот патч из моего репозитория, который был раньше твоего и у него дугой корень.
Git'ом ты его вряд ли применишь, нужно использовать вне-Git'овый (до-Git'овый) patch, либо руками.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant