I need to force column widths to values smaller than the indesign preset minimuns (1,058mm).

Jongware provided two ideas for forcing a table's rows and columns into heights and widths smaller than the Indesign preset 1.058mm.
For rows: app.selection[0].properties = {autoGrow:false, height:"0.5mm"};
And for columns he sugested: app.selection[0].width = "0.5mm";
The problem is that while the code for rows works perfectly, the one for columns returns an error "Expected Unit, but received 0.5mm" I'm running Indesign cs6. Anyone has any insights to help fixing such script, or maybe some different approach? Thanks!

If the cell's insets are all set to 0, I have no problem with Jongware's code.
But this was InDesign CS5.5.
With CS6 v8.0.2 there will be an error!
app.selection[0].cells.everyItem().width = "0.5 mm"; //ERROR in CS6, will work in CS5.5
Or will fail silently for the setting a value for width , if more than one property, the width, is applied over:
app.selection[0].cells.everyItem().properties = {autoGrow:false, width:"0.5 mm", height:"0.5 mm"};
InDesign CS5.5 screenshot:
I think we have a bug here…
Uwe

Similar Messages

  • ( ?split-column-width-unit:value? not supported

    Hi,
    I tried to use the following:
    (<?split-column-width-unit:value?> in my template but when I ran the preview, I am getting an exception saying "org.xml.sax.SAXException: element xdofo:split-column-width-unit is not supported yet."
    If it is not supported, then why is it in the XML Publisher manual?

    Its supported ... you may have some other problem in your template causing the parser to complain. Log a TAR, get it routed to XMLP and we can help. Be sure to load template and sample data.
    Tim

  • The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.

    The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.
    All was normal until the icon for the disk stopped showing up on the desktop when I would plug it in. I rebooted the computer, and the disk icon now shows up but this new look to the finder window started as a result. The hard disk does not have this problem when I use it on another Mac running Snow leopard. Also, two other external hard disks that I use on this computer running lion 7.4 still have the normal header bars with columns that can be reordered, etc.
    I have tried looking in preferences and other places but have not seen this discussed. 

    Well duh - I finally figured out that somehow in the View options for the hard drive, the "arrange by" option had been changed to "by date" from "none". Not sure how that happened, I had never used the "view options" menu tem before. Changing "arrange by" back to "none" gets the gray column headers and the collapsible folder icons back. 

  • Invoice created with value highier than the PO value

    Hello,
    I would like to know what should happen if an Invoice is created in the R/3 backend with a value higher than the PO value.
    Regards,
    Lina

    Hi
    <u>"If you do not define any tolerances, this means that it is not possible to enter a delivery/incoming invoice in EBP where quantity or value has been exceeded" So, this works different in SRM, that we do in R/3.</u>
    <b>Please go through the following links / SAP OSS Notes -></b>
    Note 835073 Enhancement of the tolerance checks
    Note 496901 Tolerance check - back-end service PO with/without limit
    Re: GR tolerance problem
    Tolerance Check for Price Variance is not working
    Re: Tolerance in SRM and ECC (BE R/3)
    Re: Tolerance Groups
    SRM: many confirmation for PO
    Re: MM-SUS Scenario---Error in R/3 IDOC when i change the Quantity in SUS
    TOG parameter and tolerance checks better understanding
    <b>Hope this will definitely help.</b>
    Do let me know, incase you need any other details.
    Regards
    - Atul

  • On and iPad how to Allow User To Enter Custom Text  (Dropdown only) Enables users to enter a value other than the ones in the list.

    On an iPad, how do I :
    Allow User To Enter Custom Text
    (Dropdown only) Enables users to enter a value other than the ones in the list.'?

    Are you using the built-in Currency option under the Format tab? If so,
    what you're describing should not happen.

  • "Reversal value greater than the  value invoiced to date" error

    Hi all,
    I have a scenario.  there is a invoice which we tried to reverse through MR8M. But it was not successful. Now , as a alternative solution I am trying to book credit memo. There were two line items in the PO.  When I try to book Credit memo, the system throws error "Reversal value greater than the  value invoiced to date" only for line item 2. Line item 1 is perfectly OK. Any suggestions why this is happening ? If it would have been exchange rate problem then I think the error should be for both the line items.
    Regards,
    Vivek

    Hi,
    You told that youtr PO is having two line utems and you are trying to post the credit memeo for the two line items.
    Does your po is invoiced for the two line items ?
    if the second line item is not posted with any invoice , while posting credit memo to second line item system will give this error.This is one scenario.
    May be you would have wrongly entered the values ?
    There could have been already reversed or posted the credit memo for then second line item .
    check whather you are posting any subsequent posting ?
    Regards,

  • Dynamically setting column width doesn't work all the time

    I wanted to dynamically set the width of a column in a JTable to be half of the width of a another column. This should happen whenever the frame is resized. But somehow I need to tell this twice to Java. If I don't then sometimes the column width isn't set new.
    Is this a Java bug or what?
    public void componentResized(ComponentEvent ce)
         try
              ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMaxWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
              ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMinWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
              // Again, or it won't work:
              ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMaxWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
              ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMinWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
         catch(SQLException e)
    }

    Is it possible that your call to
    ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMinWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
    is altering the response created by
    ref.table.getColumn(ref.rsmd.getColumnLabel(5)).setMaxWidth(ref.table.getColumn(ref.rsmd.getColumnLabel(1)).getWidth() / 2);
    ? Have you tried calling them once but in the other order? Or just calling the "setMaxWidth" call twice and leaving out the second "setMinWidth"?
    Good luck... :)

  • Pages (5.2) won't quit on 27" iMac with OS 10.9.2. I need to force quit and then reopen. Fortunately the document is saved. Anyone else have this issue?

    In summary I purchased a new 27" iMac with Mavrickes, OS 10.9.2. When I try to close a Pages (v5.2) document   after saving the document the application freezes and I get the spinning rainbow ball. I then need to Force Quit Pages. When the Pages application is reopened the documents pop back up, with the data saved after the Force Quit, I am able to close the document. Any suggestions?
    I deleted Pages and then reinstalled a new downloaded copy of the application and the issue persists.

    If you migrated from an older Mac, Pages '08/'09 might still be in your Applications/iWork folder.
    Peter

  • Set the values less than the value prompted

    Hi Every one,
    I have a requirement where the report will be navigating to other report.
    example: I have a report A and when I click on the any value in date column it navigate to other report by filtering the data by the date we clicked to navigate.
    Here my question is, it is filtering the navigated report by the date we selected. but I want it filter the dates equal to or less than the date we selected
    like if I click on date 11/7/2011 it should navigate to the report B and in report B the data should show data for the dates equal to or less than 11/7/2011
    is there any way to set this. because i can see only is prompted that we set for this requirement.
    Thanks in Advance.
    Edited by: 861096 on Nov 11, 2011 9:01 AM

    Hi ,
    While creating the prompt give the presentation varible.
    So when you will select the value for the Report A say ex :11/7/2011 it will be catched by the presentation variable.
    In your second report use this presentation variable as a filter condition where date < = presentation variable.
    It will work for you .
    Thanks,
    Ananth

  • Urgent Help Needed - Joining On Columns with Concatenated Values

    I have a challenging issue where I'm trying to join two tables together with a USER_ID column. The caveat is that in one of the tables, the USER_ID is potentially concatenated.
    For example, TABLE1 has 2 columns:
    1) USER ID
    2) USER NAME
    TABLE2 has 3 columns:
    1) USER ID
    2) USER COUNTRY
    3) USER DATE HIRED
    The resulting SQL query is:
    select * from TABLE1, TABLE2
    where TABLE1.USER_ID = TABLE2.USER_ID
    The problem is that TABLE1.USER_ID is only limited to 1 ID per record. However, TABLE2 potentially has concatenated USER ID's.
    In other words, while TABLE1 has a USER_ID = 'ABC123', that same ID may appear in TABLE2 concatenated as USER_ID = 'ABC123;ABC124'
    Obviously, with a natural join, this individual will be dropped from the SQL result-set.
    Is there a "join function" that I can use to say - "whenever I'm joining these 2 tables, as long as the TABLE1.USER_ID appears *ANYWHERE* in the TABLE2.USER_ID concatenated string (regardless of position), then please include this record in the join??
    As of right now, I have total 80 rows. 55 of them successfully are pulled because they have a one-to-one USER_ID correspondence. The other 25 are dropped out because they have multiple concatenated ID's in TABLE2 and only one ID in TABLE1.
    Any advice/help will be greatly appreciated!

    Hi
    Etbin wrote:
    Maybe
    select *
    from TABLE1,TABLE2
    where instr(TABLE2.USER_ID,TABLE1.USER_ID) > 0Regards
    Etbin
    Edited by: Etbin on 20.4.2012 23:27
    Forgot to mention; <strike>Urgent</strike>How could you forget the "I found love in Slovenia" problem?
    If the keys can be different lengths, then the solution above will match different keys if the one in table1 happens to be a substring of the one in table2. For example, if table1.userid='ABC'1, and table2.userid='ABC123;ABC124', then it will be considered a match.
    To avoid that:SELECT  *
    FROM      table1
    ,     table2
    WHERE      INSTR ( ';' || table2.user_id || ';'
               , ';' || table1.user_id || ';'
               ) > 0And Martijn is right (as usual). Storing several different values in a single column, like you're doing with table2.user_id, will cause lots of problems. Store each one in a separate row of a new table.

  • Need help: Dimensional column has assoc with more than 1 level

    Hi,
    I am trying to have multiple drill paths for a single dimension. For example, the Date dimension should be navigable by the following hierarchies:
    DateDimension
    +---- Calendar Year
    ......---- Calendar Quarter
    ............--- Calendar Month
    ..................-- Day
    +---- Calendar Year
    ......---- Day
    So, in other words, in Answers I should be able to add 'Calendar Year' to my report, display results, and then click down the path Calendar Year -> Calendar Quarter -> Calendar Month -> Day OR Calendar Year -> Day.
    However, when I model this in the Admin tool, it allows it, but then I add the column in Answers and get a runtime error:
    +[nQSError: 14064] Dimensional column [column name] has associations with more than one level+
    This is possible in BO and other tools. If it is not possible in Oracle BI EE, then one alternative would be to have two separate versions of 'Calendar Year' added to the report in Answers, each with their own drill path.
    Any ideas???
    Thanks for any help you can provide.
    Matt Warden
    Balanced Insight, Inc.

    Hi,
    You try this one .
    Create the Hierarchy Year --> Quarter--->Month-->Week-->Day in rpd as usual manner .But in Year report use navigate option in column properties add Quarterly Report (Caption it as 'Quarter')and Day level report(Caption it as 'Day') in navigate option.So when you click on Year column it i will prompt to select either Quarter or Day and when u select Quarter u will have normal drill functionality from Quarter to Month to Week and Day.Hope this helps you.
    Thanks.

  • How do I get a drop down menu to auto default to option selected a value other than the default written in the javascript?

    I use web based software where I have to select from a drop down menu a particular option. However, I only ever use 1 option. Sometimes as much as 100 times a day. Is there anyway to get Firefox to auto select the same option every time? I don't have access to the source code so I cant change <option selected="selected" value="">.

    A possibility would be a Greasemonkey script to do this automatically or a JavaScript bookmarklet to do it manually.
    You would need to remove the selected="selected" from the currently selected option and set that attribute for the wanted option.
    You can test the bookmarklet here:
    *https://developer.mozilla.org/en/HTML/Element/select
    <pre><nowiki>javascript:(function(){var d=document,s=d.getElementsByTagName('SELECT')[0],o=s.getElementsByTagName('OPTION'),S='selected',v='value1',i;for(i=0;O=o[i];i++){if(O.value==v){O.setAttribute(S,S);O.selected=true}else{O.removeAttribute(S);O.selected=false;}}})();</nowiki></pre>
    If there are more 'selects' then you need to adjust the element number [0] and you also need to adjust the value of the wanted option.

  • I need to reinstall Media Encoder CC (previous version than the current) because i need flv export...Any advice ?

    Hi,
    Some client of mine still needs to get flv videos for his website, and i've seen that Media Encoder CC 2014 doesn't have this option anymore.
    Unfortunately i already uninstalled the previous version, any way to get it back ?
    Or is there any plugin for the current version that allow flv export ?
    Any help would be really appreciated, i need to deliver ... tomorrow :/
    Thanks a lot !

    ame is downloaded and installed with flash, after effects and premiere pro.  install one of those cc versions and see if ame cc is also installed.

  • Can a setter store a value other than the one passed in?

    I have a set of nodes that each have a String 'name' property. I want to ensure that no two nodes have the same name, so whenever a name is set, I want to consult a global hash to see if the name has already been allocated. If so, I want my setter to choose a similar but unique name and set my node's name to that.
    If I do this, do I break the beans philosophy? Would utilities that use beans work incorrectly?

    If I understand the use of bean correctly; then no, you will not cause utilites to act badly "that use beans properly".
    I believe one of the uses of Setters is to do some type of validation on the information before it is accepted--your idea is well within that phylosophy.

  • Photoshop brush strokes are smaller than the cursor, need to make them the same.

    My photoshop brush, pencil and Clone strokes are smaller than the cursor, which makes it very difficult for accuracy. Don't know what made them change, but want the cursor and stroke to be the same.
    I've tried different settings in the brush dialog box, with differenc tip settings, etc, with no results. Also, tried different settings in Preferences/Cursor setting. No luck.
    Help!

    <<<<
    Under Preferences (cmd k) > Cursors > Painting Cursors, the setting should be Normal.
    Usually "Reset Tools" as described in post 1 helps. Have you tried it yet?
    Gene<<<<<<
    Gene,
    Yes, I've tried that, and all the variations on that page, without success.
    Larry

Maybe you are looking for