Changing footnotes and pagination location in section breaks

I need to be able to change the location of my page numbers on the first and second pages of a new chapter. In addition, to be able to restart footnote numbering at "1" at the beginning of each new chapter. Each new chapter requires pagination at the bottom center of page, and the second page of the new chapter at the top right hand section of page. So, a section break is required for the first page of the new chapter, and a section break is required for the second page of the new chapter. The problem is, how do you co-ordinate this with footnote numbering? Each new section break restarts the footnotes at "1" rather than continuing from preceding page of the new chapter.

Check "More Like This" to the right , maybe some help there>>>>>>>>>>>>>>>>>>>>>>>

Similar Messages

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Changing Headers and Footers in a Section

    Despite un checking "Use previous headers and footers" in Layout - Section, my headers are still spanning the entire document.  Can anyone help before I go mental.

    Hi PS,
    Have you inserted Section Breaks in your document?
    If so, you now need to retype the header for each Section. Also Page Numbers: Continue from Previous Section or Start at.
    Regards,
    Ian.

  • Office 2010 mail merge with section breaks printing problem

    Afternoon all,
    We have an issue and I was wondering if anyelse has come across this and has a solution
    Our office staff do many mail merges and once the merge is complete they then can print the whole document with no problems or select one page and do print current page. The problem occurs when trying to print a range i.e. pages 5-7. Once you click print nothing happens, no errors and nothing comes out the printer.
    What I have found is that the mail merge is putting in section breaks between each page to seperate them but if I change these to page breaks in the document then I can select pages 5-7 and it prints with no problems.
    So the only solution I have found so far is to do a find/replace and find all ^b (section break) and replace with ^m (page break). This is obvioulsy takes more time and is a pain if we have to do this for every mail merge.
    I can't find any setting in the mail merge to tell it to use page breaks instead of sections breaks
    Has anyone else come across this probem, is it a office bug ???
    Any help would be great
    Darren

    John,
    Replying to your posts works just fine. You can choose to reply to either of the other posts & address both in your comments just as you did. I see quite a few threads where the OP (original poster) posts a reply to each & every one who has replied. I think it makes it very difficult to find the actual answers.

  • How do I adjust the page orientation in Pages?  I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    The work around is to do two documents, one in portrait format and one in landscape format. When finished export to Pdf. open in Preview by select both files and use Cmd + O or doubleclick. You can now in Previews thumbnail column the pages from one document into the other and then save.
    If you have created only one with i.e. all pages in portrait format but with the content for the landscape pages rotated on the pages, you can rotate the pages in Preview. Two ways to get the same result.

  • No PDF created when section break used and no data in XML group

    I have this issue that Tim Dexter documented on a few years back...
    http://blogs.oracle.com/xmlpublisher/output_formats/
    "When you are using @section in your template for the commands, 'for-each' or 'for-each-group' (e.g. <?for-each@section: ...?>), then an empty/invalid PDF can be generated if XML data file has no data for that for-each loop."
    This is my exact issue. Yet the instructions do not solve my problem completely. I add another section break at the end of my RTF and it gets the page to show...but I get an extra page at the end of all the populated xmls
    Is there a way to supress this page?

    Hi Jason,
    I would like to see your template and data.
    You have use @section and add condition to make the no-data page.

  • How can I change the app store location?Want to buy in us and it keeps saying I'm in the australia app store

    How can I change a app store location? I'm in US trying to dowload an app and it says my account is not valid in the Australian store. I have nothing to do with Australia.

    Go to the iTunes Store. Scroll down to the very bottom and click the flag that is on the bottom right. Then you can select what store you want.

  • I am trying to move my iphoto and itunes to an external hard drive to free up space on my macbook...i have followed the steps to the change itunes media folder location (chosen external hard drive) but my new folder is greyed out so cant continue ?help?

    I need to free up space on my macbook pro as hard drive is full!! So with 20 000 photos/video clips and itunes I would like to move this to a external hard drive!
    I have followed steps on apple support but when i get to the Change itunes media folder location and chosen external hard drive it will not let me access the new folder option ?? help?

    errrrrrrm!
    Yes external drive shows up in finder on desk top and can change to in the media folder location thing!
    My external hard drive is a WD Elements. I have no idea about permissions to the external? Do i Have to format external hard drive to a mac?
    I am trying to follow the steps on the apple support page to transfer files (consolidate library etc) just cant get further down steps as the new folder option is greyed out!
    Thanks for you help

  • Using iWork 09 Pages I need the first six pages of a document to not be counted as page numbers. I need the seventh page to be numbered as page one. I already know to have a section break between pages 6 and 7 and to use inspector "start at." Not working

    In the book I'm formatting, the first page is the title page, the second page is the copyright page, the third through fifth pages are the table of contents, the sixth page is blank, then the text (which I want to number as page one) is the introduction. I have section breaks between the title page, the copyright page, the table of contents, and the introduction. Using the Inspector, Layout, Section, and selecting "Start at" 7 doesn't do anything!

    Is is a bit tricky, but it works. On your 6th page (the blank one) go to Insert > Section Break. This will give you a 7th page. Then go to Inspector (blue circle with a white letter i in it) and go to Layout Inspector (2nd tab). Once in thee, go to Section. Check "Start at" and enter the number 1. Then ensure all other toons I there are unchecked.
    Then go to Insert, and select Auto Page Numbers. You will find that your 7th page is numbered 1 as you want, but the first six pages will be numbered 1 to 6, which you don't want. But you can then delete the page numbering in that 1st section, leaving your 2nd section, beginning at page 7, numbered as page 1. You'll need to play around a bit as I did, and I would suggest using a test document to play with so you can undo any unwanted actions etc, but with tweaking around, it's doable. This took me ages to sort, so if it works for you, please give me the points :-)

  • I recently changed my phone. Before I did the guy at the Verizon store said my photos were backed up in my photo stream. I have logged on and cannot locate them. Is their something I can do to recover them?

    I recently changed my phone. Before I did the guy at the Verizon store said my photos were backed up in my photo stream. I have logged on and cannot locate them. Is their something I can do to recover them?

    Photo Stream does not "backup" your photos, you have to do that yourself on iTunes, BUT if you have the iCloud app for your PC/Mac installed, your photos will be on there

  • I recently reset my iPod touch 4th gen. (holding power and home buttons at the same time.)  now it won't let me change my wallpaper, in the photo section or the settings. Any ideas, please? Thanks.

    I recently reset my iPod touch 4th gen. (holding power and home buttons at the same time.)  now it won't let me change my wallpaper, in the photo section or the settings. Any ideas, please? Thanks.

    What happens when you try to change them?
    Try:
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • In PC I have changed the default app location from default to other and copied the previous content to new location and changed the Default location in preference. Now in iTunes, my previous apps are not visible. Is there any solution to this?

    In PC I have changed the default app location from (c:/users/username/My Music/iTunes) to other (d:iTunes)  and copied the previous content to new location and changed the Default location in Edit preference. Now in iTunes, my previous apps are not visible. Is there any solution to this?

    wjosten - thanks very much for the detailed instructions. I'll try this as soon as I get my replacement and it looks like you'll probably end up getting the green tick

  • Changes to graph sizes and indicator locations do not save.

    I make changes to graph sizes and indicator locations on front panel and save VI but when I recall the VI changes are not saved.

    Mojowoods, can you post some screenshots after you saved your indicators and graph and after you recall the vi?

  • Really having problems with organising documents in pages. For example, deleting pages deletes the whole section and I cannot insert a section break as its greyed out & sending an object to background deletes several pages - what the **** is going on???

    Really having problems with organising documents in pages. For example, deleting pages deletes the whole section and I cannot insert a section break as its greyed out & sending an object to background deletes several pages and trying to insert a text box autmatically creates new pages- what the **** is going on??? Is this programme really this badly thought out? I thought everything apple was supposed to be intuitive!?!?!? Help.

    You can not insert a section break into a textbox.
    You appear to have a lot of objects with wrap set, that once you take them out of the flow of text (by sending them to the background) causes the text to reflow and contract into fewer pages. Pages is almost unique in the way it forms up pages in Word Processing mode only so long as there is text on them.
    I suspect you probably have hammered away at returns, spaces and tabs as well to position things, which only works to add to the mess.
    Download the Pages09_UserGuide.pdf available under the Help menu and swot up a bit on how it works.
    You may find this a usueful resource as well:
    http://www.freeforum101.com/iworktipsntrick/
    Peter
    PS There is quite a lot of programming in OSX that is far from "intuitive". Pages is easy at one level, when using the templates, otherwise it can be quite frustrating.

  • Creating that blur using my brush my entire image changes too and becomes blurry. Not only that but the area I painted also becomes over exposed. What can I do am I missing something here all I want is to blur a section and not change the rest of the area

    Creating that blur using my brush. When I paint the area, which highlights in red, I bring the clarity down to create more of that blur but what ends up happening is that my entire image changes too and becomes blurry. Not only that but the area I painted also becomes over exposed. What can I do am I missing something here all I want is to blur a section and not change the rest of the area I am painted by automatically becoming over exposed. Does anyone else have this problem that can help me?

    Quote
    Do you think I should try to find a cheap mobo to OC my current CPU?  How about trying to find one (mobo) used?  I fear that my only realistic choice will be to scrap the CPU and eventually buy a new mobo and CPU, but as the CPU was only released just under two years ago I would value being over to overclock it with a cheap enough mobo to last me another year or so.
    Who knows what additional problems may be run into by switching mainboards & such. The OS would have to be reinstalled fresh, etc. Money wise, it wouldn't make a lot of sense to invest more into a system that is rather outdated. The small performance gain making the switch to another board using the CPU you have, just doesn't really make much sense, especially if what you have now is completing the tasks asked of it. Save up some money, set it aside for a future build. There are plenty of new platforms in the works.

Maybe you are looking for

  • Logic Feature Request

    Hi Apple / Logic Crew - Should you deceide to let X-Mass come early this year - here are a couple of wishes: 1) When hitting Record : Automatically deselect any selected regions.... (moving a region down one track then hitting record for a new take -

  • My DVD isn't working and I'm trying to install/re-install CS6. Can I just get a download instead?

    I've got an HP Pavillion Laptop and the DVD drive isn't working. I'm trying to re-install CS6 on it and need it for a trip Friday,so I can't get the drive fixed by then. Can I get a phone number or email address and just have my version downloaded in

  • Unable to access satellite offices with Cisco VPN client

    There are 4 sites: Main office - 192.168.0.x/24 Sat office1 - 10.0.0.x/24 Sat Office2 - 10.0.1.x/24 Sat Office3 - 10.0.2.x/24 All 4 offices are connected via MPLS using other Cisco routers from the telcom co. The user VPN endpoint is at the main offi

  • Changing billing (name only)

    I asked ATT&T this morning how to change billing name. Everything else would stay same. They said to start the process on line then they would double check. I cannot find any way to change name on line. Any ideas?

  • Import License mapping

    Hi all, How to map import license scenario in sap with quantity and value that should reflect in balance sheet, is there any way to map this scenario in FI or MM?