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

Adding an image to header/footer - or at least not overwriting an existing image LEFT while editing RIGHT #1209

Open
SchmidtPaul opened this issue Dec 11, 2024 · 3 comments

Comments

@SchmidtPaul
Copy link

I currently need to an image to the LEFT header of all my sheets. Am I understanding correctly that this does not work?

I actually would not even have to add the image, as it is already present in the template xlsx I am using. However, since I am loading the template via wb_load() and must then edit the content of the RIGHT header, it will automatically replace the LEFT header as well. This is confusing to me, because in the docs it says "Use NA to skip a position." but the following code will remove the image in the LEFT header anyway:

wb$set_header_footer(
  sheet = 1,
  header = c(NA, NA, "my_edit")
)
@JanMarvin
Copy link
Owner

Hi @SchmidtPaul , this is indeed not supported, but I got something for you. Maybe you get it working: #929

Let me know, maybe we can work to implement this

@JanMarvin
Copy link
Owner

Regarding the header ... yeah, sorry. No idea. I have literally zero use for this, hence haven't looked at it ever, other than fixing issues. Therefore, any suggestion/help is appreciated.

@JanMarvin
Copy link
Owner

Hi @SchmidtPaul , could you have a look if #1211 fixes your issue?

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

2 participants