Format mask for the size of table cells

Hi all

I'm working on a catalog with a lot of products, and each product has a table for its specifications.

The catalogue is ready for printing, but now the customer asks me to enlarge certain parts of the text in the table.

This means that I have to give some cells more space. The cells have different sizes, and that's the problem:

Is there a way to define the new cell widths and heights as a sort of "master format" so that I can change the tables
for the design of new without marking of each column and adjusting by hand?

Unfortunately, the layout is too complex to have tables on a master page, as they are not on a particular coordinate

throughout the catalog.

I hope I described my problem quite clearly I'm no native speaker

I thank very you much in advance!

Max

The script linked in the post one of this thread will allow you to adjust automatically to match - table column widths it allows to save the widths of a table in the style of the table and then apply them to other tables of this style.  I don't know about heights, but if all the heights will be the same within a given table, you can select all the lines and enter the exact height of the cell.

Re: width of column in the specs of the cell

Tags: InDesign

Similar Questions

  • Best way to apply the Format mask for the fields in a Table of the ADF

    Hi all

    12.1.3 JDev

    I would like to introduce the price data, quantity etc. fields of the ADF Table of the user interface in a specific format.

    These formats need to be dynamic, because they change according to the locale selected and sometimes they differ in the same locale.

    I tried approach converter custom but not satisfied because it is called several times when it is used in a table of the ADF and when asked that told me that this is the behavior.

    Custom converter of an attribute in a table called several times

    So, please suggest a better way to apply the format mask (which has min & max fractions, grouping, rounding) to the fields in the Table of the ADF.

    Please let me know if you need more information.

    Thank you

    B S Bilodeau.

    The second question, which I've mentioned here is the converter is called several times for each click on the table.

    This isn't a problem, this is the expected behavior (and you can't avoid it).

    Dario

  • Help with a script to search for text in a table cell and apply the cell style

    Hello

    I build the script which Jongware wrote in his post here http://indesignsecrets.com/tackling-tables-through-scripting.php - I am trying to create a variable in which I can add a number of different parts of the text, in this case it's different parts of the United Kingdom i.e. 'London', 'East', 'Scotland' etc. I just need the script to apply the cell Style - 'District Cell' - to any cell that contains text in the variable. Here's the script, if anyone can help I would be grateful.

    function checkWhichTable()
    {
    // ensure the user made a selection
    if (app.selection.length != 1)
    return null;
    var currentTable = app.selection[0];
    if (currentTable.hasOwnProperty("baseline"))
    {
    currentTable = app.selection[0].parent;
    }
    while (currentTable instanceof Cell || currentTable instanceof Row || currentTable instanceof Column)
    currentTable = currentTable.parent;
    if (!(currentTable instanceof Table))
    {
    // No table selected
    return null;
    }
    return currentTable;
    }
    app.doScript(checkUserSelection, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Process Table");
    
    
    function checkUserSelection ()
    {
    var a_table = checkWhichTable();
    if (a_table == null)
    {
    if (confirm("No table selected. Do you want to process *all* tables?") == false)
    return;
    allTables = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
    for (aTable=0; aTable<allTables.length; aTable++)
    {
    processTable (allTables[aTable]);
    }
    } else
    {
    processTable (a_table);
    }
    }
    function processTable(table)
    {
    // do something here!
    
    
    //Find Text in Cell and apply Cell Style
    var textInCell=['London', 'Scotland', 'South West'];
    for (i=0; i<table.cells.length; i++)
    {
    if (table.cells[i].texts[0].contents==textInCell)
    table.cells[i].appliedCellStyle = "District Cell";
    }
    
    
    
    
    }
    

    Hello

    Change this feature:

    function processTable(table)
    {
    //Find Text (exactly as it is) in Cell and apply Cell Style
    var
      textInCell=['London', 'Scotland', 'South West'],
      mFound, cFound;
    
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^(" + cities.join("|") + ")$";
    mFound = table.findGrep();
    while( cFound = mFound.pop() )
      cFound.parent.appliedCellStyle = "District Cell";
    }
    

    Jarek

  • Why, when I add or change the size of one cell, other page cells extend?

    Why, when I add or change the size of one cell, other page cells extend?

    Start with the links I provided in my first answer - from Tables to CSS parts 1 and 2.

    There are tons of free online tutorials available on the web.


    You are here

    The positioning is everything - treats the well known browser bug fixes.

    Max Design - CSS Layouts Page

    TJK Design - a HTML, several CSS layouts

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB
    www.Alt-Web.blogspot.com

  • When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    Hi kevin7frg,

    You can go to "file > create > scanner > configure presets PDF»

    The dialog box that appears, you can choose 8.5 X 11 as the default width and height of PDF pages to scan.

    Hope that helps.

    Kind regards

    Ana Maria

  • How can I write the trigger for the global temporary Table

    Hi Grus,
    How can I write the trigger for the global temporary Table.

    I created the TWG with trigger using the script below.


    CREATE A GLOBAL_TEMP GLOBAL TEMPORARY TABLE
    (
    EMP_C_NAME VARCHAR2 (20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;


    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE, UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    BEGIN
    INSERT INTO VALUES EMPNAME (: OLD.) EMP_C_NAME);
    END;
    /


    trigger was created successfully, but her would not insert EMPNAME Table...

    Please guide if mistaken or not? If not wanting to give a correct syntax with example


    Thanks in advance,
    Arun M M
    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    
    you are referencing old value in insert stmt.
    
    BEGIN
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    END;
    

    then run your app, it works very well...

    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    (
    EMP_C_NAME VARCHAR2(20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;
    
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    dbms_output.put_line(:OLD.EMP_C_NAME||'yahoo');
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    dbms_output.put_line(:OLD.EMP_C_NAME);
    END;
    /
    
    create table EMPNAME as select * from GLOBAL_TEMP where 1=2
    
    insert into GLOBAL_TEMP values('fgfdgd');
    commit;
    select * from GLOBAL_TEMP;
    select * from EMPNAME;
    
    output:
    1 rows inserted
    commit succeeded.
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    

    He got Arun

    Published by: OraclePLSQL on December 28, 2010 18:07

  • FOR the UPDATE OF table.field

    Why the following does it
    create table division (code varchar2(2) primary key, div_desc varchar2(20));
    
    insert into division values ('01', 'Ninja assassins');
    insert into division values ('02', 'Working for the man');
    
    
    create table employees (tk number, first_name varchar2(10), last_name varchar2(10), code varchar2(2) references division(code));
    
    insert into employees values (1, 'Chuck', 'Smith', '01');
    insert into employees values (2, 'John',  'Smith', '02');
    
    DECLARE
    
      CURSOR my_csr IS
        Select e.tk, e.first_name, e.last_name
        From employees e, division d
        Where e.code = d.code
          and e.code = '01'
          and e.last_name = 'Smith'
        For update;
        
        cnt_updated NUMBER;
    
    BEGIN
    
      cnt_updated := 0; 
    
      FOR my_row IN my_csr
      LOOP
    
        Update employees
        Set last_name = 'Forbes'
        Where current of my_csr;
        
        cnt_updated := cnt_updated + SQL%ROWCOUNT;
        dbms_output.put_line('You updated '||cnt_updated||' records');
    
      END LOOP;
    END;
    but just add the clause "for update" allows to make the point?
    DECLARE
    
      CURSOR my_csr IS
        Select e.tk, e.first_name, e.last_name
        From employees e, division d
        Where e.code = d.code
          and e.code = '01'
          and e.last_name = 'Smith'
        For update *of e.tk*;
    We discovered this recently, and fellow developers are wondering "why?" Is there a reason documented, or is - just how it is?

    Thank you
    -= Chuck

    of 'of the user to the database PL/SQL Oracle® reference Guide. "
    "10g Release 2 (10.2):
    "During the interrogation of several tables, you can use the FOR UPDATE clause to limit the line blocking to specific tables. Rows in a table are locked unless done FOR UPDATE OF clause refers to a column in the table. For example, the following query locks the rows in the employees table, but not in the departments table:

    DECLARE
    CURSOR c1 IS SELECT last_name, department_name FROM employees, departments
    WHERE employees.department_id = departments.department_id
    AND job_id = "SA_MAN."
    FOR the UPDATE OF treatment; »

    a little demo:

    SQL> select * from v$version;
    
    BANNER
    -------------------------------------------------------------------------
    
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    
      1   DECLARE
      2     CURSOR my_csr IS
      3       Select e.tk, e.first_name, e.last_name, e.rowid
      4       From employees_t e, division d
      5       Where e.code = d.code
      6         and e.code = '01'
      7         and e.last_name = 'Smith'
      8       For update of e.tk;
      9       cnt_updated NUMBER;
     10   BEGIN
     11     cnt_updated := 0;
     12     FOR my_row IN my_csr
     13     LOOP
     14       Update employees_t
     15       Set last_name = 'Forbes'
     16       Where current of my_csr;
     17       cnt_updated := cnt_updated + SQL%ROWCOUNT;
     18       dbms_output.put_line('You updated '||cnt_updated||' records');
     19     END LOOP;
     20*  END;
    SQL> /
    You updated 1 records
    
    PL/SQL procedure successfully completed.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1   DECLARE
      2     CURSOR my_csr IS
      3       Select e.tk, e.first_name, e.last_name, e.rowid
      4       From employees_t e, division d
      5       Where e.code = d.code
      6         and e.code = '01'
      7         and e.last_name = 'Smith'
      8       For update;-- of e.tk;
      9       cnt_updated NUMBER;
     10   BEGIN
     11     cnt_updated := 0;
     12     FOR my_row IN my_csr
     13     LOOP
     14       Update employees_t
     15       Set last_name = 'Forbes'
     16       Where current of my_csr;
     17       cnt_updated := cnt_updated + SQL%ROWCOUNT;
     18       dbms_output.put_line('You updated '||cnt_updated||' records');
     19     END LOOP;
     20*  END;
    SQL> /
    
    PL/SQL procedure successfully completed.
    

    Amiel

  • mask for the format issue date

    I was wondering why this first query works, but the second does not work, if someone could help please :

    [quote]

    SELECT course_no, section_id, to_char (start_date_time, 'Day' The "Ddspth" of "fmMonth yyyy") IN the section

    WHERE to_char (start_date_time 'DY') = 'Sun '; [/ quote]

    [quote]

    WHERE to_char (start_date_time, 'Day') = 'Sunday '; [/ quote]

    any ideas? can't see what I'm missing?

    Thanks in advance,

    Nick

    Date format day returns the name of the white day to the length of the longest day name (in the appropriate language):

    SQL > select ' [' | to_char (sysdate + 1, 'day') |] ']' double.

    '['|| TO_CHA
    -----------
    [Sunday]

    SQL > select ' [' | to_char (sysdate + 1, 'FMDay') |] ']' double.

    '['|| TO_CHA
    -----------
    [Sunday]

    SQL >

    Use FM modifier and,'nls_date_language = English "to make independent NLS:"

    WHERE to_char (start_date_time 'FMDay', 'nls_date_language = English') = 'Sunday ';

    SY.

  • Dynamically adjust the size of table control panel

    Hello

    I have a combo box control that I drag within a table.

    Since my request depends on the size of the initialized array, I'm having a problem with the car, adjust the number of items to display on the control panel.

    Say for example, I wanted to have 4 zones of drop-down list on my table, I drag the table to show the 4 combo boxes.

    The problem is that if I wanted to change this moment of execution at 2 or 6 elements, it still shows 4 items in the control.

    Is there a way to adjust based on the number of items?

    I found it... must be a day tired... Since the solution is too simple

  • default value for the size of the array

    GDay,

    I have a cluster with some values and an array of Boolean. I use the cluster in different screws, so I recorded it with a typedef.

    I would like to add a required table for my table size 2-dimensional Boolean. How can I afford?

    Thank you very much

    bemvo

    Store default values or using the table to really reshape does not execute the action to force a mandatory array size. You can't really set a size of array binding 'automatically '. A programmer can plop down your typedef on the block diagram and change the number of lines/columns in any way they want, regardless of whether it has default values. This way, your program must check each time the cluster is used. If you choose to generate a mistake is yours, depending on which means that data.

    On a broader note, LVOOP (or similar) can be used for this sort of thing. By example, if you had an accessor function to set the table this accessor function can check that the size of the array.

    You may also be able to do with XControls, but I don't know since I have very little familiarity with the people.

  • Help for the reconciliation of table. Average cost

    So this is my attempt to imitate a function block that we use in our standard converter software - "Decimation filter" which is nothing more than a running average / mobile. The sample size is adjustable to execution of 2 to 64 samples (decimation factor). I saw many topics on this and used to average around 4 large samples shift registers - but I wanted to be able to change the sample size without recompiling. I'm new to LV, there is likely a lot of better ways to do this.

    I would like to have answered is linked to clear the table, if the decimation factor is set to a lower number than the last time that the loop executed. (The uppercase - false statement is wired directly by)

    The math in the shift register: creates an array index that cycles from 0 to (decimation Factor-1). The index is then used to fill elements in the table (the rest being zeros). When the decimation factor decreases, I need zero external element in (former decimation factor - 1) (new decimation Factor-1) positions. So I tried various things, but the only thing that seems to work, it's the re - initialize the array. I think it's less than optimal.

    I tried:

    (1) leaving the tunnel of continuous wire output for the real deal and selecting the option 'use default if unwired' - thinking I'd get a table of 64 elements, of zeros. Doesn't seem to work.

    (2) a constant matrix cable tunnel exit if this value is true. When I followed him, after a decline in decimation factor - the probe seems to indicate an array of elements, not 64 No. And I do not see how to specify the size of the array of constant matrix.

    If I use this in my application it will run on a target of cRIO.

    Any help much appreciated.

    You already have your initialized table, why not use it?  Wire your table initialized via if this value is TRUE.  Or better yet, use Select? function.

  • Format recommended for the PDF author metadata

    Hello

    I work as a librarian and I am responsible for the Department of the thesis of my University Library. These are filed and archived as PDF files. Some of them are available online, some are not.

    I was told to systematically fill metadata "Title" and "Author" for each PDF deposited in our electronic despository.

    My question has to do with metadata "author." Is there a structure recommended for her?

    As it is I can think of a lot of different alternatives:

    First name last name

    LastName Firstname

    LastName, Firstname

    etc.

    As a librarian, my instinct was to choose the name, first name format (used in the author/creator DC element, for example), but I realized that whenever I have saved the PDF file and then displays the part of metadata (via the shortcut Alt D), it would show "Lastname, Firstname" rather than the full name (for some unknown reason, adds Adobe Pro "" ""). After some tests, I came to the conclusion that the coma was the source of the problem. So I changed my mind and adopted the format Firstname Lastname , but I'm not sure that this is the best option.

    So if I ask you a few questions, here they are:

    -Which format do you recommend for the metadata of the author (if there is one)?

    -Why a coma generates ""?

    Is there a specific separator character that I use when I need to fill two different names (if a given thesis has been written by two different people)? (this issue also applies to metadata "Key words")

    Thanks for your patience and for your time,

    See you soon,.

    JHM

    There are no rules in itself, but the XMP specification defines DC: creator as a ProperName field, which means it must be written in the way he would say - "John Smith" rather than "Smith, John". Finally, it is until you do with data - if your external search system to priority of family name, do it.

    The fields on the tab of "description" of PDF Properties dialog comes from this Document information block in the standard PDF file, which is independent of the XMP metadata. Although these fields of DI are often people will look on, in a formal catalog system the XMP object has priority (indeed, in the ISO PDF/A standard that you are supposed to ignore completely DI fields).

    Document Information fields are stored in the PDF file as strings rather than the XML entities. Commas would confuse the parser in thinking it was to see a table, so they will trigger Acrobat in order to encapsulate the entries between quotes. He will assume a comma and a single space are part of an individual term, if you want to create a list using the semicolons or several spaces between words. Senicolons conquer spaces:

    • Doe, John; Lord Lucan; Barney, the Purple dinosaur will be kept at the "Doe, John"; Lord Lucan; 'Barney, the Purple dinosaur'
    • Is no one, no one will be kept to the ', that is, not a "; person because the spacing is a term separator.

    The important thing to remember is that the entrance of DC: creator XMP is updated whenever you change the author field of DI, but it does NOT follow the same rules. ProperNames XMP are OK with spaces but they don't like commas or semicolons - so the first example above appears in the tree view of XMP as

    1. DOE
    2. John
    3. Lord Lucan
    4. Barney
    5. Dinosaur
    6. the
    7. Purple

    This reinforces the idea of using names as spoken. Lord Lucan has survived his trip to XMP, John Doe became two people. Barney is beyond hope. in many ways.

  • the textField element formatting dramatically increases the size of my file

    I have a relatively simple form for clients to create the stationery business (visit/comp card slip) for themselves, to then send our printing Department

    It is built as follows:

    Page 1 Instruction, business cards and samples of model sheet, the client fills text fields and a button to save/email

    Page 2 is a sheet A4 10 subforms, a copy of the original card on Page 1

    Page 3 is a sheet A4 3 subforms a copy of the original model on Page 1 sheet

    My 3-page PDF file is 3 MB, with a total of 119 KB of images embedded in the file. During the re-creation from scratch, I noticed that when I edit the textfield object to a specific size, to remove the legend, change font, etc., the size of the file increases. Only a single text field treated as this added an another 400 KB of the size of my file.

    I am following the format of a similar form that has as much information (maybe more), and this file, over 2 pages, total not more than 800 KB. There are several text fields for the customer to add their details.

    Could I have a bug?

    Are there problems of incompatibility or conflict with other software?

    All this experience and found a solution?

    Using LiveCycle Designer (9.0) ARE on Win 7 64-bit. Have you tried a recent update for CS6 (e-Learning suite) who screwed up other parameters of the software and have since removed it (CS6) for now.

    Thank you

    DOM

    It may be the police that you changed in your field. Try to use as little of different fonts as possible. Otherwise, if it's a popular font that you are using you can remove the option of them be incorporated into the form. File > properties > Save Options and uncheck the box embedded fonts.

    Kyle

  • "Submit to" will depend on the number of table cell

    Hello

    When you click on a "submit" button, I try to have my form go to some people based on a number in a table cell.

    For example, if the amount in dollars in the table cell, I have named "TotalPrice" is $ 1,000 or more, he goes to a group, and if it is less than $1,000, he goes to another group.

    Here is the script I am trying me, but not having not successful...

    var vEmail;
    var vCC;
    
    
    if (Page1.Table1.Row[11].TotalPrice.rawValue >= 1000)
    {
        vEmail = Page1.Buyer.rawValue; 
        vCC = Page1.RequestorEmail.rawValue + "[email protected]";
    }
    else
    {
        vEmail = Page1.Buyer.rawValue;
        vCC = Page1.RequestorEmail.rawValue;
    }

    Any advice would be appreciated.

    Kind regards

    ZeroZone

    var vEmail;
    var vCC;
    
    if (Page1.Table1.Row.all.item(11).TotalPrice.rawValue >= 1000)
    {
        vEmail = Page1.Buyer.rawValue;
        vCC = Page1.RequestorEmail.rawValue + ";[email protected]";//make sure to separate emails with semicolons(;)
    }
    else
    {
        vEmail = Page1.Buyer.rawValue+";[email protected]";
        vCC = Page1.RequestorEmail.rawValue;
    }
    
    app.mailMsg({bUI:true,cTo:vEmail,cSubject:"My Subject",cCC:vCC})
    

    Kyle

  • ESX host with local storage recommended for the host partition table?

    Hi all

    I know that the best practical partition table should look like this:

    Mount Point

    Partition

    Size

    Description

    / dev/sda (primary)

    / Boot

    ext3

    250 MB

    Change of extra space for upgrades

    N/A

    SWAP

    1 600 MB

    Change the maximum size of Exchange service console

    /

    ext3

    5120 MB

    Change of extra space in the root

    / dev/sda (Extended)

    / var

    ext3

    4096 MB

    Create partition to avoid an overflow of root with log files

    / tmp

    ext3

    1024 MB

    Create partition to avoid an overflow of root with temporary files

    / opt

    ext3

    2048 MB

    Create partition to avoid overfilling root with the log files of VMware HA

    / Home

    ext3

    1024 MB

    Create partition to avoid an overflow of root with agent / user files

    vmkcore

    100 MB

    Pre-configured

    However with a system with local storage would you set it up the same way, and whatever it is must be amended to change to get ESX to write log files to the different partitions?  I would like to configure it for future expansion for when the enterprise package is configured.

    Yes, I would set up the same way with an ESX with local storage server and nothing needs to be changed for the vmekernel right at the partition/var - unless of course you want to write to a log server that you need to change a configuration file to point to the server logs.  If you talk to the ESX Enterprise license you willnot have to change partiition table-

    Also on something else if you don't have a SAN/NAS storage you will also need to create a VMFS partition on the local data store to host your virtual machines

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

Maybe you are looking for