InDesign table/textbox problem

I have a table inside a textbox. Whenever I move the textbox to the lower left side of my document, a couple of the rows inside the document automatically split leaving an unwanted horizontal space in my table. Oddly, when I move the textbox (with a table inside) to another side of the document, the table, the unwanted space disappears. 

Sounds a lot like there may be text inthe table set to align to the baseline grid. Does moving vertically result in a jump in the text position?

Similar Messages

  • [CS3][VBS]Converting a CALS table to Indesign table in XML

    Hi!<br /><br />I have an xml-file with tables that I want to import into Indesign. It works fine when I use the Import CALS tables as Indesign tables in "Import options", but the problem is when I do this some emphasis elements inside the "entry" elements isn't found when I try to use XMLRules to format the emphasis elements in the document...<br />The structure of the table can be like this (in general):<br />Tabell<br />  table<br />    tblgrp<br />      tbody<br />       row<br />         <entry>Some text...<emp Type = "bold">bold text</emp></entry><br />         <entry>Some text</entry><br />         <entry>some text</entry><br />       row<br />      tbody<br />    tblgrp<br />   table<br /> Tabell<br /><br />When I import the Table as CALS tables to Indesign tables, the table structure is collapsed into just a <Tabell> element. I assume this is the reason why the <emp> element isn't found.<br /><br />I try to solve this by NOT importing CALS tables to Indesign tables. I see then that the whole table structure is intact in the structure panel and the <emp> elements are also found by the XMLRules, but the contents is not put inside a table in the indesign document. To put the table elements into a table in Indesign I use the Command: "ConvertElementToTable" but this doesnt work very well. I use it in XMLRules like this:<br /><br />Public Property Get xpath()<br />xpath = "//Tabell"<br />End Property<br /><br />Public Function apply(myXMLElement, myRuleProcessor)<br />With myXMLElement<br />.ConvertElementToTable "row", "entry"<br />End With<br />apply = False<br />End Function<br /><br />Does anyone have any experience of importing XML-tables in Indesign and formatting them? I could really need some to put the xml table into Indesign tables...Please help!<br /><br />In advance thanks!

    Hi!
    Just check the checkbox "Import CALS tables as Indesign tables" in the XML import options dialogbox. Then it should go automatically.
    The problem with this approach is that the entire table structure is collapsed to a single table element in the struture. If one want to do some xml-prosessing at row or cell level one need to to this outside indesign or not import CALS as Indesign tables. The big question is if there is some easy way to convert a CALS table to an Indesign table inside Indesign after one have imported the data and prosessed the row and cell elements...
    Hope anyone knows more than me about this....
    Anyway, mkarthic, I hope my answer helped you to import your CALS tables!:-)
    Greetings
    Pål

  • InDesign Tables: Row and Column Strokes

    Using InDesign Tables: How do you get row and column strokes in a table to appear perfectly joined? When I choose "Column Strokes in Front" (Under Table Setup) i still see a tiny row stroke, and vice versus.. it's really visible in the PDF almost can't see it in InDesign though you can a little...any advice?

    http://lawrence.ecorp.net/inet/samples/dhtml-rollover-tble-cols-rows.shtml

  • Base Table for problem code in Cs_incidents_all_b

    hi
    in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
    SELECT  dra.repair_number,
      items.description item_desc,
      prob.problem_code,
      fndl.meaning flow_status_name,
      inc.summary,
      nvl(cp.instance_number,'Not availble') ib_instance_number
    FROM csd_repairs dra,
      csd_repair_types_tl drtt,
      cs_incidents_all_b sr,
      csi_item_instances cp,
      fnd_lookups fndl,
      csd_flow_statuses_b fsb,
      mtl_system_items_kfv items,
      mtl_units_of_measure_tl uom,
      jtf_rs_resource_extns_tl rstl,
      jtf_rs_groups_tl rgtl,
      fnd_lookups plkup,
      cs_incidents_all_tl inc,
      cs_sr_prob_code_mapping_detail prob,
      cs_incident_types_b ty
    WHERE dra.repair_type_id       = drtt.repair_type_id
    AND drtt.language              = userenv('LANG')
    AND dra.repair_mode            = 'WIP'
    AND dra.incident_id            = sr.incident_id
    AND dra.CUSTOMER_PRODUCT_ID    = cp.INSTANCE_ID (+)
    AND dra.flow_status_id         = fsb.flow_status_id
    AND fsb.flow_status_code       = fndl.lookup_code
    AND fndl.lookup_type           = 'CSD_REPAIR_FLOW_STATUS'
    AND dra.inventory_item_id      = items.inventory_item_id
    AND dra.unit_of_measure        = uom.uom_code
    AND uom.language               = userenv('LANG')
    AND dra.resource_id            = rstl.resource_id (+)
    AND rstl.category (+)          = 'EMPLOYEE'
    AND rstl.language (+)          = userenv('LANG')
    AND dra.owning_organization_id = rgtl.group_id (+)
    AND rgtl.language (+)          = userenv('LANG')
    AND dra.ro_priority_code       = plkup.lookup_code(+)
    AND plkup.lookup_type(+)       = 'CSD_RO_PRIORITY'
    AND items.organization_id      = cs_std.get_item_valdn_orgzn_id
    AND inc.incident_id            =dra.incident_id
    and ty.incident_type_id=sr.incident_type_id
    and prob.incident_type_id=ty.incident_type_id
    AND fndl.meaning in('Open')
    order by dra.repair_numbereach diffrent problem codes for same repair number here i am want records relevant to Depot Repair

    In 11.5.9, the problem and resolution codes are stored in FND_LOOKUP_VALUES table with lookup type as 'REQUEST_PROBLEM_CODE' and 'REQUEST_RESOLUTION_CODE'. I'm hoping you could still use these tables to find problem codes, even if you were on 11.5.10 or R12.
    Join would be something like:
    WHERE fnd_lookup_values.lookup_type = 'REQUEST_PROBLEM_CODE'
    AND fnd_lookup_values.problem_code = cs_incidents_all_b.problem_code
    Regarding restricting the query for Depot Repair service requests, you need to restrict by the the incident_type_id for this type of SRs (like id for Depot incident type is 10003 for us).
    HTH
    Alka

  • Do InDesign table fields convert to form fields for interactive PDFs?

    Does InDesign CC recognize table fields as form fields when creating fillable form PDFs - or do I have to create individual text fields on top of the InDesign table and assign form field text field characteristic in the buttons and forms menu?

    I don't believe InDesign itself will apply any form of automated recognition to table cells...BUT...Acrobat's form field recognition certainly picks up empty table cells and assigns them as text-input fields.
    See this page: http://www.eformsfactory.com/mobile-desktop-forms-with-form-field-recognition-in-adobe-acr obat/

  • InDesign CS2 Printing Problems

    I teach in a Mac computer Lab (mac OS X) and InDesign CS2 is a huge headache for me; my students can't print their work half the time. I read online a lot of member posts about InDesign CS2 printing problems. Would a CS3 upgrade help?

    CS3 upgrades are no longer available now that CS4 is out!
    Perhaps if you described your particular problems, members of this forum could assist you. Note however, that CS2 was not supported on MacOS X 10.5 (Leopard).
    - Dov

  • Fastest way to fill an InDesign table with data

    Hello,
    I have to fill several InDesign tables with the content of my database.
    I have the database in memory and fill the cells in two Loops (For Each row..., For Each col...).
    But it is so slow! Is there a faster way?
    Here a code snippet of the solution today:
                For Each row In tableRecord
                    Dim inDRow = table.Rows.AsEnumerable().ElementAt(intRow)
                    For Each content In row
                        Dim cell = inDRow.Cells.AsEnumerable().ElementAt(content.Index)
                        cell.Contents = content.Value
                    Next
                    intRow+=1
                Next
    Thank you for help!
    Best regards
    Harald

    Hi, Harald!
    "This should be faster: table.Contents=Array. Or not?"
    Surprisingly is was not. It was slower. A lot slower.
    The array was gathered by (here ExtendScript(JavaScript) dummy code) :
    myArray = myTable.contents;
    Then I did operate on the array. Not on the table object or its cell objects. No direct access to InDesign's DOM objects. Just the built array.
    My text file was written by populating it with a string of the array:
    myString = myArray.join("separatorString");
    separatorString was something that was never used as contents in the table.
    Something like "§§§"…
    After importing the text file I used the convertToTable() method providing the separatorString as separator for the first and second argument with the number of columns as third argument. The number of columns was known from my original table.
    var myNewTable = myText.convertToTable("separatorString", "separatorString", myNumberOfColumns);
    Alternatively you could also remove the table after building the array and assign "myString" as contents for the insertionPoint of the removed table in the story. I think I tested that as well, but do not know, if there is a difference in speed opposed to placing a text file with the same contents (I think it was, but not I'm not sure anymore). So I ended up with:
    1. Contents of table to Array
    2. Array manipulation
    3. Array to String
    4. Write String as file
    5. Remove table
    6. Place file at InsertionPoint of (now removed) table
    Also to note: This was in InDesign CS5 with a very large table.
    Things could have changed in InDesign versions with 64-Bit support.
    But I did not test that yet. The customer I wrote this script for is still on CS5.
    Uwe

  • Import CALS table as Indesign Table

    Hi All,
    InDesign CS3.
    Im working on NLM-DTD, When im importing the xml file into indesign template, i have checked the option "Import CALS table as Indesign table". So it is transfered to table format, after finished the pagination, i want to export the xml file, now the formatting of the table cells (italic, bold, etc) are not coming properly. so i have troubled with this.
    Can you help me!!!
    Regards,
    sudar

    Hello,
    Thanks.
    Yes, that worked fine. But the small XML file below, containing some titles and a table, does not work. I assumed that I could drag and drop the <informaltable> element onto the page and get a rendered table.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
    <article lang="en">
      <articleinfo>
        <pubsnumber>Some number</pubsnumber>
        <releaseinfo>Another number</releaseinfo>
        <title>A title</title>
      </articleinfo>
      <informaltable frame="all" rowsep="1" colsep="1">
        <tgroup cols="2">
          <colspec colname="col_1" colwidth="50*" />
          <colspec colname="col_2" colwidth="50*" />
          <thead>
            <row>
              <entry align="left" valign="top" namest="col_1" nameend="col_2">
                Some heading here
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry align="left" valign="top">
                Some content in left cell
              </entry>
              <entry align="left" valign="top">
                Some content in right cell
              </entry>
            </row>
            <row>
              <entry align="left" valign="top">
                Some content in left cell
              </entry>
              <entry align="left" valign="top">
                Some content in right cell
              </entry>
            </row>
           </tbody>
        </tgroup>
      </informaltable>
    </article>
    Best wishes,
    Sven

  • Table update problem in tabstrip control

    Hi experts.
    i have one tabstrip control having 4 tabs.
    in those tabs i am updating one table say ztable(database table).
    my problem is this is happening in pai of every tab.
    but what ever i am updateing table those changes will reflect in other tabs.
    where i have to write code like pbo or what i should do.
    what ever i am updateing in tab1 i have to see in tab2.what ever i have update i should see in tab3.
    but it is not showing the updates when we will go for other tabs.
    Thanks

    Hi,
    Please check the following things :
    1 . The Fucntion code type for each tab is blank
    2 . Same subscreen area is assigned to each tab
    3 . Corresponding subscreen is dynamically incorporated into the subscreen area CALL SUBSCREEN in the flow logic
    If you are not doing this, then you are scolling in SAP GUI, not in your program. In this case the values entered in TAB1 won't get reflected in TAB2.
    If this is the case in your program, fix the above three points. then it will work.

  • Passing value from non-table textbox to based one

    Hi all!
    In a master detail form I have a non-table textbox in wich I want the user writte a n: of days,and automatic I want the sysdate increased the n: of days written, in another texbox from a table, that will be insert in the table, but I don4t know how can I do it, There4s an easy way to do it as the "when validate item" trigger in Developer Forms or somtehing like that? I4m thinking in make some PL/SQL code in the ". . before processing the form"
    Any help will be appreciated
    Thks in advance

    Hi,
    This type of tasks could be done from Javascript only, you may take a look at the following post:
    Topic: Referencing form field values in javascript
    http://technet.oracle.com:89/ubb/Forum81/HTML/000073.html
    The topic is kind of lengthy - look for JS function getField().
    Thanks,
    Dmitry

  • Possible? SQL table link to InDesign Table

    My company uses indesign for all of our work instructions. We have a database of our bill of materials - we export data from this database to excel, and dump that table into indesign. my question is - is there a way to link an indesign table directly to SQL, or if I set up a  data connection in the Excel table, will it update dynamically when the indesign (or exported PDF) file is opened?

    cgpl_project contains the information you are looking for for the promotion guid.  Also you can link the crm_mktpl_attr.responsible to the but000 table on partner_guid to get the Employee Responsible name.

  • Ignore cell boundary in InDesign table?

    Is it possible to have the text in an InDesign table cell ignore the boundaries of the cell walls without merging cells?

    Sure, but without using Merge Cells (why not?) you'll have to cheat a bit.
    You can place a single cell table in a cell -- see image -- because, famously, table cells may run outside any border of its parent (even text frames).
    You can also put your text into a new frame of its own and cut-and-paste that into a cell (on afterthought, that might be a bit easier).

  • SQL+-MULTI TABLE QUERY PROBLEM

    HAI ALL,
    ANY SUGGESTION PLEASE?
    SUB: SQL+-MULTI TABLE QUERY PROBLEM
    SQL+ QUERY GIVEN:
    SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
    HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
    DLC_POLYMORPHS_NORMAL_VALUE FROM PATIENTS_MASTER1, HAEMATOLOGY1,
    DIFFERENTIAL_LEUCOCYTE_COUNT1
    WHERE PATIENT_NUM = HMTLY_PATIENT_NUM AND PATIENT_NUM = DLC_PATIENT_NUM AND PATIENT_NUM
    = &PATIENT_NUM;
    RESULT GOT:
    &PATIENT_NUM =1
    no rows selected
    &PATIENT_NUM=2
    no rows selected
    &PATIENT_NUM=3
    PATIENT_NUM 3
    PATIENT_NAME KKKK
    HMTLY_TEST_NAME HAEMATOLOGY
    HMTLY_RBC_VALUE 4
    HMTLY_RBC_NORMAL 4.6-6.0
    DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
    DLC_POLYMORPHS_VALUE     60
    DLC_POLYMORPHS_NORMAL_VALUE     40-65
    ACTUAL WILL BE:
    &PATIENT_NUM=1
    PATIENT_NUM 1
    PATIENT_NAME BBBB
    HMTLY_TEST_NAME HAEMATOLOGY
    HMTLY_RBC_VALUE 5
    HMTLY_RBC_NORMAL 4.6-6.0
    &PATIENT_NUM=2
    PATIENT_NUM 2
    PATIENT_NAME GGGG
    DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
    DLC_POLYMORPHS_VALUE     42
    DLC_POLYMORPHS_NORMAL_VALUE     40-65
    &PATIENT_NUM=3
    PATIENT_NUM 3
    PATIENT_NAME KKKK
    HMTLY_TEST_NAME HAEMATOLOGY
    HMTLY_RBC_VALUE 4
    HMTLY_RBC_NORMAL 4.6-6.0
    DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
    DLC_POLYMORPHS_VALUE     60
    DLC_POLYMORPHS_NORMAL_VALUE     40-65
    4 TABLES FOR CLINICAL LAB FOR INPUT DATA AND GET REPORT ONLY FOR TESTS MADE FOR PARTICULAR
    PATIENT.
    TABLE1:PATIENTS_MASTER1
    COLUMNS:PATIENT_NUM, PATIENT_NAME,
    VALUES:
    PATIENT_NUM
    1
    2
    3
    4
    PATIENT_NAME
    BBBB
    GGGG
    KKKK
    PPPP
    TABLE2:TESTS_MASTER1
    COLUMNS:TEST_NUM, TEST_NAME
    VALUES:
    TEST_NUM
    1
    2
    TEST_NAME
    HAEMATOLOGY
    DIFFERENTIAL LEUCOCYTE COUNT
    TABLE3:HAEMATOLOGY1
    COLUMNS:
    HMTLY_NUM,HMTLY_PATIENT_NUM,HMTLY_TEST_NAME,HMTLY_RBC_VALUE,HMTLY_RBC_NORMAL_VALUE     
    VALUES:
    HMTLY_NUM
    1
    2
    HMTLY_PATIENT_NUM
    1
    3
    MTLY_TEST_NAME
    HAEMATOLOGY
    HAEMATOLOGY
    HMTLY_RBC_VALUE
    5
    4
    HMTLY_RBC_NORMAL_VALUE
    4.6-6.0
    4.6-6.0
    TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
    COLUMNS:DLC_NUM,DLC_PATIENT_NUM,DLC_TEST_NAME,DLC_POLYMORPHS_VALUE,DLC_POLYMORPHS_
    NORMAL_VALUE,
    VALUES:
    DLC_NUM
    1
    2
    DLC_PATIENT_NUM
    2
    3
    DLC_TEST_NAME
    DIFFERENTIAL LEUCOCYTE COUNT
    DIFFERENTIAL LEUCOCYTE COUNT
    DLC_POLYMORPHS_VALUE
    42
    60
    DLC_POLYMORPHS_NORMAL_VALUE
    40-65
    40-65
    THANKS
    RCS
    E-MAIL:[email protected]
    --------

    I think you want an OUTER JOIN
    SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
    HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
    DLC_POLYMORPHS_NORMAL_VALUE
    FROM PATIENTS_MASTER1, HAEMATOLOGY1,  DIFFERENTIAL_LEUCOCYTE_COUNT1
    WHERE PATIENT_NUM = HMTLY_PATIENT_NUM (+)
    AND PATIENT_NUM = DLC_PATIENT_NUM (+)
    AND PATIENT_NUM = &PATIENT_NUM;Edited by: shoblock on Nov 5, 2008 12:17 PM
    outer join marks became stupid emoticons or something. attempting to fix

  • InDesign Table Fit (Clear overflow, Height and Row fit)

    Hi All,
    I am using MagicFit.jsx for fit the table. But it does not clear the overflow and it does not fit the Height. I want to do all of this.
    Plz suggest.
    MagicFit.jsx
    function MagicFit(){
        app.scriptPreferences.version = 4.0;          //Because I am using CS5
        MagicFit_1()
        app.scriptPreferences.version = 6.0;
    function MagicFit_1(){
            MagicFit 2.1b for InDesign CS / CS2 -- 01/18/06               
            Fits to content the WIDTH of the selected text container(s)   
            Features:                                                     
            - Fits selected TextFrame(s) width to content                 
            - 1st call: "strict" fitting (preserve each lines length)    
            - 2nd call (within 2 secs) : "fluid" fitting (preserve height)
            - (NEW) Alternate fitting of table column(s) if selected      
            - (NEW) Compute a minimal width by parsing embedded objects   
            - (NEW) Runs on selected frames, CELLS, groups, insertion pt  
            Installation & usage:                                         
            0) !! CS2 users only !!                                       
               Rename this script file with .jsx extension                
               (activating extend script features)                        
            1) Put the present file into the Presets/Scripts/ subdir      
            2) Run InDesign, open a document and select object(s) to fit  
               (or put insertion point into)                              
            3) Run the script via Window > Automation > Scripts           
               and double-clic on MagicFit.js                             
               Alternate way: assign a keyboard shortcut to the script via
               Edit > Keyboard Shortcuts... > Product area:"Scripts"      
            Help (FR) : http://marcautret.free.fr/geek/indd/magicfit/     
                (sorry, thats a french web page!)                      
                    Feedbacks : [email protected]                    
        //            SETTINGS
        var LATENCE = 2;         // in seconds (default:2)
        var PRECISION = 0.5;    // in pts (default:0.5)
        var APP_INT_VERSION = parseInt(app.version);
        //            TOOLBOX FUNCTIONS
        /*void*/ function exitMessage(/*exception*/ ex){
            alert("Error:\n" + ex.toString());
            exit();
        //            DOCUMENT METHODS
        /*void*/ Document.prototype.setUnitsTo = function(/*units*/ newUnits){        // units can be single value (horiz=vert) or array(horizUnits, vertUnits)
            var arrUnits = (newUnits.length) ? newUnits : new Array(newUnits,newUnits);
            this.viewPreferences.horizontalMeasurementUnits = arrUnits[0];
            this.viewPreferences.verticalMeasurementUnits = arrUnits[1];
        /*arr2*/ Document.prototype.getUnits = function(){
            return(Array(
                this.viewPreferences.horizontalMeasurementUnits,
                this.viewPreferences.verticalMeasurementUnits));
        /*bool*/ Document.prototype.withinDelay = function(){
            if (this.label)
                return( (Date.parse(Date())-this.label) <= LATENCE*1000 );
            return(false);
        /*void*/ Document.prototype.storeTimeStamp = function(){
            this.label = Date.parse(Date()).toString();
        //            GENERIC METHODS (OBJECT LEVEL)
        // Returns the "fittable-container" corresponding to THIS
        // Return array or collection HorizFit-compliant
        // NULL if failure
        /*arr*/ Object.prototype.asObjsToFit = function(){
            switch(this.constructor.name){
                case "TextFrame" :            // textframe -> singleton this
                    return(Array(this));
                case "Cell" :                // cells -> parent columns
                    var r = new Array();
                    // !! [CS1] Cell::parentColumn === Cell !!
                    // !! [CS2] Cell::parentColumn === Column !!
                    // !! [CS2] Cells::lastItem().parentColumn BUG !!
                    var c0 = this.cells.firstItem().name.split(":")[0];
                    var c1 = this.cells.lastItem().name.split(":")[0];
                    for (var i=c0 ; i<=c1; i++)
                        r.push(this.parent.columns[i]);
                    return(r);
                case "Table" /*CS2*/ :        // table -> columns
                    return(this.columns);
                case "Group" :                // group -> textFrames
                    return((this.textFrames.length>0) ? this.textFrames : null);
                case "Text" :                // selection is Text or InsertionPoint
                case "InsertionPoint" :        // -> run on container
                    var textContainer = this.getTextContainer();
                    return((textContainer) ? textContainer.asObjsToFit() : null);
                default:
                    return(null);
        // Returns Text's or InsertionPoint's container :
        // Type returned: TextFrame or Cell - NULL if failure
        /*obj*/ Object.prototype.getTextContainer = function(){
            try{ // try...catch because of CS2 behaviour
                if (this.parent.constructor.name == "Cell")           
                    return(this.parent);
                if (this.parentTextFrames)        // plural in CS2
                    return(this.parentTextFrames[0]);       
                if (this.parentTextFrame)    // single in CS1
                    return(this.parentTextFrame);
                return(null);
            }catch(ex) {return(null);}
        // Parse embedded "objects": tables, pageitems [including graphics]
        // and returns the max width
        // !! All parsed objects have to provide a computeWidth method !!
        /*int*/ Object.prototype.computeIncludedObjectsWidth = function(){
            var objsNames = new Array("pageItems","tables"); // could be extended
            var objsWidth = 0;
            var w = 0;
            for (var j=objsNames.length-1 ; j>=0 ; j--){
                for (var i=this[objsNames[j]].length-1 ; i>=0 ; i--){
                    try{
                        w = this[objsNames[j]][i].computeWidth({VISIBLE:true});
                    }catch(ex){
                        w=0;
                    if (w > objsWidth) objsWidth=w;
            return(objsWidth);
        // Generic computeWidth method for bounded objects
        // VISIBLE true -> external width
        // VISIBLE false -> internal width
        /*int*/ Object.prototype.computeWidth = function(/*bool*/ VISIBLE){
            if (VISIBLE){
                if (this.visibleBounds)
                    return(this.visibleBounds[3]-this.visibleBounds[1]);
            else{
                if (this.geometricBounds)
                    return(this.geometricBounds[3]-this.geometricBounds[1]);
            return(0);
        // Override Object::computeWidth for Table : returns simply the width
        /*int*/ Table.prototype.computeWidth = function(){
            return(this.width);
        // Returns chars count for each LINE of this (-> array)
        // empty array  IF  this.lines==NULL  OR  this.lines.length==0
        /*arr*/ Object.prototype.createLinesSizesArray = function(){
            r = new Array();
            if (this.lines)
                for (var i=this.lines.length-1; i>=0 ; i--)
                    r.unshift(this.lines[i].characters.length);
            return(r);
        // Compare chars count beetween THIS and arrSizes argument
        // (generic method just presuming that THIS have lines prop.)
        // -> TRUE if isoceles, FALSE if not
        /*bool*/ Object.prototype.isoceleLines = function(/*arr*/ arrSizes){
            if (this.lines.length != arrSizes.length) return(false);
            for (var i=arrSizes.length-1 ; i>=0 ; i--)
                if (arrSizes[i] != this.lines[i].characters.length)
                    return(false);
            return(true);
        //            TEXTFRAME METHODS
        // intanciate the part of the abstract process for TextFrames
        /*bool*/ TextFrame.prototype.isEmpty = function(){
            return(this.characters.length==0);
        /*bool*/ TextFrame.prototype.isOverflowed = function(){
            return(this.overflows);
        /*int*/ TextFrame.prototype.getWidth = function(){
            return(this.computeWidth({VISIBLE:false}));
        // Redim the frame in width by widthOffset
        /*void*/ TextFrame.prototype.resizeWidthBy = function(/*int*/ widthOffset){
            this.geometricBounds = Array(
                this.geometricBounds[0],
                this.geometricBounds[1],
                this.geometricBounds[2],
                this.geometricBounds[3] + widthOffset);
        // Returns the minWidth of the frame according to embedded content
        // and inner space
        // inner width space
        /*int*/ TextFrame.prototype.computeMinWidth = function(){
            var inSpace = this.textFramePreferences.insetSpacing;
            var inWidth = (inSpace.length) ?
                inSpace[1] + inSpace[3] :    // distinct left & right inspace
                2*inSpace;                    // global inspace
            return(this.computeIncludedObjectsWidth() + inWidth);
        /*int*/ TextFrame.prototype.getCharsCount = function(){
            return(this.characters.length);
        /*int*/ TextFrame.prototype.getLinesCount = function(){
            return(this.lines.length);
        // Return chars count BY LINE (-> array)
        /*arr*/ TextFrame.prototype.getLinesSizes = function(){
            return(this.createLinesSizesArray());
        // YES -> -1  , NOT -> 1
        /*int*/ TextFrame.prototype.preserveCharsCount = function(/*int*/ charsCount){
            return( (this.characters.length != charsCount) ? 1 : -1 );
        // Indicates whether:
        // - chars count equals linesCount
        // - frame DOES NOT overflow
        // YES -> -1  , NOT -> 1
        /*int*/ TextFrame.prototype.preserveLinesCount = function(/*int*/ linesCount){
            return( ((this.overflows) || (this.lines.length != linesCount)) ? 1 : -1 );
        // Indicates whether:
        // each x line isoceles linesSizes[x]
        // YES -> -1  , NOT -> 1
        /*int*/ TextFrame.prototype.preserveLinesSizes = function(/*arr*/ linesSizes){
            return( (this.isoceleLines(linesSizes)) ? -1 : 1 );
        //            COLUMN METHODS
        // intanciate the part of the abstract process for Columns
        /*bool*/ Column.prototype.isEmpty = function(){
            for (var i=this.cells.length-1; i>=0 ; i--)
                if (this.cells[i].characters.length>0) return(false);
            return(true);
        // Indicates whether AT LEAST a cell overflows
        // !! We can't trust Column::overflows !!
        /*bool*/ Column.prototype.isOverflowed = function(){
            for (var i=this.cells.length-1 ; i>= 0 ; i--)
                if (this.cells[i].overflows) return(true);
            return(false);
        /*int*/    Column.prototype.getWidth = function(){
            return(this.width);
        // Redim the column width by widthOffset
        // !! we HAVE TO update the display after resizing !!
        /*void*/ Column.prototype.resizeWidthBy = function(/*int*/ widthOffset){
            this.width += widthOffset;
            // updates the display
            if (APP_INT_VERSION > 3)        // CS2+
                this.recompose();
            else{
                // CS -- thx to Tilo for this hack --
                for(var i = this.cells.length - 1 ; i >= 0 ; i-- ){
                    // Comparing the cell contents against null
                    // seems to internally recompose the cell!
                    if (this.cells[i].contents == null) {}
        // Returns the minWidth of the column according to embedded content
        // and inner space
        /*int*/ Column.prototype.computeMinWidth = function(){
            var iCell = null;
            var w = 0;
            var r = 0;
            for (var i=this.cells.length-1 ; i>= 0 ; i--){
                iCell = this.cells[i];
                w = iCell.computeIncludedObjectsWidth() +
                    iCell.leftInset + iCell.rightInset;
                if (w > r) r = w;
            return(r);
        // Returns SIGNED chars count BY CELL (negatif if overflows)
        /*arr*/ Column.prototype.getCharsCount = function(){
            var r = new Array();
            var sgn = 0;
            for (var i=this.cells.length-1 ; i>= 0 ; i--){
                sgn = (this.cells[i].overflows) ? -1 : 1;
                r.unshift(sgn * this.cells[i].characters.length);
            return(r);
        // Returns lines count BY CELL
        /*arr*/ Column.prototype.getLinesCount = function(){
            var r = new Array();
            for (var i=this.cells.length-1 ; i>= 0 ; i--)
                r.unshift(this.cells[i].lines.length);
            return(r);
        // Matrix: returns the chars count BY LINE / BY CELL
        /*bi-arr*/ Column.prototype.getLinesSizes = function(){
            var r = new Array();
            for (var i=this.cells.length-1 ; i>= 0 ; i--)
                    r.unshift(this.cells[i].createLinesSizesArray());
            return(r);
        // Indicates whether:
        // overflow sign BY CELL x equals sgn(charsCount[x])
        // YES -> -1  , NO -> 1
        /*int*/ Column.prototype.preserveCharsCount = function(/*arr*/ charsCount){
            var sgn = 0;
            for (var i=this.cells.length-1 ; i>= 0 ; i--){
                sgn = (this.cells[i].overflows) ? -1 : 1;
                if (sgn * charsCount[i] < 0) return(1);
            return(-1);
        // Indicates whether:
        // - lines count BY CELL x equals linesCount[x]
        // - no cell overflows
        // YES -> -1  , NO -> 1
        /*int*/ Column.prototype.preserveLinesCount = function(/*arr*/ linesCount){
            for (var i=this.cells.length-1 ; i>= 0 ; i--){
                if (this.cells[i].overflows) return(1);
                if (this.cells[i].lines.length != linesCount[i]) return(1);
            return(-1);
        // Indicates whether:
        // - in each CELL x, each LIGNE y isoceles linesSizes[x][y]
        // (if a cell overflows, returns 1)
        // YES -> -1  , NO -> 1
        /*int*/ Column.prototype.preserveLinesSizes = function(/*bi-arr*/ linesSizes){
            for (var i=this.cells.length-1 ; i>= 0 ; i--){
                if (this.cells[i].overflows) return(1);
                if (this.cells[i].isoceleLines(linesSizes[i]) == false) return(1);
            return(-1);
        //            METHODES CENTRALES
        // !! [CS2 only] Prevents a strange crash on wide table columns selection !!
        // !! Thx to Tilo for this hack --
        /*void*/ Object.prototype.manageFit = function(/*bool*/ FLUIDFITTING){
            if (APP_INT_VERSION>=4){
                $.gc();
            // NOP if empty object
            if (this.isEmpty()) return;
            // min width to preserve
            var minWidth = this.computeMinWidth();
            // let's go!
            this.processFit(FLUIDFITTING, minWidth);
        // Fits this object
        // if FLUIDFITTING -> fluid fitting, else: strict fitting
        // minWidth sets the threshold
        /*void*/ Object.prototype.processFit = function(/*bool*/ FLUIDFITTING, /*int*/ minWidth){
            if (FLUIDFITTING){ // FLUID FITTING
                if (this.isOverflowed()){ // NB : overflowed CELLS are "transparent"
                    var charsCount = this.getCharsCount();
                    var evalFlag = function(thisObj){return(thisObj.preserveCharsCount(charsCount));}
                else{
                    var linesCount = this.getLinesCount();
                    evalFlag = function(thisObj){return(thisObj.preserveLinesCount(linesCount));}
            else{ // STRICT FITTING
                  // NB : overflowed columns are "intouchable"
                if ((this.constructor.name=="Column") && (this.isOverflowed()))
                    return;
                var linesSizes = this.getLinesSizes();
                var evalFlag = function(thisObj){return(thisObj.preserveLinesSizes(linesSizes));}
            // DICHOTOMIC LOOP
            var sgnFLAG = -1;
            var w = ( this.getWidth() - minWidth ) / 2;
            while (w >= PRECISION){
                // resize width by +/- w
                this.resizeWidthBy(sgnFLAG*w);
                // +1 = increase | -1 = reduce
                sgnFLAG = evalFlag(this);
                // divide
                w = w/2;
            // exit with sgnFLAG==+1 -> undo last reduction -> +2w
            if (sgnFLAG>0) this.resizeWidthBy(2*w);
        // MAIN PROGRAM
        if ( app.documents.length > 0 ){
            if ( app.activeWindow.selection.length > 0 ){
                try{
                    var thisDoc = app.activeDocument;
                    var FLUIDFLAG = thisDoc.withinDelay();
                    var memUnits = thisDoc.getUnits();
                    thisDoc.setUnitsTo(MeasurementUnits.points);
                    var selObjs = app.activeWindow.selection;
                    var objsToFit = null;
                    for (var i=selObjs.length-1 ; i>=0 ; i--){
                        objsToFit = selObjs[i].asObjsToFit();
                        if (objsToFit){
                            for (var j=objsToFit.length-1 ; j>=0 ; j--)
                                objsToFit[j].manageFit(FLUIDFLAG);
                    thisDoc.setUnitsTo(memUnits);
                    thisDoc.storeTimeStamp();
                }catch(ex){
                    thisDoc.setUnitsTo(memUnits);
                    exitMessage(ex);
            else
                alert("No object selected!");
        else
            alert("No document opened!");

    InDesign table cells don't break across pages the way they do in Word. It's all or nothing.

  • Indesign CS6 color problems

    Hi there!
    I've a problem with colors and/or color profiles.
    When I import an image (rgb or cmyk) into InDesign, when I export the pdf, it change completely colors; it looses a great part of red-magenta areas.
    I tried quite all profiles suggested in the output intents (Fogra 39, Euroscale), and type of Pdf (X1, 2...).
    I tried also to synchronize all applications profile colors with Bridge, choosing Europe Prepress 3.
    I live in Italy, I own a Master Collection CS6 in English and I work with a Apple MBP 15" Mid 2014.
    I never had this problem before.
    Please help me, because i don't know what to do and because I can't export any pdf for my job!!!!
    Alberto
    Update:
    I tried to export from Photoshop the same image as Tiff and as Pdf. The first is ok, the second one has the same problems of InDesign.
    I tried also to print directly from Indesign and the problem persist.

    Hi Rob! I'm your italian nightmare!
    So I create a new document with this profile:
    and exported in this way:
    The image inserted has SRGB Calibrated20090131 (8bpc)
    These are:
    1) the image
    2) the scan of the image
    3) the scan of the pdf
    I know that scanning don't display colors as they are.
    I can tell you that pdf displays colors like the image visualizers.

Maybe you are looking for

  • Error in selfsecured page while clicking on notification

    Error when we paste the URL in explorer. You are trying to access a page that is no longer active. - You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking. - The refe

  • Two senders and One receiver for File to SOAP scenario

    Dear Friends, I got a new requirement like we have a to different ECC systems from there they will send the Two different Files to XI, XI will send the same file to receiver, but we have only one receiver. for soap adapter purpose they provided only

  • Iphoto keeps crasing

    My Iphoto keeps crashing over and over... I have tried different suggestions from the forum without success.  Can anyone help?  This is the message I get... Process:     iPhoto [850] Path:        /Applications/iPhoto.app/Contents/MacOS/iPhoto Identif

  • ESS - Links issue for Appraisal

    My end-users are unable to access the appraisal forms  on the ESS portal, the link just does not open the form. We have been unable to resolve this issue. can anybody suggest anything? Best Regards Pallavi

  • Lost Playlists - iTunes 6.0.5

    I have not upgraded to iTunes 7 due to all the problematic feedback on this forum. I will wait until some of the issues are resolved. I have been struggling with a continuing problem with iTunes 6.0.5 and my iPod mini. I have iTunes set up to automat