Questions tagged [headerfooter]

17 questions
3
votes
1 answer

How to set a bold string to HeaderFooter.FirstHeader of an Excel File (epplus)?

I have an ExcelWorksheet item in C# that I want to add a firstheader in bold. Please note that the header should not be in any row, the content will start at Row1. I am adding the header like: ExcelWorksheet…
Eray Balkanli
  • 7,752
  • 11
  • 48
  • 82
2
votes
4 answers

How do I move this footer to the bottom?

I have this footer I'm working on, and I just can't figure out how to move it to the bottom,can somebody help me please??Thank you I tried changing the top value in CSS, etcnothing has worked so far .footer-dark { padding:30px 0; …
MorganInnit
  • 41
  • 1
  • 1
  • 7
2
votes
0 answers

VBA Runtime error '1004' code on formatting page footer/header

When I run the VBA code to set-up and format the footer for the Excel page, I get 1004 Runtime error - "Unable to set the CenterFooter property of the PageSetup class". The code is below: With Sheets("Letter").PageSetup .LeftFooter =…
J.Hun
  • 21
  • 4
2
votes
1 answer

OpenXML Pagesetup (PrintOptions, pageMargins, Orientation, headerfooter) Error

I have a c# program that produces formatted Excel reports. Due to the upgrade of Office, I converted the program to use Microsoft Excel 16 Object Library. All was fine except for the pagesetup class. Pagesetup class is no longer supported in the…
Carmen
  • 23
  • 2
1
vote
0 answers

Is there a function that is able to recognize existing headers and footers and “flatten” them so that they cannot be changed using a pdf editor?

I am merging multiple pdf files using Java and Apache PDFBox; each file has multiple pages. Each page has footer and header on it (page number, reference number). When I flatten the files and merge the files, the page numbers remain dynamic. That…
1
vote
1 answer

How to Set Height of a PDF header, footer in c# web application(Using NReco.PdfGenerator)

I am working on a c# web application and using NReco.PdfGenerator to generate a pdf. PDF is generating fine with Header and Footer. I am using "PageHeaderHtml" and "PageFooterHtml" to generate header footer. Now I need to set specific height for…
Soumen Halder
  • 117
  • 1
  • 13
0
votes
0 answers

Remove PDF header and footer with PyPDF2

I am using the library PyPDF2 to read pdf files and convert to text format. There are a number of PDF files, and using the following code: def visitor_body(text, cm, tm, fontDict, fontSize): y = tm[5] if y > 50 and y < 720: …
Tara
  • 9
  • 2
0
votes
1 answer

Recylerview set header and item from HasMap

expect result like that.. and the response from API like this then, how to implement it use HasMap and define header and item. please help me. thank you.
0
votes
0 answers

Copy Header and footer along with Section text using VBA

I have a Merged-letters Document I need to split it into individual letters. Following code is doing exactly But it didn't copy the header and footer of each individual page. How can I make it to copy headers and footers along with first…
VBAbyMBA
  • 806
  • 2
  • 12
  • 30
0
votes
0 answers

New to VBA - Can't seem to set footer

The Master sheet contains a row of sheet numbers from 1 (in F3) onward. The code needs to loop through row 3 offsetting one column from F3 each time because the number of sheets changes. I can set the footer using a single active sheet, but when I…
0
votes
1 answer

VBA insert table in header

I want to insert 2 column and one row in header using vba. I tried the following code but it works one time and gives the error 6028 (the range cannot be deleted) other time. Can any one suggest me any solution. Sub UpdateHeader() Dim oDoc As…
Alpha
  • 5
  • 1
0
votes
1 answer

OpenXML SpreadsheetDocument Header and Footer

I have the following code for WordprocessingDocument. I am able to edit the document with OpenXMl and remove then add back the header and footer with the updated company information. using (WordprocessingDocument wdDoc =…
0
votes
2 answers

Typo3: How can i set common data in header and footer like logo?

I want to set a dynamic logo for mobile and desktop versions in header footer. I want to set an email, phone number and address in the footer. how can I set all data in one place? Should I store every page of all data?
Joy Zalte
  • 91
  • 10
0
votes
1 answer

Using excel VBA to change format of headers/footers date and time in powerpoint

I currently have the following set up. Everything is working fine, except .DateAndTime.Format is not changing the date format in the bottom left hand corner of the slide. The date is visible as 4/10/2020, but I can't get it to change to April 10,…
scottpy
  • 3
  • 2
0
votes
1 answer

Access components of custom header view

A custom header class is created for the header, view using xib. Trying to get the value of UITextField from that header class. Below is the code: func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { let…
iPhone 7
  • 1,731
  • 1
  • 27
  • 63
1
2