Parcourir la source

fixy - testing

a.binder il y a 7 ans
Parent
commit
f5d6828112

+ 10 - 0
SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml

@@ -13,6 +13,8 @@
     <include file="../../mapserver_gml_to_png/build.mapserver_gml_to_png.PRODUCT.xml"/>
     <include file="../../graph_gnuplot/build.graph_gnuplot.PRODUCT.xml"/>
     <include file="../../bocian-graph-to-html/build.bcgtht.xml.xml" as="bocian-graph-2-html"/>
+    <include file="../../render-vis-js-in-electron--v0.0.1/build.p5RvJiE.render.PRODUCT.xml"/>
+    
     <include file="../../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis"/>
     <import file="../../xsl_interface/build.p5xsl.PRODUCT.xml" as="p5xsl"/>
     <import file="../../exslt/build.p5exslt.PRODUCT.xml" as="p5exslt"/>
@@ -307,6 +309,14 @@
                         <property name="ditadir" value="@ditadir"/>
                     </ant>
                 </bocian-graph-2-html>
+                <p5RvJiE>
+                    <ant antfile="${p5RvJiE.render.build}" target="preprocess">
+                        <property name="srcfile" value="@srcfile"/>
+                        <property name="dstfile" value="@dstfile"/>
+                        <property name="fileindex" value="@fileindex"/>
+                        <property name="ditadir" value="@ditadir"/>
+                    </ant>
+                </p5RvJiE>
             </postprocess_modules>
         </echoxml>
         

+ 9 - 1
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.xsl

@@ -8,7 +8,7 @@
     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
     xmlns:p5="https://biuro.biall-net.pl/wfs"
-    exclude-result-prefixes="xs p5"
+    exclude-result-prefixes="xs p5 get_wfs system_cache__dita"
     version="2.0">
     
     
@@ -27,8 +27,10 @@
         <xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq($system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed,$sources)" />
         <xsl:param name="resulset" required="yes"/>
         <xsl:param name="mode" select="'system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal'"/><!-- np BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person -->
+        <xsl:param name="processing-role"/>
         <xsl:param name="keys"/>
         <xsl:param name="title"/>
+        <xsl:param name="toc"/>
         
         <xsl:choose>
             <xsl:when test="$title">
@@ -48,6 +50,12 @@
             <topichead > <!-- navtitle="żródło:{.}  Powiązania do osób z KRS ogólnie" -->
                 <xsl:attribute name="navtitle"><xsl:value-of select="."/> - <xsl:value-of select="$navtitle"/></xsl:attribute>
                 <xsl:attribute name="props">name__universal</xsl:attribute>
+                <xsl:if test="$processing-role">
+                    <xsl:attribute name="processing-role" select="$processing-role"/>
+                </xsl:if>
+                <xsl:if test="$toc">
+                    <xsl:attribute name="toc" select="$toc"/>
+                </xsl:if>
                 <xsl:if test="$keys"><xsl:attribute name="keys" select="$keys"/></xsl:if>
                 <xsl:for-each select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq//uniq[@source=$source]">
                     

+ 22 - 20
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl

@@ -9,8 +9,8 @@
     xmlns:p5="https://biuro.biall-net.pl/wfs"
     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
     xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
-    exclude-result-prefixes="xs system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs p5 p5gnuplot"
-    version="2.0">
+    exclude-result-prefixes="xs "
+    version="2.0"><!-- system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs p5 p5gnuplot -->
     
     
    
@@ -765,10 +765,10 @@
                                 <topichead >
                                     <xsl:choose>
                                         <xsl:when test="string-length(.) &gt; 0">
-                                            <xsl:attribute name="navtitle">Źródło danych (<xsl:value-of select="."/>) -  do Podmiotów (1kh-s)</xsl:attribute>
+                                            <xsl:attribute name="navtitle">zrodlo danych (<xsl:value-of select="."/>) -  do Podmiotów (1kh-s)</xsl:attribute>
                                         </xsl:when>
                                         <xsl:otherwise>
-                                            <xsl:attribute name="navtitle">Domyślne źródło danych (<xsl:value-of select="."/>) -  Podmiotów (1kh-s)</xsl:attribute>
+                                            <xsl:attribute name="navtitle">Domyślne zrodlo danych (<xsl:value-of select="."/>) -  Podmiotów (1kh-s)</xsl:attribute>
                                         </xsl:otherwise>
                                     </xsl:choose>
                                     <xsl:for-each-group select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[source = current() or not( source) ]  and BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()][ *[1]/not(local-name()='BI_audit_ENERGA_RUM_KONTRAHENCI') ] ]" 
@@ -822,10 +822,10 @@
                                 <topichead>
                                     <xsl:choose>
                                         <xsl:when test="string-length(.) &gt; 0">
-                                            <xsl:attribute name="navtitle">Źródło danych (<xsl:value-of select="."/>) - Powiązania do innych celów niż kontrahenci  (1o-s)  </xsl:attribute>
+                                            <xsl:attribute name="navtitle">zródlo danych (<xsl:value-of select="."/>) - Powiązania do innych celów niż kontrahenci  (1o-s)  </xsl:attribute>
                                         </xsl:when>
                                         <xsl:otherwise>
-                                            <xsl:attribute name="navtitle">Domyślne źródło  danych (<xsl:value-of select="."/>) - Powiązania do innych celów niż kontrahenci  (1o-s) </xsl:attribute>
+                                            <xsl:attribute name="navtitle">Domyślne zródlo  danych (<xsl:value-of select="."/>) - Powiązania do innych celów niż kontrahenci  (1o-s) </xsl:attribute>
                                         </xsl:otherwise>
                                     </xsl:choose>
                                     <xsl:for-each-group select="$interested_row/interested_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[not(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/(BI_audit_KW_requested_person|BI_audit_ENERGA_RUM_KONTRAHENCI)) and ( BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[   position() = 1 ]/source = $source or not( BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[   position() = 1 ]/source ) ) ]  " 
@@ -1055,7 +1055,10 @@
                 </topichead>-->
                 
                 
-                <topichead navtitle="Powiązania do wybranych podmiotów/kontrahentów (2) ">
+                <topichead navtitle="Powiązania do wybranych podmiotów/kontrahentów (2)" >
+                    <xsl:attribute name="props">resource-only</xsl:attribute>
+                    <xsl:attribute name="toc">no</xsl:attribute>
+                    <xsl:attribute name="processing-role">resource-only</xsl:attribute>
                     <!--<xsl:variable name="fixed">
                         <fixed>
                             <xsl:for-each select="$sources/sources/source">
@@ -1130,6 +1133,7 @@
                         <xsl:with-param name="navtitle">Powiązania do kontrahentów / różnych obiektów (2c) </xsl:with-param>
                         <xsl:with-param name="keys">_element_gwiazdka__mode_BI_audit_ENERGA_RUM_KONTRAHENCI</xsl:with-param>
                         <xsl:with-param name="mode">BI_audit_ENERGA_RUM_KONTRAHENCI</xsl:with-param>
+                        <xsl:with-param name="processing-role">resource-only</xsl:with-param>
                         <xsl:with-param name="element">*</xsl:with-param>
                         <xsl:with-param name="interested_row" select="$interested_row"/>
                         <xsl:with-param name="sources" select="$sources"/>
@@ -1255,7 +1259,7 @@
                     <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_old">
                         <topichead navtitle="Powiązania dla wariantu porównawczego raportów (dostępne, nie użyte)"/>
                     </xsl:when>
-                    <xsl:otherwise><topichead navtitle="Powiązania dla wariantu porównawczego raportów  (niedostępne w danych do raportu)"/></xsl:otherwise>
+                    <xsl:otherwise><topichead navtitle="Powiązania dla wariantu porównawczego raportów  (niedostępne w danych do raportu)" toc="no" processing-role="resource-only"/></xsl:otherwise>
                 </xsl:choose>
                 
                 <!--<topichead navtitle="Powiązania do wybranych podmiotów/kontrahentów (dla wariantu porównawczego)">
@@ -1320,7 +1324,7 @@
                     </xsl:for-each>
                 </topichead>-->
                 
-                <topichead navtitle="Powiązania do kontrahentów z KRS ogólnie (podział na źródła)">
+                <topichead navtitle="Powiązania do kontrahentów z KRS ogólnie (podział na źródła)" toc="no" processing-role="resource-only" props="resource-only">
                     <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal">
                         <xsl:with-param name="navtitle">Powiązania do kontrahentów z KRS ogólnie (2k)</xsl:with-param>
                         <xsl:with-param name="mode">BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person</xsl:with-param>
@@ -1329,6 +1333,8 @@
                         <xsl:with-param name="sources" select="$sources"/>
                         <xsl:with-param name="resulset" select="$resulset"/>
                         <xsl:with-param name="title" select="'2k_krs_ogolnie'"/>
+                        <xsl:with-param name="processing-role">resource-only</xsl:with-param>
+                        <xsl:with-param name="toc">no</xsl:with-param>
                         <!--<xsl:with-param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq"/>-->
                         <!--<xsl:with-param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed"/>-->
                     </xsl:call-template>
@@ -1396,7 +1402,7 @@
                     </xsl:for-each>-->
                 </topichead>
                 
-                <topichead navtitle="Powiązania do kontrahentów z MSIG (podział na źródła)">
+                <topichead navtitle="Powiązania do kontrahentów z MSIG (podział na źródła)" toc="no" processing-role="resource-only" props="resource-only">
                     
                     <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal">
                         <xsl:with-param name="navtitle">Powiązania do firm z MSIG ogólnie (2m)</xsl:with-param>
@@ -1406,13 +1412,15 @@
                         <xsl:with-param name="sources" select="$sources"/>
                         <xsl:with-param name="resulset" select="$resulset"/>
                         <xsl:with-param name="title" select="'2m_msig_ogolnie'"/>
+                        <xsl:with-param name="toc">no</xsl:with-param>
+                        <xsl:with-param name="processing-role">resource-only</xsl:with-param>
                         <!--<xsl:with-param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.uniq"/>-->
                         <!--<xsl:with-param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed"/>-->
                     </xsl:call-template>
                     
                 </topichead>
                 
-                <topichead navtitle="Powiązania do osób z KRS (podział na źródła)">
+                <topichead navtitle="Powiązania do osób z KRS (podział na źródła)" toc="no" processing-role="resource-only" props="resource-only">
                     
                     <!--<xsl:variable name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed($interested_row,$sources,'BI_audit_KRS_person')">
                         <!-\-<BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person_fixed>
@@ -1515,7 +1523,7 @@
                 
                 
                 
-                <topichead navtitle="Powiązania do osób z MSIG (podział na źródła)">
+                <topichead navtitle="Powiązania do osób z MSIG (podział na źródła)" toc="no" processing-role="resource-only" props="resource-only">
                     
                     <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal">
                         <xsl:with-param name="navtitle">Powiązania do osób z MSIG ogólnie (2mp)</xsl:with-param>
@@ -1530,7 +1538,7 @@
                     </xsl:call-template>
                 </topichead>
                 
-                <topichead navtitle="Wykryte powiązania do śledzonych obiektów w ramach Operacyjnej Bazy Danych (podział na źródła)">
+                <topichead navtitle="Wykryte powiązania do śledzonych obiektów w ramach Operacyjnej Bazy Danych (podział na źródła)" props="BI_audit_operational_raport_note_fixed">
                     
                     
                     
@@ -3328,15 +3336,13 @@
         <xsl:param name="title" required="yes"/>
         <xsl:param name="context" select="."/> <!-- sometimes position=last() -->
         
-        
         <xsl:message>#3471 awaria <xsl:value-of select="@fid"/> ; for $current-grouping-key=<xsl:value-of select="$current-grouping-key"/>; $position = <xsl:value-of select="$position"/>; $title=<xsl:value-of select="$title"/>; </xsl:message>
-        
         <!--<xsl:variable name="group_name_refpos.kon" select="concat(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last() ]/*[ position() = 1]/system_cache__appinfo:truncate_special_and_do_uppercase(concat(ID,Pelna_nazwa_kontrahenta)),'KONTR_DO')"/>-->
         
-        
         <topicref> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'',$current-grouping-key,$position)) --><!-- {$group_name}_LIST.dita -->
             <xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
             <xsl:copy-of select="system_cache__dita:files.context.title.keys($context/*[1],$title)" copy-namespaces="no"/>
+            <xsl:attribute name="toc" select="'no'"/>
             <xsl:attribute name="props">
                 <xsl:choose>
                     <xsl:when test="position() = 1 ">pos_first</xsl:when>
@@ -3365,26 +3371,22 @@
                                 żródło:<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/source"/><xsl:text> </xsl:text>
                                 ;
                             </title>-->
-                    
                     <body><draft-comment author="a.binder">#2196-B prec-sibl=<xsl:value-of select="preceding-sibling::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[last()]/@fid"/>; mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row" </draft-comment>
                         <p>
                             <!--<xref> <!-\- ../{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1) }.dita -\-><!-\- XX1 sure -\->
                                         <xsl:copy-of select="system_cache__dita:files.context.title.keyref(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1],'topic',$title)"></xsl:copy-of>
                                         <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/concat(imiona,' ', nazwisko, ' ',nazwa,' ', nip)"/><!-\- XX1 sure -\->
                                     </xref>-->
-                            
                             <!--<xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA.ends.desc.table">
                                 <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
                                 <xsl:with-param name="row_obj_last" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]"/>
                                 <xsl:with-param name="context" select="$context"/>
                             </xsl:call-template>-->
-                            
                             <!--<xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA.ends.desc.table">
                                 <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
                                 <xsl:with-param name="row_obj_last" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]"/>
                                 <!-\-<xsl:with-param name="context" select="$context"/>-\->
                             </xsl:call-template>-->
-                            
                             <simpletable frame="all" relcolwidth="1* 1*" >
                                 <sthead>
                                     <!--<stentry>rejestr</stentry>-->