문제

im using openTBS to make an excel doc. Here is my problem:

Im trying to replicate submodules under the parent title ( Red one )

code

and my output is:

output

is there any way to limit the blocks inside that table? so i can get all the green modules under a large red one? :s

thanks in advance

UPDATE:

i tried to set an headrgroup to the red one

[base_sub.modules;block=c;headergrp=module]

but what i got was

enter image description here

but what i need is a red large one over all the green ones, like a title +/-

UPDATE:

my template:

enter image description here

my output(excel):

enter image description here

should i use other type of block? instead of block=c? any help will be appreciated

도움이 되었습니까?

해결책

Here is some advices that may help for your template :

  1. Avoid using block=begin/block=end by replacing the TBS tag [base;block=beging;sub1=trainees;sub2=modules] with [base;block=row+row+row+row+row;sub1=trainees;sub2=modules], and then delete tag [base;block=end]. This may not change things for now but this will prevent from further unexpected XML split.

  2. Add parameter "p1" without value in the couple of [base_sub2] tags. Like this : [base_sub2.module;block=c;p1] and [base_sub2.test;block=c;p1]. This will make TBS to use multi-blocks instead of one block with alternating sections.

  3. Add a TBS tag [base_sub2;block=c;p1] in the red cell "Modulos".

  4. Avoid using merged cells that can be moved after the merging (like cells in a block of cells under a block). That is because in Ms Excel, information of merged cells is saved separatlly of cells themselves. So it cannot not be duplicated simply be duplicating cells. Use cells formating instead. For example: use background colors, fore colors, borders for cells "Formados", "Media Final", "Situaciao Final".

Template example :

Template

Result:

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top