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

Word export or copy - arrows #256

Open
berkdemir opened this issue Dec 13, 2023 · 7 comments
Open

Word export or copy - arrows #256

berkdemir opened this issue Dec 13, 2023 · 7 comments

Comments

@berkdemir
Copy link

Hi,
Weird arrows appear when I copy the results to word. For me, Calcpad is perfect, but I still need to use screenshot to include the calculations in my report. The copy and paste with "merge formatting" works almost good, but there are additional shapes coming up which is not seen in Calcpad.

image
image

@Proektsoftbg
Copy link
Owner

Hi!

What version do you use? It does not happen with version 6.2.0. At least I cannot reproduce it.

@ExiMentor
Copy link
Sponsor

ExiMentor commented Dec 18, 2023

That happens to me, too. I just updated to 6.2.0 and opend a file to test.

I think these are the arrows that appear on the left, when you hover over with the mouse.
grafik

The result in word if you paste it with "keep the original format"
grafik

@Proektsoftbg
Copy link
Owner

Hmm. Maybe it depends on the version of Word. I use Office 365.

Yes, these are exactly those arrows. This option was requested previously to find the respective lines in the source code from the output. For this purpose, they are present in the Html and when when you select and copy, they are copied too.

In general avoid copying the Html output directly to Word. Use the built-in export instead. The export function filters out all the unnecessary stuff and convert formulas to MathtType.

If you prefer coping, first go to input form mode (code on the left not visible). Arrows are not present in this mode.
Finally, you can use find-replace command in Word to clear these symbols in the whole document at once.

@ExiMentor
Copy link
Sponsor

I have Office 365, too. Maybe you are not pasting with this option:
grafik

I prefer the export, too. Anyway, it is sometimes faster to just copy what you need.

Maybe you can find another solution for the arrows in the future.

@Proektsoftbg
Copy link
Owner

No, I just paste it. Do you select and copy or use the copy button above?

Arrows work so fine and beautiful and I do not want to remove them. Maybe in the future we will even need to add some more items to make the output more interactive.

I think it is possible to detect when you copy the output and do some cleanup in the clipboard. But until then, please use the above instructions.

@ExiMentor
Copy link
Sponsor

I was using ctrl + c. To be honest, I never saw the button before.

The result is even worst since there is another symbol coming (you can see that at berkdemirs screenshot as well):
grafik

I like the arrows, too. But they are also a bit fishy to catch. If it would be possible, that those are indipendtly from the output box.
I don't know how you programmed that, but if there would be an extra row with those arrows, It might be possible to prevent copying them.
Like one row with the actual output and another row with controlles or indicators like the arrows.

@Proektsoftbg
Copy link
Owner

OK, thank you. I see.

We will add some cleanup that will trigger on the copy command to remove the arrows and other stuff. This will be the best solution.

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

3 participants