Summary section in 2 Pages

Hi All
Using Section break next page to print Summary section in last page with different headers and footers(used MS Footer) when summary section prints in 1 page then it's fine but sumary section displays in 2 pages then header and footer goes for a task
Is there anyother way to fix this issue
Thanks
Kamalakar.G

Hi kavipriya
given below structure of rtf template first page and second page
In First page
In Header registering Sub templates
<?import:xdo://SDS.SDSCNSCOMBVADDR.en.00?> <?import:xdo://SDS.SDSCNSCOMLGADDR.en.00?> <?
import:xdo://SDS.SDSCNSCOMLGADDRSP.en.00?> <?call@inlines:header?>
and before header
<?template:header?> <?initial-page-number:'auto'?>
header details (including sub template)
<?end template?>
<?for-each@section:G_ORDER?>
<?for-each:G_LINES?>
line details
<?end for-each?>
<?ORDER_NOTE?> <?end for-each?>
then footer
In Second page
using section break (type:next page)
Header details (including sub templates)
<?for-each://G_TRIP_TRIP_ID?>
<?end for-each?>
Total
Footer section
Issue when summary section goes to 2 pages header and footer are going for task
Thanks
Kamalakar.G

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.

  • How can I add information to the Summary section of my Movies on the iPad?

    My iTunes movie's populate the summary section that appears to the left of the Movies cover art when you select it. It usually has a movie summary and directors and actors. I have been trying to add my own summaries for my movies ion there but no luck. The best I have been able to do is put in limited text in the video tab under description.
    Is there a way to add more information in the summary section?

    Google "MetaX". It is software that does exactly what you want to do. /or see my link below.
    http://www.kerstetter.net/index.php/projects/software/metax

  • 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 have scroll text box that is placed in a section of the page, It is in the right place on IE, Chrome, Safari, But not in Firefox?

    I have scroll text box that is placed in a section of the page, It is in the right place on IE, Chrome, Safari, But not in Firefox?
    Can anybody tell me why and how I can fix it. The page is baystatewiring.com/blog.html

    You need to make the text box float left.

  • TOC and Sections in a  Page Layout document?

    Is it possible to have a TOC and Sections in a  Page Layout document?

    Create a new, preceding document section, apart from your other document sections. Click in this empty document section, and then Insert > Table of Content > Document.

  • How do I remove a blank page from a section of 4 pages? (Pages)

    1 page (page 4) in a section of 4 pages is blank.  How do I remove that page only?   I followed the help instructions; but was asked if I was sure I want to delete pages 1-4.

    What version of Pages?
    What instructions? It sounds like you have got the wrong ones and are trying to delete a page in the Thumbnails, which will delete th entire section.
    If you have a blank page in a Word Processing template, it is because there is some text on it, even a return, tab, space or page break:
    Menu > View > Show Invisibles > backspace over whatever it is to get rid of it
    Peter

  • In the summary section in iTunes, what is "other" on my iPhone 5 ?

    Using iTunes, In the summary section as I review the contents of my iPhone, there is an "other" category and it is taking up over 11GB of memory in my iPhone.  What is in this category? Do I need it?  If not, how do I reduce or remove it?

    What is "Other" and What Can I Do About It?

  • How do I copy a section from a page and paste it into a power point?

    How do I copy a section from a page and paste it into a power point?

    Use the snapshot tool.

  • HT1040 I have a full page photo in a iPhoto book that is splitting into two sections across 2 pages. Any ideas what the problem might be?

    I have a full page photo in a iPhoto book that is splitting into two sections across 2 pages. Any ideas what the problem might be?

    Have you selected the spread layout?
    If so change it to a single page full page layout
    LN

  • Governer limit for inserting a Custom section in detail page of SOD

    HI,
    I want to insert multiple custom section in detail page of Siebel on demand objects.
    What is the governer limit for insertion of the Custom sections?
    Thanks
    Yash

    Hi Sean,
    I am sorry for your confusion. Yes, your understanding is correct.
    I tried to add manually and i got the result as 'There can be at most 25 custom web applets in a detail page'. Is this correct?
    Thanks
    Yash

  • Link to specific section of different page.

    I have a drop down menu on my nav bar.  I want the different links on the drop down menu to bring me to different sections of a different page. This is the code I have used.
    This is the html for the nav bar:
    <nav id="nav">
      <ul>
            <li class="current_page_item"><a href="index.html" class="home" style="font-family:nexa_rust_sansblack">Home</a></li>
            <li><a href="services.html" class="services" style="font-family:nexa_rust_sansblack">Services</a>
                 <ul>
                      <li><a href="services.html#manage">Management</a></li>
                                            <li><a href="services.html#strategy">Strategy</a></li>
                                            <li><a href="services.html#design">Design</a></li>
                                            <li><a href="services.html#optimize">Optimize</a></li>
                                            <li><a href="services.html#store">Store</a></li>
                                            <li><a href="services.html#social">Social Meida</a></li>
                 </ul>
            </li>
            <li><a href="portfolios.html" class="portfolios" style="font-family:nexa_rust_sansblack">Portfolios</a></li>
            <li><a href="contact.html" class="contact" style="font-family:nexa_rust_sansblack">Contact</a></li>
      </ul>
    </nav>
    This is the way each section of the page they link to is coded.
    <section class="box">
           <header id="manage">
                 <center><img src="images/manage.png" alt="Web Development Image"></center><br>
                 <h3>Website & Mobile Development</h3>
           </header>
                      <p>Content here</p>
    </section>
    But this doesn't seem to work.  Anyone have a suggestion? Thanks.

    Named anchors are deprecated in HTML5 docs. 
    <a name="strategy">
    Like I said before, you need to use a unique ID not a named anchor.
    <div id="strategy">
    Also, fix your code errors.   You have a few that will effect browser rendering.
    [Invalid] Markup Validation of http://www.beaniecapdesign.com/services.html - W3C Markup Validator
    Nancy O.

  • Would crtl+f work or is there another way to search or quickly hyperlink to different sections on the page?

    We have a very long extended data tab full of custom sections and we would like to be able to give a user a way to search the page quickly.
    Would crtl+f work or is there another way to search or quickly hyperlink to different sections on the page?

    I don't know enough about your use case to provide specific direction but you may be able to use the 6.1.1 UI extensibility point.  For example, you could add an anchor link collection control that scrolls the page to the top of each section when selected. 

  • CWB: how to add more summary data in the summary section

    HI All,
    We need to add more summary data in the summary section. Some summary data need to calculated dynamically like (summary data A /summary data B).
    under the worksheet, there is a link:
    Personalize Dynamic Columns
    But this link allows to create Dynamic Columns for the worksheet, but not for summary setion.
    Is any way to add more summary data in the summary section through personalization instead of customization (VO extension)?
    Thanks in advanced!
    Jane

    faiz2000 wrote:
    > How to add more one record in the same time?
    >
    > Please I need your help to add more one record in the
    same time, how can I do
    > that?
    >
    > I have only one text field and the value it is linked
    from other table, if
    > user he bushes bottoms the all data it will copy it to
    new record:
    >
    > Ex.: <input name="textfield" type="text"
    >
    value="<%=(Recordset1.Fields.Item("webgroup").Value)%>">
    >
    >
    Use "Repeat Region"
    Mick

  • Turning off Sections setting in Pages '09

    Is there any way to remove the Sections setting in pages 09? I'm creating a document, and no "sections" are required. When it groups pages together, and adds extra blank ones, it becomes quite a hassle. Any ideas as to how this feature can be turned off for the duration of the project?

    Hi almatarazzo
    Welcome to the forum.
    There are 2 modes in Pages:
    *Word Processing* where pages run from one to the other and text flows automatically from one to the next.
    Layout mode where every page is separate and you must create textboxes to put text in and to link them if you want text flow. In effect every page is a section of its own.
    If you are having extra blank pages it is probably because you have text wrap on images and/or you hammering away at the return key to position text and have some stray returns spilling over at the end of your page.
    +Menu > View > Show Invisibles/Layout+ to see what is spilling over and to delete them.
    Peter

Maybe you are looking for