UseSingleBorderForContiguousCells Class
Use Simplified Rules For Table Border Conflicts.When the object is serialized out as xml, its qualified name is w:useSingleBorderforContiguousCells.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.UseSingleBorderForContiguousCells
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class UseSingleBorderForContiguousCells _
Inherits OnOffType
'使用
Dim instance As UseSingleBorderForContiguousCells
public class UseSingleBorderForContiguousCells : OnOffType
Remarks
[ISO/IEC 29500-1 初版]
9.7.3.53 useSingleBorderforContiguousCells (Use Simplified Rules For Table Border Conflicts)
This element specifies whether applications should use an alternate simplified algorithm when handling conflicts between adjacent table borders within a table.
Typically, the conflicts between two adjacent table borders are handled using the conflict resolution algorithm defined in Part 1, §17.4.39 of ISO/IEC 29500. This element, when present with a val attribute value of true (or equivalent), specifies that rather than using that algorithm to determine the outcome of the conflict to two adjacent borders, that the following logic shall be used instead:
Cell borders shall supersede table borders
Cell borders to the right shall supersede cell borders to the left (i.e. the rightmost border wins in conflicts between vertical borders)
Cell borders below shall supersede cell borders above (i.e. the bottommost border wins in conflicts between horizontal borders)
[Example: Consider a WordprocessingML document with cell and table borders defined as follows. In the image below, 0.1" of padding has been added between each cell temporarily to clearly illustrate the borders on each cell and on the table:
The default presentation would have the border conflicts resolved using the algorithm defined by ISO/IEC 29500, resulting in the following table:
However, if this compatibility setting is turned on:
<w:compat>
<w:useSingleBorderforContiguousCells />
</w:compat>
Then the simplified table algorithm above shall be used instead (bottom and right cell borders always win), resulting in the following output:
end example]
Parent Elements |
---|
compat (Part 1, §17.15.1.21) |
This element's content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.