IndDesign CS2 Anchored objects issue

I am working on a 400 pg yearbook-like doc. I've got pictures with captions(grouped with paragraph and object styles)that need to stay with the text where I insert them. As I work though the pages inserting objects, they appear to adjust prior page layouts. The pages are set up with two columns of text and the text is set up to flow through all the pages of the document. Some of the grouped anchored objects span the entire width of the text box/column. There are also grouped anchored objects that only take up half the column width that don't seem to have the same affect on other pages as the ones that take up the entire column width. The grouped objects that do take up the whole column all go into their text listings at the same spot-at the end of a listing. Does anyone know what I am doing wrong or why these objects would affect prior pages and how I can stop them from doing that?

Not sure what you mean by affect. If it's just a couple of lines turning differently on the previous page I would put it down to the Adobe Paragraph composer. Try changing the affected paragraph to Single Line Composer in the Justification dialog and see if that stops it?

Similar Messages

  • How to create Anchored Object (CS2)

    Hi,
    Indesign CS2(PC version)
    Javascript
    Any one help me, How to create Anchored object within TextFrame and inside anchor object i want to paste one image.
    by
    Sudar

    Hi Hemi,
    Sure--tell the insertion point to create the object. For example, to add a text frame:
    //Given a reference to an insertion point "myInsertionPoint"...
    var myFrame = myInsertionPoint.textFrames.add();
    Now you have a text frame anchored/inline in the story. Next, recompose the story containing the frame:
    myInsertionPoint.parentStory.recompose();
    ...and resize the frame.
    //Given a frame width and height "myFrameWidth" and "myFrameHeight"...
    var myX1 = myFrame.geometricBounds[1];
    var myY1 = myFrame.geometricBounds[0];
    var myX2 = myX1 + myFrameWidth;
    var myY2 = myY1 + myFrameHeight;
    myFrame.geometricBounds = [myY1, myX1, myY2, myX2];
    At this point, you can adjust the frame's anchored object settings (your settings will probably vary, but this should give you the idea).
    var myAnchoredProperties = myFrame.anchoredObjectSettings;
    myAnchoredProperties.anchorPoint = AnchorPoint.topLeftAnchor;
    myAnchoredProperties.anchoredPosition = AnchorPosition.anchored;
    //NOTE inconsistent "o" in "offset".
    myAnchoredProperties.anchorXoffset = 0;
    myAnchoredProperties.anchorYoffset = -13;
    Hope this helps!
    Thanks,
    Ole

  • Un Anchoring objects in Indesign CS2 Using Apple script

    Hi all,
    I need to Un achor the object. I have the script which will un anchor the Text Frames but in case of
    Rectangle i'm not able to unachor. My script will find out the Anchrored Text Frames and place its
    contents to its position and then delete the frames. I can find out the Anchored Rectangles but i
    cannot get its contents. Can anyone help me out to do this?
    Thanks,
    Jacintha

    Hi,
    I can select the page item ,If i ask for page items and its parent. but not getting its contents.
    -- aframe is text frames in document
    set Conts to paragraphs of page item i of aframe
    set contents of first insertion point of parent of page item i to Conts
    I need to get the contents of anchoring objects and place it in its position and then delete the anchoring object. Tried working on above code but not able to get its contents. Any solution?

  • How to move the anchor object in indesign cs2 using js?

    i can able to move the normal textframe and other objects but cant do this for anchor objects.
    syntex:  anchorobject.move([x value,y value],undefined,true)
    how to move the anchor objects?
    thanks
    subha

    Could it be that the anchord object in question won't move because you have it set to keep within margins which is preventing the move you're requesting? I've certainly run into that.
    I've also run into the situation where the object model thinks the anchored object is in one place when it is actually in another because of that same keep within margins option. In this case, a move will apparently not work because the move is invisible, it being completely outside of the margins -- although that only applies to relative moves, I think.
    Dave

  • New technique to place multiple anchored objects in InDesign story

    Hello,
    For a while I have been trying to figure out how to insert multiple anchored objects into an Indesign story. As far as I can tell, you cannot copy multiple objects that have already been placed in a document (such as a multi-page pdf) into an InDesign story, but must copy and paste them one-by-one into the story. This is a problem for a project I am working on where I want to have a large number of 340x52 pt pdfs to flow throughout a document in a master text frame interspersed with text.
    I have now found a solution for this issue that I thought I would share in case it would be helpful for anyone. It utilizes Automator actions for Mac OS X and Microsoft Word 2011 [2008 may work also, but I don't have a copy of that to test]; I am not good with scripting but perhaps similar solutions could be found for other systems and programs.
    1. If you want to place a multipage pdf within a text frame, first it into individual files for each page (with Acrobat Pro or pdftk or something similiar).
    2. Create an Automator service or program with the action "Create New Word Document". You can also use another automator action to save the document, or save it manually (to change the filename). In the finder, select the items you want, then run the service or drag them into the Automator program you have created.
    3. Place the word document into your InDesign story. Your items will now be anchored objects ordered in your text frame as they were in the finder.
    Please let me know if this is helpful or if anyone has suggestions for doing this process is a more efficient way. I am not sure, but it may be the case that this approach would only work on Macs, as I gather from this thread.

    I might note that I am using InDesign CS 5, and importing from a document stored in docx format.

  • Efficient, repetitive insertion of anchored objects

    I'm using InDesign 5.5 on a Mac running OS 10.8.5 if that has anything to do with this issue. My proficiency with Id is relatively low, but I've learned how to format books and have published three of my own, am trying to finish up a fourth, and have done another for a writer friend. Here's the problem I cannot seem to solve:
    At the start of every chapter I have the heading defined in a style, then a chapter graphic style, then the first paragraph of the main body in another style. I have some notes from the last time I did this a couple of years ago, and they indicate that I found a work flow that allowed me to:
    1. With a chapter graphic positioned exactly where I want, copy it. What I expected to happen this time based on my previous experience was for this to copy not only the graphic, but the anchored position information as well.
    2. Place the insertion point to the right of the next chapter heading and hit return.
    3. With the chapter graphic set as the next style, the insertion point is now sitting where I want the graphic.
    4. Paste the graphic and it's positioned where I want it.
    5. Repeat this for each chapter without too much trouble.
    But this time, two things happen that I'd like to avoid: 1) The graphic inserts with the right edge of the bounding box lined up with the centered insertion point, and 2) the text in the first paragraph is shoved down the page. I think what's happening is that the chapter graphic style is displaced so it's like I hit a return with that style active and I get two of them rather than the one I want.
    I've been able to anchor the graphics by clicking on them with the Selection tool, then option clicking on the anchor to bring up the anchored object window, which never shows above or below line. I select that, have to change from left to center, then adjust the below spacing to get the distance I want between the bottom of the graphic and the first line of text, then change the extra chapter graphic style below the graphic to the main body style, and reposition the first paragraph where it needs to start.
    Needless to say, this is going to get very old doing all that for 34 chapters, then repeat the process for a smaller graphic I'm using at every scene break, and there's a lot more of those.
    I hope I've described this so that it makes sense, and I'd appreciate knowing how to solve it. Thank in advance,
    Tosh
    P.S. Hello Peter!

    Thank you for the reply. I've taken 5 screenshots to illustrate what's happening:
    #1 is shows the text insertion point in the chapter graphic style between the chapter heading and the first paragraph:
    #2 is the result of pasting in the graphic: What I've been able to do before (at least that's what my notes day) is to have the graphic centered on the insertion point. But you can see how the insertion point has shifted to the left, and the right edge of the graphic is lined up with it.
    #3 shows application of the object style. This is a step I hadn't been doing before, and it definitely saves time not having to use the options window to set above line/center/and above values.
    #4 illustrates the extra spacing between the graphic and the first paragraph because the insertion point is in the chapter graphic style, not the style for the first paragraph. Especially confusing is that the chapter graphic style is centered, and the insertion point is justified left
    #5 shows the application of the first paragraph style to the location of the insertion point.
    This is the result I'm looking for, and as mentioned earlier, I remember having a workflow that allowed me to paste the graphic into the centered paragraph style and that's where it stayed.
    I can do this longer workflow and get what I want, but it's labor intensive and there has to be a better way.
    Tosh

  • TextWrap and Anchored Objects

    Okay, I've been using InDesign since it was PageMaker 4.3 so I'm pretty familiar with the features and the intents behind them. Lately I've had a problem for which I can't seem to find a fully acceptable work-around. It involves text-wrapping anchored objects within a large, multi page flow of text.
    Boiled down to a basic description of the issue, I need a graphic to appear on a page within a text block at a certain point, that is, at the top of a justified paragraph on the extreme right side of the column. The object occupies 7 lines of text, dropping down into the paragraph from line 1. The object needs to have a word wrap applied causing the text within the block to flow around it.
    The problem is that as the document evolves, the quantity of text that precedes the paragraph holding the graphic changes. As text is added to preceding paragraphs, text advances through the text blocks to a point where the graphic now begins to be displayed beyond the bottom of the text block rather than jump to the next text block. Forcing the object to stay within the text block (by using the "Keep with top/bottom column boundaries") pushes the object up, effectively leaving the original location and invading the preceding paragraph.
    The first solution I tried was to anchor the object 7 lines deep in the paragraph, then manually move it up to the first line using the "Y-offset" in the "Anchored Objects Options" palette. When I do this, the object's text wrap fails (!), always working only at line 7 and below and not moving up with the object.
    My current solution is to not embed the object inline at all, but place it over the text block. This works but is unsatisfactory since the text is constantly changing, forcing me to stop and reposition the graphic - plus the 500 or so similar objects that follow in similar situations further along in the document.
    Any ideas?

    Unfortunately, no. If the anchor is inserted at the top of the paragraph (where I want the top of the image to be), the image won't flow to the next text block when any other part of the image (i.e., any part of the image that is not on the first line where the anchor is) is beyond the end of its text block.
    Here is how I want the page to look:
    Here, the graphic is not placed inline but sits over the text with textwrap set.
    But rather than have all my objects placed over text, I want them inline. If I place the anchor anywhere below the first line of text, (again, the line where I want the top of the image to be), text wrap won't function above the anchor point regardless of how high I move the image:
    If I place the graphic in its own paragraph above the first line of the paragraph, the result works well as long as the text preceding the anchor doesn't flow any further (i.e., no additional text is added). But as text is added and once the line holding the bottom of the photo flows to a new text block, one of two problems arises. If "Keep Within Top/Bottom Column Boundaries" is checked the graphic moves up:
    If "Keep Within Top/Bottom Column Boundaries" is unchecked, the graphic begins to bleed out of the text box:
    I can't believe there isn't a simple (or even complex) solution to this problem...

  • Anchored Objects with text wrap, need vertical space

    Hi.  I'm a fairly new InDesign user and have just this past week learned about anchored objects, threading text frames, numbered lists, and some other fun options. So far InDesign has done most everything I need fairly elegantly. However, I have not been able solve one issue.
    In my book I have numerous pages that have this issue; I'll just describe one case. On this page there are 4 graphics running down the right side of the page. These are not anchored graphics. They do have text wrap defined on the left side and bottom. There is text that wraps lovely on the left.
    Each of these four graphics has a specific paragraph it needs to top align with. However, the text it aligns with may not take up as much vertical space as the graphic does. When I anchor each graphic with the paragraph it needs to align with, the four graphics overlap each other.
    At the moment, to make it look right, I have placed each graphic individually and added a blank paragraph above each paragraph of text that should align with a graphic and use the Space Above of each blank paragraph to have it align with the graphic.
    I'm not even sure what to search to try and solve this. I looked briefly into compound paths, but that didn't look like it would help.
    I hope this is clear and thank you for any assistance at all.
    Andrea

    No problem. Click your cursor somewhere in the paragraph that ought to be aligned with the next image down, then run this Javascript.
    It's not entirely accurate, as it uses the font size to do a minimal adjustment where it actually should use the font's cap height -- but you cannot get to that through scripting. This final adjustment is necessary because ID does know the baseline, and your first line ought to dip just below this to have the top of the first line aligned to the top of the image.
    //DESCRIPTION:Align paragraph with image.
    // Jongware, 15-Jul-2010
    if (app.selection.length == 1 && app.selection[0].hasOwnProperty ("baseline") && app.selection[0].paragraphs[0].index > 0)
         // find nearest image on the right
         ypos = app.selection[0].paragraphs[0].lines[0].baseline;
         pg = app.selection[0].parentTextFrames[0];
         while (1)
              if (pg instanceof Character)
                   pg = pg.parentTextFrames[0];
              if (pg instanceof Spread || pg instanceof Page)
                   break;
              if (pg instanceof Document || pg instanceof Application)
                   exit(0);
              pg = pg.parent;
         img = pg.allGraphics;
         dist = 999999;
         nearest = null;
         for (i=0; i<img.length; i++)
              if (img[i].geometricBounds[0] > ypos && Math.abs(img[i].geometricBounds[0] - ypos) < dist)
                   dist = Math.abs(img[i].geometricBounds[0] - ypos);
                   nearest = img[i];
         if (nearest == null)
              alert ("no image found nearby!");
         else
              prevm = app.activeDocument.viewPreferences.verticalMeasurementUnits;
              app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.POINTS;
              top = nearest.geometricBounds[0];
              ypos = app.selection[0].paragraphs[0].lines[0].baseline;
              if (ypos < top)
                   app.selection[0].paragraphs[0].spaceBefore = top-app.selection[0].pointSize-app.selection[0].parentStory.paragraphs.previousItem(app.selection[0].paragraphs[0]).lines[-1].baseline;
              app.activeDocument.viewPreferences.verticalMeasurementUnits = prevm;
    This image shows three paragraphs aligned with their respective images (it won't work on the first paragraph, but that ought not to be necessary anyhoo).

  • Anchored Objects Default Settings

    Hello,
    I'm having a problem with the default settings for anchored objects in InDesign CS5. I changed the default settings (to custom) while nothing was selected, but every time I try to anchor an object it autimatically reverts back to the original default settings (inline). I even closed all of my open documents and changed the default settings again (to custom). However, InDesign still places anchored objects as inline graphics and it's starting to cost me a lot of time, not to mention hair. Is this a bug or am I doing something wrong.
    Any insights on this issue would be greatly appreciated.
    Thank you,
    Jennifer

    Jennifer :•) wrote:
    That didn't change the defaults either. More importantly, how did you know that I'm working with gun photos?
    If you set the defaults in the Place Gun Frame (note that the object style name is case sensitive and must be spelled correctly), they should be applied to all images you place. You won't see anchored object options until the object is anchored, though, either by cut/paste or putting your cursor inthe text flow before placing.
    Do you mean photos of guns? If so, I had no idea. "Place Gun" is the official name for waht we normally refer to as the "loaded cursor" that you see whn you are placing an object.

  • Anchored objects are transparent

    Thanks in advance for the help. I am using CS5.
    I have a document were multiple anchored objects ended up overlapping each other. My problem is that the anchored objects have a transparency set to them that I cannot remove. Things to note:
    The transparency goes away if I release the anchored object.
    I have an object style assigned to the anchored frames, but there are style overrides that I cannot clear on the anchored objects.
    Changes I make to the object style assigned to the anchored objects have no effect. Only the "anchored objects options" attributes box will modify the anchored objects.
    Any help with this issue would be great. Thanks!

    You Sir, are an absolute genious! It makes absolute and perfect sence, but I guess that's what they mean by "Hindsight is 20/20."
    Thanks again!

  • Anchored Objects Disappear When Page Moved

    I'm working in InDesign CS2 in XP environment. I duplicated a page that contains anchored objects. It was page one; the duplicate page is now page 5. I modified the duplicate page 5. Now I want the altered page 5 moved into page 1 position.
    When I move the pages either by dragging or by right clicking on the page icon and using the Move Page command, all anchored objects on the page disappear. I also cannot release the anchored objects because the release command is disabled when I select an object with the selection tool.
    Any suggestions?

    I got your file, and after looking at it, it's probably better not to post it publicly. For the lurkers, it's a draft government document, not yet ready for release.
    Anyway, I took a look at the file, first in CS2 where it was created, and then in CS3 to see if it would behave differently.
    First, the anchored objects aren't really gone, just temporarily invisible. if you select the objects and move the page, you can still see the selection outline. It's some sort of screen display bug/glitch, I think, in CS2. Exporting to .inx didn't fix it, so I think it's not corruption, and it doesn't happen at all in CS3.
    The bad news is I have no way to explain what the problem is, or how to prevent it from happening. The good news is I found a way to make them reappear! Select the text frame with the selection tool, and change its stacking order. I tried Ctrl + Shift + [ to send to the back, and Ctrl + ] to bring forward, and both seemed to work, though it may make a difference where in the order they start out. If one attempt doesn't work, try again, or send all the way back or forward.
    For what it's worth, this is only a display problem. Even when the anchored objects are not visible on the screen they show in both printed and exported PDF.
    Peter

  • TOC and anchored objects

    Hi!
    I'm experiencing some problems generating the TOC.
    I design the chapter titles to stay into an anchored object before the first paragraph title but generating the TOC the chapter title is putted after the first paragraph title!
    There's a way to make indd to read the title into the anchored object first?
    Thank you!

    Thanks to everyone for the help and sorry if I can answer just now.
    I'm probably doing something wrong in anchoring the object, I don't use this method often. I need to put the chapter title in a frame that everything is within a fluid text, so that if I remove or add some text the title box moves accordingly.
    The method I used to anchor the text frame with the title chapter is to hold down the shift key and drag (I'm using windows7) on the black square. And it works great, if not for this issue of the TOC!
    I accept any kind of suggestion!
    @ Uwe: using this method to anchor I can't move the frame to right or left... So nothing change...

  • Table of Content Help - Anchored Objects/Listing Order

    For the love of god this is extremely frustrating.   I have been searching for literally hours trying to find the solution.
    I have a large document, linked frames from page 1 through page 44 for example.
    On many pages I have figures, and using an incrementing paragraph style, these figure captions are numbered sequentially.
    When generating a table of contents, any figures that are in the main linked frames are created in the proper order.
    My issue is that on a few pages, I have figures inside anchored objects - basically an anchored text frame with a picture and the figure label text using my paragraph style.
    These anchored objects are not being put in the table of contents in the proper order - they are being added to the end of the toc!  Indesign should be smart enough to add items on the page in the proper order - be it the main frame or an anchored one!
    For example
    Figure 1 - page 1
    Figure 2 - page 1
    Figure 3 - page 2
    Figure 5 - Page 3
    Figure 4 - Page 2 <<< huh?
    Any assistance would be GREATLY appreciated.

    After looking at this a bit more, this may or may not work so we might need to get dirty on this one .....................
    Some clues can be found here : http://www.oracle.com/technetwork/middleware/bi-publisher/bip-bookbinding-176639.pdf
    Looking at Page 7, it should be obvious that we can add additional deatils to the reports, including cover pages.
    Though, after looking at Page 8, I think I may have you slightly in the wrong direction. toc-template appears to simply cover the commands for the table of contents and there is another template to control everything. But is that file visible to edit?
    If you run FRConfig.cmd, you can find more clues.
    Go to the MBeans tab, expand com.hyperion, then expand Financial Reporting, and Attributes.
    The two attributes that immeidately jump out are TextPrintTemplate and BookTOCPrintTemplate
    - TextPrintTemplate is the FR_TextTemplate.doc file in <<EPM_ORACLE_INSTANCE>>/products/FinancialReporting/bin/ folder
    - BookTOCPrintTemplate is the toc-template.rtf file previously discussed.
    Once again, though, the other template exposed to us is most likely just driving the content and is not at a high enough definition level for this to work how you want it to.
    I would say to use the example in the PDF and try adding that to the table of contents page before it does all of the loops. Perhaps it will work from there, perhaps not.
    If that doesn't work, Thursday we can attempt to drill into this more.
    :)

  • IDML: page number of anchored object

    In an idml file exported from ID an anchored object lives in a Story container and a Story has a relationship with a TextFrame.
    Because a TextFrame can appear in any number of Spreads, it seems to be impossible to tell the page number where an anchored object appears without opening the idml file in the ID GUI and looking at the Link palette.
    Is there any solution to this behaviour?
    In other words, is there any way to programmatically tell the page number of an anchored object introspecting an idml file?
    Thanks in avdance.
    __peppo

    An update.
    I resolved the issue by introspecting an indd file (not an idml export) from JavaScript and now I am a little bit curious on why this difference between the two object models.
    Can someone explaint to me the rationale of having in idml an anchored object as a child of a Story instead of a Page?
    regards,
    __peppo

  • Get textFrame by label returns null and anchored objects

    I have the following two functions:
    function getByLabel(page, label)
        for(var i=0; i < page.allPageItems.length; i++)
            if( page.allPageItems[i].label == label )
                return page.allPageItems[i];
    and
    Object.prototype.findItems = function(/*obj*/props)
        if( !('everyItem' in this) )
            throw new Error("Error: " + this + " is not a collection.");
        var ret = this.everyItem().getElements(),
            i = ret.length,
            e, p;
        while( i-- && e=ret[i] )
            for( p in props )
                if( (p in e) && e[p]===props[p] ) continue;
                ret.splice(i,1);
        return ret;
    In my page structure, I got one main text frame (the content area) and two vertical text fromes on the sides of the page. There is also a small box textframe on top of the page. All these textboxes EXCEPT the main text frame are ALL "ANCHORED objects". I had to make them anchored objects, eitherwise after importing data, the boxes would jump around. (Example, the small box textframe that is on the top would get moved to the content area textframe etc). Not sure if using anchored objects is the proper way to fix this.
    When I try to get the small box text frame, it does not work using the findItems (returns null) but it works fine with the getByLabel method. Why is that?
    The calling syntax is:
    for( i=0 ; i < doc.pages.length ; ++i )
            var page = doc.pages.item(i);
            var textFrame = getByLabel(page, 'lblSection' ); //This works
            //   var textFrame = page.textFrames.findItems({ label:  'lblSection' })[0]; This does not work, returns null
            if( textFrame != null )
                textFrame.parentStory.contents = "";

    (function () {
        // Per the InDesign Scripting Guide, app.activeScript is only
        // valid when a script is directly executed from InDesign, not
        // from the ESTK, so a try/catch block is recommended to handle
        // it.
        var d;
        try {
            d = app.activeScript.parent.parent.fsName;
        } catch (e) {
            d = Folder.appPackage.parent.fsName+"/Scripts";
            return d;

Maybe you are looking for

  • Disk Utility can't repair disk...Can I still create a new image to back up?

    Two days ago my computer died and I haven't been able to get past the Apple screen since. I've tried starting in Safe mode, etc. that did not work. I just started up using my installation disk and got into Disk Utility. It says it cannot repair the d

  • Unable to create project in JDeveloper3.2

    Platform : Windows XP, Oracle8i : 8.1.6, Java : j2sdk1.4.0 I have a problem creating a Project in JDeveloper3.2. I installed JDeveloper[c:\jdev32] by downloading jdev9i_902_base.zip file from OTN website. I modified the java home in jdev.conf 'cause

  • How do i put my pictures on my ipad

    Just wondered how to move my pictures from my computer to my ipad

  • Reg material return from subcontractor

    Dear all, We send material to subcontractor using movement type-541, but due to some problem the subcontractor has not completed the job and we need to take stock back from him and we will take with 542 mvmt, our requirement is can we generate an ins

  • Nested tags with a List of Objects

    I'm having trouble getting nested tags to work. Here's an example: My form has a List that contains a Bean called Car as well as a getter and a setter. The Car Bean has three String attributes: color, model and manufacturer. Getters and setters are p