Word, lines background color table

Hello

I need help working table, the background color of line.

I have a different table from the doc. but this specific table will be the place where the bookmark (test2). And this table should have all the lines of even number of color gray or any other color, just like all the other table that you see in the attached doc.

Any help?

agyna wrote:

I want to just change the shading on this specific table and a table right after the table is inserted into the report, wherever this table will, which means that wherever I put my bookmark to insert the table.

Because we cannot get the array index, you will not be able to use Word and Shading.vi table borders

Another way to grab a handful of table must use its range. For this we will use the range (wd) - start (xl) out of the Table to add to Report.vi, ungroup this output to get the value of start (wd) and end (wd). You will now work with Word activeX properties and methods.

Here is a picture that show you how to proceed. Now, what you need to do is to become familiar with the Word activeX objects, the GTA (Report Generation Toolkit) is useful for the basic operation but want you want to do, is beyond his reach.

I strongly recommend you have a look at the methods and properties that I used in the next screen shot and use this link to watch carefully their definition and their use.

Ben64

Tags: NI Software

Similar Questions

  • Drag the tables, odd and even rank-background color?

    How can I set the background color of line of odd and even rows? in adf dragged table

    line 1-white

    line 2-black

    line 3-white

    line 4-black

    Always mention jdev version.

    See this post: line alternative color in the table of the ADF

    Dario

  • How to change the background color of a line when you have the selection of cells in tableview?

    I have a tableview and I chose the selection of cells. How can I change the background color of a line, if I select a cell?

    The usual example using:

    import javafx.application.Application;
    import javafx.beans.binding.Bindings;
    import javafx.beans.binding.BooleanBinding;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    import javafx.collections.FXCollections;
    import javafx.collections.ListChangeListener.Change;
    import javafx.collections.ObservableList;
    import javafx.collections.ObservableSet;
    import javafx.css.PseudoClass;
    import javafx.geometry.Insets;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.SelectionMode;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TablePosition;
    import javafx.scene.control.TableRow;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.VBox;
    import javafx.scene.text.Font;
    import javafx.stage.Stage;
    
    public class RowHighlightedCellSelectionTableViewSample extends Application {
    
        public static void main(String[] args) {
            launch(args);
        }
    
        @Override
        public void start(Stage stage) {
            Scene scene = new Scene(new Group());
            scene.getStylesheets().add(getClass().getResource("selected-row-table.css").toExternalForm());
            stage.setTitle("Table View Sample");
            stage.setWidth(450);
            stage.setHeight(500);
    
            final Label label = new Label("Address Book");
            label.setFont(new Font("Arial", 20));
    
            final TableView table = new TableView<>();
            final ObservableList data =
                FXCollections.observableArrayList(
                    new Person("Jacob", "Smith", "[email protected]"),
                    new Person("Isabella", "Johnson", "[email protected]"),
                    new Person("Ethan", "Williams", "[email protected]"),
                    new Person("Emma", "Jones", "[email protected]"),
                    new Person("Michael", "Brown", "[email protected]")
            );
    
            table.getSelectionModel().setCellSelectionEnabled(true);
            table.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);
    
            final PseudoClass selectedRowPseudoClass = PseudoClass.getPseudoClass("selected-row");
            final ObservableSet selectedRowIndexes = FXCollections.observableSet();
            table.getSelectionModel().getSelectedCells().addListener((Change change) -> {
                selectedRowIndexes.clear();
                table.getSelectionModel().getSelectedCells().stream().map(TablePosition::getRow).forEach(row -> {
                    selectedRowIndexes.add(row);
                });
            });
    
            table.setRowFactory(tableView -> {
                final TableRow row = new TableRow<>();
                BooleanBinding selectedRow = Bindings.createBooleanBinding(() ->
                        selectedRowIndexes.contains(new Integer(row.getIndex())), row.indexProperty(), selectedRowIndexes);
                selectedRow.addListener((observable, oldValue, newValue) ->
                    row.pseudoClassStateChanged(selectedRowPseudoClass, newValue)
                );
                return row ;
            });
    
            TableColumn firstNameCol = new TableColumn<>("First Name");
            firstNameCol.setMinWidth(100);
            firstNameCol.setCellValueFactory(new PropertyValueFactory<>("firstName"));
    
            TableColumn lastNameCol = new TableColumn<>("Last Name");
            lastNameCol.setMinWidth(100);
            lastNameCol.setCellValueFactory(new PropertyValueFactory<>("lastName"));
    
            TableColumn emailCol = new TableColumn<>("Email");
            emailCol.setMinWidth(200);
            emailCol.setCellValueFactory(new PropertyValueFactory<>("email"));
    
            table.setItems(data);
            table.getColumns().addAll(firstNameCol, lastNameCol, emailCol);
    
            final VBox vbox = new VBox();
            vbox.setSpacing(5);
            vbox.setPadding(new Insets(10, 0, 0, 10));
            vbox.getChildren().addAll(label, table);
    
            ((Group) scene.getRoot()).getChildren().addAll(vbox);
    
            stage.setScene(scene);
            stage.show();
        }
    
        public static class Person {
    
            private final StringProperty firstName;
            private final StringProperty lastName;
            private final StringProperty email;
    
            private Person(String fName, String lName, String email) {
                this.firstName = new SimpleStringProperty(fName);
                this.lastName = new SimpleStringProperty(lName);
                this.email = new SimpleStringProperty(email);
            }
    
            public String getFirstName() {
                return firstName.get();
            }
    
            public void setFirstName(String fName) {
                firstName.set(fName);
            }
    
            public StringProperty firstNameProperty() {
                return firstName ;
            }
    
            public String getLastName() {
                return lastName.get();
            }
    
            public void setLastName(String fName) {
                lastName.set(fName);
            }
    
            public StringProperty lastNameProperty() {
                return lastName ;
            }
    
            public String getEmail() {
                return email.get();
            }
    
            public void setEmail(String fName) {
                email.set(fName);
            }
    
            public StringProperty emailProperty() {
                return email ;
            }
        }
    }
    

    And then the selected line - table.css:

    .table-line-cell: {selected row

    -fx-background-color: lightskyblue;

    }

  • Change the background color of the table rows af of those who have a larger date today

    Greetings,

    I have a table of af of insurance of the person which show details for each insurance policy. I have change the sql query table to show only those that the insurance is still active ('end_date' variable is greater than today).

    Everything works fine, but on doubts, I want to show all the records, but change the background color red of those lines which have expired ('end_date' variable less today).

    Can you help me please?

    Thanks in advance.

    Using Jdeveloper v11.1.2.4.0 (JSF - components of the ADF)

    This example shows how to do this http://andrejusb.blogspot.de/2010/04/changed-row-highlighting-in-oracle-adf.html

    Timo

  • Table background color forms valdiation notification field

    Hello

    normally when you use validation forms tabular for the APEX 4. If the validation is triggered then an error occurs and the corresponding field becomes a red background color. I got a costumer where this has not happened. Only the validation error occurred.

    Where can I configure the notification against a tabular form background color. Could not find anything in the models, the report attributes, the attributes of the element or elsewhere.

    Hope for help. My question. Determines the background color in the postings in a table?

    Best regards

    Tobias
    -------------------------------
    http://Apex-at-work.blogspot.com/

    Tobias,

    Create your own class css as follows:

      
    

    Key word is *! important *!

    Here is the explanation:
    http://webdesign.about.com/od/CSS/f/blcssfaqimportn.htm

    Best regards
    Marko

    Published by: Marko Goricki, February 11, 2011 11:12

    Published by: Marko Goricki, February 11, 2011 11:14

  • How to add a background color to a line of text?

    Hello, Adobe Forums.

    I have a small question:


    Would it be possible to create a style where it has a background color that crosses the screen? (see attachment)

    At work, I was given some materials where this color was made. It was done in MS Word, but it was attached directly to the text. I want to do because I am creating a number of models, and the way I do now is not very convenient (contained in the text box and a text box to second, colorful, is placed under the it). It would be possible to do what I'm doing? Research lead me to highlight the text through the use of underscore + changes in weight and offset, but I need the coloring to go the length of the page.

    Thanks for your suggestions.

    Untitled.png

    Use a net of paragraph. Set the thickness and offset appropriately.

    Note that will work well with a paragraph on a single line.

    Bob

  • How to change the background color of a single line

    Hi, OTN,.

    I use JDeveloper with ADF faces 11.1.1.2 in the view layer. My question is how to change the background color of a single line in af:table?.

    Hi idir Mitra
    You can use EL to bind column for example inlineStyle (#{row.id == null?' background-color: rgb (255,214,165);':'background-color:red'})})

    Cordially Abhilash.S

  • Color of the dynamic lines in &lt; af:table &gt;

    Hello
    I need these examples to set the line color of the < af:table > that will rely on its value by programmetic way.
    Can you please help me with this result.

    Thank you.
    Zed
    ===

    Hi Zaza,

    You can try something like that. Some things to note:

    (1) the getColStyle() method will be called for each table column visible on each line displayed on the screen. That's why you need the int index = total / #, where # is the total number of columns on a line that is associated with this attribute.
    (2) the getYourVisibleTableRows (...) method must return only the visible set of lines that are displayed on the screen, not the entire recordset.

    /** Jspx page **/
    
            ....
        
        
            ....
        
        
            ....
        
    
    
    /** backing bean **/
    private String colStyle;
    private int total = 0;
    
    public void setColStyle(String colStyle) {
        this.inlineStyle = inlineStyle;
    }
    
    public String getColStyle() {
        colStyle = "";   // default background-color
        List rows = getYourVisibleTableRows(.......);
        int index = total / 3;  // Assuming 3 visible columns have their inlineStyle binded to this method.
    
        Row row = rows.get(index);
        if (row != null) {
            ...
            if (... // your condition) {
                colStyle = "background-color: #C0C0C0";
            }
        }
        total++;
    
        return colStyle;
    }
    

    Kind regards
    Amélie Chan

  • How can I change the background color of lines / odd in a panelCollection

    Hello world.

    I use a panelCollection and I need to change the color backgroung odd/even rows in the table,
    How can I do this using a style sheet, is there a special selector or property for that?

    globalResultCollection (object UIPanelCollection), is a collection of Our elements, and it works fine.
    I just want to change the background color by default for the lines.


    Thank you

    < af:panelCollection id = "GLOBAL_RESULT_COLLECTION".
    Binding = "#{admin." View.globalResultCollection}.
    styleClass = "globalResultCollectionRegion."
    clientComponent = "true" >

    < f: facet = 'menu' name >
    < af:menu id = "GLOBAL_OPERATION_MENU".
    Binding = "#{admin." View.globalOperationMenu}"/ >
    < / f: facet >

    < f: facet name = "toolbar" >
    < af:toolbar inlineStyle = "width: 100%".
    Binding = "#{admin." View.globalOperationToolbar}.
    ID = "OPERATION_TOOLBAR" / >
    < / f: facet >

    < / af:panelCollection >

    Hello

    Use this:
    AF | : the table-row af data | : the column cell data {background-color: #CCCCFF ;}}
    AF | : the table-row af data | column: banded-data-cell {background-color: #FFCCCC ;}}

    Kind regards
    s o v i e t

  • is it possible to set the background color of a table or chart to be transparent?

    is it possible to set the background color of a table or chart to be transparent?

    Thank you

    Yes.

    Select tools palette (view > tool palette) and set the background of the graph as well as the control in transperent.

  • Difficult to scroll with the background color of table cell

    When I changed the background color of cell, the table has become difficult to achieve.

    And I can't finish change the cell background color, it takes forever.

    Anyone encountered this problem before?

    LabVIEW 2011 on WinXP.

    Hello Zou,.

    The problem is not with "background color of the cell.

    But the problem is with the "size of the Table!

    When the size of your table is huge, the windows + chart LabVIEW take longer to scroll.

    Attached VI may help you to experience the same. Change the size of the table and the roll of experience.

    Solution: -.

    1 initialize the Table for that size, if the size of your table is small.

    2. use a table (UI) + Scroll Bar (Manual from Numeric range) + internal buffer (block diagram), for the size of the huge table

    Kind regards

    Yogesh Redemptor

  • Change the fonts of the Table header, background color of the property node?

    Can I change the font size, color and the background color of the cell for any cell in a table, however, I can't seem to do it for the headers.   Is it possible to do this?

    have you tried to use an index of-1?

    Ben

  • Change the background color of a table cell, depending on the selection in a drop-down list

    I have a drop-down list wrapped in a subform in a table cell. Users can choose green, yellow or red, and I want the background color to change according to their choice.

    Can you tell me why this script does not work? I'm sure that some of you, dear friends can see in a second.


    If (this. ListItem == "green") {}

    Subform1.DropDownList1.fillColor = "000,128,000"; BackgroundFill = "solid";

    }

    If (this. ListItem == 'yellow') {}

    Subform1.DropDownList1.fillColor = "255,128,000";

    }

    If (this. ListItem == 'red') {}

    Subform1.DropDownList1.fillColor = "255,000,000;

    }


    Thank you

    Hello

    I think you should be able to use the following code in the event change of the dropdownlist control.

    Form1. #subform [0]. Table1.row2.DropDownList1::change - (JavaScript, client)

    If {(xfa.event.change=="green)"}

    this.fillColor = "000,128,000";

    }

    If {(xfa.event.change=="yellow)"}

    this.fillColor = "255,128,000";

    }

    If {(xfa.event.change=="red)"}

    this.fillColor = "255,000,000;

    }

    Concerning

    Bruce

  • I try to combine pdf files.  My word documents convert the text but lose the background color.  Any suggestions?

    I try to combine pdf files.  My word documents convert the text but lose the background color.  Any suggestions?

    Hello

    With Office 365, need you Acrobat 11.0.1 or higher.

    You can also try the new DC Pro Acrobat.

    Thank you

    Tanvi

  • Background color of table of DW hex to RGB change impossible

    If you want to change the color of background (properties) in a HEX RGB table, it is impossible, because the buttons are without function.

    Is this a bug? Or is it planned?

    You will need to manually enter the CSS rule that applies to this table - Panel Design CSS or the Panel styles CSS to do this.

    .your_table_rule {background-color: rgb (255,255,195,0.5) ;}}

Maybe you are looking for