Changing MasterPage for existing pages

Hi,
I like to change to MasterPage for existing pages in an document, I found the IMasterSpreadUtils and OverrideMasterPageItem, but it didn't work here. Unfortunately I found no example in the SDK, does somebody have an example for me?
Or is there another (and better) way to change the MasterPage?
Thanks
Klaus

I am using kApplyMasterSpreadCmdBoss.
Try,
InterfacePtr<ICommand> applyMasterSpreadCmd(CmdUtils::CreateCommand(kApplyMasterSpreadCmdBoss));
applyMasterSpreadCmd->SetItemList(pageUIDList);
InterfacePtr<IApplyMasterCmdData> applyMasterCmdData(applyMasterSpreadCmd, UseDefaultIID());
applyMasterCmdData->SetApplyMasterCmdData(masterSpreadUIDRef, IApplyMasterCmdData::kKeepCurrentPageSize);
CmdUtils::ProcessCommand(applyMasterSpreadCmd);

Similar Messages

  • Change Header for each page

    Hi,
    i've create an application without login (i choose that when i created the app.). But the template/theme? is shown the apex_public_user and a logout-link in the header or footer (depends from the theme). I'd like to make this invisible and instead add an logo-gif and a text in the header.
    How can i realize that?
    yonah

    Hello Roel,
    i think i have an general problem with understanding apex:
    I can edit all the pages with the userinterface from apex (application builder), but for example i don't know the source code when apex is calling an process after header, fetch rows etc. That's why i don't know how to modify to get some specialized things.
    In my case: I'll edit header for one page (actually i'll for each but i don't know how to do this), click on edit page, select footer or header and the fields are empty. Where can i find the entry &APEX_USER?
    All the processes which runs in the background where can i find these?
    yonah

  • Changing properties for adding pages

    Hi,
    I have a problem, when i create a Workset and I'm not able to change its properties.
    For example I need to link it with some pages.
    Any clues?
    Regards,
    Dustin

    Hi,
    you must unlock objects before adding pages.
    Proceed as follows. Logon on the EP as Admin and go under <b>System Administration -> Monitoring -> (in the Detailed Navigation) Portal >  Object Locking</b>
    You would see the list of the lock objects and you can unlock them.
    Best regards,
    Gianluca Barile

  • Change settings for Web Page

    I am trying to change the color of my internet page at the top and along sides and bottom-I just got it back from the HP service center and they put a new motherboard in it and now I am trying to change the ugly grayish blue colors to something more attractive and it won't let me.It is windows 7 home premium edition. Can someone tell me why this is happening and help me please.

    Busydizzy, welcome to the forum.
    Which browser are you using; i.e. IE, Firefox, Google Chrome?  Also, you say you are trying to change the color of your Internet page.  Which page are you using for your home page?
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Templates for existing pages

    If I have an index.shtml page, that has some flash, and
    dropdown menus, and on the left, a menu created in fireworks that I
    exported into DW. The middle portion is the only area that changes
    from page to page.
    I want to make a template. These are the steps I have taken:
    1. Open index.shtml
    2. Save as template
    3. Make the region in the middle "Editable"
    Then apply template to page "Index"
    Once I do this I can't edit anything, its locked?
    Where am I going wrong. s it the way I have my layout tables
    and cells.
    I can't figure it out/
    Thanks,
    Greg

    You have the wrong procedure. Never apply a template to a
    page with
    existing content (well, if you can avoid it, and it sounds
    like you can).
    Spawn the child page first, and then add your content to the
    child page.
    > 1. I cannot see my text once I apply the template to the
    text html page.
    > Shouldn't the "editable region" still be editable even
    when the template
    > is
    > applied. How can I edit the html in the future (Not the
    main template) if
    > I
    > can't see it.
    Sure editable regions should be editable. If you can't see
    your content,
    then something is wrong with your method or your code or
    both.
    > 2. The template appearance looks correct when previewed,
    but when I apply
    > the
    > template to the page, the "editable area" text or
    pictures all shifts down
    > quite a bit when previewed.
    We'd need to see the page to comment on this.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "gtp08" <[email protected]> wrote in message
    news:fvg3q1$6v4$[email protected]..
    >I think I almost got it. I cteated the page and put in an
    editable region
    >and
    > saved as temples. I open a new html page and create my
    content, and then
    > apply
    > the template. Two things happen:
    >
    > 1. I cannot see my text once I apply the template to the
    text html page.
    > Shouldn't the "editable region" still be editable even
    when the template
    > is
    > applied. How can I edit the html in the future (Not the
    main template) if
    > I
    > can't see it.
    >
    > 2. The template appearance looks correct when previewed,
    but when I apply
    > the
    > template to the page, the "editable area" text or
    pictures all shifts down
    > quite a bit when previewed.
    >
    > Any suggestions
    >

  • No Data found for region - For existing page

    There are two pages (Search and Edit).
    Search is made, on the result there is a link on Shipment no. Once user clicks it a Shipment edit form should open with default shipment.
    This works fine when I run from Jdev (including link to edit and return back to search page).
    But when I deployed to server, both works individually but when I click the shipmentno link on Search page to invoke the Edit page, it is giving No data found for Region error.
    Can anybody please help on this?

    Make sure the path specified for jdr_utils.printDocument is right!. This seems to be Oracle Seeded PG.
    Might be able to help if you can post the exact import statement you have used to import your new PG.
    Thanks
    Srini

  • Change EXPIRY_DATE for existing user

    Hello dba-gurus !
    Since I'm a beginner (and the real dba is on holiday) maybe this is a stupid question :
    How can I change the value of EXPIRY_DATE ??
    The Backup user account "rman" is expired.
    when i query dba_users i'll get :
    USERNAME EXPIRY_DA ACCOUNT_STATUS
    RMAN 20-MAY-10 EXPIRED
    is there away to disable expiration or set the expiration to a date of my choice ?
    All i found in google was default profile related.
    Does this also effect existing users ?
    regards

    thanks, thats exactly what i want to know.
    I executed "ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;"
    and when i query the dba_users expired,expiry date is the same values.
    Shouldn't these values also change or are they just ignored?
    However, I'ill see this on next rman-logs.

  • Changing account for existing notes

    I have a bunch of notes that were created before I upgraded to iOS5 and iCloud. How do I get these existing notes associated with my iCloud account?
    I hope I don't have to copy the content into new notes.
    Thanks!

    iCloud Setup
    http://www.apple.com/icloud/setup/ios.html
    Managing (iCloud) Data on Your iPad
    http://www.peachpit.com/articles/article.aspx?p=1899113
    How to Safely Delete an iCloud Account
    http://9to5mac.com/2013/07/13/how-to-safely-delete-an-icloud-account-from-your-m ac-or-ios-device/
    iCloud Account Troubleshooting
    http://support.apple.com/kb/TS3988
    iCloud Support
    http://www.apple.com/support/icloud/account/
     Cheers, Tom 

  • What is the impact - Activating Change Logs for Material Classification Dta

    To activate Change Logs for Material Classification Data I must first set the flag for "Multiple Objs Allowed" for the Class Type 001 Material Class. I am curious of what the impact of setting this flag will be. Also, is there a way to measure the DASD impact of activating the Change logging for this data.
    Thankyou
    Kevin

    In addition to the performance impact the process of turning on Change Logs for Classification data will convert the tables KSSK and AUSP to use an internal SAP number as a key instead of the Material number. This will cause problems for any custom programs that access those files directly and expect the material number to be the key. This file conversion occurs during the execution of program RCCLUKA2 which is used to Flag the change logs for existing records. This can be reversed by running report RMCLINOB. Because of the above impact we decided here to NOT implement this change in production.

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

  • Am creating document with Pages. pages are in "portrait" orientation, but two charts at end need to be "landscape". changing the orientation for one section changes it for entire doc. can i have different orientations in Pages for different sections?

    am creating a document with Pages.  all pages using "portrait" orientation, except 2 appendices need to be in "landscape".  in Word for Windows it is possible to have different page orientations for different sections of a document.  is that possible with Pages.  Even when i put the appendices in a different section, changing the page orientation changes it for the entire doc.

    Make a separate document the size and orientation you want.
    Turn that into a pdf and add it back into the original Pages document or into the pdf from from that document.
    Peter

  • How do I change the paper size in an existing Pages document?

    How do I change the paper size on an existing Pages document?

    So are your text box set to floating? You can tell that by looking in the Inspector>Wrap Tab when you select the text box.
    If I had to guess I would say that the text boxes are floating and when you change the size of paper the text that you have in the main body area is shrinking so that it does require as many pages and you are losing the text boxes at the end. Is that correct? If so, they are still there, you just have to add page breaks to get to the pages that you lost and you should see them again.

  • Ask your question.How do I change the template for a pages document

    How do I change the template for a pages document?

    Once you've opened it, the opened document is no longer a template. Edit it as you would any other Pages document.
    If you want to use the edited document as a Template, then , after editing, go File > Save as Template, give the new template a name, and click Save.
    The old template will remain available in the location where you found it; the new one will be in the My Templartes sectionof the Templates Chooser.
    Regards,
    Barry

  • When saving revisions to a template does it change the editable divs on existing pages?

    I have made changes in a template that has at least 100 child pages.  When I apply the changed template to these pages does it change any of the editable sections of the child pages?  I would guess it does not but I need to know for sure.  It would be a total disaster if I had to revise all child pages after the upgrade.  When I make the revisions on the template would it be better if I deleted all info in the editable sections in the template so they would not affect the child pages or would that blank out what is now in the editable portions of the child pages.  I cannot find any info in my after market manual or on the adobe help section about this.  I am looking forward to your advice.

    Olde Worlde Lace wrote:
    I have made changes in a template that has at least 100 child pages.  When I apply the changed template to these pages does it change any of the editable sections of the child pages?  I would guess it does not but I need to know for sure.
    The template should not change any content in an 'editable region' of a child page. (I would always make a back-up copy of your site folder before you make any changes just incase something goes wrong)
    Olde Worlde Lace wrote:
    When I make the revisions on the template would it be better if I deleted all info in the editable sections in the template so they would not affect the child pages or would that blank out what is now in the editable portions of the child pages.  I cannot find any info in my after market manual or on the adobe help section about this.  I am looking forward to your advice.
    The content in editable regions on your child pages should not change as they are not in regions which are 'locked' into the main template.
    I would as I mentioned make a copy of your site folder before you mess around updating anything.
    With 100+ pages it sounds like the workflow could be better managed using SSI(server side includes). You have to upload 100 pages after you make the changes to the template only to discover you have missed one change and then have to upload the whole lot again.

Maybe you are looking for

  • Ess_japi.jar files for Essbase 11x version

    Hi All, We are working on upgrade Essbase upgrade from 7x version to 11x and found there is an ess_japi.jar file which is being used for Web based application. Do we need to get the new version of the JAR files for the 11X version? Thanks and regards

  • Organiser shows egg timer instead of thumbnails

    I have asked this question before, within the last year and got answered.  Unfortunately I cannot find that answer now.  Please how can I get over this problem. Thanks in anticipation Jim

  • Publisher 6.4 Installation broken

    Hi, I am trying to setup Aqualogic G6 6.1 on a Windows 2003 server. So far I have had no issues installing Aqualogic Interaction and I was able to get some initial communities setup. However when I then tried to install Publisher 6.4 I started experi

  • CR2 file icons not always showing thumbnail image depending on view.

    I have some CR2 files which behave oddly. Some show an icon which is a thumbnail of the image when in list view but a blank icon when in icon view? While others show a blank icon in both list and icon view? Doing a get info and they all show a previe

  • Color and Num guessing game

    Okay so for my final project we have to make any program we want to do. I am trying to make a game that the user has to guess the color and number but as if it was picking a card and the user had to guess it. Colors include yellow, green, red, blue,