mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-25 06:01:02 +03:00
feat(skd): itemsViewMode на table axis (column/row/point/series)
Build-TableAxisBlock не читал itemsViewMode на самой оси (только на StructureItemGroup). Теперь сохраняется и эмитится — bit-perfect для шаблонов отчётов с явно заданным itemsViewMode=Normal/Inaccessible на колонках/строках таблицы. sample30: −30 строк (2012 → 1982).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# skd-decompile v0.56 — Decompile 1C DCS Template.xml to JSON DSL (draft)
|
||||
# skd-decompile v0.57 — Decompile 1C DCS Template.xml to JSON DSL (draft)
|
||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||
param(
|
||||
[Parameter(Mandatory)]
|
||||
@@ -1894,6 +1894,9 @@ function Build-TableAxisBlock {
|
||||
$ausPres = Get-MLText $ausPresNode
|
||||
if ($ausPres) { $entry['userSettingPresentation'] = $ausPres }
|
||||
}
|
||||
# itemsViewMode на axis (column/row/point/series)
|
||||
$aivmNode = $node.SelectSingleNode("dcsset:itemsViewMode", $ns)
|
||||
if ($aivmNode) { $entry['itemsViewMode'] = $aivmNode.InnerText }
|
||||
return $entry
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user