Scale on variable layouts

text disappears when creating iphone variable layout. Used to do it with v20 with scale and it worked perfectly well. What could it be?

@fredfromfrance – I suspected something like this…
You do refer to the baseline grid. And that is all the same for every page in the whole document.
There is no way arround that other than not using the document baseline grid, but rely on other constructions* or using a script that programmatically aligns the lines to a user defined "grid" (not the baseline grid).
*Other constructions: you could use the "baseline grid" options of your text frame, but then you have to make sure that all your text frames on the pages with alternate layouts are exactly positioned to a user defined "super grid". Unfortunately without using a script for a programmatically solution, this is not an automatic process within InDesign.
I would prefer to have controls for the "baseline grid" page by page or even page region by page region instead of document wide…
Uwe

Similar Messages

  • Change/ scale shared variable programatically

    hi!
    well, i am creating lot of shared variables using labview, but my question is, have i got  any item or something to scale them or, change the properties of the shared variables i created??
    for example, rate max/min, color.....
    have you got any idea?

    Hi kazak,
                   see this link:-
                   http://zone.ni.com/reference/en-XX/help/371618G-01/lvdscconcepts/chang_svpro_prog/  
    Thanks as kudos only

  • How do I use one set of XML data and populate multiple layouts with it?

    I have an XML document with root element BOOK.  Inside BOOK are PAGEs.  (I also have each PAGE as it's own XML file, so that I can update each PAGE individually.)
    I have a print layout of 6"x9" and I want to create an iPad layout (H & V).
    When I create the V layout, I have the 6x9 master set to "scale" in liquid layouts and it works great.  But in my XML structure, everything gets duplicated.  Now there are two sets of data.  When I create the H layout, now I have three sets of data.
    So then I tried deleting everything in my iPad masters and setting them to be based on my print masters, but the content isn't scaling.
    Let me know if you have questions, because I'm not sure where I might need to clarify.  Thanks in advance!

    Roger Wilmut1 wrote:
    nategm wrote:
    On my MacBook Pro, if I get a USB-headphone connector (to add another audio port), will I be able to set one audio port as input and the other as output?
    Yes, either way round. In System Preferences>Sound you can set the input and output ports separately.
    Roger, the System setting have -Nothing- to do with the question being asked. Do you use Logic Pro audio software? If you did you would know Logic has it's own audio settings that run independently from the System audio. There's also the fact that Maverick has problems with "some" older USB 2.0 audio hardware. Basically, this is not a slam-dunk, that's why I suggested asking someone if they've used this combination before. Although... the USB audio device is cheap ($10) it might be worth it to try. Still.............**
    ** I question the wisdom of using cheap audio hardware on a computer that cost $1000+, software that costs $200 and then using the internal audio chip ($2) and an external monitoring device that costs $10. Defeats the whole purpose of using professional audio software.

  • CSS Layout in DW CS 3

    I'm kinda wondering why the id's are preceded with a class if
    you open any of the premade CSS layouts in DW CS3.
    example:
    Two Columns, all widths in percent, with right sidebar header
    and footer.
    CSS:
    body {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and
    padding of the body element to account for differing browser
    defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5*
    browsers. The text is then set to the left aligned default in the
    #container selector */
    color: #000000;
    .twoColLiqRtHdr #container {
    width: 80%; /* this will create a container 80% of the
    browser width */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a
    width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center
    on the body element. */
    .twoColLiqRtHdr #header {
    background: #DDDDDD;
    padding: 0 10px; /* this padding matches the left alignment
    of the elements in the divs that appear beneath it. If an image is
    used in the #header instead of text, you may want to remove the
    padding. */
    .twoColLiqRtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the
    #header div will avoid margin collapse - an unexplainable space
    between divs. If the div has a border around it, this is not
    necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will
    allow you to keep the element away from the edges of the div */
    /* Tips for sidebar1:
    1. since we are working in percentages, it's best not to use
    padding on the sidebar. It will be added to the width for standards
    compliant browsers creating an unknown actual width.
    2. Space between the side of the div and the elements within
    it can be created by placing a left and right margin on those
    elements as seen in the ".twoColLiqRtHdr #sidebar1 p" rule.
    3. Since Explorer calculates widths after the parent element
    is rendered, you may occasionally run into unexplained bugs with
    percentage-based columns. If you need more predictable results, you
    may choose to change to pixel sized columns.
    .twoColLiqRtHdr #sidebar1 {
    float: right; /* since this element is floated, a width must
    be given */
    width: 24%;
    background: #EBEBEB; /* the background color will be
    displayed for the length of the content in the column, but no
    further */
    padding-top: 15px 0; /* top and bottom padding create visual
    space within this div */
    .twoColLiqRtHdr #sidebar1 h3, .twoColLiqRtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be
    given to every element that will be placed in the side columns */
    margin-right: 10px;
    /* Tips for mainContent:
    1. the space between the mainContent and sidebar1 is created
    with the right margin on the mainContent div. No matter how much
    content the sidebar1 div contains, the column space will remain.
    You can remove this right margin if you want the #mainContent div's
    text to fill the #sidebar1 space when the content in #sidebar1
    ends.
    2. to avoid float drop at a supported minimum 800 x 600
    resolution, elements within the mainContent div should be 430px or
    smaller (this includes images).
    3. in the Internet Explorer Conditional Comment below, the
    zoom property is used to give the mainContent "hasLayout." This
    avoids several IE-specific bugs.
    .twoColLiqRtHdr #mainContent {
    margin: 0 26% 0 10px; /* the left margin should mirror the
    margin on the header and footer for proper alignment. */
    .twoColLiqRtHdr #footer {
    padding: 0 10px; /* this padding matches the left alignment
    of the elements in the divs that appear above it. */
    background:#DDDDDD;
    .twoColLiqRtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in
    the footer will avoid the possibility of margin collapse - a space
    between divs */
    padding: 10px 0; /* padding on this element will create
    space, just as the the margin would have, without the margin
    collapse issue */
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right
    in your page. The floated element must precede the element it
    should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left
    in your page. The floated element must precede the element it
    should be next to on the page. */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or
    break element and should be the final element before the close of a
    container that should fully contain a float */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
    take a look at this
    .twoColLiqRtHdr #container {
    width: 80%; /* this will create a container 80% of the
    browser width */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a
    width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center
    on the body element. */
    how do you interpret
    .twoColLiqRtHdr #container?
    in the code, .twoColLiqRtHdr is a class for the <body>
    tag only.
    So i guess I just need some enlightenment on how this CSS
    works, maybe I'm used to just defining the ID of <div> tags
    (ex: #wrapper {}).
    Is this use for inline styles only?
    what's the advantage of using this type of styles?
    I hope someone can take a look at this, thank you in advance!
    :)

    Yeah.... I can't really see a use for class here at all. But
    that's me
    (and now you!)....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Thierry | www.TJKDesign.com" <[email protected]>
    wrote in message
    news:f0lh1l$ng$[email protected]..
    > Murray *ACE* wrote:
    >> I use this often when I have a single template with
    variable layout
    >> (i.e., section-specific layouts). You can use either
    >> server-scripting or template parameters to change
    the ID attribute on
    >> the body tag, which will trigger an entirely
    different set of CSS
    >> selector assignments.
    >
    > FWIW, I believe it makes more sense to use an ID
    attribute - as you do -
    > rather than a class on "BODY" as this element is unique
    through the
    > document.
    >
    > --
    > Thierry
    > Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    > The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    > CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    > CSS Tab Menu:
    http://www.TJKDesign.com/go/?3
    >
    >

  • Project Variables Labels Not Updated After Change in OBPM 10GR3

    Hi all,
    I had previously deployed a project to the Weblogic Enterprise Server with a set of project variables , layouts, presentations and views.
    Now, I changed the labels to the Project Variables using Studio. Made them all Upper Case and re-deployed the project to the Weblogic Enterprise Server.
    I restarted Weblogic. I restarted the engine.
    But the Project Variables labels in the views did not change from being lower case to upper case.
    Why is that so?

    Anybody on this?
    Why do the labels of Project Variables not change in Weblogic Enterprise Server 10GR3 although they change in BPM Studio?
    I also tried deleting these project variables from the Engine Tables --> PPROCINSTANCE and PPROCINSTEVENT
    Restarted Weblogic
    Restarted the Engine
    Restarted the workspace
    Redeployed a fresh BPM project.
    But nothing changed?

  • Nullpointer with %=layout.htmlBegin()%

    as soon as i got this tag as well as its end equivalent <%=layout.htmlEnd()%>
    on my JSP i get a nullpointer in my browser. i think i have imported everything needed
    to reach the tags. the other pages of my application have the same imports and properly accept the tags. any suggestions?

    I don't see any tags, just a call to the htmlBegin() and htmlEnd() methods of an object referenced by the scripting variable layout. Presumably the value of layout is null. Try checking your code to see how this is set.

  • Fixed width of SCN content

    After last redesign of SCN all the content is cca 990 pixels wide. This was a fashionable approach of web in 90's. For web sites like forums and blogs I would expect flexible width - people working on large displays like 1920px wide can use full screen and people working with blog as right-hand help column can use it too. Some problems like text behind right edge would dissapear by flex width, I think.
    Why fixed layout (I accept the fact it is more comfortable for dev and testing)?
    Regards,
    Pavol

    Pavol;
    I am referring today with combining quotes from an article that already was written around fixed width:
    http://webdev.entheosweb.com/2008/07/16/fixed-width-vs-liquid-layouts/
    Earlier today I tried to respond quickly, and did not refer to the article appropriately nor entirely. Most of the response below was a mix of that article; and comments from me in appropriate places with additional decisions we made as an SCN team.
    As you correctly state there are two types of layout that you can choose from : http://webdev.entheosweb.com/2008/07/16/fixed-width-vs-liquid-layouts/
    This article also discusses the fact that one is the fixed width layout and the other is the liquid/variable layout. The fixed width layout sets the width of the web page at a specific value, no matter how wide the vieweru2019s internet browser window is, whereas liquid  & variable width layouts adjust their width depending on the width of the visitoru2019s browser window. The choice between these two layouts is not always an easy one. In our SCN case we chose for the fixed.
    As they quote in the article : http://webdev.entheosweb.com/2008/07/16/fixed-width-vs-liquid-layouts/
    For those who do not know much about this : Fixed width layouts mean that you have a  predetermined width which you will design the rest of your web page around. The main advantage of this approach is that it gives you greater direction and control over the eventual organization of your web pages.
    Which layout you eventually choose will greatly affect the final look and feel of your web site, not to mention the functionality of the site. The ease with which visitoru2019s can scan through your site for relevant information and identify the content that they wish to find is almost always largely dependant on your choice of layouts. We have a lot of content on our website in many places, and unfortunately for you and also from a maintenance perspective we wanted to opt in this release for fixed width.
    I picked the the pros and cons of the fixed width from the article as they are widely known to most website designers.
    *Fixed Width Layout*
    Pros
    Pages that you design look exactly the same when viewed using any internet browser or operating system.
    Images and other non-textual objects will not overwhelm the textual content of the page, regardless of the size of the browser window or viewing monitor.
    The scan length of your pages stays constant no matter how wide the vieweru2019s browser window is.
    Cons
    Viewers using smaller browser windows or monitors to view the site will probably have to scroll horizontally to see the entirety of the page. This tends to annoy online som eof our visitors. However we know most of our users use IE or Mozilla and have larger screens ( more than 30% has 1024x) from Surveys we do.
    A large amount of whitespace is usually generated when viewers use large browser windows to view the site, resulting in wastage of otherwise useful space. Also, more vertical scrolling may be required than should be necessary.
    Font size changes can adversely affect the overall layout of the page. Large increases in font size can cause the layout of your page to become distorted, making it messy and unappealing.
    In short: We used to have both approaches, but in the new SCN design we choose to have the fixed width approach for now.  We weighed both pros and cons
    Scott Lawley of our SCN team compiled it for us and referred in an internal presentation around the pros for SCN for fixed width. here is a quick summary ( thanks Scott, have a nice vacation )
    Our SAP Corporate styleguide calls for a fixed width layout (see e.g. sap.com)
    We already implemented EcoHub with a fixed width layout. All our communities should try to have as much a unified presentation where possible
    All of CSO's screen designs are made for a 1024 resolution. They do not work that well with higher resolutions (in our older SDN approach, viewed at higher resolutions it looked sometimes very lackluster, the lines of text became so long that readability is decreased)
    On high resolutions the old SDN site became harder to navigate because you had a lot of screen real estate to cover if you wanted to move the mouse from right to left
    Using a fluid layout for us meant that we have to continue using table-based layouts which did not entirely fit with the image of the modern web 2.0 platform we wanted to convey.
    Most news blogs and major news sites (like e.g. nytimes.com) use a fixed width layout. According to this survey http://tinyurl.com/65yjcv
    Flash content does not easily scale.  New page layout may need to be considered to better support flash in th enear future for us.
    92% of the top 50 news blogs use a fixed layout.
    And last but not least there were also some more philosophical and functional differences that we weighed of from each other : news vs. community vs. product
    What we will do in the next few releases is allow the collapsable left hand navigation that then will help the vertical scrolling challenge you might infrequently have,
    Hopefully this answers your question
    Edited by: Marco ten Vaanholt on Dec 17, 2008 7:59 AM
    Edited by: Marco ten Vaanholt on Dec 17, 2008 8:02 AM

  • Trying to create a flash gallery

    trying to create a simple clickable slideshow.
    my problem i think is in the math. but i clickable picture buttons on right and left. the center clickable too.
    i wanna know how can i increment decrement a variable depending on direction.
    currently it seems to go in one direction which is to the right.
    also can i make an array of functions: ex- function animate[count](e:event):void
    or do functions handle arrays differently.
    sorry if i sound stupid but its been awhile doing flash.
    heres little code:
    var picture:Array = new Array();
    picture[1] = new pic1();
    addChild(picture[1]);
    picture[1].x =50;
    picture[1].y =384;
    picture[2] = new pic2();
    addChild(picture[2]);
    picture[2].x =512;
    picture[2].y =384;
    picture[2].scaleX =10;
    picture[2].scaleY =10;
    picture[3] = new pic3();
    addChild(picture[3]);
    picture[3].x =974;
    picture[3].y =384;
    var counter = 1;
        picture[1].addEventListener(MouseEvent.CLICK, animate1)
        function animate1(e:MouseEvent):void
            trace(counter);
            picture[counter+1].x =50;
            picture[counter+1].y =384;
            picture[counter + 2].x =512;
            picture[counter + 2].y =384;
            picture[counter + 2].scaleX =10;
            picture[counter + 2].scaleY =10;
            picture[counter + 3].x =974;
            picture[counter + 3].y =384;
            counter++;
    5 more similar eventlisteners and function

    Sorry I think I misread your code before when I responded. Well I think I have a working version of what you are trying to do. You can view what I made at http://www.jeremyseverson.com/as3/flash_gallery/index.html . I created this all in straight AS3 but it should give you an idea of what I did and give you some direction to achieve what you want.
    package
         import caurina.transitions.*;
         import flash.display.Bitmap;
         import flash.display.SimpleButton;
         import flash.display.Sprite;
         import flash.events.MouseEvent;
         [SWF(backgroundColor="#000000", frameRate="31", width="800", height="300")]
         public class Main2 extends Sprite
              //  EMBED ASSETS
              [Embed(source='assets/rightArrow.png')]
              private var rightArrowClass:Class;
              [Embed(source='assets/leftArrow.png')]
              private var leftArrowClass:Class;
              [Embed(source='assets/IMG_0001.JPG')]
              private var img0001Class:Class;
              [Embed(source='assets/IMG_0002.JPG')]
              private var img0002Class:Class;
              [Embed(source='assets/IMG_0003.JPG')]
              private var img0003Class:Class;
              [Embed(source='assets/IMG_0004.JPG')]
              private var img0004Class:Class;
              [Embed(source='assets/IMG_0005.JPG')]
              private var img0005Class:Class;
              [Embed(source='assets/IMG_0006.JPG')]
              private var img0006Class:Class;
              [Embed(source='assets/IMG_0007.JPG')]
              private var img0007Class:Class;
              //  PRIVATE VARIABLES
              // Layout Properties
              private var imgPad:Number = 5;
              private var imgScale:Number = 2.5;
              private var btnSize:Number = 25;
              private var imgCounter:Number = 0;
              private var middleImgX:Number = 400;
              private var leftImgX:Number = 100;
              private var rightImgX:Number = 700;
              private var leftImgTransX:Number = leftImgX - (middleImgX - leftImgX);
              private var rightImgTransX:Number = rightImgX + (rightImgX - middleImgX);
              private var imgY:Number = 150;
              private var imgLeft:Sprite;
              private var imgMid:Sprite;
              private var imgRight:Sprite;
              private var imgTransIn:Sprite;
              private var imgTransOut:Sprite;
              // Image Array
              private var classList:Array = new Array(img0001Class,img0002Class,img0003Class,img0004Class,img0005Class,img0006Class,img0007Class);
              private var spriteList:Array;
              private var currImages:Array;
              //  CONSTRUCTOR
              public function Main2()
                   init();
              //  PRIVATE METHODS
              private function init():void
                   initSpriteList();              
                   updateInterface(imgCounter);
               * Creating an array of sprites so that my registration point
               * will be in the center of the image instead of the upper left
              private function initSpriteList():void
                   spriteList = new Array();
                   var tSprite:Sprite;
                   var tBmp:Bitmap;
                   for (var i:uint=0; i<classList.length; i++)
                        tBmp = new classList[i] as Bitmap;
                        tSprite = new Sprite;
                        tSprite.addChild(tBmp);
                        tBmp.x = (-tBmp.width / 2);
                        tBmp.y = (-tBmp.height / 2);
                        spriteList.push(tSprite);
              private function updateInterface(newPos:Number,direction:String=null):void
                   var maxPos:Number = spriteList.length - 1;
                   var minPos:Number = 0;
                   var midPos:Number;
                   var leftPos:Number;
                   var rightPos:Number;
                   var transInSprite:Sprite;
                   // Set center array position
                   midPos = newPos;
                   if (midPos > maxPos) midPos = minPos;
                   if (midPos < minPos) midPos = maxPos;
                   // Update Image Counter
                   imgCounter = midPos;
                   // Set left array position
                   leftPos = midPos - 1;
                   if (leftPos < minPos) leftPos = maxPos;
                   // Set right array position
                   rightPos = midPos + 1;
                   if (rightPos > maxPos) rightPos = minPos;
                   switch(direction)
                        case "L":
                             currImages[0].removeEventListener(MouseEvent.MOUSE_DOWN, moveRight);
                             currImages[2].removeEventListener(MouseEvent.MOUSE_DOWN, moveLeft);
                             // Add transition in img
                             transInSprite = spriteList[rightPos];
                             transInSprite.x = rightImgTransX;
                             transInSprite.y = imgY;
                             transInSprite.scaleX = transInSprite.scaleY = .05;
                             transInSprite.alpha = 0;
                             addChild(transInSprite);    
                             Tweener.addTween(transInSprite, {x:rightImgX, alpha:1, scaleX:1, scaleY:1, time:0.5});
                             Tweener.addTween(currImages[0], {x:leftImgTransX, scaleX:.5, scaleY:.5, alpha:0, time:0.5, onComplete:removeImage, onCompleteParams:[currImages[0]]});
                             Tweener.addTween(currImages[1], {x:leftImgX, scaleX:1, scaleY:1, alpha:1, time:0.5});
                             Tweener.addTween(currImages[2], {x:middleImgX, scaleX:imgScale, scaleY:imgScale, alpha:1, time:0.5});
                             break;
                        case "R":
                             currImages[0].removeEventListener(MouseEvent.MOUSE_DOWN, moveRight);
                             currImages[2].removeEventListener(MouseEvent.MOUSE_DOWN, moveLeft);
                             // Add transition in img
                             transInSprite = spriteList[leftPos];
                             transInSprite.x = leftImgTransX;
                             transInSprite.y = imgY;
                             transInSprite.scaleX = transInSprite.scaleY = .05;
                             transInSprite.alpha = 0;
                             addChild(transInSprite);    
                             Tweener.addTween(transInSprite, {x:leftImgX, alpha:1, scaleX:1, scaleY:1, time:0.5});
                             Tweener.addTween(currImages[2], {x:rightImgTransX, scaleX:.5, scaleY:.5, alpha:0, time:0.5, onComplete:removeImage, onCompleteParams:[currImages[2]]});
                             Tweener.addTween(currImages[1], {x:rightImgX, scaleX:1, scaleY:1, alpha:1, time:0.5});
                             Tweener.addTween(currImages[0], {x:middleImgX, scaleX:imgScale, scaleY:imgScale, alpha:1, time:0.5});
                             break;
                        default:
                             // Add left img
                             spriteList[leftPos].x = leftImgX;
                             spriteList[leftPos].y = imgY;
                             spriteList[leftPos].scaleX = spriteList[leftPos].scaleY = 1;
                             addChild(spriteList[leftPos]);                        
                             // Add middle img
                             imgMid = spriteList[midPos];
                             spriteList[midPos].x = middleImgX;
                             spriteList[midPos].y = imgY;
                             spriteList[midPos].scaleX = spriteList[midPos].scaleY = imgScale;
                             addChild(spriteList[midPos]);
                             // Add right img
                             spriteList[rightPos].x = rightImgX;
                             spriteList[rightPos].y = imgY;
                             spriteList[rightPos].scaleX = spriteList[rightPos].scaleY = 1;
                             addChild(spriteList[rightPos]);         
                   spriteList[leftPos].addEventListener(MouseEvent.MOUSE_DOWN, moveRight);
                   spriteList[rightPos].addEventListener(MouseEvent.MOUSE_DOWN, moveLeft);
                   currImages = [spriteList[leftPos], spriteList[midPos], spriteList[rightPos]];
              private function removeImage(spriteRef:Sprite):void
                   removeChild(spriteRef);
              //  EVENT HANDLERS
              private function moveRight(e:MouseEvent):void
                   imgCounter--;
                   updateInterface(imgCounter,"R");
              private function moveLeft(e:MouseEvent):void
                   imgCounter++;
                   updateInterface(imgCounter,"L");

  • My scroll bar is now on the left. how do I move it back to the right side?

    When Firefox updated overnight I woke up to a nightmare. My scrollbar was now on the left. How do I get it moved back to the right?

    You may have other problems as well.
    ''Scrollbars in the user interface may appear on the left or right side of the content, depending on whether the language viewed is read right-to-left or left-to-right. However, a user may want to keep the scrollbar on one side irrespective of the content’s language, or even the host OS’s language. This preference is an attempt to make the scrollbar position as customizable to the end user as possible.''
    * http://kb.mozillazine.org/Layout.scrollbar.side
    In your '''about:config''' change configuration variable '''layout.scrollbar.side''' to '''2''' to place the scrollbar on the right side of the content.
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

  • Printing forms - Oracle Reports in Oracle apps

    Hi
    I am tring to print the Despatch Order, We have a standard form for this purpose . . . I need to print the data into the right columns. . .
    I am using Oracle Reports to pring these forms . . .Is there a standard way to place these items into correct location, to be able to print a neat form.
    Or do I have to got the trial and error way . .. actually I even tried using the scale on the layout model window . .. did not give you nice result . ..
    Regards
    Jagan.

    You may scan the form and use it as report background. Once you will be able to align the backgroupnd with the real form on printing (by iterations, there is no other way), you may use the backgroupnd to position all the field, and then delete the backgroupnd.
    Another option would be to always use the background and pring on the plain paper.

  • PR05 Cost Assignment cost center default

    Hello,
    I want to have the employee's cost center defaulted on the PR05 screen.
    I want to default it at the  Entire Trip's Cost Assignment.
    I am aware of the user exits available, however, i need to know if there is a way to default it without using the user exits.
    Thanks,
    Jerry

    Hi jerry,
    By default, all trip cost is charged to employee's cost centre ( even if you have not been mentioned any cost centre) otherwise as per calculation guidelines.
    http://help.sap.com/saphelp_46c/helpdata/en/e6/3152a396d811d194c100a0c92946ae/content.htm
    if you want to strict that trip shall be charged only employee cost center,  then you have to change following.
    Cost assignment specification: Complete Trip RP_TRAVEL_COBL_1700
    Following is the more help available for your information.
    I hope it would serve your purpose..
    Best Regards,
    Muhammad Umer
    Set Up Variable Layout for Account Assignment Objects
    The travel expenses accounting dialog contains the option to record cost assignment specifications for the complete trip, additional destinations (stopovers), receipts and the kilometer/miles distribution.
    The user is provided with two options for this purpose: The entry area Alternative Cost Assignment to Master Cost Center in the travel expenses dialog, or the Enhanced Cost Assignment function.
    Travel Management offers five different coding blocks that you can use to control the cost assignments within Travel Expenses accounting.
    In this IMG activity you define the screen layout for the account assignment objects - the selection and order of these objects. In addition you can specify the field characteristics for each of the account assignment objects.
    You can make these settings in relation to a specific user or the organizational assignment of the employee.
    To do this, copy the return value from the feature TRVCO as a variable key into the key of the fields with which you want to set up the coding block.
    Note
    The feature TRVCO is only evaluated during screen layout of a coding block if it is assigned to the corresponding function module in the view Screen modification for assignment data. This view can be accessed using the entry Check assignment of feature TRVCO to coding blocks in the selection screen for the IMG activity Set up variable layout for account assignment object
    In the standard version feature TRVCO is assigned to function modules. You should not change the following assignments:
    Coding Block for Function Module
    Cost assignment specification: Complete Trip RP_TRAVEL_COBL_1700
    Cost assignment specification: Receipts RP_TRAVEL_COBL_1701
    Cost assignment specification: Destinations RP_TRAVEL_COBL_1702
    Cost assignment specification: Miles/KMs Distrib. RP_TRAVEL_COBL_17
    Activities
    1. Check the assignment of feature TRVCO to the function modules for the coding blocks using the appropriate action in this activity.
    2. You can create new entries as follows:
    a) Choose the action Account assignment object: Cost assignment specification: <appropriate entry area> in this IMG activity.
    b) In the variable key field, enter the required return value from the feature TRVCO.
    c) Enter the name of the field needed in the Variable name field.
    d) Specify the field attributes for the field.

  • Change default cost assignment specification

    Hello,
    I do have an organisation which assignes all travel expenses to (project) orders instead of cost centers.
    Is there a way to change the default cost assignment (cost centers) to (project) orders on the travel expense WebDynpro?
    As there is no project order maintained in any employee related Infotype this should force the traveller to select the appropriate (project) order from a list.
    Thanks for your feedback,
    Wolfgang

    Hello Wolfgang
    Good news you can do this by customizing
    You can even hide unused cost objects if you need only orders.
    This can be customized here : Financial accounting (new) => travel management => Employee Self-Services => Interface Configuration for web dynpro interface in travel management => Set up variable layout for account assignment objects
    Hope this helps
    Mathieu

  • Programmed zoom

    I have to create an animation involving a big fast zoom with a little rotation and animating it on the timeline just doesn't cut it.
    I start with state 1 (see attached file state11.jpg) where there is an animation and then I want a fast smooth zoom until I reach State 2 (see attached file state2.jpg).
    In the first state the "map" occupies the entire screen, but when it reaches state 2 the map is inside a mask and the other elements will start appearing.
    Can anyone teach me how to create this zoom smoothly with actionscript? I am really lost here and I know somethings about actionscript but I just cannot do this and my timing is today...

    I have managed to create more or less what I want. Very happy with this since I have never used imported classes.
    The Zoom is working fine. My only problem now is that I have a mask that needs to be animated along with the rest and the mask animation is not working. And When the movieClips reach their final value I want the timeline to continue, and I have no idea how to do that!
    I have attached the code for you to see if I am doing anything wrong about the Mask.
    And if you could help me with jumping ahead in the timeline when the tweens finish ...
    // CODE
    stop();
    import mx.transitions.Tween;
    import mx.transitions.easing.Regular;
    // Set Mask for the map
    state1.cacheAsBitmap = true;
    maskMC.cacheAsBitmap = true;
    state1.setMask(maskMC);
    // Tween variables
    var twContent;   // the Circle movieclip
    var zoomContentX;    // Circle x Scale
    var zoomContentY;    // Circle y Scale
    var alphaContent; // Circle alpha
    var twBK;        // Map piece
    var zoomBKX;    // Map x scale
    var zoomBKY;    // Map y scale
    var alphaBK;        // Set transparent Map
    var zoomMaskX;        //Set Mask x Scale
    var zoomMaskY;     //Set Mask y Scale
    // Final variables
    var mcFinalX =  content1._x;    // initialized to its current value
    var mcFinalZoom = content1._xscale = content1._yscale;
    var mcFinalAlpha = content1._alpha;
    var mapFinalX = state1._x;
    var mapFinalZoom = state1._xscale = state1._yscale;
    var mapFinalAlpha = state1._alpha;
    var maskFinalZoom = maskMC._xscale = maskMC._yscale;
    function moveMovies(){
        twContent = new Tween(content1, "_x", Regular.easeOut, content1._x, mcFinalX, 0.5, true);
        zoomContentX = new Tween(content1, "_xscale", Regular.easeOut, content1._xscale, mcFinalZoom, 0.5, true);
        zoomContentY = new Tween(content1, "_yscale", Regular.easeOut, content1._yscale, mcFinalZoom, 0.5, true);
        alphaContent = new Tween(content1, "_alpha", Regular.easeOut, content1._alpha, mcFinalAlpha, 0.5, true);
        twBK = new Tween(state1, "_x", Regular.easeOut, state1._x, mapFinalX, 0.5, true);
        zoomBKX = new Tween(state1, "_xscale", Regular.easeOut, state1._xscale, mapFinalZoom, 0.5, true);
        zoomBKY = new Tween(state1, "_yscale", Regular.easeOut, state1._yscale, mapFinalZoom, 0.5, true);
        alphaBK = new Tween(state1, "_alpha", Regular.easeOut, state1._alpha, mapFinalAlpha, 0.5, true);
        zoomMaskX = new Tween(maskMC, "_xscale", Regular.easeOut, maskMC._xscale, maskFinalZoom, 0.5, true);
        zoomMaskY = new Tween(maskMC, "_yxscale", Regular.easeOut, maskMC._yscale, maskFinalZoom, 0.5, true);
    // set final values
    state1.onRelease = function(){
        mcFinalX = 588;
        mcFinalZoom = 100;
        mcFinalAlpha = 100;
        mapFinalX = 420;
        mapFinalZoom = 400;
        mapFinalAlpha = 0;
        maskFinalZoom = 100;
        moveMovies();

  • Steps to create a planning folder in detail.

    hai friends,
                 i am new to BPS .i want to create a planning folder.so i need detail steps and documentation.
    Thankyou,
    shankar.

    Hi,
    T.code : UPSPM
    1. Go to that  t.code and  create a planning folder . (tech name & description)
    2.  once you given the details then it will you take the next screen there you will find all your planning area , level , variable , layout and function.
      3. In the Right hand side , you will find the planning folder under the planning folder you will find variable , global planning function and input layout.
    4. Drag and drop your variable to Right hand side from the particular planning area which you want to make a planning folder.
    5. then drag and drop the layout and function under the the planning area to Right hand side of input layout folder.
    To execute the planning folder you can use t.code UPSPL.
    hope this helps.
    Regards,
    Siva.

  • Scroll pane can't align it's content

    When a Node(group fro example) is added into a scroll pane, the scroll pane automatically align the node to the upper left corner of the scroll pane's content area. How can i customize the Node's alignment(the middle center eg) in the scroll pane. When the Node's size is scaled and larger than the scroll pane's size the scroll pane's scroll bar appears, and if the Node's size shrinks and it's size becomes smaller than the scroll pane's then the Node is aligned to the middle center. it seems don't take affect if i override the scroll pane's layoutChildren method and set layoutX and layoutY property of the Node.
    If any one can give me some clue?
    thanks

    ScrollPanes are somewhat tricky to use. They don't align content, you need to use layout managers to do that or you need to layout yourself with shapes in groups using absolute co-ordinates and/or translations. The ScrollPane defines it's own viewport related coordinates and you need to layout your content within that viewport.
    How can i customize the Node's alignment(the middle center eg) in the scroll pane.Get the layoutBoundsInParent of the node, get the viewportBounds of the scrollpane and perform the translation of the node such that the center of the node is in the center of the viewportBounds (will require a little bit of basic maths to do this) by adding listeners on each property.
    When the Node's size is scaled and larger than the scroll pane's size the scroll pane's scroll bar appears, and if the Node's size shrinks and it's size becomes smaller than the scroll pane's then the Node is aligned to the middle center.Similar to above, just work with those properties.
    Not exactly a direct answer to your question, but you could try playing around with the following code if you like Saludon. It is something I wrote to learn about JavaFX's layoutbounds system. Resizing the scene and toggling items on and off will allow you to see the scroll pane. The view bounds listeners show you the properties you are interested in to achieve the effect you want.
    import javafx.application.Application;
    import javafx.beans.value.*;
    import javafx.event.*;
    import javafx.geometry.Bounds;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.effect.DropShadow;
    import javafx.scene.layout.*;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.*;
    import javafx.stage.Stage;
    public class LayoutBoundsScrollableAnchorPane extends Application  {
      // define some controls.
      final ToggleButton stroke    = new ToggleButton("Add Border");
      final ToggleButton effect    = new ToggleButton("Add Effect");
      final ToggleButton translate = new ToggleButton("Translate");
      final ToggleButton rotate    = new ToggleButton("Rotate");
      final ToggleButton scale     = new ToggleButton("Scale");
      public static void main(String[] args) { launch(args); }
      @Override public void start(Stage stage) throws Exception {
        // create a square to be acted on by the controls.
        final Rectangle square = new Rectangle(20, 30, 100, 100); //square.setFill(Color.DARKGREEN);
        square.setStyle("-fx-fill: linear-gradient(to right, darkgreen, forestgreen)");
        // show the effect of a stroke.
        stroke.setOnAction(new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent actionEvent) {
            if (stroke.isSelected()) {
              square.setStroke(Color.FIREBRICK); square.setStrokeWidth(10); square.setStrokeType(StrokeType.OUTSIDE);
            } else {
              square.setStroke(null); square.setStrokeWidth(0.0); square.setStrokeType(null);
            reportBounds(square);
        // show the effect of an effect.
        effect.setOnAction(new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent actionEvent) {
            if (effect.isSelected()) {
              square.setEffect(new DropShadow());
            } else {
              square.setEffect(null);
            reportBounds(square);
        // show the effect of a translation.
        translate.setOnAction(new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent actionEvent) {
            if (translate.isSelected()) {
              square.setTranslateX(100);
              square.setTranslateY(60);
            } else {
              square.setTranslateX(0);
              square.setTranslateY(0);
            reportBounds(square);
        // show the effect of a rotation.
        rotate.setOnAction(new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent actionEvent) {
            if (rotate.isSelected()) {
              square.setRotate(45);
            } else {
              square.setRotate(0);
            reportBounds(square);
        // show the effect of a scale.
        scale.setOnAction(new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent actionEvent) {
            if (scale.isSelected()) {
              square.setScaleX(2);
              square.setScaleY(2);
            } else {
              square.setScaleX(1);
              square.setScaleY(1);
            reportBounds(square);
        // layout the scene.
        final AnchorPane anchorPane = new AnchorPane();
        AnchorPane.setTopAnchor(square,  0.0);
        AnchorPane.setLeftAnchor(square, 0.0);
        anchorPane.setStyle("-fx-background-color: cornsilk;");
        anchorPane.getChildren().add(square);
        // add a scrollpane and size it's content to fit the pane (if it can).
        final ScrollPane scrollPane = new ScrollPane();
        scrollPane.setContent(anchorPane);
        square.boundsInParentProperty().addListener(new ChangeListener<Bounds>() {
          @Override public void changed(ObservableValue<? extends Bounds> observableValue, Bounds oldBounds, Bounds newBounds) {
            anchorPane.setPrefSize(Math.max(newBounds.getMaxX(), scrollPane.getViewportBounds().getWidth()), Math.max(newBounds.getMaxY(), scrollPane.getViewportBounds().getHeight()));
        scrollPane.viewportBoundsProperty().addListener(
          new ChangeListener<Bounds>() {
          @Override public void changed(ObservableValue<? extends Bounds> observableValue, Bounds oldBounds, Bounds newBounds) {
            anchorPane.setPrefSize(Math.max(square.getBoundsInParent().getMaxX(), newBounds.getWidth()), Math.max(square.getBoundsInParent().getMaxY(), newBounds.getHeight()));
        // layout the scene.
        VBox controlPane = new VBox(10);
        controlPane.setStyle("-fx-background-color: linear-gradient(to bottom, gainsboro, silver); -fx-padding: 10;");
        controlPane.getChildren().addAll(
          HBoxBuilder.create().spacing(10).children(stroke, effect).build(),
          HBoxBuilder.create().spacing(10).fillHeight(false).children(translate, rotate, scale).build()
        VBox layout = new VBox();
        VBox.setVgrow(scrollPane, Priority.ALWAYS);
        layout.getChildren().addAll(scrollPane, controlPane);
        // show the scene.
        final Scene scene = new Scene(layout, 300, 300);
        stage.setScene(scene);
        stage.show();
        reportBounds(square);
      /** output the squares bounds. */
      private void reportBounds(final Node n) {
        StringBuilder description = new StringBuilder();
        if (stroke.isSelected())       description.append("Stroke 10 : ");
        if (effect.isSelected())       description.append("Dropshadow Effect : ");
        if (translate.isSelected())    description.append("Translated 100, 60 : ");
        if (rotate.isSelected())       description.append("Rotated 45 degrees : ");
        if (scale.isSelected())        description.append("Scale 2 : ");
        if (description.length() == 0) description.append("Unchanged : ");
        System.out.println(description.toString());
        System.out.println("Layout Bounds:    " + n.getLayoutBounds());
        System.out.println("Bounds In Local:  " + n.getBoundsInLocal());
        System.out.println("Bounds In Parent: " + n.getBoundsInParent());
        System.out.println();
    }

Maybe you are looking for

  • Issue in Java Scipt

    Hello Experts, I have one issue in our client portal, which is really giving me hard time to resolve. So I have come to you experts for helping me to resolve this issue. So below are the details of the issue. Actually it goes like that, we are using

  • Oracle App Server 10.1.3 - IBM MQ 6.0 Msg Redelivery Issue

    Hi All, I have an application which sends message to the Queue configured in MQ. I have an underlying MDB to receive the messages from the MQ. In some of the business scenario i am getting an error during processing of the message and MDB doing a rol

  • Mac iTunes won't open; error 13010

    Running the newly updated iTunes on my Mac; the one with Genius support (not sure if I actually like that feature or not); anyway, I was in the midst of synching with my iPod shuffle when my Mac indicated that I needed to hold down the "Power" key, w

  • Java.lang.NullPointerException when executing search

    I am doing the hibernate tutorial at http://www.roseindia.net/struts/struts-hibernate/struts-web-modules.shtml and have made the following hibernate config files and have deployed it on with the following hibernate config file to make the connection

  • New macbook white monitor (LVDS cable failure)

    My LVDS cable was failing on me, the screen was freezing and whitening out. A common issue. I bought the cable from eBay and tried replacing it myself, since Apple would only replace the whole top monitor part for US$727 in my country (US$200 in USA)