Anchor to Paragraph

I need to create a form that will have an input screen, from that input screen, the main document will have the data put in different locations.
Sample, they put in their name, address, city, state and zip.
Text Box with floating field-
Paragraph 1 will contain the name with some extra text.
Text Box with floating field-
Paragraph 2 will contain the State which they are from.
Text Box with floating field-
Paragraph 3 will contain the all the data for name and address.
Text Box with floating field-
This will have name under a line for signature.
I need the paragraph 2 be a certain distance from paragraph 1 and if paragraph 1 expands downward, then paragraph 2 needs to move down the page.
Same goes with all the paragraphs. If there is enough of an expansion on the page to require a second page in the document, then I want to keep certain paragraphs on the same page.
I cannot find any examples of this except subforms on a purchase order. However, I can not make the connection on how this is done.
Any help would be appreciated.
Thanks
Doug

Try the opposite approach.
Create a paratag (e.g. table_anchor) that has a negative Space Below (e.g. -12pt) and also starts at the top of the Right page (or any page, as you need). Then set the table to have Space Above equal to anchoring paratags Space Below, i.e. -12pt in this example, and you will get what you want.
No need for tiny fonts in anchors either. This technique causes the content below (paragraph or table) to ride up & on top of the anchoring paragraph. This can be used for many other features in FM, such as background banners on headers, icon graphics placed beside text, etc.

Similar Messages

  • How to link a text box to an anchor frame in the master pages?

    Ok, as the title states, we are trying to figure out if it is possible to link a text box to an anchor frame in the master page. When you look at our Master Page layout, we have a text box in the upper left hand corner of the left hand page, this is used for our machine serial numbers. Then we have an anchor frame that automatically fills out the figure number. Let's say I have pages 2 & 3 (left & right), they have a S/N at the top of the page for the machine, then pages 4 & 5 have a different S/N. If I have to add more pages in between pages 2 & 3 (bumping the current 4 & 5 to 6 & 7), the anchor frame bumps to the next page, but the S/N text box doesn't. Is there a way to fix it so that they both move to the next page? Thanks for the help.
    P.S. I can include images and other info if needed.

    I have included a two pictures that should help me explain.
    Master Page:
    This is the master page set up, the "Page Text Box" has the flow set to "B" while the S/N text box has the flow set to "A". This setup is for our parts manuals, the left page is usually an illustration while the right page is usually a parts list. The text box, anchored frame & paragraph tag are empty in the master page set up. The "page text box" has a flow of "B" and the "S/N text box" has a master flow of "A".
    Body Page 1:
    When we create new pages, the paragraph tag automatically fills in the figure title on the left page, then we add an anchor frame within the text box to hold the illustration. You will notice that I added in a "test" serial number at the top of the page. Now if I need to go back and add two pages before this, the anchor frame, illustration and parts list will move to a new page, but the S/N text box will not. The "Before S/N TBD" would stay on the original page.
    This is what happens, the text box containing the illustration and the parts list "bump" to the next page, but the S/N text box does not. So the question we have is there a way to link that text box to the page so when we create new pages the S/N text box moves with the illustration.
    Does this help?
    Thanks for the assistance Error7103.

  • Does a frame anchor take up any space?

    I'm typesetting a book with keywords in the margin. For doing this, I copy a text frame with the right settings, anchoring them to the connected words in the main text. Works fine. But something happens that I don't understand: an anchor shouldn't take up any space, at least, that seems logical to me. But after inserting the anchor the paragraph is recomposed. Not a big problem here; I fine-tune the paragraphs in a later phase. Still I'd like to know: is this a known bug or is there something wrong with my notion of logic?

    Hey there,
    Yes they do, but its nothing significant unless you had lyrics for every single song on your iPod, but even then, it still wouldn't be much.
    Hope this helped.
    B-rock

  • Table numbering confusion and how to link to tables in a book/document?

    More questions :-(
    Table numbering confusion...
    I'm porting over (from MS Word) a document that has a bunch of tables in it.
    The document currently looks something like this:
    1 Major heading
    1.1 Sub heading
    text for that sub heading that refers to a table that follows (or may preceed) such as see Table 1-1 that follows
    Table 1-1
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    1.2 Next sub heading
    Text to follow that sub head that references Table 1-2 below...
    Table 1-2
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    2 Major heading
    2.1 Next sub heading
    Text to follow that sub head that references Table 2-1 below...
    Table 2-1
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    3 Major heading
    3.1 Next sub heading
    etc.
    Hopefully that makes sense.
    Currently it seems that the tables are numbered based on the chapter number with the chapter apparently being set at 2.
    I need the tables to instead use numbering based on the heading (Titles) numbers, but can't seem to figure out how to get the numbers set for the tables as I would want them to be.
    What do I need to do to make the table numbers reset based on the paragraph numbers (subchapters if you would refer to them that way...)
    Thanks again!

    What is the paragraph format of "Table 2-1" lines?
    Table numbering is commonly controlled by two things:
    1. Format > Paragraph > Paragraph Designer
    [table title para name]
    [ Numbering]
    and
    2. Format > Document > Numbering
    The default in Frame is that tables have titles of para fmt "TableTitle", but tables can switch that off, and also be anchored to paragraphs (often Headings) of any arbitrary format name and numbering scheme.

  • Title/Heading/Row-Align Multi-Column Tables

    File under: Frame Annoyances, with a limited hacky work-around
    In the two-column format we commonly work in, we often need a table that is column-wide, but may flow into multiple colums.
    The problem is that the continuation heading (and TableTitle, if used), never align with the starting heading/title. This is because the continuations start at top of column, whereas the table itself starts (by "Anywhere" default) below the anchor line (presumed to be "In Column" for this discussion)..
    OK, what if we change Table > Table Designer [Basic] Start to:
    Top of Column: Oops, that becomes top of next column, leaving the anchor text column-widowed (but it gave me an idea).
    Top of Page: Oops, that becomes top of next page, leaving the anchor text page-widowed.
    Float: No effect
    OK, what if we change the anchor text Format > Paragraph > Para Designer [Pagination] Format to:
    [Pagination] Across All Columns (AAC): Oops, table appears only in left column on all pages, or;
    [Basic] Space & Line Spacing, including negative values, appears to have no effect. Using a tiny font only minimizes the problem, and doesn't cure it.
    I thought I had figured out how to solve this at one time, but could not recall it. I'm posting this in part to solicit some simpler solution. Web searching found only one solid candidate solution, and it was, of course, 404. Perhaps Frame versions later than the FM7/Win and FM7.1/Unix that I routinely use have enhancements to address this.
    We normally just sidestep the problem by using an AAC format and a table that spans the page, with a fake center gutter, simulating a multi-column flow. But in a recent case, I wanted a real single-column-wide table of variable length (due to conditional rows and expected future growth), but I wanted the headings to align across columns. The table did fit on a single page, which is a limitation of the following hack.
    Hack: This example presumes a normal 2-column page text frame that is 7.5in wide with a 0.24in gutter (3.63in columns), and table that needs no more than one page. It works for 3- and 4-column layouts as well.
    Use an AAC anchored frame text line.
    Create a full page width (7.5in) anchored frame (which can be Below, Top of Col, as desired).
    Create a text frame inside the anchored frame. This frame is:
    one more than your standard page (3-column for this example)
    Same gutter size (0.24in for this example).
    Initially draw the text frame to fit inside the the anchored frame, so you can easily grab it.
    Make sure the default (anchored table) paragraph format of the first column is "In Column".
    Use Graphics > Object Properties to adjust the inside text frame:
    Set Width: to your standard text frame total width plus 1 column and 1 gutter (11.37in for this example).
    Set Offsets: to 0 and 0 (this will push the rightmost column out of sight for the moment).
    Insert your table at the anchored table text of the inside text frame.
    In Table Designer, set Start: to Top of Column (this pushes the start of table to column 2).
    Select the internal text frame again.
    Set Offset From: Left: to negative one column + one gutter (-3.87in for this example).
    The table now appears to start in page column one, and flows to additional columns with heading alignment.
    This worked perfectly for my recent requirement. In fact, I used a 3-column layout (4 actual) for the text frame inside the anchored frame. Some math is required, sorry .

    I'm not sure if I followed that correctly, but if I read it right, you
    have a single-column table that spans multiple columns, and the issue is
    that the first column does not butt up against the top of the text
    frame, while the additional columns do. You want the table in all
    columns to butt up against the top of the text frame so that they are even.
    If that is the case, the solution is this:
    1. Create a paragraph format called "TableAnchor" in the Paragraph
    Designer. Assign it with a negative Space Below of -12.0 pt, "Fixed"
    line spacing, "Start Anywhere.," "In Column." Assign the font size as
    12.0 pt.
    2. Create your table format. Give it a Space Above of 12.0 pt.
    3. Then, always insert your table into its own, empty TableAnchor
    paragraph. You will get the alignment you seek.
    NOTES: Anywhere I said "12.0 pt," you can use a different font size-- as
    long as you use the same number in each place. You may also want to
    create a TableAnchorAAC paragraph format, which is identical except for
    the Across All Columns setting, to hold tables that span multiple columns.
    I hope I understood the question correctly and was of help.

  • Is it possible to have an anchored object linked to a paragraph style?

    I want to link an anchored object to a paragraph style, so that whenever a paragraph that has a particular style is created, an anchored object is created at the same time. The particular application is to label the associate text with the anchored object. is this possible?

    Here an example for a GREP search/replace:
    Search for the beginning of every paragraph + the first character:
    ^(.)
    Replace with the formatted contents of the clipboard + the found character:
    ~C$1
    Uwe

  • How can I create "drop caps" Anchored frames tool: "Run into Paragraph" in a text document, and at the same time be able to feather the text to the bottom of the pages? I´m using FrameMaker 10.

    @

    Presumably you are doing the DC as a single letter inside an Anchored Frame run-in from left.
    Back when FM had a manual, this was the method discussed in the manual. The manual, however, also said "Framemaker does not feather text in a text frame in which text runs around graphics."
    That was FM7.0. I don't know if FM has enhanced DC or feathering since then.
    If I had the requirement, I might look at putting the whole lead paragraph in a borderless table.

  • Anchoring Object to a Paragraph Style? Objects behind text

    Hello,
    I am trying to anchor an graphic object to a paragraph style that is a numbered paragraph.  I have set up my numbering and I want a single graphic to be anchored to the number so it appears behind the number each time I choose that paragrah style.
    Is this possible to do?
    Or perhaps I should ask how other people put graphics behind bullets or numbers and have them anchor to the text...
    I sure could use soem help with this; it seems like it should be easy...
    Dave.

    I found this intriguing, so I thought I'd see what I could come up with.
    I made a numbered paragraph style, to start. Then I made a Cyan filled ellipse, which I anchored in front of the first word in one of the paragraphs, and changed the positioning to custom and made sure it was relative to the anchor, and turned off keep within frame boundaries, to allow me to position it "behind" the number. As emmanuel points out, anchored objects are actually in front of the text, so so far it's not working.
    I selected the ellipse and changed it's blend mode to multiply. This will not change it's color where it is over white, but it will darken wherever it is on top of another color, creating a rich black number, for example, if you used black text. Looks pretty good now.
    Select the ellipse and create a new object style based on it. This will by default include the blend mode and anchored object parameters, and be sure the style is applied to the selected ellipse. Now cut the ellipse and paste it on the pastboard out of the way so you don't lose it.
    As long as the object is on the clipboard you can use it for a find/change operation, so you can do that now, or later, just by copying it again when it's convenient. The find/change needs to be a GREP search for ^(.) which means find any character at the beginning of a paragraph, and replace with ~c$1 which means replace with the formatted contents of the clipboard and the found character. Be sure to set the find formatting options to the numbered paragraph style.
    Because you gave the object an object style that includes the blend mode and positioning, and you pasted it as a formatted object, those attributes are preserved and the graphic will be positioned correctly for each paragraph.
    Peter

  • How to remove an anchored object from paragraph

    Hi All,
    I have a paragraph which have inline anchored object.
    Is it possible to skip anchored object from the paragraph tagging it.?
    Need Some method using which I can remove the anchored object from paragraph.
    Regards,
    Alam

    Hi,
    To skip and to remove can differ, so you have to decide what is a goal.
    Removing this can as easy as calling find...replace method (app.findTextPreferences.findWhat = "^a")
    Jarek

  • Paragraph style including anchored frame possible?

    Hi,
    I'm working on a new template and can't get a specific paragraph style to work correctly.
    The page layout is a 1/3 to 2/3 page column layout. The 1/3 page column is called a "Marginalia"- column in German, sorry don't know the term in English. All graphics are in the 1/3 page column, while the text belonging to it is in the 2/3 page column. I need a paragraph style that contains an anchored frame as a placeholder for future graphics in the 1/3 page column and its corresponding text in the 2/3 page column.
    I've set up the page with only one text frame which is the width of the 2/3 page. The left margin of the this text frame is the left margin of the running text. All graphics are placed to the right of it.
    Can anyone tell me if this is possible and how to best go creating such a paragraph style?
    THANKS!

    Paragraph styles don't include an anchored frame attribute. You can include an anchored frame in any paragraph (though off the top of my head I don't know a way to insert one automatically -- perhaps it would be scriptable), and you can assign an object style to the anchored frame that contains all the positioning information as well as any text styling or graphic fitting information you might want to use.

  • Anchor Lines into a paragraph.

    To anchor a line into a praragraph one would CUT it, then select the the Type Tool and then click in the position of the text where they want the line to appear and paste.
    Is following those steps one way to go about anchoring a line into a paragrah via a script?
    Something like below??
    cut(myGraphicLine)
    "my text here "  + paste(myGraphicLine) + "the rest of my text here."
    I have a handful of different lines that need to be anchored into the same paragraph via a script.
    Thank you.

    I was hoping to find out that their was some function that I could place like
    myTextFrame.contents= "this line looks like " +  anchorHere(app.paste(myLine) + "some more text";
    Oh well.
    Thank you.
    I'll check out the recompose and all that good stuff.

  • How to change the paragraph style of every paragraph that only contains an anchored object?

    Hi,
    I have a document in word that needs to be converted into indesign. The document containts instructions, each step followed by an image.
    I've managed to import the document into Indesign, and applied a paragraph style with numbering to everything (text an image).
    Now, how to change the the paragraph style of every paragraph that only contains a image? I need to get rid of the numbering.
    Thanks in advance.

    Create two Paragraph Styles and name them Image and Non-Image. Apply the paragraph styles manually to the text containing image and not containing images.

  • How do I use the find method to find multiple items in a single paragraph?

    I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag.  Here's what the script is supposed to do:
    put the find method in a while loop that searches for character format overrides.
    If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
    Use a boolean compare between the idata of the text item to the character angle and character weight constants.
    Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
    This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
    function removeOverrides (pDoc)
        var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
        var vBoldFmt=getCharFmt (pDoc, 'Bold')
        var vItalicFmt=getCharFmt (pDoc, 'Italic')
        initFA_errno ();
        while (FA_errno==Constants.FE_Success)
            var vTextLoc = new TextLoc(vDocStart,0);
            var vFindParams=findOverrideParams (pDoc);
            var vTextRange=pDoc.Find(vTextLoc,vFindParams);
            if (vTextRange.beg.obj.ObjectValid())
                var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
                if (vTextItems.length==!0 )
                    if (vTextItems[0].idata==Constants.FTF_WEIGHT)
                       pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
                    if (vTextItems[0].idata==Constants.FTF_ANGLE)
                       pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
                    } else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
            vDocStart=vDocStart.NextPgfInFlow;
    function findOverrideParams (pDoc)
        var vFindParams = AllocatePropVals(1);
        vFindParams[0].propIdent.num = Constants.FS_FindObject;
        vFindParams[0].propVal.valType = Constants.FT_Integer;
        vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
       return vFindParams;

    Hi Rick,
    Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
    Here's the updated code from the for loop:
    var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);                 
    var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)      
    var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);        
    var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);             
    var vTblTextRange=new TextRange ();        
    vTblTextRange.beg.obj=vTbl.TextLoc.obj;       
    vTblTextRange.beg.offset = vTbl.TextLoc.offset;        
    vTblTextRange.end.obj=vTbl.TextLoc.obj;        
    vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET                 
    vDoc.TextSelection=vTblTextRange;        
    vDoc.Cut (0);                
    vTblTextRange.beg.obj=vAnchorTextLoc.obj;        
    vTblTextRange.beg.offset = 0;              
    vTblTextRange.end.obj=vAnchorTextLoc.obj;       
    vTblTextRange.end.offset =0;                 
    vDoc.TextSelection=vTblTextRange;       
    vDoc.Paste (0);                   
    vAnchorPgf2.Delete();        

  • Cross-Reference using Text Anchor problems

    I am having problems with creating "New Cross-Reference" using a "Text Anchor" in CS4 Indesign.
    I can mimic what I want using a "Link to Paragraph", selecting the paragraph style and link, and then using the "Partial paragraph and Page Number" options.
    I would prefer doing this using a Text Anchor.
    I've tried creating a text hyperlink, but in whatever I am doing, I never get any "Text Anchor" OPTIONS in the New Cross-Reference menu.
    Adobe should also change the Text Anchor menu item, since there are "Text Anchor" options in InDesign that appear to have nothing to do with Cross-Referencing.
    The other problem I am having is that in defining the open-quote and closed-quotes around the Paragraph Text variable, I wish to have typesetter's quotes instead of the default vertical quotes. If I use the Splat button to choose ^{^} options, then I get funky "G"'s in my reference instead of typesetters quotes -- even if I choose a "Character Sytle for Cross Reference" and force it to my current font choice. What's going on here?
    SC

    Hi, Seir:
    I agree that it's confusing. Here's how I do it:
    To create a text anchor at the insertion point location:
    * Open the Hyperlinks/Cross-References panel's menu (also called "flyout menu." It's the small icon at the upper-right of the panel, below the double-arrow (>>) icon that collapses the panel.
    * Choose New Hyperlink Destination. THIS SHOULD BE NAMED NEW TEXT ANCHOR!!!
    * Choose Type: Text Anchor
    * Name the anchor as you like Click OK.
    To create a cross-reference to a text anchor:
    * Place the insertion point where you want it.
    * Click the Create new Cross-Reference button on the bottom of the Hyperlinks/Cross-Reference panel.
    * Choose Link To: Text Anchor
    * Choose the target document
    * Choose the text anchor
    * Choose the Cross-Reference format
    * Choose Appearance properties
    * Click OK
    I'm not sure what could cause the straight/curly quotes problem other than perhaps the font doesn't have curly quotes. Have you tried other fonts?
    HTH
    Regards,
    Peter Gold
    KnowHow ProServices

  • How to make paragraphs line up between columns?

    I want to make a 2 column chapter, with the text in each column in its own flow. But then I want some of the paragraphs to line up between columns.
    So, like this:
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    yyyyyyyyy
    yyyyyyyyy
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    I'm assuming I can't use side heads to put the first column text in, because the info on the left goes on for multiple paragraphs, and I can't seem to line up a block of paragraphs with the baseline of the appropriate right column text.
    I used to do this in tables, like this:
    xxxxxxxxxx ! yyyyyyyyy
    xxxxxxxxxx ! yyyyyyyyy
    xxxxxxxxxx ! yyyyyyyyy
    ! yyyyyyyyy
    ! yyyyyyyyy
    xxxxxxxxxx !
    xxxxxxxxxx !
    xxxxxxxxxx !
    xxxxxxxxxx ! yyyyyyyyy
    xxxxxxxxxx ! yyyyyyyyy
    ...where the gridlines between rows and columns would be hidden. However, I sometimes need to print just the right column, which meant I had to remove the table. It's a 600-page document, I was looking for a more elegant solution.
    Any suggestions?
    I am using FM8.0(266) on Windows XP.

    If you take the sidehead approach that Niels suggest, you could do
    this, but it would be a bit of maintenance.
    Have your "xxxxx" flow content sit in text frames within anchored
    frames. The anchored frames are then in a special conditionalized
    paragraph ("z") in the *sidehead* before every "yyyy" flow section,
    e.g.
    z
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    yyyyyyyyy
    yyyyyyyyy
    z
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    z
    xxxxxxxxxx yyyyyyyyy
    xxxxxxxxxx yyyyyyyyy
    The "z" paragraph is just a container for the anchored frames and
    should contain no text.
    When you hide the "z" tags, all of the "x" flow content will then
    disappear as well. You'll have to manually customize the height of
    each anchored frame/text frame pair though.
    To adjust the spacings between the "y" flow to match at the bottom of
    the anchored frames for the "x" flows, use the sidehead paratag ("Z")
    and create space above overrides in this paragraph only to adjust the
    vertical spacing to keep the x and y sections in sync. This way, you
    have overrides confined to only one paratag.
    To make maintenance easier, it might be worth creating a FrameScript
    that would adjust the height of the anchored/text frame combo based
    upon the amount of content in the instructor flow and then apply the
    space above override to the anchoring paratag (z).

Maybe you are looking for