Frame content

InDesign CC Release 2014.2

When I want to adjust the image to the text, I always use the "'Frame made content" shortcut (command + Alt + C) on my Mac. "

Sometimes he adapts to the height of the image to the content and sometimes it is also for height and width, but I can't understand why sometimes it's one thing or the other...

Is there an extra step to the framework to adapt to the content?

What are the conditions that the text must fulfil to be either mounted vertically only or vertically and horizontally?

If the content is other-than-text, you'll get mounting height and width every time.

If the content is a single line of text, you'll get mounting height and width every time. When the text already occupies more than one line, you get mounting height only.

Tags: InDesign

Similar Questions

  • Frame content with multiple lines of text

    Hello

    In Indesign CS5 (Mac) is possible to get the same behavior as 'To adapt to the content Frame' pieces on a single line of text, to work with multiple lines?

    In other words, to adapt the framework to the height AND width of the text.

    We have black text and the text block has a fill and a stroke. What we are trying to achieve is to be able to quickly and accurately, resize it framework for however many lines it takes place in. By using the default behavior, so that we can use "mount the frame to the content" to get the height, but we need to manually drag the width.

    Thank you

    Try this (CS4/CS5):

    // Your Settings:
    var X_PRECISION = .1;     // pts
    
    // Some constants
    var     INNER = CoordinateSpaces.INNER_COORDINATES,
         MULTIPLY = ResizeMethods.MULTIPLYING_CURRENT_DIMENSIONS_BY,
         ADDTO = ResizeMethods.ADDING_CURRENT_DIMENSIONS_TO,
         AP_LEFT = AnchorPoint.TOP_LEFT_ANCHOR,
         AP_RIGHT = AnchorPoint.TOP_RIGHT_ANCHOR;
    
    function fitHorizontal(/*TextFrame*/ tf, /*str*/xRef)
    //----------------------------------------------------------
    // Fits a textframe width to its content
    // = adjusts the frame width to the optimal value without changing the height
    // xRef (opt.) is the reference pt: 'left'(default) | 'right' | 'center'
    // * You may invoke first tf.fit(FitOptions.FRAME_TO_CONTENT), i.e. fitVertical
    // * This routine supports rotated text frame
    // * Also, unlike the InDesign UI, this supports *multicolumn* TF
    //----------------------------------------------------------
    {
         // Default width multiplier. This value is only used if
         // tf overflows in its initial state. 1.5 is fine, usually.
         var X_FACTOR = 1.5;
    
         var ovf = tf.overflows,
              dx;
    
         xRef = AnchorPoint['TOP_'+(xRef||'left').toUpperCase()+'_ANCHOR'];
    
         // If tf originally overflows, we need to increase the width
         while( tf.overflows ) tf.resize(INNER,xRef,MULTIPLY,[X_FACTOR,1]);
    
         // Now, let's compute the maximal width variation (dx)
         dx = tf.resolve(AP_RIGHT, INNER)[0][0]-tf.resolve(AP_LEFT, INNER)[0][0];
         if( ovf ) dx *= (1-1/X_FACTOR);
    
         // Dichotomy on dx
         while( dx > X_PRECISION )
              {
              dx*=.5;
              tf.resize(INNER,xRef,ADDTO,[dx*(tf.overflows?1:-1),0]);
              }
    
         // Last step, if needed
         if( tf.overflows ) tf.resize(INNER,xRef,ADDTO,[dx,0]);
    }
    
    //----------------------------------------------------------
    // Sample code
    //----------------------------------------------------------
    
    // Assuming the user has selected a text frame
    var tf = app.selection[0];
    
    // Vertical fit (if you want it first --but not needed)
    tf.fit(FitOptions.FRAME_TO_CONTENT);
    
    // Horizontal fit (from the left edge)
    fitHorizontal(tf, 'left');
    

    @+

    Marc

  • Script to collect the "Master page-text-content of the framework" details

    Hello

    The collection "Masterpage - TextFrame - content" Indesign file details.

    If the spread of the master page text frame, I need to retrieve this text frame content in separate folder. If it possible by Indesign script?

    Thank you

    hasvi

    Hi Hasvi,

    I hope this helps you!

    var doc = app.activeDocument;

    var master = doc.masterSpreads;

    var content = "";

    for (var i = 0; i)<>

    {

    for (var j = 0; j)<>

    {

    If (master [i] .parentPage .textFrames [j]! = null) {}

    content += [i] master .silence .textFrames [j] + "\t" + master [i] .name + "\r";

    }

    }

    }

    var file = new File ("c:/1. txt");

    leader. Open ("w");

    leader. Write (happy);

    leader. Close();

    Kind regards

    Cognet

  • How can I better place HTML content in my folio?

    Hello

    We are transforming a manual of an interactive application. So, essentially, we have information, followed by questions about this information. Our questions will focus on the html, so that students can answer these questions on their iPads and then send them to their teachers or print them.

    However, we are fighting integrate these html files, and I would therefore like to know the best way to incorporate a folio.

    As I understand it, there are 3 options:

    (1) use a file HTMLResources.zip buttons and link to the relevant html file in this zip file.

    (2) import items html within my folio (mixing and matching with the items created using the DPS);

    (3) put the HTML in Web frames content placed in my articles...

    Which of them would be the best way to go about this? Or y at - it another option alltogether?

    Thanks in advance for your help - enjoy it.

    Kathrin

    It depends on what you wish to achieve. Content overlay Web will allow dynamic loading of live Web Pages by using a URL. Use this setting when you need a dynamic page loading for example: dynamic loading ads etc.

    If you do not need a dynamic load, you can import HMTL articles http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60530cf39c12f5fcd6d46-80 00.primeras html

    You can use all or at least 2 methods according to your requirements of Folio.

  • BACK Flash Firmware required for SD - R 6112

    Users of Hy

    urgent need above the flash firmware in DoS (BOOTupdate) not the WINFLASH for SD - R 6112 firmware exe 1332 serial #3ZGL108111 vers.300
    someone an idea where I get it?

    With the help of happy
    and thanks for your time
    Martin

    Hello

    All I found was this site:
    http://www.Toshiba-Europe.com/storage/PDL.asp?page=PDL&NAV=RSC_PDL&frame=content

    and on this site, you can download the firmware but I m not sure if it s what you searched for.
    http://www.Toshiba-Europe.com/storage/PDL.asp?page=PFW&NAV=RSC%5FARC&model=SDR6112&model type = DVDRECSL

  • Show all - tabs container

    The Blue sensitive theme had a beautiful model (container of Frame content) starring a "show all" button.  The model of the region had the following characteristics; a user could access any area child and expand the region with a single click.  In addition, the button display all would be extending and all of the child appear regions.  Here is an example of this:

    https://Apex.Oracle.com/pls/Apex/f?p=60629:1

    Using the universal theme of 5 APEX offers the same functionality.  Model, containing tabs, provides buttons to jump to areas of the child but do not provide a "show all" button or it will be expand and collapse areas when they are activated by the buttons tabs container.  Here is an example of this:

    https://Apex.Oracle.com/pls/Apex/f?p=89933:1

    My question, is possible to set up the universal theme with a view all button that duplicates the functions of the Frame content model containing the blue sensitive theme?

    The f

    Hi Jeff,

    Please, use a region:

    Type: View region selector

    Model: Container tabs

    Then go to the attributes, and you can see an option 'include all display '.

    Kind regards

    Pavel

  • How to get textFrame contained in the file ".txt"?

    Hi all

    I want to write my text frame content in a ".txt" file Right now, I have my content of PMString text frame.

    And I use regular C++ file manipulation.

    To write to the file, I used it-> "std::string string_name = PMString_name. GetPlatformString(); "

    But it returns me a single line string and writes it to the file...

    for example.

    If PMString is->

    "ABCD".

    EFGHIJK

    LMN.

    then give me platformstring->

    "ABCDEFGHIJKLMN".

    But I need an exact replica of the content of my text frame in my file ".txt", with all line breaks and empty spaces.

    Can anyone please suggest me something?

    PMString::GetPlatformString() works very well.

    See your text by MS Word or Wordpad.

  • Select all objects with the same style of object?

    I did some research but empty is come. It is possible to select all the objects on a page that have the same style of applied object?

    What I want to do, is apply an action 'frame content' to a large group of text boxes (labels on a map). But this mounting option doesn't seem to be available as part of the style of the object.

    Any suggestions?

    Thank you.

    Try using the option Auto-size text block rather in the style of the object. This feature (found in the object > text frame Options) is useful to the legends of autosize following certain rules.

    This attribute can be used in object styles.

  • Inner shadow images scroll

    I make images of scrolling upright like a window and apply an inner shadow on the window. Presented in preview on the desk, sometimes the shadow is there and sometimes not. What I am doing wrong?

    It won't go away, but there are some constraints in this method:

    1. the bottom of the frame scrolling (frame content) must be set to none.

    2. the settings of the fx object tansparency frame with internal shadow container must be set to multiply.

    [Edit] It works even without changing the blending mode to multiply. Simply use transparent background in your content frame.

    If your design allows this, you're ok. If not, a more complex approach could work, but first try this.

  • turn off Auto Orientation only in a specific framework.

    Hello!

    I appreciate if you please guide me with your experience in the design of Mobile application.

    My app contains 5 images data (clips), each image has 2 models:

    1 - design of stand (portrait) mode

    2 - design of wide (landscape) mode

    So far, it works very well and I published my App on Play from Google and Apple Store.

    Management structure is the following:

    image 1 external data load

    images 2-6 , each picture contains 1 designed MovieClip based mobile mode 'Stand '.

    22-26 that each frame contains 1 frameworks designed MovieClip based on mobile "wide mode".

    (Example: 2 and 22 frame content is the same, also 3 and 23... 6 and 26)
    (frame 2 is design STAND, 22 is a WIDE design, etc.)

    In "Air setting Dialoge, I chose to aspect ratio "Auto"and"auto orientation".

    And I have this code in frame 1 to make the tour of rotation:

    stage.addEventListener (Event.RESIZE, resizeLayout);

    function resizeLayout(e:Event):void

    {

    setPosition();

    }

    function setPosition (): void

    {

    Phone puts 'Wide' to 'Stand '.

    If (stage.stageWidth, stage.stageHeight)

    {

    The application is now in "Wide" mode - average between 22 to 26 weft

    If (currentFrame > 20)

    {

    go to the same position of the App, but in mode 'Stand '.

    Stop (currentFrame - 20);

    }

    }

    on the other

    {

    Phone from the "Stand" to the "Wide".

    If (currentFrame < 20)

    {

    Go to the same position of the App, but in "Wide" mode

    gotoAndStop (currentFrame + 20);

    }

    }

    }

    Well, and finally my question:

    1- is this way I programmed my app to turn, a good approach?

    (that way I can easily organize objects on the screen and position them also based on mathematical calculations)

    2- if I want to disable the automatic rotation only when app reaches specific images, what should I do?

    (for example, I want the app automatically orients itself in picture 6 and 26., but it runs in other settings)

    I hope that wasn't confusing and I look forward to checking your valuable advice!

    All the best and thank you very much for your time.

    Hi all here!

    I have no answer to my question No. 1, BUT I could find my answer to question 2 and here it is for your review:

    Thanks to Daniel Dura

    http://www.Adobe.com/devnet/flash/articles/screen_orientation_apis.html

    I just added this code to my first image:

    stage.addEventListener (StageOrientationEvent.ORIENTATION_CHANGING, onOrientationChanging);

    function onOrientationChanging(event:StageOrientationEvent):void

    {

    If (currentFrame == 6: currentFrame == 26)

    {

    Event.preventDefault ();

    }

    }

  • "Place and link" and buttons?

    Hello

    In my effort to simplify my DPS workflow, Ive worked with much linked content and Ive noticed something curious.

    I create an indd file with content that has buttons in it. I connect then to ensure that the content of a folio specifically in a setting indd file floating. My reason for being, when the inevitable changes in the content here, I have no unpacking the frame floating, but rather can make the changes to the linked file and update the content linked in the folio file.

    All content is displayed correctly, but the buttons do not work. I could understand it if they were targeting a State of the object, but they are not connected to a MSO, they just navto: / / to other articles (that is, navto://Contents.)

    IM I doing something wrong or is it just how it is. No work around?

    Thank you

    DW

    I can get the "Place and link" workflow * at work, including the navto: / / buttons, but I really don't like this method. I'd rather select and cut the content frame, pasting it into the editing table, editing and then cut and paste in the container, which stores its settings. You'll want to check your button actions to ensure that they are kept.

    Another approach - which is especially useful for shares of MSO buttons that are lost when pasted - is to add the frame content in a group with two dummy buttons. When you want to change the frame of content, use the layers panel to frame dragging content out of the group, make your changes, then drag it into the group. (You need two dummy in the group pictures because a group needs at least two objects to remain a group).

    It is a good topic for a blog post. I'll write and post a link when I get the chance.

    * I have increased the size of the vertical timeline, the content time given in the editing table, set it to auto size, chose to change > Place Link, glued, cut and pasted and then as part of the container. When I change the source image in the editing table, update the target framework works, but I must reject one or two substitute messages. Maybe someone else has found a better method.

  • The scaling and positioning of the images in the framework

    In JavaScript, I try to place an image within a framework which already exists and then put the image to a specific size and move it to a specific location in the framework.

    I'm the placement using the:

    pageItem.place (File (imagePath + name));

    I tried to find the code, but all I can find are standard fit content to frame, content, etc. Center.

    I tried...

    pageItem.verticalScale = 90;

    .. .and it resizes the frame, not the frame content.

    How can I request this content?

    I need to put in place a transformation matrix?

    Could someone share the lines of code for this?

    Thank you!

    your "pageItem" is the framework. [Once you placed something in this framework, you can see in "pageItem.graphics [0 ']. Then "pageItem.verticalScale = 90" should be "pageItem.graphics [0] .verticalScale = 90".»

  • Table goes out of alignment in the text box

    I created a very simple table in InDesign CS5 on Windows 7, like this:

    1.png

    However, when you start typing in a cell, it goes like this:

    2.png

    To fix, you make the text bigger or smaller box and then resize it to what it is supposed to be. Also when I do a first page datamerge moves like that too, even if the rest is correct. When you export to PDF it comes out wrong as well. If anyone wants an example file that I can post it here.

    Anyone have any ideas what's causing the alignment change when text is entered into the table?

    Well, I think I see here the rub - if you left me speechless for a while there!

    So, I see that you have the text box that contains your table to help you align your table in the center of your page. (i.e. the box containing the text is organized around the outside of the page and the table is centered lef/right using point centering and up/down by using the command "Center" in the control bar. There is nothing particularly wrong with this method, I think it may be the source of your problems with alignment change unexpectedly.

    Looking at your file, I found that the removal of "Center" and change to the opposite to "align top" took the nervous behavior of the text box. It is more shifted when I tried to type. He however move the entire table to the top of the screen. For now we'll leave it there. Align the Page: Centre from left to right, Center t to b.

    Your final result should be an element that is always perfectly centered on the page, but which can be of type in without any unpredictable jump around!

    Now, we will select the entire area that contains the table. In the paragraph Panel, click "Left aligned". This will move the table to the top left of your document. Now, frame content. Go in the Align Panel.

  • V20 problem scrolling images

    Hello world!

    I have InDesign CS5.5 and I'm having a problem with the new functions of scrollable frames.

    I tried to recreate a framework like the one shown here floating tv.adobe.com/watch/learn-digital-publishing-suite/scrollable-frames-and-pan-zoom-v19/ at 03:43.

    My problem is:

    Hide indicators Scroll does not work

    Use the Document Position does not work too.

    I installed the latest tools producer (FolioProducerTools-CS55 - 1.10.1 and FolioPanel-CS55 - 12.2.2.1).

    I am running Windows (that's the problem here?:-P))

    I have de - and reinstalled the tools of the producer.

    I also tried on my computer windows laptop. Same result.

    Do I need to install anything else to make it work?

    Maybe someone can help me here.

    Best,

    Wolfgang

    Post edited by: Onefootvisual19 I uninstalled the Folio Tools 1.10.1 v producer and installed s 1.8 v (where the scrolling function framework was not available yet) installed v 1.9 (the service sought as described above did not work) and finally reinstalled v.1.10.1. It still does not...  I'm the only one who experienced these problems?

    Post edited by: Onefootvisual19

    Here are three screenshots to illustrate my problem.

    (1.) I have the red box is the container for the grouped elements that enable scrolling (on the left side is the entire element so you can see). Hide indicators scroll option is checked and also use the document position.

    screen1.jpg

    2. when I start the scrolling frame content viewer puts content on the upper left corner...

    screen2.jpg

    3 and scroll indicators are visible

    screen3.jpg

    What is the problem here?

    Can someone help me?

    Best,

    Wolfgang

    Post edited by: Onefootvisual19

    Here's another weird thing:

    I looked upward http://www.caniupdateadobedps.com/ and they say that you will find the version number of dps in the Info window of the folio builder Panel. it should be 20

    but mine says 15? However, I have installed v20 now for the fifth time.

    version_screen.jpg

    the extensions manager says I v20 however.

    version_screen_extension.jpg

    Is - what the cause of my duties of dps does not as they should?

    I would really appreciate some help here.

    Dear Neil,

    Thanks for pointing the right direction.

    Here's the deal:

    After I deleted all the pieces you described and reinstalled the tools that this still does not work, but I noticed in the extensions manager that the plug-in was still active and in the location where I installed InDesign CS5.5. I still once uninstalled the tools and also to delete the "(ressources DigitalPublishing) folder" and the plugin 'DigitalPublishing.apln' (which is the year 2011). "

    I reinstalled the tools and then start InDesign CS5.5 Panel window told me, I'm missing a plug-in and I should download the latest tools producer.

    Here's the trick: I copied the newly created (after reinstall new tools) "(DigitalPublishing ressources)" and the "DigitalPublishing.apln" C:\Program Files (x 86) \Adobe\Adobe InDesign CS5.5\Plug-Ins\Graphics to the location where I installed InDesign CS5.5 and it works! "

    Neil, thank you very much for your time!

    You saved my day!

    Best,

    Wolfgang

  • Quick way to return objects to their original size after their sizing?

    I use InDesign 5.5. After I place an image in my document and its size down, I wish I could at a later stage to its size to the size of the original. Y at - it a shortcut or a button that will do it? I can't find anywhere that will allow me to do. I don't want to keep by deleting the image and place it again.

    Thank you

    Use the direct Selection tool to select the image, then set the scale in the areas of the scale to 100% and finally, mount frame content.

Maybe you are looking for