How to set the table

Hi experts,

I have a script for the table to find and change the properties.

Could someone show me how it works.

Respect of

John

myDoc = app.activeDocument;

findTable();

function findTable() {}

for (s = myDoc.stories.length - 1; s > = 0; a--) {}

for (t = myDoc.stories [s].tables.length - 1; t > = 0; t-) {}

myTable = myDoc.stories [s] .tables [t];

tables [t].cells.everyItem (). texts.everyItem () .fillColor = "Black";

tables [t].cells.everyItem () .fillColor = "None";

tables [t].cells.everyItem () .leftEdgeStrokeColor = 'None ';

tables [t].cells.everyItem () .rightEdgeStrokeColor = 'None ';

tables [t].cells.everyItem () .topEdgeStrokeColor = 'None ';

tables [t].cells.everyItem () .bottomEdgeStrokeColor = 'None ';

}

}

}

Alert ("Finish.")

Hi John,.

I have made some changes, but kept things similar to your original code, let me know how you go.

var myTables = app.documents[0].stories.everyItem().tables.everyItem().getElements()

findTable();

function findTable(){
    for ( t = 0; t < myTables.length; t++ ){
        myTables[t].cells.everyItem().texts.everyItem().fillColor = "Black";
        myTables[t].cells.everyItem().fillColor = "None";
        myTables[t].cells.everyItem().leftEdgeStrokeColor = "None";
        myTables[t].cells.everyItem().rightEdgeStrokeColor = "None";
        myTables[t].cells.everyItem().topEdgeStrokeColor = "None";
        myTables[t].cells.everyItem().bottomEdgeStrokeColor = "None";
        }
    }

Kind regards

Brett

Tags: InDesign

Similar Questions

  • How to set the table at the bottom of the Page

    Hi all

    I was working with Oracle apps r12 and Oracle 10 g BI report.

    I was working with customer appraisal report. I have the table used for aging bucket. This table should set at the bottom of the page.

    We have the personalized message to the footer before this fotter message that this table must get fixed.

    Thanks and greetings

    Srikkanth

    Hello

    I tried, but useless, don't is there another way to set the table at the bottom of the table.

    Concerning

    Srikkanth.M

  • How to set the table rows spacing and line changing automatically if is limit

    Greetings,

    I use JDeveloper 11.1.2.4. By default, if you set (or not) the table width and the line is its width, it will create a scroll down bar.

    Is what I want to do, if the text inside each row its greatest width, to change the line inside his line. TO

    more to explain it, I'll demonstrate a small table below:

    MESSAGE ID

    1 Hello Philip

    2 Hello Philip

    3 How are yo

    u today?

    4 tries...

    This way, if the text in the column 'message' is the largest say width 40, to increase his height of line automatically if the text

    fits inside 1 row without creating a scroll bar.

    Thanks in advance for any help.

    Have you attempted to assign noWrap = "false" on af:column?

    Dario

  • How to set the alignment of the field in a table in jdev 11.1.2.3?

    Hello
    How to set the alignment of the field in a table in jdev 11.1.2.3?
    for example: to display a body of numbers in a table as right aligned.
    I tried to put field (amount) VO UI Hint Format Type: Number; Format: 0000.00
    and jspx, flowing, but it doesnot work.
    Thank you.
    Bao

    < af:column sortProperty = "#{bindings." VO1.hints.amount.name}.
    sortable = "true".
    headerText = "#{bindings." VO1.hints.amount.label}.
    ID = "c44" width = "60".
    Align = "center" >
    < af:inputText value = "#{row.bindings.Amount.inputValue} '"
    label = "#{bindings." VO1.hints.amount.label}.
    required = "#{bindings." VO1.hints.amount.mandatory}.
    columns = "#{bindings." VO1.hints.amount.DisplayWidth}.
    maximumLength = "#{bindings." VO1.hints.amount.precision}.
    shortDesc = "#{bindings." VO1.hints.amount.ToolTip}.
    ID = "it58.
    secret = "false".
    inlineStyle = "" text-decoration: overline; ">"
    < f: validator binding="#{row.bindings.Amount.validator}"/ >
    < / af:inputText >
    < / af:column >

    Hello
    To set a field right alignment in a table:
    It doesnot work when InlineStyle-> text-align: right;
    It works when ContentStyle-> text-align: right;

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • How to set the value of a variable in a cluster in LabVIEW to c#?

    Hi guys, I'm working on a small c# program, which by using the interface provided by LabVIEW.  And I know that, with the help of lv. SetControlValue (name, value) can set a variable just on the front panel. But in my case, there are several groups on the front panel. Then it confused me how to set the variables in these groups. For example, there is a cluster named clusterA and a variable named a., I tried something like this:

    lv.SetControlValue("clusterA.valueA",1);
    

    but it totally inoperable. Everyone has some experience with this sort of thing? Thank you very much!!

    Hey guys, thanks a lot for all your response. I just found a simple way to solve this problem. For example, there is a cluster named "ClusterA", and there are only two witnesses, who are: an int value named "IntA" (default = 10 IntA value) and a string value named "StringA" (by default the StringA = 'abc'). In c#, if you call the method:

    var clusterA is vi (Array). GetControlValue ("ClusterA");

    you will get a table looks like: clusterA = {10, 'abc'}; So if you want to change IntA 123, you simply do:

    clusterA.SetValue (123, 0); 123 the value, 0 is the index of IntA in clusterA, after this clusterA table = {123, 'abc'}

    After that, simply to make the table in LabVIEW using:

    VI. SetControlValue ("ClusterA", clusterA);

    and now you see the LabVIEW, IntA is changed.

  • How to set the size of my screen?

    Original title: maintenance

    How to set the size of the screen

    Norm 21

    How to set the standard for screen size 21

    Resolution:
    Right-click on a free space of the desktop > Personalize > Display Setings > move the slider to the left or right to set the resolution. Check your user manual, see if she tells you what resolution is for your computer. My laptop is using 1280 x 800 pixels.

    Here is a table of the guide line:

    You can also try this method...
    Re - set DPI:
    Right-click on a free space of the desktop > customize > column to the left, adjust the size of police (in PPP) > uac prompt > click default scale (96 DPI).

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • How to set the font "ARIAL" family in the RichTextField?

    How to set the font "ARIAL" family in the RichTextField?

    I saw a LOF of the sample displayed how set the font family in the RichTextField, such as defined as CBTF_FONT.

    But how can I put it as Arial font? If it cannot be, anyone could list a family table of fonts available for use in the Blackberry?

    You are right, for these devices you can use fonts already on the device.

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • How to set the attribute in the request of adf defalut search form

    I use the default search engine in Jdeveloper 11.1.2.3 with Table query.

    I followed this blog to replace the query by default: https://blogs.oracle.com/jdevotnharvest/entry/how-to_tell_the_viewcriteria_a_user_chose_in_an_afquery_component

    Question is how to set the value of an attribute in the request. The user will add what ever he wants those who are caught queryEvent I want to add to the value of an attribute that is not displayed to the user and the search engine and it is necessary for the application to run correctly.

    Hello

    If you went on the blog that I posted, you could get the ViewCriteriaRow of the queryEvent and then you can add the attribute that you want to the ViewCriteriaRow, and then run the query accordingly.


    Arun-

  • How to set the background color of a page_item?

    I was pasting "background-color: #5CD65C" in a number of places, like the 'attributes of the HTML table cells' under the label and the tabs of the item, but get no results. Can someone tell me how to set the background color of a cell, please?

    Hi Doug,.
    One method is to add a style to your header html in page attributes, if you add the below css styling and the change of the name of the item page (#P2_FIRST_NAME) to your he should style correctly:

    Thank you

    Paul

  • Hi, how to set the maximum number of connections of FMS on the same IP address

    How to set the maximum number of connections of FMS on the same IP address?

    The application.clients object available in action script server-side maintains a list of all clients connected to the Court at this moment here.

    You can browse the table and compare the property Client.ip to determine the max connections from an ip address and therefore accept/reject connections.

    It can be as simple as this in the application.onConnect

    application.onConnect = function (clientObj)

    {

    var totalConnections = 0;

    for (i = 0; i< application.clients.length;="">

    {

    If (application.clients [i] [ip] is clientObj [ip])

    {

    totalConnections ++;

    }

    }

    If (totalConnections > 10)

    this.rejectConnection (clientObj);

    on the other

    this.acceptConnection (clientObj);

    }

    Above the piece of code is untested so you may have to make some changes to make it work, but your solution should look something like this.

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the condition of rule to check the Primary Key, Foreign Key and Unique

    I use Oracle 10.2
    Could someone tell me please how to set the rule condition to check the primary key, foreign key constraint of uniqueness?

    Hello

    Primary key, unique constraints and foreign key are better applied using the native functionality of database constraint. If you like the rules to check if a key exists at the time of the evaluation, you can use a function defined by the user in a rule condition and this function can ask to turn the table keys.

    Hope this helps,
    -Aravind.

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

Maybe you are looking for