How to change the size of Page of the Document of plugin

Hi friends,

I'm trying to change the page size of the customized plugin document. Any advise? Any keyword? Please...

If you create a kUIPlugIn, try,

IDocument * doc = Utils()-> GetFrontDocument();

InterfacePtr cmd(CmdUtils::CreateCommand(kSetPageSizeCmdBoss));)

InterfacePtr cmdData (cmd, IID_IDOCSETUPCMDDATA);

PMRect pageRect (0, 0, width, height);

cmdData-> SetDocument (::GetUIDRef(doc));

cmdData-> SetPageSize (pageRect);

/*

for kSetPageSetupPrefsCmdBoss

InterfacePtr pageSetupPrefs (doc-> GetDocWorkSpace(), UseDefaultIID());

cmdData-> Set (: GetUIDRef (doc),)

pageRect,

pageSetupPrefs-> GetNumPagesPref(),

pageSetupPrefs-> GetPagesPerSpreadPref(),

pageSetupPrefs-> GetWideOrientationPref(),

pageSetupPrefs-> GetPageBindingPref());

*/

CmdUtils::ProcessCommand (cmd);

Tags: InDesign

Similar Questions

  • TO LEARN HOW TO CHANGE THE DOCUMENT ESPECIALLY CHANGE NUMBERS

    VISTA, ADOBE ACROBAT 9 PRO, TRIAL VERSION, NEED HELP TO EDIT THE DOCUMENT, THE CHANGE NUMBERS

    GLOJAM wrote:

    NEED HELP WITH EDITING DOCUMENT, CHANGE THE NUMBERS

    What the numbers? Can you be more specific about the type of change you want to make?

    Before we get too far along, the best advice is to not edit in Acrobat but change the original document the recreate the PDF file.

  • How to change the Document metadata?

    Hi all

    I joined Oracle webcenter content (document services task workflow file ADF). by following the link below.

    Andrejus Baranovskis blog: Oracle UCM 11 g & ADF data fillet

    document manager taskflow I need to update the metadata of document.but when I try to click on edit of advanced.its opening popup and prohibited display error.

    Please guide me to the same.can, that we update advanced meta-data of taskflow paper which is integrated in the adf.

    or lets you know how to do any other approach.

    Thank you

    Sery

    Hey Sankar,

    You have any Web server (OHS / apache) before end WCC and POC? If not, then please add the web server and try the same steps.

    Thank you

    Srinath

  • How to change the size of taskbar buttons? I did everything that I've seen proposed in these pages, and nothing works.

    How to change the size of taskbar buttons?  I did everything that I've seen proposed in these pages, and nothing works.

    The buttons of programs open in the taskbar are tiny and square.  I want them to be of normal size (by default).  I have locked and unlocked the task bar.  I moved the "three vertical lines composed small points."  Nothing works.

    If you want to enlarge all the icons in the taskbar, and then increase the point size of buttons of legend to a larger number of advanced appearance settings.
    Follow these steps:

    1. click on start, Control Panel, personalization, window color and appearance.
    2. on the window color and appearance, click "Classic appearance open for more color options" (link below).
    3. in the box "Appearance settings", click on the button "Advanced".
    4. in the box "Advanced appearance" under "Item:" dropdown, choose "buttons".
    5 set your size
    6. click on the OK button.
    7 on the "Appearance settings" box, click on the button 'Aplly', wait.
    8. click the OK button if you are uncomfortable with the size to change, or just click on the "Advanced" button to set the size.

    I hope I could help

  • How to change the level of zoom on a Web page

    How to change the zoom of a Firefox Web page level? In Internet Explorer, you can do this with the right end of the status bar icon. Any advice would be appreciated. Thank you.

    This article should help: https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages

  • When I open a pdf file using adobe default to 139% magnification. How to change the system, so it defaults to the actual size

    When I open a pdf file using adobe default to 139% magnification. How to change the system, so it defaults to the actual size

    Hi christian-laup70425339 .

    Please try this step: -.

    Acrobat > edit > Preferences > Page Display > under Default Layout & Zoom, set "Zoom in" on the value of your choice that you want.

    I would like to know if it works.

    Kind regards

    Christian

  • How to change the size of font IR (only) dynamically

    Hello

    On the http://www.danielmcghan.us/2009/01/that-font-is-too-small.html blog, there was a great example of how to change the size of font IR on the fly.
    Some how seems that it does not have new reagent 25 theme, which is not having "td." If someone could help me.

    I would like to add a few record capacity in other tables (table user preferences)... Penny Please extend this example if possible.

    For this I did on the cloud Apex demo: FONT_SIZE_ADJ_APP

    http://Apex.Oracle.com/pls/Apex/f?p=2354

    Data connection:
    United Nations: guest_admin
    PWD: Qwertz123!

    THX in advance for your help.

    BRG,
    Damir

    The actual code Th example of work seems different from the blogpost

    Might want to try this code (in your page template)

    (-) Save / Reset (+)
    

    To save this in a table of custom user preferences:
    -You can change the application RETURN_NOTHING to insert/update process using the FONT_SIZE_ADJ element

    And add the calculation to set the value in FONT_SIZE_ADJ of the table for the first time user preferences when users login

  • How to change the text size in the menu drop down labels?

    How to change the size of text in the label drop-down list box?

    Extension of theme font & size changer.

    https://addons.Mozilla.org/en-us/Firefox/addon/theme-font-size-changer/

  • How to change the size of the app button

    Can how I change the size of the buttons on my iPad Air app

    Cannot change the app icons themselves in size. If the icons are large, see if the zoom is on iOS: the home screen icons are magnified or large - Apple Support

    -AJ

  • How to change the default font size in Word pad

    How to change the font and size of the default settings in wordpad?

    Thank you

    You can change the font and size and then save it as a template - ex: default.wri

    Navigate to this file and make it read-only. Create a shortcut to it and use it as WordPad in the future.

    It will always come back with the font settings that you put, but you will need to save it under a new name every time (you usually do in any case).

    There is no other way to keep the settings of fonts in WordPad.

  • How to change the size of icons and windows

    original title: oversized windows and icons

    im stuck in something I don't know how to change, all my windows and icons are so big they tend to adapt to the screen and I know its something simple to fix but I can not find it ive tried all the display options and disabilities can't just can someone help me please

    Hello

     

    ·         Were there recent changes made on the computer before the show?

     

    Follow these steps and check if that helps:

     

    Step 1:

     

    (a) click on the tab "Start" then go to control panel. In the upper left corner, click 'Switch to Classic view'-, it will take only a few seconds until Windows in Classic view. In Classic view, you will see all of the icons that are currently on your desktop.

    (b) go to 'View' and the display properties box opens. On the appearance tab, press the 'Effects', uncheck 'Use large icons'. Press the OK button, and then click OK again in the display properties box. The icons will appear normal on your desktop.

     

     

    Step 2:

    (a) right click on your mouse and scroll down to "Properties". The display properties box will be pop up, so go to the appearance tab then click the "Advanced" button and look for "Item.

    (b) scroll to the bottom of the box and select "icon". Go to the 'size' change the default size, 32, for your icon. Press the button 'Apply' then 'OK '.

     

    See also:

     

    How to change the appearance of items on the desktop in Windows XP

    http://support.Microsoft.com/kb/310543

    Step 3:

    If the problem persists, update the latest graphics card drivers on the manufacturer's Web site and check if it helps.

    How to manage devices in Windows XP

  • How to change the font size in windows diff that is email; Word; etc.

    How to change the font size in windows diff i.e. E-mail; Word; etc.

    Try the following: (Note: you must be an administrator to do so)

    1. go into the control panel.

    2. double-click on 'ease of access '.

    3. click on "make the computer easier to see.

    4. click on "change the size of text and icons.

    5. click on "Continue" to the pop-up message.

    6. Select "larger scale (120 DPI)(-rendre le texte plus lisible) and click on 'OK'."

    You need to restart for the change to take effect.

  • How to change the size of the image using HP ePrint app on and ipad or iphone

    I have a printer HP Photo Smart 7520. I have loaded down the HP ePrint app on my iPhone and iPad.  When you print a photo, how to change the six (4 X 6 or 5 X 7, for example) before printing on the iPad or the iPhone?

    Hi @thwhite1,

    Welcome to the Forums of HP's Support. I see that you want to know how to change the paper size in the HP ePrint app.

    I've included a screenshot of the HP ePrint app and where you will find the option to change the size of the paper.

    Please let me know how it goes.

  • How to change the icons size in the bar of tasks other than small or big

    How to change the size icons in the bar of tasks other than small or big. I'd like an average size.

    There is no intermediate option to choose. You can choose small or large icons on the taskbar. -Ramesh Kumar http://www.WindowsValley.com

  • I don't know how to change the size and quality of the text on the screen on Windows 7

    I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen.  I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want.  The text in clear 'wonderful' thing is just terrible.  When I go through the 4 steps I see no text boxes which make the text nothing better.  All options are terrible, so the result on screen is too terrible.  When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation?  I must mention that my screen/monitor is 2006 - I need to buy a new one?  How much is this Windows 7 is going to cost me, or maybe I should go back to XP!

    I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions.  I'm not too smart with all this new technology as I fell into it very late.  I am now in my 60s and only started using a pc when I was over 50 years so...  In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys.  I had recently changed in XP to Windows 7.  However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab.  Very basic, and the first question asked the technician (Lady) was "what size is your screen?  Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else.  I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.

    Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small.  Clarity is all!

    Thank you all once again!   Best regards, Blondie blue.

  • 1 - How do I print the test page? 2 - How to change the default printer?

    1 - How to print a test page?

    2 - How to change the default printer?

    Yes, essentially the same as in Win 7.   Select the properties of the printer to print the test page.  That's where.

Maybe you are looking for