emalot |
Newbie |
|
|
|
|
None Specified |
|
Thursday, May 31, 2018 |
Thursday, July 4, 2019 10:08:07 AM |
5 [0.03% of all post / 0.00 posts per day] |
|
Hi, is there a way to add some line breaks in a resulting docx file through adding some code in the source xml?
Already tried: \n, ^p but nothing to do!
|
Hi again, I'm trying to embed some dynamic images in my sps... I achieved this but I need to resize them using a fixed width. The problem is: images does not keep their ratio so their height keeps being the original images'one. Is there any way to resize both keeping aspect ratio? Transformation will result in a Word Document. Thanks in advance.
|
Sorry, this is not working for me... I forgot to say that I need to transform to Word2007+ format
|
I did it. Hope this will help :-)
|
Is there any way to set single cell width in a dynamic table nested into another dynamic table? I tried linking width of cell to 'cell-width' with xpah but it never worked... Should i convert attribute value in some way?
Example xsd:
Code:<xs:complexType name="my_table_type_2"> <xs:sequence> <xs:element name="single_row" type="multi_line_row" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="multi_line_row"> <xs:sequence> <xs:element name="single_cell" type="multi_line_cell" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="multi_line_cell"> <xs:sequence> <xs:element name="single_line" type="xs:string" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> <xs:attribute name="font-weight" type="xs:string" use="optional" default=""/> <xs:attribute name="cell-width" type="xs:string" use="optional"/> </xs:complexType>
Example xml:
Code:<my_table_2> <single_row> <single_cell font-weight="bold" cell-width="100px"> <single_line></single_line> <single_line></single_line> <single_line>TEST N°</single_line> </single_cell> <single_cell cell-width="100px"> <single_line>Specimens</single_line> <single_line>dia. [mm]</single_line> <single_line></single_line> </single_cell> </single_row> <single_row> <single_cell cell-width="100px"> <single_line></single_line> <single_line>TTQ+TDS-320447-1 (3)</single_line> <single_line></single_line> </single_cell> <single_cell cell-width="100px"> <single_line></single_line> <single_line>12,50</single_line> <single_line></single_line> </single_cell> </single_row> </my_table_2>
Example design in attachments!
Any answer is welcome! :-)
|
|