移除office-plugin, 使用新版jodconverter
100
server/windows-office/help/a11y-toggle.js
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2016 Edenspiekermann
|
||||
|
||||
*/
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var internalId = 0;
|
||||
var togglesMap = {};
|
||||
var targetsMap = {};
|
||||
|
||||
function $ (selector, context) {
|
||||
return Array.prototype.slice.call(
|
||||
(context || document).querySelectorAll(selector)
|
||||
);
|
||||
}
|
||||
|
||||
function getClosestToggle (element) {
|
||||
if (element.closest) {
|
||||
return element.closest('[data-a11y-toggle]');
|
||||
}
|
||||
|
||||
while (element) {
|
||||
if (element.nodeType === 1 && element.hasAttribute('data-a11y-toggle')) {
|
||||
return element;
|
||||
}
|
||||
|
||||
element = element.parentNode;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function handleToggle (toggle) {
|
||||
var target = toggle && targetsMap[toggle.getAttribute('aria-controls')];
|
||||
|
||||
if (!target) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var toggles = togglesMap['#' + target.id];
|
||||
var isExpanded = target.getAttribute('aria-hidden') === 'false';
|
||||
|
||||
target.setAttribute('aria-hidden', isExpanded);
|
||||
toggles.forEach(function (toggle) {
|
||||
toggle.setAttribute('aria-expanded', !isExpanded);
|
||||
});
|
||||
}
|
||||
|
||||
var initA11yToggle = function (context) {
|
||||
togglesMap = $('[data-a11y-toggle]', context).reduce(function (acc, toggle) {
|
||||
var selector = '#' + toggle.getAttribute('data-a11y-toggle');
|
||||
acc[selector] = acc[selector] || [];
|
||||
acc[selector].push(toggle);
|
||||
return acc;
|
||||
}, togglesMap);
|
||||
|
||||
var targets = Object.keys(togglesMap);
|
||||
targets.length && $(targets).forEach(function (target) {
|
||||
var toggles = togglesMap['#' + target.id];
|
||||
var isExpanded = target.hasAttribute('data-a11y-toggle-open');
|
||||
var labelledby = [];
|
||||
|
||||
toggles.forEach(function (toggle) {
|
||||
toggle.id || toggle.setAttribute('id', 'a11y-toggle-' + internalId++);
|
||||
toggle.setAttribute('aria-controls', target.id);
|
||||
toggle.setAttribute('aria-expanded', isExpanded);
|
||||
labelledby.push(toggle.id);
|
||||
});
|
||||
|
||||
target.setAttribute('aria-hidden', !isExpanded);
|
||||
target.hasAttribute('aria-labelledby') || target.setAttribute('aria-labelledby', labelledby.join(' '));
|
||||
|
||||
targetsMap[target.id] = target;
|
||||
});
|
||||
};
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
initA11yToggle();
|
||||
});
|
||||
|
||||
document.addEventListener('click', function (event) {
|
||||
var toggle = getClosestToggle(event.target);
|
||||
handleToggle(toggle);
|
||||
});
|
||||
|
||||
document.addEventListener('keyup', function (event) {
|
||||
if (event.which === 13 || event.which === 32) {
|
||||
var toggle = getClosestToggle(event.target);
|
||||
if (toggle && toggle.getAttribute('role') === 'button') {
|
||||
handleToggle(toggle);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
window && (window.a11yToggle = initA11yToggle);
|
||||
})();
|
||||
907
server/windows-office/help/default.css
Normal file
@@ -0,0 +1,907 @@
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
/*
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
+ LIBREOFFICE HELP IN BROWSER +
|
||||
+ DEFAULT STYLESHEET +
|
||||
+ WESTERN LANGUAGES +
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
We use px as the unit for navigation elements and fonts because we do
|
||||
not want them to scale with browser-set font size.
|
||||
We use rem as the unit for article and footer contents because they
|
||||
do not break anything related to layout by scaling.
|
||||
|
||||
*/
|
||||
|
||||
body,
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.listitem,
|
||||
.listitemintable,
|
||||
.tablecontent {
|
||||
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
|
||||
}
|
||||
.input {
|
||||
background-color: rgba(0,0,0,0.04);
|
||||
transition-property: background-color;
|
||||
transition-duration: 150ms;
|
||||
border-bottom: 1px dashed rgba(0,0,0,0.1);
|
||||
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
||||
}
|
||||
[data-tooltip]{
|
||||
position:relative;
|
||||
}
|
||||
[data-tooltip]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top:-6px;
|
||||
left:50%;
|
||||
transform: translateX(-50%);
|
||||
border-width: 4px 6px 0 6px;
|
||||
border-style: solid;
|
||||
border-color: rgba(0,0,0,0.7) transparent transparent transparent;
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
[data-tooltip]::after {
|
||||
content: attr(data-tooltip);
|
||||
position: absolute;
|
||||
left:50%;
|
||||
top:-6px;
|
||||
transform: translateX(-50%) translateY(-100%);
|
||||
background: rgba(0,0,0,0.7);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
padding:4px 2px;
|
||||
font-size: 12px;
|
||||
min-width: 80px;
|
||||
border-radius: 5px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
[data-tooltip]:hover:before, [data-tooltip]:hover:after {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
body {
|
||||
background-color: #F7F8F7;
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
::selection {
|
||||
background: #FFEB9F;
|
||||
}
|
||||
a {
|
||||
text-decoration-color: rgba(0,0,0,0.15);
|
||||
color: #0461e0;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: #023a86;
|
||||
}
|
||||
a:visited {
|
||||
color: #633363;
|
||||
}
|
||||
pre,
|
||||
.code,
|
||||
.codeintable,
|
||||
.example,
|
||||
.exampleintable,
|
||||
.literal,
|
||||
.literalintable,
|
||||
.path,
|
||||
.pathintable {
|
||||
background-color: rgba(0,0,0,0.04);
|
||||
border-radius: 2px;
|
||||
display: inline;
|
||||
padding: 1px 3px;
|
||||
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
||||
}
|
||||
.smathcode {
|
||||
border-radius: 2px;
|
||||
padding: 1px 3px;
|
||||
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
||||
}
|
||||
.acronym {
|
||||
font-weight: bold;
|
||||
}
|
||||
.related {
|
||||
font-weight: bold;
|
||||
margin-top: 1.67rem;
|
||||
border-top: 1px solid black;
|
||||
}
|
||||
.emph,
|
||||
.menuitem {
|
||||
font-weight: bold;
|
||||
}
|
||||
.keycode {
|
||||
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
||||
}
|
||||
.widget{
|
||||
padding: 1px 10px;
|
||||
background: #f0f0f0;
|
||||
background: linear-gradient(to bottom,#f0f0f0,#fcfcfc);
|
||||
border-radius: 3px;
|
||||
color: #303030;
|
||||
border: 1px solid #a0a0a0;
|
||||
border-bottom-width: 2px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* div's for warning, tip and note */
|
||||
.note,
|
||||
.tip,
|
||||
.warning {
|
||||
display:flex;
|
||||
align-items: center;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
|
||||
padding: 0.2em;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.note {
|
||||
border-left: 2px solid #309048;
|
||||
background-color: #d9f1dd;
|
||||
}
|
||||
.tip {
|
||||
border-left: 2px solid #0063b1;
|
||||
background-color: #cde5f7;
|
||||
}
|
||||
.warning {
|
||||
border-left: 2px solid #ed8733;
|
||||
background-color: #f6f1d2;
|
||||
}
|
||||
.noteicon, .notetext {
|
||||
padding:0.3em;
|
||||
}
|
||||
|
||||
/* Table related classes */
|
||||
|
||||
/* Special case of table with one cell*/
|
||||
.onecell{
|
||||
box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
}
|
||||
/* Special case of icon table*/
|
||||
.icontable {
|
||||
display:flex;
|
||||
align-items:center;
|
||||
}
|
||||
.iconcell {
|
||||
padding:0.3em;
|
||||
}
|
||||
|
||||
table {
|
||||
background: #FEFEFE;
|
||||
box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
|
||||
border-collapse: collapse;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
table, th, td {
|
||||
border-top: 0;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
padding: 0.3em;
|
||||
}
|
||||
.tablehead,
|
||||
.tableheadintable {
|
||||
font-weight: bold;
|
||||
margin-top: 0px;
|
||||
}
|
||||
.tableheadcell {
|
||||
color: white;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin-bottom: 0.67rem;
|
||||
color: #148603;
|
||||
}
|
||||
p,
|
||||
ol,
|
||||
td {
|
||||
font-size: 1.15rem;
|
||||
margin: 2px 0 2px 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.83rem;
|
||||
font-weight: 300;
|
||||
border-bottom: 2px solid #148603;
|
||||
margin-bottom: 1.67rem;
|
||||
}
|
||||
h1 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.55rem;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.33rem;
|
||||
}
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 1.17rem;
|
||||
}
|
||||
.relatedtopics {
|
||||
font-weight: normal;
|
||||
}
|
||||
.howtoget {
|
||||
background: #EBE7E9;
|
||||
border-left: 2px solid #4E4B55;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
|
||||
padding: 0.2em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.howtogetheader {
|
||||
background: #FFF;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
padding: 0.1em 0.3em;
|
||||
}
|
||||
.howtogetbody {
|
||||
padding: 0 0.3em;
|
||||
}
|
||||
.samplefilesection{
|
||||
}
|
||||
.wide {
|
||||
width: 100%;
|
||||
}
|
||||
.bug {
|
||||
color: red;
|
||||
}
|
||||
.debug {
|
||||
border: 1px solid black;
|
||||
padding: 3px;
|
||||
display: none;
|
||||
background-color: #222;
|
||||
color: red;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pycode,
|
||||
.bascode {
|
||||
border: solid 5px transparent;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#DisplayArea {
|
||||
background-color: #FCFCFC;
|
||||
overflow: auto;
|
||||
padding: 10px 10px 40px 10px;
|
||||
grid-area: main;
|
||||
}
|
||||
#DisplayArea > p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mediabutton {
|
||||
background-color: cyan;
|
||||
}
|
||||
.mediadiv{
|
||||
padding-bottom:5%;
|
||||
height:0;
|
||||
display:inline-block;
|
||||
border:none;
|
||||
}
|
||||
.screenshot, .genericimage {
|
||||
border: .5px solid rgba(0,0,0,.1);
|
||||
border-radius: 3px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
display:block;
|
||||
box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
|
||||
}
|
||||
.iconimage {}
|
||||
|
||||
.switch,
|
||||
.switchinline {}
|
||||
|
||||
.embedded {}
|
||||
#TopLeftHeader {
|
||||
grid-area: header;
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
z-index: 100;
|
||||
}
|
||||
.dropdowns {
|
||||
/* allow for scrolling */
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
/* make it smooth on iOS */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
grid-area: dropdowns;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
}
|
||||
.symbol, .logo, .logo:hover, .logo:visited {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
.logo p {
|
||||
font-size: 24px;
|
||||
}
|
||||
.symbol {
|
||||
grid-area: symbol;
|
||||
padding: 8px 8px 8px 20px;
|
||||
}
|
||||
.symbol div {
|
||||
background-image: url(media/navigation/libo-symbol-white.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
width: 52px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
[data-a11y-toggle]:not([aria-controls]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
|
||||
z-index: 100;
|
||||
/* line them up horizontally */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
/* allow for scrolling */
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
/* make it smooth on iOS */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
#langs-nav a, #modules-nav a {
|
||||
color: #fff;
|
||||
background-color: #233336;
|
||||
display: block;
|
||||
line-height: 1.5;
|
||||
padding: 3px 6px;
|
||||
text-decoration: none;
|
||||
font-size: 24px;
|
||||
flex-shrink: 0;
|
||||
z-index: 100;
|
||||
white-space: nowrap;
|
||||
}
|
||||
footer {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
footer p {
|
||||
font-size: 0.98rem;
|
||||
}
|
||||
.contents-treeview input[type=checkbox], aside input[type=checkbox] {
|
||||
/* from .visuallyhidden class of html5-boilerplate */
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
label[for=accordion-1] {
|
||||
color: #233336;
|
||||
display: block;
|
||||
padding: 10px 0 10px 20px;
|
||||
font-size: 22px;
|
||||
line-height: .6;
|
||||
}
|
||||
label[for=accordion-1]:after {
|
||||
font-size: 44px;
|
||||
content:"⌄";
|
||||
}
|
||||
aside input[type=checkbox] ~ .contents-treeview {
|
||||
display: none;
|
||||
}
|
||||
aside input[type=checkbox]:checked ~ .contents-treeview {
|
||||
color: #333;
|
||||
z-index: 6;
|
||||
display: block;
|
||||
margin: 0 20px 0 20px;
|
||||
}
|
||||
.index-label {
|
||||
font-size: 22px;
|
||||
color: #233336;
|
||||
padding-left: 20px;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
#Index, .index {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.index {
|
||||
padding-left: 15px;
|
||||
}
|
||||
.index a {
|
||||
font-size: 15px;
|
||||
display: block;
|
||||
}
|
||||
.index .hidden {
|
||||
display: none;
|
||||
}
|
||||
#Bookmarks {
|
||||
padding: 0 20px;
|
||||
}
|
||||
#Bookmarks p {
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #148603;
|
||||
}
|
||||
#WRITER::before {
|
||||
content: "WRITER";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #0369a3;
|
||||
}
|
||||
#CALC::before {
|
||||
content: "CALC";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #43c330;
|
||||
}
|
||||
#IMPRESS::before {
|
||||
content: "IMPRESS";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #a33e03;
|
||||
}
|
||||
#DRAW::before {
|
||||
content: "DRAW";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #c99c00;
|
||||
}
|
||||
#BASE::before {
|
||||
content: "BASE";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #8e03a3;
|
||||
}
|
||||
#MATH::before {
|
||||
content: "MATH";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: darkslategray;
|
||||
}
|
||||
#CHART::before {
|
||||
content: "CHART";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: darkcyan;
|
||||
}
|
||||
#BASIC::before {
|
||||
content: "BASIC";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
#SHARED::before {
|
||||
content: "GLOBAL";
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: gray;
|
||||
}
|
||||
.pagination-container {
|
||||
text-align: center;
|
||||
margin-left: -40px; /* The normalizer fails to account for this */
|
||||
}
|
||||
.pagination li {
|
||||
display: inline-block;
|
||||
padding: 0 5px;
|
||||
}
|
||||
.pagination a {
|
||||
text-decoration: none;
|
||||
}
|
||||
li.active {
|
||||
background-color: #023a86;
|
||||
}
|
||||
li.active a {
|
||||
color: #fff;
|
||||
}
|
||||
li.disabled a {
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
}
|
||||
#search-bar, input {
|
||||
border: 1px solid #CCC;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
box-sizing: border-box;
|
||||
line-height: 1.5em;
|
||||
margin-top: 10px;
|
||||
outline: none;
|
||||
padding: 0 .25em;
|
||||
transition: all 0.30s ease-in-out;
|
||||
}
|
||||
#search-bar:focus, input:focus {
|
||||
border: 1px solid #0EA5FB;
|
||||
}
|
||||
#search-bar {
|
||||
width: 100%;
|
||||
}
|
||||
#search-bar::placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
.xapian-donation {
|
||||
border-top: 2px solid #148603;
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
|
||||
}
|
||||
#DonationFrame {
|
||||
background: #18A303;
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
}
|
||||
.donation{
|
||||
border: 1px solid #f1c62a;
|
||||
border-radius: 2px;
|
||||
padding: 5px 10px;
|
||||
margin: auto;
|
||||
max-width: 200px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.donation:hover {
|
||||
background: linear-gradient(90deg, #1c71d8 0%, #30c877 100%);
|
||||
}
|
||||
.donation a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
.donation p {
|
||||
font-size:1rem;
|
||||
text-align: center;
|
||||
}
|
||||
#SearchFrame {
|
||||
background: #18A303;
|
||||
top: 0px;
|
||||
position: sticky;
|
||||
}
|
||||
.xapian-omega-search {
|
||||
margin: auto;
|
||||
}
|
||||
.modules {
|
||||
border-bottom: 2px solid #f3f3f3;
|
||||
background-color: #233336;
|
||||
z-index: 100;
|
||||
}
|
||||
#modules:after, #langs:after {
|
||||
font-size: 30px;
|
||||
color: #fff;
|
||||
content:"⌄";
|
||||
}
|
||||
.lang {
|
||||
background-color: #233336;
|
||||
}
|
||||
#langs, #modules {
|
||||
display: none;
|
||||
}
|
||||
#modules-nav div {
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
float: left;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.calc-icon,
|
||||
.chart-icon,
|
||||
.writer-icon,
|
||||
.impress-icon,
|
||||
.draw-icon,
|
||||
.math-icon,
|
||||
.basic-icon,
|
||||
.base-icon {
|
||||
width: 21.5px;
|
||||
height: 26px;
|
||||
position: relative;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.calc-icon {
|
||||
background-image: url(media/navigation/libo-calc.svg);
|
||||
}
|
||||
.writer-icon {
|
||||
background-image: url(media/navigation/libo-writer.svg);
|
||||
}
|
||||
.impress-icon {
|
||||
background-image: url(media/navigation/libo-impress.svg);
|
||||
}
|
||||
.draw-icon {
|
||||
background-image: url(media/navigation/libo-draw.svg);
|
||||
}
|
||||
.math-icon {
|
||||
background-image: url(media/navigation/libo-math.svg);
|
||||
}
|
||||
.base-icon {
|
||||
background-image: url(media/navigation/libo-base.svg);
|
||||
}
|
||||
.chart-icon {
|
||||
background-image: url(media/navigation/libo-chart.svg);
|
||||
}
|
||||
.basic-icon {
|
||||
background-image: url(media/navigation/libo-basic.svg);
|
||||
}
|
||||
/* tree view */
|
||||
|
||||
.contents-treeview ul,
|
||||
.contents-treeview li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
font-size: 15px;
|
||||
}
|
||||
.contents-treeview {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.contents-treeview a, .index a {
|
||||
text-decoration: none;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.contents-treeview a:hover, .index a:hover {
|
||||
border-left: 2px solid rgba(0,0,0,0.05);
|
||||
margin-left: -12px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.contents-treeview input + label + ul {
|
||||
margin: 0 0 0 22px;
|
||||
}
|
||||
.contents-treeview input ~ ul {
|
||||
display: none;
|
||||
}
|
||||
.contents-treeview label,
|
||||
.contents-treeview label:before {
|
||||
cursor: pointer;
|
||||
color: #111;
|
||||
}
|
||||
.contents-treeview input:disabled + label {
|
||||
cursor: default;
|
||||
opacity: .6;
|
||||
}
|
||||
.contents-treeview input:checked:not(:disabled) ~ ul {
|
||||
display: block;
|
||||
}
|
||||
.contents-treeview label,
|
||||
.contents-treeview a,
|
||||
.contents-treeview label::before {
|
||||
display: block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.contents-treeview label:before {
|
||||
content: "⊞";
|
||||
color: #0461e0;
|
||||
width: 16px;
|
||||
margin: 0 5px 0 0;
|
||||
display: inline-block;
|
||||
}
|
||||
.contents-treeview input:checked + label::before {
|
||||
content: "⊟";
|
||||
}
|
||||
.contents-current {
|
||||
background: rgba(0,0,0,0.1);
|
||||
border-left: 2px solid #6E7487;
|
||||
margin-left: -12px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
/* webkit adjacent element selector bugfix */
|
||||
|
||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||
.contents-treeview {
|
||||
-webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
|
||||
}
|
||||
@-webkit-keyframes webkit-adjacent-element-selector-bugfix {
|
||||
from {
|
||||
padding: 0;
|
||||
}
|
||||
to {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 960px) {
|
||||
.dropdowns {
|
||||
flex-direction: row;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
#langs-nav, #modules-nav {
|
||||
display: none;
|
||||
}
|
||||
#langs-nav a {
|
||||
font-size: 19px;
|
||||
white-space: normal;
|
||||
}
|
||||
/* these are buttons, so also reset some default stylings */
|
||||
#langs, #modules {
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 19px;
|
||||
display: block;
|
||||
background: transparent;
|
||||
border: none;
|
||||
text-transform: none;
|
||||
padding: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/* change the menu direction to stacked */
|
||||
#langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
max-width: 120px;
|
||||
max-height: 480px;
|
||||
position: absolute;
|
||||
}
|
||||
#modules-nav {
|
||||
background-color: #101820;
|
||||
text-align: left;
|
||||
}
|
||||
#modules-nav div {
|
||||
display: block;
|
||||
}
|
||||
#modules-nav a {
|
||||
font-size: 19px;
|
||||
}
|
||||
aside {
|
||||
float: left;
|
||||
width: 320px;
|
||||
}
|
||||
.leftside {
|
||||
grid-area: leftside;
|
||||
}
|
||||
.rightside {
|
||||
grid-area: rightside;
|
||||
}
|
||||
#DonationFrame {
|
||||
grid-area: donation;
|
||||
}
|
||||
#SearchFrame {
|
||||
grid-area: search;
|
||||
}
|
||||
footer {
|
||||
grid-area: footer;
|
||||
}
|
||||
.lang {
|
||||
background-color: transparent;
|
||||
}
|
||||
.modules {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
#DisplayArea {
|
||||
box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
|
||||
padding: 10px 50px 40px 50px;
|
||||
}
|
||||
.xapian-omega-search {
|
||||
width: 100%;
|
||||
}
|
||||
.xapian-omega-search form {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.omega-autofocus {
|
||||
max-width: 200px;
|
||||
width: 100%
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1440px) {
|
||||
#Contents {
|
||||
color: #333;
|
||||
z-index: 6;
|
||||
display: block;
|
||||
margin: 0 20px 0 20px;
|
||||
}
|
||||
label[for=accordion-1] {
|
||||
background-color: transparent;
|
||||
text-decoration: none;
|
||||
}
|
||||
label[for=accordion-1]:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
label[for=accordion-1]:after {
|
||||
content: "";
|
||||
}
|
||||
.omega-autofocus {
|
||||
max-width: 400px;
|
||||
}
|
||||
}
|
||||
/* Use @supports to sneak these rules past IE */
|
||||
@supports (grid-area: auto) {
|
||||
@media screen and (min-width: 960px) {
|
||||
#TopLeftHeader {
|
||||
display: grid;
|
||||
align-items: end;
|
||||
grid-template-columns: auto auto;
|
||||
grid-template-rows: auto auto;
|
||||
grid-template-areas: "symbol logo"
|
||||
"symbol dropdowns"
|
||||
}
|
||||
#SearchFrame {
|
||||
grid-area: search;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
#DonationFrame {
|
||||
grid-area: donation;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: 320px 100px 300px 1fr;
|
||||
grid-template-rows: minmax(1em, auto) minmax(1em, auto) 1fr minmax(1em, auto);
|
||||
grid-template-areas: "header header search donation"
|
||||
"rightside main main main"
|
||||
"leftside main main main"
|
||||
". footer footer footer"
|
||||
}
|
||||
html {
|
||||
scroll-padding-top: 64px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1440px) {
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: 360px 100px 400px 400px 1fr;
|
||||
grid-template-rows: 1fr minmax(1em, auto) minmax(1em, auto);
|
||||
grid-template-areas: "header header search search donation"
|
||||
"leftside main main main rightside"
|
||||
". footer footer footer ."
|
||||
}
|
||||
.donation {
|
||||
max-width: 300px;
|
||||
}
|
||||
.rightside {
|
||||
width: auto;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
608
server/windows-office/help/fuzzysort.js
Normal file
@@ -0,0 +1,608 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Stephen Kamenar
|
||||
|
||||
WHAT: SublimeText-like Fuzzy Search
|
||||
|
||||
USAGE:
|
||||
fuzzysort.single('fs', 'Fuzzy Search') // {score: -16}
|
||||
fuzzysort.single('test', 'test') // {score: 0}
|
||||
fuzzysort.single('doesnt exist', 'target') // null
|
||||
|
||||
fuzzysort.go('mr', ['Monitor.cpp', 'MeshRenderer.cpp'])
|
||||
// [{score: -18, target: "MeshRenderer.cpp"}, {score: -6009, target: "Monitor.cpp"}]
|
||||
|
||||
fuzzysort.highlight(fuzzysort.single('fs', 'Fuzzy Search'), '<b>', '</b>')
|
||||
// <b>F</b>uzzy <b>S</b>earch
|
||||
*/
|
||||
|
||||
// UMD (Universal Module Definition) for fuzzysort
|
||||
;(function(root, UMD) {
|
||||
if(typeof define === 'function' && define.amd) define([], UMD)
|
||||
else if(typeof module === 'object' && module.exports) module.exports = UMD()
|
||||
else root.fuzzysort = UMD()
|
||||
})(this, function UMD() { function fuzzysortNew(instanceOptions) {
|
||||
|
||||
var fuzzysort = {
|
||||
|
||||
single: function(search, target, options) {
|
||||
if(!search) return null
|
||||
if(!isObj(search)) search = fuzzysort.getPreparedSearch(search)
|
||||
|
||||
if(!target) return null
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
var allowTypo = options && options.allowTypo!==undefined ? options.allowTypo
|
||||
: instanceOptions && instanceOptions.allowTypo!==undefined ? instanceOptions.allowTypo
|
||||
: true
|
||||
var algorithm = allowTypo ? fuzzysort.algorithm : fuzzysort.algorithmNoTypo
|
||||
return algorithm(search, target, search[0])
|
||||
// var threshold = options && options.threshold || instanceOptions && instanceOptions.threshold || -9007199254740991
|
||||
// var result = algorithm(search, target, search[0])
|
||||
// if(result === null) return null
|
||||
// if(result.score < threshold) return null
|
||||
// return result
|
||||
},
|
||||
|
||||
go: function(search, targets, options) {
|
||||
if(!search) return noResults
|
||||
search = fuzzysort.prepareSearch(search)
|
||||
var searchLowerCode = search[0]
|
||||
|
||||
var threshold = options && options.threshold || instanceOptions && instanceOptions.threshold || -9007199254740991
|
||||
var limit = options && options.limit || instanceOptions && instanceOptions.limit || 9007199254740991
|
||||
var allowTypo = options && options.allowTypo!==undefined ? options.allowTypo
|
||||
: instanceOptions && instanceOptions.allowTypo!==undefined ? instanceOptions.allowTypo
|
||||
: true
|
||||
var algorithm = allowTypo ? fuzzysort.algorithm : fuzzysort.algorithmNoTypo
|
||||
var resultsLen = 0; var limitedCount = 0
|
||||
var targetsLen = targets.length
|
||||
|
||||
// This code is copy/pasted 3 times for performance reasons [options.keys, options.key, no keys]
|
||||
|
||||
// options.keys
|
||||
if(options && options.keys) {
|
||||
var scoreFn = options.scoreFn || defaultScoreFn
|
||||
var keys = options.keys
|
||||
var keysLen = keys.length
|
||||
for(var i = targetsLen - 1; i >= 0; --i) { var obj = targets[i]
|
||||
var objResults = new Array(keysLen)
|
||||
for (var keyI = keysLen - 1; keyI >= 0; --keyI) {
|
||||
var key = keys[keyI]
|
||||
var target = getValue(obj, key)
|
||||
if(!target) { objResults[keyI] = null; continue }
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
objResults[keyI] = algorithm(search, target, searchLowerCode)
|
||||
}
|
||||
objResults.obj = obj // before scoreFn so scoreFn can use it
|
||||
var score = scoreFn(objResults)
|
||||
if(score === null) continue
|
||||
if(score < threshold) continue
|
||||
objResults.score = score
|
||||
if(resultsLen < limit) { q.add(objResults); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(score > q.peek().score) q.replaceTop(objResults)
|
||||
}
|
||||
}
|
||||
|
||||
// options.key
|
||||
} else if(options && options.key) {
|
||||
var key = options.key
|
||||
for(var i = targetsLen - 1; i >= 0; --i) { var obj = targets[i]
|
||||
var target = getValue(obj, key)
|
||||
if(!target) continue
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
var result = algorithm(search, target, searchLowerCode)
|
||||
if(result === null) continue
|
||||
if(result.score < threshold) continue
|
||||
|
||||
// have to clone result so duplicate targets from different obj can each reference the correct obj
|
||||
result = {target:result.target, _targetLowerCodes:null, _nextBeginningIndexes:null, score:result.score, indexes:result.indexes, obj:obj} // hidden
|
||||
|
||||
if(resultsLen < limit) { q.add(result); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(result.score > q.peek().score) q.replaceTop(result)
|
||||
}
|
||||
}
|
||||
|
||||
// no keys
|
||||
} else {
|
||||
for(var i = targetsLen - 1; i >= 0; --i) { var target = targets[i]
|
||||
if(!target) continue
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
var result = algorithm(search, target, searchLowerCode)
|
||||
if(result === null) continue
|
||||
if(result.score < threshold) continue
|
||||
if(resultsLen < limit) { q.add(result); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(result.score > q.peek().score) q.replaceTop(result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(resultsLen === 0) return noResults
|
||||
var results = new Array(resultsLen)
|
||||
for(var i = resultsLen - 1; i >= 0; --i) results[i] = q.poll()
|
||||
results.total = resultsLen + limitedCount
|
||||
return results
|
||||
},
|
||||
|
||||
goAsync: function(search, targets, options) {
|
||||
var canceled = false
|
||||
var p = new Promise(function(resolve, reject) {
|
||||
if(!search) return resolve(noResults)
|
||||
search = fuzzysort.prepareSearch(search)
|
||||
var searchLowerCode = search[0]
|
||||
|
||||
var q = fastpriorityqueue()
|
||||
var iCurrent = targets.length - 1
|
||||
var threshold = options && options.threshold || instanceOptions && instanceOptions.threshold || -9007199254740991
|
||||
var limit = options && options.limit || instanceOptions && instanceOptions.limit || 9007199254740991
|
||||
var allowTypo = options && options.allowTypo!==undefined ? options.allowTypo
|
||||
: instanceOptions && instanceOptions.allowTypo!==undefined ? instanceOptions.allowTypo
|
||||
: true
|
||||
var algorithm = allowTypo ? fuzzysort.algorithm : fuzzysort.algorithmNoTypo
|
||||
var resultsLen = 0; var limitedCount = 0
|
||||
function step() {
|
||||
if(canceled) return reject('canceled')
|
||||
|
||||
var startMs = Date.now()
|
||||
|
||||
// This code is copy/pasted 3 times for performance reasons [options.keys, options.key, no keys]
|
||||
|
||||
// options.keys
|
||||
if(options && options.keys) {
|
||||
var scoreFn = options.scoreFn || defaultScoreFn
|
||||
var keys = options.keys
|
||||
var keysLen = keys.length
|
||||
for(; iCurrent >= 0; --iCurrent) { var obj = targets[iCurrent]
|
||||
var objResults = new Array(keysLen)
|
||||
for (var keyI = keysLen - 1; keyI >= 0; --keyI) {
|
||||
var key = keys[keyI]
|
||||
var target = getValue(obj, key)
|
||||
if(!target) { objResults[keyI] = null; continue }
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
objResults[keyI] = algorithm(search, target, searchLowerCode)
|
||||
}
|
||||
objResults.obj = obj // before scoreFn so scoreFn can use it
|
||||
var score = scoreFn(objResults)
|
||||
if(score === null) continue
|
||||
if(score < threshold) continue
|
||||
objResults.score = score
|
||||
if(resultsLen < limit) { q.add(objResults); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(score > q.peek().score) q.replaceTop(objResults)
|
||||
}
|
||||
|
||||
if(iCurrent%1000/*itemsPerCheck*/ === 0) {
|
||||
if(Date.now() - startMs >= 10/*asyncInterval*/) {
|
||||
isNode?setImmediate(step):setTimeout(step)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// options.key
|
||||
} else if(options && options.key) {
|
||||
var key = options.key
|
||||
for(; iCurrent >= 0; --iCurrent) { var obj = targets[iCurrent]
|
||||
var target = getValue(obj, key)
|
||||
if(!target) continue
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
var result = algorithm(search, target, searchLowerCode)
|
||||
if(result === null) continue
|
||||
if(result.score < threshold) continue
|
||||
|
||||
// have to clone result so duplicate targets from different obj can each reference the correct obj
|
||||
result = {target:result.target, _targetLowerCodes:null, _nextBeginningIndexes:null, score:result.score, indexes:result.indexes, obj:obj} // hidden
|
||||
|
||||
if(resultsLen < limit) { q.add(result); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(result.score > q.peek().score) q.replaceTop(result)
|
||||
}
|
||||
|
||||
if(iCurrent%1000/*itemsPerCheck*/ === 0) {
|
||||
if(Date.now() - startMs >= 10/*asyncInterval*/) {
|
||||
isNode?setImmediate(step):setTimeout(step)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// no keys
|
||||
} else {
|
||||
for(; iCurrent >= 0; --iCurrent) { var target = targets[iCurrent]
|
||||
if(!target) continue
|
||||
if(!isObj(target)) target = fuzzysort.getPrepared(target)
|
||||
|
||||
var result = algorithm(search, target, searchLowerCode)
|
||||
if(result === null) continue
|
||||
if(result.score < threshold) continue
|
||||
if(resultsLen < limit) { q.add(result); ++resultsLen }
|
||||
else {
|
||||
++limitedCount
|
||||
if(result.score > q.peek().score) q.replaceTop(result)
|
||||
}
|
||||
|
||||
if(iCurrent%1000/*itemsPerCheck*/ === 0) {
|
||||
if(Date.now() - startMs >= 10/*asyncInterval*/) {
|
||||
isNode?setImmediate(step):setTimeout(step)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(resultsLen === 0) return resolve(noResults)
|
||||
var results = new Array(resultsLen)
|
||||
for(var i = resultsLen - 1; i >= 0; --i) results[i] = q.poll()
|
||||
results.total = resultsLen + limitedCount
|
||||
resolve(results)
|
||||
}
|
||||
|
||||
isNode?setImmediate(step):step()
|
||||
})
|
||||
p.cancel = function() { canceled = true }
|
||||
return p
|
||||
},
|
||||
|
||||
highlight: function(result, hOpen, hClose) {
|
||||
if(result === null) return null
|
||||
if(hOpen === undefined) hOpen = '<b>'
|
||||
if(hClose === undefined) hClose = '</b>'
|
||||
var highlighted = ''
|
||||
var matchesIndex = 0
|
||||
var opened = false
|
||||
var target = result.target
|
||||
var targetLen = target.length
|
||||
var matchesBest = result.indexes
|
||||
for(var i = 0; i < targetLen; ++i) { var char = target[i]
|
||||
if(matchesBest[matchesIndex] === i) {
|
||||
++matchesIndex
|
||||
if(!opened) { opened = true
|
||||
highlighted += hOpen
|
||||
}
|
||||
|
||||
if(matchesIndex === matchesBest.length) {
|
||||
highlighted += char + hClose + target.substr(i+1)
|
||||
break
|
||||
}
|
||||
} else {
|
||||
if(opened) { opened = false
|
||||
highlighted += hClose
|
||||
}
|
||||
}
|
||||
highlighted += char
|
||||
}
|
||||
|
||||
return highlighted
|
||||
},
|
||||
|
||||
prepare: function(target) {
|
||||
if(!target) return
|
||||
return {target:target, _targetLowerCodes:fuzzysort.prepareLowerCodes(target), _nextBeginningIndexes:null, score:null, indexes:null, obj:null} // hidden
|
||||
},
|
||||
prepareSlow: function(target) {
|
||||
if(!target) return
|
||||
return {target:target, _targetLowerCodes:fuzzysort.prepareLowerCodes(target), _nextBeginningIndexes:fuzzysort.prepareNextBeginningIndexes(target), score:null, indexes:null, obj:null} // hidden
|
||||
},
|
||||
prepareSearch: function(search) {
|
||||
if(!search) return
|
||||
return fuzzysort.prepareLowerCodes(search)
|
||||
},
|
||||
|
||||
|
||||
|
||||
// Below this point is only internal code
|
||||
// Below this point is only internal code
|
||||
// Below this point is only internal code
|
||||
// Below this point is only internal code
|
||||
|
||||
|
||||
|
||||
getPrepared: function(target) {
|
||||
if(target.length > 999) return fuzzysort.prepare(target) // don't cache huge targets
|
||||
var targetPrepared = preparedCache.get(target)
|
||||
if(targetPrepared !== undefined) return targetPrepared
|
||||
targetPrepared = fuzzysort.prepare(target)
|
||||
preparedCache.set(target, targetPrepared)
|
||||
return targetPrepared
|
||||
},
|
||||
getPreparedSearch: function(search) {
|
||||
if(search.length > 999) return fuzzysort.prepareSearch(search) // don't cache huge searches
|
||||
var searchPrepared = preparedSearchCache.get(search)
|
||||
if(searchPrepared !== undefined) return searchPrepared
|
||||
searchPrepared = fuzzysort.prepareSearch(search)
|
||||
preparedSearchCache.set(search, searchPrepared)
|
||||
return searchPrepared
|
||||
},
|
||||
|
||||
algorithm: function(searchLowerCodes, prepared, searchLowerCode) {
|
||||
var targetLowerCodes = prepared._targetLowerCodes
|
||||
var searchLen = searchLowerCodes.length
|
||||
var targetLen = targetLowerCodes.length
|
||||
var searchI = 0 // where we at
|
||||
var targetI = 0 // where you at
|
||||
var typoSimpleI = 0
|
||||
var matchesSimpleLen = 0
|
||||
|
||||
// very basic fuzzy match; to remove non-matching targets ASAP!
|
||||
// walk through target. find sequential matches.
|
||||
// if all chars aren't found then exit
|
||||
for(;;) {
|
||||
var isMatch = searchLowerCode === targetLowerCodes[targetI]
|
||||
if(isMatch) {
|
||||
matchesSimple[matchesSimpleLen++] = targetI
|
||||
++searchI; if(searchI === searchLen) break
|
||||
searchLowerCode = searchLowerCodes[typoSimpleI===0?searchI : (typoSimpleI===searchI?searchI+1 : (typoSimpleI===searchI-1?searchI-1 : searchI))]
|
||||
}
|
||||
|
||||
++targetI; if(targetI >= targetLen) { // Failed to find searchI
|
||||
// Check for typo or exit
|
||||
// we go as far as possible before trying to transpose
|
||||
// then we transpose backwards until we reach the beginning
|
||||
for(;;) {
|
||||
if(searchI <= 1) return null // not allowed to transpose first char
|
||||
if(typoSimpleI === 0) { // we haven't tried to transpose yet
|
||||
--searchI
|
||||
var searchLowerCodeNew = searchLowerCodes[searchI]
|
||||
if(searchLowerCode === searchLowerCodeNew) continue // doesn't make sense to transpose a repeat char
|
||||
typoSimpleI = searchI
|
||||
} else {
|
||||
if(typoSimpleI === 1) return null // reached the end of the line for transposing
|
||||
--typoSimpleI
|
||||
searchI = typoSimpleI
|
||||
searchLowerCode = searchLowerCodes[searchI + 1]
|
||||
var searchLowerCodeNew = searchLowerCodes[searchI]
|
||||
if(searchLowerCode === searchLowerCodeNew) continue // doesn't make sense to transpose a repeat char
|
||||
}
|
||||
matchesSimpleLen = searchI
|
||||
targetI = matchesSimple[matchesSimpleLen - 1] + 1
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var searchI = 0
|
||||
var typoStrictI = 0
|
||||
var successStrict = false
|
||||
var matchesStrictLen = 0
|
||||
|
||||
var nextBeginningIndexes = prepared._nextBeginningIndexes
|
||||
if(nextBeginningIndexes === null) nextBeginningIndexes = prepared._nextBeginningIndexes = fuzzysort.prepareNextBeginningIndexes(prepared.target)
|
||||
var firstPossibleI = targetI = matchesSimple[0]===0 ? 0 : nextBeginningIndexes[matchesSimple[0]-1]
|
||||
|
||||
// Our target string successfully matched all characters in sequence!
|
||||
// Let's try a more advanced and strict test to improve the score
|
||||
// only count it as a match if it's consecutive or a beginning character!
|
||||
if(targetI !== targetLen) for(;;) {
|
||||
if(targetI >= targetLen) {
|
||||
// We failed to find a good spot for this search char, go back to the previous search char and force it forward
|
||||
if(searchI <= 0) { // We failed to push chars forward for a better match
|
||||
// transpose, starting from the beginning
|
||||
++typoStrictI; if(typoStrictI > searchLen-2) break
|
||||
if(searchLowerCodes[typoStrictI] === searchLowerCodes[typoStrictI+1]) continue // doesn't make sense to transpose a repeat char
|
||||
targetI = firstPossibleI
|
||||
continue
|
||||
}
|
||||
|
||||
--searchI
|
||||
var lastMatch = matchesStrict[--matchesStrictLen]
|
||||
targetI = nextBeginningIndexes[lastMatch]
|
||||
|
||||
} else {
|
||||
var isMatch = searchLowerCodes[typoStrictI===0?searchI : (typoStrictI===searchI?searchI+1 : (typoStrictI===searchI-1?searchI-1 : searchI))] === targetLowerCodes[targetI]
|
||||
if(isMatch) {
|
||||
matchesStrict[matchesStrictLen++] = targetI
|
||||
++searchI; if(searchI === searchLen) { successStrict = true; break }
|
||||
++targetI
|
||||
} else {
|
||||
targetI = nextBeginningIndexes[targetI]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{ // tally up the score & keep track of matches for highlighting later
|
||||
if(successStrict) { var matchesBest = matchesStrict; var matchesBestLen = matchesStrictLen }
|
||||
else { var matchesBest = matchesSimple; var matchesBestLen = matchesSimpleLen }
|
||||
var score = 0
|
||||
var lastTargetI = -1
|
||||
for(var i = 0; i < searchLen; ++i) { var targetI = matchesBest[i]
|
||||
// score only goes down if they're not consecutive
|
||||
if(lastTargetI !== targetI - 1) score -= targetI
|
||||
lastTargetI = targetI
|
||||
}
|
||||
if(!successStrict) {
|
||||
score *= 1000
|
||||
if(typoSimpleI !== 0) score += -20/*typoPenalty*/
|
||||
} else {
|
||||
if(typoStrictI !== 0) score += -20/*typoPenalty*/
|
||||
}
|
||||
score -= targetLen - searchLen
|
||||
prepared.score = score
|
||||
prepared.indexes = new Array(matchesBestLen); for(var i = matchesBestLen - 1; i >= 0; --i) prepared.indexes[i] = matchesBest[i]
|
||||
|
||||
return prepared
|
||||
}
|
||||
},
|
||||
|
||||
algorithmNoTypo: function(searchLowerCodes, prepared, searchLowerCode) {
|
||||
var targetLowerCodes = prepared._targetLowerCodes
|
||||
var searchLen = searchLowerCodes.length
|
||||
var targetLen = targetLowerCodes.length
|
||||
var searchI = 0 // where we at
|
||||
var targetI = 0 // where you at
|
||||
var matchesSimpleLen = 0
|
||||
|
||||
// very basic fuzzy match; to remove non-matching targets ASAP!
|
||||
// walk through target. find sequential matches.
|
||||
// if all chars aren't found then exit
|
||||
for(;;) {
|
||||
var isMatch = searchLowerCode === targetLowerCodes[targetI]
|
||||
if(isMatch) {
|
||||
matchesSimple[matchesSimpleLen++] = targetI
|
||||
++searchI; if(searchI === searchLen) break
|
||||
searchLowerCode = searchLowerCodes[searchI]
|
||||
}
|
||||
++targetI; if(targetI >= targetLen) return null // Failed to find searchI
|
||||
}
|
||||
|
||||
var searchI = 0
|
||||
var successStrict = false
|
||||
var matchesStrictLen = 0
|
||||
|
||||
var nextBeginningIndexes = prepared._nextBeginningIndexes
|
||||
if(nextBeginningIndexes === null) nextBeginningIndexes = prepared._nextBeginningIndexes = fuzzysort.prepareNextBeginningIndexes(prepared.target)
|
||||
var firstPossibleI = targetI = matchesSimple[0]===0 ? 0 : nextBeginningIndexes[matchesSimple[0]-1]
|
||||
|
||||
// Our target string successfully matched all characters in sequence!
|
||||
// Let's try a more advanced and strict test to improve the score
|
||||
// only count it as a match if it's consecutive or a beginning character!
|
||||
if(targetI !== targetLen) for(;;) {
|
||||
if(targetI >= targetLen) {
|
||||
// We failed to find a good spot for this search char, go back to the previous search char and force it forward
|
||||
if(searchI <= 0) break // We failed to push chars forward for a better match
|
||||
|
||||
--searchI
|
||||
var lastMatch = matchesStrict[--matchesStrictLen]
|
||||
targetI = nextBeginningIndexes[lastMatch]
|
||||
|
||||
} else {
|
||||
var isMatch = searchLowerCodes[searchI] === targetLowerCodes[targetI]
|
||||
if(isMatch) {
|
||||
matchesStrict[matchesStrictLen++] = targetI
|
||||
++searchI; if(searchI === searchLen) { successStrict = true; break }
|
||||
++targetI
|
||||
} else {
|
||||
targetI = nextBeginningIndexes[targetI]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{ // tally up the score & keep track of matches for highlighting later
|
||||
if(successStrict) { var matchesBest = matchesStrict; var matchesBestLen = matchesStrictLen }
|
||||
else { var matchesBest = matchesSimple; var matchesBestLen = matchesSimpleLen }
|
||||
var score = 0
|
||||
var lastTargetI = -1
|
||||
for(var i = 0; i < searchLen; ++i) { var targetI = matchesBest[i]
|
||||
// score only goes down if they're not consecutive
|
||||
if(lastTargetI !== targetI - 1) score -= targetI
|
||||
lastTargetI = targetI
|
||||
}
|
||||
if(!successStrict) score *= 1000
|
||||
score -= targetLen - searchLen
|
||||
prepared.score = score
|
||||
prepared.indexes = new Array(matchesBestLen); for(var i = matchesBestLen - 1; i >= 0; --i) prepared.indexes[i] = matchesBest[i]
|
||||
|
||||
return prepared
|
||||
}
|
||||
},
|
||||
|
||||
prepareLowerCodes: function(str) {
|
||||
var strLen = str.length
|
||||
var lowerCodes = [] // new Array(strLen) sparse array is too slow
|
||||
var lower = str.toLowerCase()
|
||||
for(var i = 0; i < strLen; ++i) lowerCodes[i] = lower.charCodeAt(i)
|
||||
return lowerCodes
|
||||
},
|
||||
prepareBeginningIndexes: function(target) {
|
||||
var targetLen = target.length
|
||||
var beginningIndexes = []; var beginningIndexesLen = 0
|
||||
var wasUpper = false
|
||||
var wasAlphanum = false
|
||||
for(var i = 0; i < targetLen; ++i) {
|
||||
var targetCode = target.charCodeAt(i)
|
||||
var isUpper = targetCode>=65&&targetCode<=90
|
||||
var isAlphanum = isUpper || targetCode>=97&&targetCode<=122 || targetCode>=48&&targetCode<=57
|
||||
var isBeginning = isUpper && !wasUpper || !wasAlphanum || !isAlphanum
|
||||
wasUpper = isUpper
|
||||
wasAlphanum = isAlphanum
|
||||
if(isBeginning) beginningIndexes[beginningIndexesLen++] = i
|
||||
}
|
||||
return beginningIndexes
|
||||
},
|
||||
prepareNextBeginningIndexes: function(target) {
|
||||
var targetLen = target.length
|
||||
var beginningIndexes = fuzzysort.prepareBeginningIndexes(target)
|
||||
var nextBeginningIndexes = [] // new Array(targetLen) sparse array is too slow
|
||||
var lastIsBeginning = beginningIndexes[0]
|
||||
var lastIsBeginningI = 0
|
||||
for(var i = 0; i < targetLen; ++i) {
|
||||
if(lastIsBeginning > i) {
|
||||
nextBeginningIndexes[i] = lastIsBeginning
|
||||
} else {
|
||||
lastIsBeginning = beginningIndexes[++lastIsBeginningI]
|
||||
nextBeginningIndexes[i] = lastIsBeginning===undefined ? targetLen : lastIsBeginning
|
||||
}
|
||||
}
|
||||
return nextBeginningIndexes
|
||||
},
|
||||
|
||||
cleanup: cleanup,
|
||||
new: fuzzysortNew,
|
||||
}
|
||||
return fuzzysort
|
||||
} // fuzzysortNew
|
||||
|
||||
// This stuff is outside fuzzysortNew, because it's shared with instances of fuzzysort.new()
|
||||
var isNode = typeof require !== 'undefined' && typeof window === 'undefined'
|
||||
// var MAX_INT = Number.MAX_SAFE_INTEGER
|
||||
// var MIN_INT = Number.MIN_VALUE
|
||||
var preparedCache = new Map()
|
||||
var preparedSearchCache = new Map()
|
||||
var noResults = []; noResults.total = 0
|
||||
var matchesSimple = []; var matchesStrict = []
|
||||
function cleanup() { preparedCache.clear(); preparedSearchCache.clear(); matchesSimple = []; matchesStrict = [] }
|
||||
function defaultScoreFn(a) {
|
||||
var max = -9007199254740991
|
||||
for (var i = a.length - 1; i >= 0; --i) {
|
||||
var result = a[i]; if(result === null) continue
|
||||
var score = result.score
|
||||
if(score > max) max = score
|
||||
}
|
||||
if(max === -9007199254740991) return null
|
||||
return max
|
||||
}
|
||||
|
||||
// prop = 'key' 2.5ms optimized for this case, seems to be about as fast as direct obj[prop]
|
||||
// prop = 'key1.key2' 10ms
|
||||
// prop = ['key1', 'key2'] 27ms
|
||||
function getValue(obj, prop) {
|
||||
var tmp = obj[prop]; if(tmp !== undefined) return tmp
|
||||
var segs = prop
|
||||
if(!Array.isArray(prop)) segs = prop.split('.')
|
||||
var len = segs.length
|
||||
var i = -1
|
||||
while (obj && (++i < len)) obj = obj[segs[i]]
|
||||
return obj
|
||||
}
|
||||
|
||||
function isObj(x) { return typeof x === 'object' } // faster as a function
|
||||
|
||||
// Hacked version of https://github.com/lemire/FastPriorityQueue.js
|
||||
var fastpriorityqueue=function(){var r=[],o=0,e={};function n(){for(var e=0,n=r[e],c=1;c<o;){var f=c+1;e=c,f<o&&r[f].score<r[c].score&&(e=f),r[e-1>>1]=r[e],c=1+(e<<1)}for(var a=e-1>>1;e>0&&n.score<r[a].score;a=(e=a)-1>>1)r[e]=r[a];r[e]=n}return e.add=function(e){var n=o;r[o++]=e;for(var c=n-1>>1;n>0&&e.score<r[c].score;c=(n=c)-1>>1)r[n]=r[c];r[n]=e},e.poll=function(){if(0!==o){var e=r[0];return r[0]=r[--o],n(),e}},e.peek=function(e){if(0!==o)return r[0]},e.replaceTop=function(o){r[0]=o,n()},e};
|
||||
var q = fastpriorityqueue() // reuse this, except for async, it needs to make its own
|
||||
|
||||
return fuzzysortNew()
|
||||
}) // UMD
|
||||
|
||||
// TODO: (performance) wasm version!?
|
||||
|
||||
// TODO: (performance) layout memory in an optimal way to go fast by avoiding cache misses
|
||||
|
||||
// TODO: (performance) preparedCache is a memory leak
|
||||
|
||||
// TODO: (like sublime) backslash === forwardslash
|
||||
|
||||
// TODO: (performance) i have no idea how well optimized the allowing typos algorithm is
|
||||
46
server/windows-office/help/help.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org"/>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function getParameterByName(name, url) {
|
||||
if (!url) {
|
||||
url = window.location.href;
|
||||
}
|
||||
name = name.replace(/[\[\]]/g, "\\$&");
|
||||
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)");
|
||||
var results = regex.exec(url);
|
||||
if (!results) {
|
||||
return null;
|
||||
}
|
||||
if (!results[2]) {
|
||||
return '';
|
||||
}
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
var url = window.location.href;
|
||||
var n = url.indexOf('?');
|
||||
if (n != -1) {
|
||||
// the URL came from LibreOffice help (F1)
|
||||
var version = getParameterByName("Version", url);
|
||||
var query = url.substr(n + 1, url.length);
|
||||
var newURL = version + '/index.html?' + query;
|
||||
window.location.replace(newURL);
|
||||
} else {
|
||||
window.location.replace('latest/index.html');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
188
server/windows-office/help/help.js
Normal file
@@ -0,0 +1,188 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
// Pagination and fuzzy search
|
||||
var url = window.location.pathname;
|
||||
var moduleRegex = new RegExp('text\\/(\\w+)\\/');
|
||||
var regexArray = moduleRegex.exec(url);
|
||||
var modules = ['CALC', 'WRITER', 'IMPRESS', 'DRAW', 'BASE', 'MATH', 'CHART', 'BASIC', 'SHARED'];
|
||||
var indexEl = document.getElementsByClassName("index")[0];
|
||||
var fullLinks = fullLinkify(indexEl, bookmarks, modules, currentModule());
|
||||
var search = document.getElementById('search-bar');
|
||||
search.addEventListener('keyup', debounce(filter, 100, indexEl));
|
||||
// Preserve search input value during the session
|
||||
search.value = sessionStorage.getItem('searchsave');
|
||||
if (search.value !== undefined) {
|
||||
filter(indexEl);
|
||||
}
|
||||
window.addEventListener('unload', function(event) {
|
||||
sessionStorage.setItem('searchsave', search.value);
|
||||
});
|
||||
// render the unfiltered index list on page load
|
||||
fillIndex(indexEl, fullLinks, modules);
|
||||
|
||||
function currentModule() {
|
||||
var module = '';
|
||||
// get the module name from the URL and remove the first character,
|
||||
// but first deal with snowflake Base
|
||||
if(url.indexOf('explorer/database/') !== -1) {
|
||||
module = 'BASE';
|
||||
} else {
|
||||
if (null === regexArray){// comes from search or elsewhere, no defined module in URL
|
||||
module = 'HARED'
|
||||
} else {
|
||||
module = regexArray[1].toUpperCase().substring(1);
|
||||
}
|
||||
}
|
||||
return module;
|
||||
};
|
||||
function fullLinkify(indexEl, bookmarks, modules, currentModule) {
|
||||
var fullLinkified = '';
|
||||
// if user is not on a shared category page, limit the index to the current module + shared
|
||||
if(currentModule !== 'HARED') {
|
||||
bookmarks = bookmarks.filter(function(obj) {
|
||||
return obj['app'] === currentModule || obj['app'] === 'SHARED';
|
||||
});
|
||||
}
|
||||
bookmarks.forEach(function(obj) {
|
||||
fullLinkified += '<a href="' + obj['url'] + '" class="' + obj['app'] + '">' + obj['text'] + '</a>';
|
||||
});
|
||||
return fullLinkified;
|
||||
}
|
||||
function fillIndex(indexEl, content, modules) {
|
||||
indexEl.innerHTML = content;
|
||||
var indexKids = indexEl.children;
|
||||
for (var i = 0, len = indexKids.length; i < len; i++) {
|
||||
indexKids[i].removeAttribute("id");
|
||||
}
|
||||
modules.forEach(function(module) {
|
||||
var moduleHeader = indexEl.getElementsByClassName(module)[0];
|
||||
if (typeof moduleHeader !== 'undefined') {
|
||||
// let's wrap the header in a span, so the ::before element will not become a link
|
||||
moduleHeader.outerHTML = '<span id="' + module + '" class="' + module + '">' + moduleHeader.outerHTML + '</span>';
|
||||
}
|
||||
});
|
||||
Paginator(indexEl);
|
||||
}
|
||||
// filter the index list based on search field input
|
||||
function filter(indexList) {
|
||||
var results = null;
|
||||
var target = search.value.trim();
|
||||
var filtered = '';
|
||||
if (target.length < 1) {
|
||||
fillIndex(indexEl, fullLinks, modules);
|
||||
return;
|
||||
}
|
||||
results = fuzzysort.go(target, bookmarks, {threshold: -15000, key:'text'});
|
||||
|
||||
results.forEach(function(result) {
|
||||
filtered += '<a href="' + result.obj['url'] + '" class="' + result.obj['app'] + '">' + fuzzysort.highlight(result) + '</a>';
|
||||
});
|
||||
fillIndex(indexList, filtered, modules);
|
||||
|
||||
};
|
||||
// delay the rendering of the filtered results while user is typing
|
||||
function debounce(fn, wait, indexList) {
|
||||
var timeout;
|
||||
return function() {
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(function() {
|
||||
fn.call(this, indexList);
|
||||
}, (wait || 150));
|
||||
};
|
||||
}
|
||||
|
||||
// copy pycode and bascode to clipboard on mouse click
|
||||
// Show border when copy is done
|
||||
divcopyable(document.getElementsByClassName("bascode"));
|
||||
divcopyable(document.getElementsByClassName("pycode"));
|
||||
|
||||
function divcopyable(itemcopyable){
|
||||
for (var i = 0, len = itemcopyable.length; i < len; i++) {
|
||||
(function() {
|
||||
var item = itemcopyable[i];
|
||||
|
||||
function changeBorder(item, color) {
|
||||
var saveBorder = item.style.border;
|
||||
item.style.borderColor = color;
|
||||
|
||||
setTimeout(function() {
|
||||
item.style.border = saveBorder;
|
||||
}, 150);
|
||||
}
|
||||
item.onclick = function() {
|
||||
document.execCommand("copy");
|
||||
changeBorder(item, "#18A303");
|
||||
};
|
||||
item.addEventListener("copy", function(event) {
|
||||
event.preventDefault();
|
||||
if (event.clipboardData) {
|
||||
event.clipboardData.setData("text/plain", item.textContent);
|
||||
}
|
||||
});
|
||||
}());
|
||||
}
|
||||
}
|
||||
|
||||
// copy useful content to clipboard on mouse click
|
||||
var copyable = document.getElementsByClassName("input");
|
||||
for (var i = 0, len = copyable.length; i < len; i++) {
|
||||
(function() {
|
||||
var item = copyable[i];
|
||||
|
||||
function changeColor(item, color, colorToChangeBackTo) {
|
||||
item.style.backgroundColor = color;
|
||||
setTimeout(function() {
|
||||
item.style.backgroundColor = colorToChangeBackTo;
|
||||
}, 150);
|
||||
}
|
||||
item.onclick = function() {
|
||||
document.execCommand("copy");
|
||||
changeColor(item, "#18A303", "transparent");
|
||||
};
|
||||
item.addEventListener("copy", function(event) {
|
||||
event.preventDefault();
|
||||
if (event.clipboardData) {
|
||||
event.clipboardData.setData("text/plain", item.textContent);
|
||||
}
|
||||
});
|
||||
}());
|
||||
}
|
||||
// auto-expand contents per subitem
|
||||
var pathname = window.location.pathname;
|
||||
var pathRegex = /text\/.*\.html$/;
|
||||
var linkIndex = 0;
|
||||
var contentMatch = pathname.match(pathRegex);
|
||||
function linksMatch(content) {
|
||||
var linkMatch = new RegExp(content);
|
||||
var links = document.getElementById("Contents").getElementsByTagName("a");
|
||||
for (var i = 0, len = links.length; i < len; i++) {
|
||||
if (links[i].href.match(linkMatch)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
}
|
||||
linkIndex = linksMatch(contentMatch);
|
||||
if (typeof linkIndex !== "undefined") {
|
||||
var current = document.getElementById("Contents").getElementsByTagName("a")[linkIndex];
|
||||
var cItem = current.parentElement;
|
||||
var parents = [];
|
||||
while (cItem.parentElement && !cItem.parentElement.matches("#Contents") && parents.indexOf(cItem.parentElement) == -1) {
|
||||
parents.push(cItem = cItem.parentElement);
|
||||
}
|
||||
var liParents = [].filter.call(parents, function(item) {
|
||||
return item.matches("li");
|
||||
});
|
||||
for (var i = 0, len = liParents.length; i < len; i++) {
|
||||
var input = liParents[i].querySelectorAll(':scope > input');
|
||||
document.getElementById(input[0].id).checked = true;
|
||||
}
|
||||
current.classList.add('contents-current');
|
||||
}
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||
266
server/windows-office/help/help2.js
Normal file
@@ -0,0 +1,266 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
// Used to set Application in caseinline=APP
|
||||
function setApplSpan(spanZ) {
|
||||
var module = getParameterByName("DbPAR");
|
||||
if (module === null) {
|
||||
module = "WRITER";
|
||||
}
|
||||
var y = spanZ.getElementsByTagName("SPAN");
|
||||
var n = y.length;
|
||||
var foundAppl = false;
|
||||
for (i = 0; i < n; i++) {
|
||||
if (y[i].getAttribute("id") === null){
|
||||
continue;
|
||||
}
|
||||
else if( y[i].getAttribute("id").startsWith(module)){
|
||||
y[i].removeAttribute("hidden");
|
||||
foundAppl=true;
|
||||
}
|
||||
}
|
||||
for (i = 0; i < n; i++) {
|
||||
if (y[i].getAttribute("id") === null){
|
||||
continue;
|
||||
}
|
||||
else if( y[i].getAttribute("id").startsWith("default")){
|
||||
if(!foundAppl){
|
||||
y[i].removeAttribute("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Used to set system in case, caseinline=SYSTEM
|
||||
function setSystemSpan(spanZ) {
|
||||
// if no System in URL, get browser system
|
||||
var system = getParameterByName("System");
|
||||
if (system === null) {
|
||||
system = getSystem();
|
||||
}
|
||||
var y = spanZ.getElementsByTagName("SPAN");
|
||||
var n = y.length;
|
||||
var foundSystem = false;
|
||||
for (i = 0; i < n; i++) {
|
||||
if (y[i].getAttribute("id") === null){
|
||||
continue;
|
||||
}
|
||||
else if( y[i].getAttribute("id").startsWith(system)){
|
||||
y[i].removeAttribute("hidden");
|
||||
foundSystem=true;
|
||||
}
|
||||
}
|
||||
for (i = 0; i < n; i++) {
|
||||
if (y[i].getAttribute("id") === null){
|
||||
continue;
|
||||
}
|
||||
else if( y[i].getAttribute("id").startsWith("default")){
|
||||
if(!foundSystem){
|
||||
y[i].removeAttribute("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// paint headers and headings with appl color
|
||||
|
||||
function moduleColor (module) {
|
||||
switch (module){
|
||||
case "WRITER" : {color="#0369A3"; break;}
|
||||
case "CALC" : {color="#43C330"; break;}
|
||||
case "CHART" : {color="darkcyan"; break;}
|
||||
case "IMPRESS": {color="#A33E03"; break;}
|
||||
case "DRAW" : {color="#C99C00"; break;}
|
||||
case "BASE" : {color="#8E03A3"; break;}
|
||||
case "BASIC" : {color="black"; break;}
|
||||
case "MATH" : {color="darkslategray"; break;}
|
||||
case "SHARED" : {color="gray"; break;}
|
||||
default : {color="#18A303"; break;}
|
||||
}
|
||||
document.getElementById("TopLeftHeader").style.background = color;
|
||||
document.getElementById("SearchFrame").style.background = color;
|
||||
document.getElementById("DonationFrame").style.background = color;
|
||||
var cols = document.getElementsByClassName('tableheadcell');
|
||||
for(i = 0; i < cols.length; i++) {cols[i].style.backgroundColor = color;};
|
||||
for (j of [1,2,3,4,5,6]) {
|
||||
var hh = document.getElementsByTagName("H" + j);
|
||||
for(i = 0; i < hh.length; i++) {
|
||||
hh[i].style.color = color;
|
||||
hh[i].style.borderBottomColor = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Find spans that need the switch treatment and give it to them
|
||||
var spans = document.querySelectorAll("[class^=switch]");
|
||||
var n = spans.length;
|
||||
for (z = 0; z < n; z++) {
|
||||
var id = spans[z].getAttribute("id");
|
||||
if (id === null) {
|
||||
continue;
|
||||
}
|
||||
else if (id.startsWith("swlnsys")) {
|
||||
setSystemSpan(spans[z]);
|
||||
} else {
|
||||
setApplSpan(spans[z]);
|
||||
}
|
||||
}
|
||||
/* add &DbPAR= and &System= to the links in DisplayArea div */
|
||||
/* skip for object files */
|
||||
function fixURL(module, system) {
|
||||
if ((DisplayArea = document.getElementById("DisplayArea")) === null) return;
|
||||
var itemlink = DisplayArea.getElementsByTagName("a");
|
||||
var pSystem = (system === null) ? getSystem() : system;
|
||||
var pAppl = (module === null) ? "WRITER" : module;
|
||||
var n = itemlink.length;
|
||||
for (var i = 0; i < n; i++) {
|
||||
if (itemlink[i].getAttribute("class") != "objectfiles") {
|
||||
setURLParam(itemlink[i], pSystem, pAppl);
|
||||
}
|
||||
}
|
||||
}
|
||||
//Set the params inside URL
|
||||
function setURLParam(itemlink, pSystem, pAppl) {
|
||||
var href = itemlink.getAttribute("href");
|
||||
if (href !== null) {
|
||||
// skip external links
|
||||
if (!href.startsWith("http")) {
|
||||
// handle bookmark.
|
||||
if (href.lastIndexOf('#') != -1) {
|
||||
var postf = href.substring(href.lastIndexOf('#'), href.length);
|
||||
var pref = href.substring(0, href.lastIndexOf('#'));
|
||||
itemlink.setAttribute("href", pref + "?" + '&DbPAR=' + pAppl + '&System=' + pSystem + postf);
|
||||
} else {
|
||||
itemlink.setAttribute("href", href + "?" + '&DbPAR=' + pAppl + '&System=' + pSystem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getSystem() {
|
||||
var system = "Unknown OS";
|
||||
if (navigator.appVersion.indexOf("Win") != -1) system = "WIN";
|
||||
if (navigator.appVersion.indexOf("Mac") != -1) system = "MAC";
|
||||
if (navigator.appVersion.indexOf("X11") != -1) system = "UNIX";
|
||||
if (navigator.appVersion.indexOf("Linux") != -1) system = "UNIX";
|
||||
return system;
|
||||
}
|
||||
|
||||
function getParameterByName(name, url) {
|
||||
if (!url) {
|
||||
url = window.location.href;
|
||||
}
|
||||
name = name.replace(/[\[\]]/g, "\\$&");
|
||||
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)");
|
||||
var results = regex.exec(url);
|
||||
if (!results) {
|
||||
return null;
|
||||
}
|
||||
if (!results[2]) {
|
||||
return '';
|
||||
}
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
function existingLang(lang) {
|
||||
if (lang === undefined) {
|
||||
return 'en-US';
|
||||
}
|
||||
|
||||
if (languagesSet.has(lang)) {
|
||||
return lang;
|
||||
}
|
||||
|
||||
lang = lang.replace(/[-_].*/, '');
|
||||
if (languagesSet.has(lang)) {
|
||||
return lang;
|
||||
}
|
||||
|
||||
return 'en-US';
|
||||
}
|
||||
|
||||
function setupModules(lang) {
|
||||
var modulesNav = document.getElementById('modules-nav');
|
||||
if (!modulesNav.classList.contains('loaded')) {
|
||||
var html =
|
||||
'<a href="' + lang + '/text/swriter/main0000.html?DbPAR=WRITER"><div class="writer-icon"></div>Writer</a>' +
|
||||
'<a href="' + lang + '/text/scalc/main0000.html?DbPAR=CALC"><div class="calc-icon"></div>Calc</a>' +
|
||||
'<a href="' + lang + '/text/simpress/main0000.html?DbPAR=IMPRESS"><div class="impress-icon"></div>Impress</a>' +
|
||||
'<a href="' + lang + '/text/sdraw/main0000.html?DbPAR=DRAW"><div class="draw-icon"></div>Draw</a>' +
|
||||
'<a href="' + lang + '/text/sdatabase/main.html?DbPAR=BASE"><div class="base-icon"></div>Base</a>' +
|
||||
'<a href="' + lang + '/text/smath/main0000.html?DbPAR=MATH"><div class="math-icon"></div>Math</a>' +
|
||||
'<a href="' + lang + '/text/schart/main0000.html?DbPAR=CHART"><div class="chart-icon"></div>Chart</a>' +
|
||||
'<a href="' + lang + '/text/sbasic/shared/main0601.html?DbPAR=BASIC"><div class="basic-icon"></div>Basic</a>';
|
||||
modulesNav.innerHTML = html;
|
||||
modulesNav.classList.add('loaded');
|
||||
}
|
||||
}
|
||||
|
||||
function setupLanguages(page) {
|
||||
var langNav = document.getElementById('langs-nav');
|
||||
if (!langNav.classList.contains('loaded')) {
|
||||
var html = '';
|
||||
languagesSet.forEach(function(lang) {
|
||||
html += '<a href="' + lang + page + '">' + ((lang in languageNames)? languageNames[lang]: lang) + '</a>';
|
||||
});
|
||||
langNav.innerHTML = html;
|
||||
langNav.classList.add('loaded');
|
||||
}
|
||||
}
|
||||
|
||||
// Test, if we are online
|
||||
if (document.body.getElementsByTagName('meta')) {
|
||||
var _paq = _paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['disableCookies']);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//piwik.documentfoundation.org/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '68']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
var system = getParameterByName("System");
|
||||
} else {
|
||||
var system = getSystem();
|
||||
}
|
||||
|
||||
var module = getParameterByName("DbPAR");
|
||||
fixURL(module,system);
|
||||
moduleColor(module);
|
||||
var helpID = getParameterByName("HID");
|
||||
// only used in xhp pages with <help-id-missing/> tags
|
||||
var missingElement = document.getElementById("bm_HID2");
|
||||
if(missingElement != null){missingElement.innerHTML = helpID;}
|
||||
|
||||
function debugInfo(dbg) {
|
||||
if (dbg == null) return;
|
||||
document.getElementById("DEBUG").style.display = "block";
|
||||
document.getElementById("bm_module").innerHTML = "Module is: "+module;
|
||||
document.getElementById("bm_system").innerHTML = "System is: "+system;
|
||||
document.getElementById("bm_HID").innerHTML = "HID is: "+helpID;
|
||||
}
|
||||
|
||||
debugInfo(getParameterByName("Debug"));
|
||||
|
||||
// Mobile devices need the modules and langs on page load
|
||||
if (Math.max(document.documentElement.clientWidth, window.innerWidth || 0) < 960) {
|
||||
var e = new Event('click');
|
||||
var modulesBtn = document.getElementById('modules');
|
||||
var langsBtn = document.getElementById('langs');
|
||||
var modules = document.getElementById('modules-nav');
|
||||
var langs = document.getElementById('langs-nav');
|
||||
modules.setAttribute('data-a11y-toggle-open', '');
|
||||
modulesBtn.dispatchEvent(e);
|
||||
if (langs) {
|
||||
langs.setAttribute('data-a11y-toggle-open', '');
|
||||
langsBtn.dispatchEvent(e);
|
||||
}
|
||||
}
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||
8433
server/windows-office/help/hid2file.js
Normal file
51
server/windows-office/help/idxcaption.xsl
Normal file
@@ -0,0 +1,51 @@
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
<xsl:stylesheet version="1.0" encoding="UTF-8"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:office="http://openoffice.org/2000/office"
|
||||
xmlns:style="http://openoffice.org/2000/style"
|
||||
xmlns:table="http://openoffice.org/2000/table"
|
||||
xmlns:draw="http://openoffice.org/2000/drawing"
|
||||
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:meta="http://openoffice.org/2000/meta"
|
||||
xmlns:number="http://openoffice.org/2000/datastyle"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:chart="http://openoffice.org/2000/chart"
|
||||
xmlns:help="http://openoffice.org/2000/help"
|
||||
xmlns:index="http://sun.com/2000/XMLSearch"
|
||||
xmlns:text="http://openoffice.org/2000/text">
|
||||
|
||||
<xsl:param name="Language" select="'en-US'"/>
|
||||
<xsl:output method="text" encoding="UTF-8"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="//title" mode="include"/>
|
||||
<xsl:apply-templates select="//paragraph[@role='heading']" mode="include"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="*" mode="include">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="*"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
131
server/windows-office/help/idxcontent.xsl
Normal file
@@ -0,0 +1,131 @@
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
<xsl:stylesheet version="1.0" encoding="UTF-8"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:office="http://openoffice.org/2000/office"
|
||||
xmlns:style="http://openoffice.org/2000/style"
|
||||
xmlns:table="http://openoffice.org/2000/table"
|
||||
xmlns:draw="http://openoffice.org/2000/drawing"
|
||||
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:meta="http://openoffice.org/2000/meta"
|
||||
xmlns:number="http://openoffice.org/2000/datastyle"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:chart="http://openoffice.org/2000/chart"
|
||||
xmlns:help="http://openoffice.org/2000/help"
|
||||
xmlns:index="http://sun.com/2000/XMLSearch"
|
||||
xmlns:text="http://openoffice.org/2000/text">
|
||||
|
||||
<xsl:param name="Language" select="'en-US'"/>
|
||||
<xsl:output method="text" encoding="UTF-8"/>
|
||||
|
||||
<xsl:template match="helpdocument|body">
|
||||
<xsl:choose>
|
||||
<xsl:when test="meta/topic[@indexer='exclude']"/>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="title">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="table">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tablecell">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tablerow">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="list">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="listitem">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="item">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emph">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="sub">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="sup">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="paragraph">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="section">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="bookmark">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="bookmark_value">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="link">
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="ahelp[@visibility='visible']">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="*"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
|
||||
74
server/windows-office/help/index.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org"/>
|
||||
<script type="text/javascript" src="polyfills.js"></script>
|
||||
<script type="text/javascript" src="hid2file.js"></script>
|
||||
<script type="text/javascript" src="languages.js"></script>
|
||||
<script type="text/javascript" src="help2.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
// We have to wait until both the deferred help2.js and the document have loaded
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
var url = window.location.href;
|
||||
var n = url.indexOf('index.html?');
|
||||
if (n != -1) {
|
||||
// the URL came from LibreOffice help (F1)
|
||||
var target = getParameterByName("Target",url);
|
||||
var lang = existingLang(getParameterByName("Language", url));
|
||||
var system = getParameterByName("System", url);
|
||||
var module;
|
||||
var defaultFile;
|
||||
var smodule = target.substr(0, target.indexOf('/'));
|
||||
switch (smodule) {
|
||||
case "swriter": {defaultFile='text/swriter/main0000.html';module="WRITER";break;}
|
||||
case "scalc": {defaultFile='text/scalc/main0000.html';module="CALC";break;}
|
||||
case "schart": {defaultFile='text/schart/main0000.html';module="CHART";break;}
|
||||
case "simpress": {defaultFile='text/simpress/main0000.html';module="IMPRESS";break;}
|
||||
case "sdraw": {defaultFile='text/sdraw/main0000.html';module="DRAW";break;}
|
||||
case "smath": {defaultFile='text/smath/main0000.html';module="MATH";break;}
|
||||
case "sdatabase": {defaultFile='text/sdatabase/main.html';module="BASE";break;}
|
||||
case "sbasic": {defaultFile='text/sbasic/shared/main0601.html';module="BASIC";break;}
|
||||
default: {defaultFile='text/shared/05/new_help.html';module="WRITER";break;}
|
||||
}
|
||||
//Special case of application F1 or menu Help -> LibreOffice Help
|
||||
if (target.indexOf('.uno:HelpIndex') != -1) {
|
||||
window.location.replace(lang + '/' + defaultFile + '?System=' + system + '&DbPAR=' + module);
|
||||
}
|
||||
var bookmark = target.slice(target.indexOf('/') + 1, target.length);
|
||||
var file = hid2fileMap[bookmark];
|
||||
// check first if a root bookmark @@nowidget@@ can be used
|
||||
if (file === undefined) {
|
||||
var b2 = bookmark.substring(0, bookmark.lastIndexOf("/")) + '/@@nowidget@@';
|
||||
file = hid2fileMap[b2];
|
||||
}
|
||||
// rebuild URL
|
||||
if (file === undefined) {
|
||||
var newURL = lang + '/text/shared/05/err_html.html?System=' + system + '&DbPAR=' + module + '&HID=' + bookmark ;
|
||||
} else {
|
||||
var indx = file.indexOf('#');
|
||||
var bm = file.substr(indx,file.length);
|
||||
file = file.substr(0,indx);
|
||||
var newURL = lang + '/' + file + '?System=' + system + '&DbPAR=' + module + '&HID=' + bookmark + bm;
|
||||
}
|
||||
window.location.replace(newURL);
|
||||
} else {
|
||||
// URL came from elsewhere, direct access to webroot, we redirect to main Help page
|
||||
var system = 'WIN';
|
||||
if (navigator.userAgent.indexOf("Mac") != -1) system = 'MAC';
|
||||
if (navigator.userAgent.indexOf("Linux") != -1) system = 'UNIX';
|
||||
window.location.replace(existingLang(navigator.language) + '/text/shared/05/new_help.html?&DbPAR=WRITER&System=' + system);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
1
server/windows-office/help/languages.js
Normal file
@@ -0,0 +1 @@
|
||||
var languagesSet = new Set(['en-US', 'am', 'ar', 'ast', 'bg', 'bn', 'bn-IN', 'bo', 'bs', 'ca', 'ca-valencia', 'cs', 'da', 'de', 'dz', 'el', 'en-GB', 'en-ZA', 'eo', 'es', 'et', 'eu', 'fi', 'fr', 'gl', 'gu', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'ka', 'km', 'ko', 'lo', 'lt', 'lv', 'mk', 'nb', 'ne', 'nl', 'nn', 'om', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'si', 'sid', 'sk', 'sl', 'sq', 'sv', 'ta', 'tg', 'tr', 'ug', 'uk', 'vi', 'zh-CN', 'zh-TW']);
|
||||
933
server/windows-office/help/main_transform.xsl
Normal file
@@ -0,0 +1,933 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--***********************************************************************
|
||||
This is the main transformation style sheet for transforming.
|
||||
For use with LibreOffice 4.0+
|
||||
=========================================================================
|
||||
Changes Log
|
||||
May 24 2004 Created
|
||||
Aug 24 2004 Fixed for help2 CWS
|
||||
Aug 27 2004 Added css link, fixed missing embed-mode for variable
|
||||
Removed width/height for images
|
||||
Sep 03 2004 Modularized xsl, added some embedded modes
|
||||
Oct 08 2004 Fixed bug wrong mode "embedded" for links
|
||||
Added embedded modes for embed and embedvar (for cascaded embeds)
|
||||
Added <p> tags around falsely embedded pars and vars
|
||||
Dec 08 2004 #i38483#, fixed wrong handling of web links
|
||||
#i37377#, fixed missing usage of Database parameter for switching
|
||||
Jan 04 2005 #i38905#, fixed buggy branding replacement template
|
||||
Mar 17 2005 #i43972#, added language info to image URL, evaluate Language parameter
|
||||
evaluate new localize attribute in images
|
||||
May 10 2005 #i48785#, fixed wrong setting of distrib variable
|
||||
Aug 16 2005 workaround for #i53365#
|
||||
Aug 19 2005 fixed missing list processing in embedded sections
|
||||
Aug 19 2005 #i53535#, fixed wrong handling of Database parameter
|
||||
Oct 17 2006 #i70462#, disabled sorting to avoid output of error messages to console
|
||||
Jun 15 2009 #i101799#, fixed wrong handling of http URLs with anchors
|
||||
***********************************************************************//-->
|
||||
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output indent="yes" method="html"/>
|
||||
|
||||
<!--
|
||||
############################
|
||||
# Variables and Parameters #
|
||||
############################
|
||||
//-->
|
||||
|
||||
<!-- General Usage -->
|
||||
<xsl:variable name="am" select="'&'"/>
|
||||
<xsl:variable name="sl" select="'/'"/>
|
||||
<xsl:variable name="qt" select="'"'"/>
|
||||
|
||||
<!-- generic Icon alt text -->
|
||||
<xsl:variable name="alttext" select="'text/shared/00/icon_alt.xhp'"/>
|
||||
|
||||
<!-- For calculating pixel sizes -->
|
||||
<xsl:variable name="dpi" select="'96'"/>
|
||||
<xsl:variable name="dpcm" select="'38'"/>
|
||||
|
||||
<!-- Product brand variables used in the help files -->
|
||||
<xsl:variable name="brand1" select="'$[officename]'"/>
|
||||
<xsl:variable name="brand2" select="'$[officeversion]'"/>
|
||||
<xsl:variable name="brand3" select="'%PRODUCTNAME'"/>
|
||||
<xsl:variable name="brand4" select="'%PRODUCTVERSION'"/>
|
||||
|
||||
<!-- meta data variables from the help file -->
|
||||
<xsl:variable name="filename" select="/helpdocument/meta/topic/filename"/>
|
||||
<xsl:variable name="title" select="/helpdocument/meta/topic/title"/>
|
||||
|
||||
<!-- Module and the corresponding switching values-->
|
||||
<xsl:param name="Database" select="'swriter'"/>
|
||||
<xsl:variable name="module" select="$Database"/>
|
||||
<xsl:variable name="appl">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$module = 'swriter'"><xsl:value-of select="'WRITER'"/></xsl:when>
|
||||
<xsl:when test="$module = 'scalc'"><xsl:value-of select="'CALC'"/></xsl:when>
|
||||
<xsl:when test="$module = 'sdraw'"><xsl:value-of select="'DRAW'"/></xsl:when>
|
||||
<xsl:when test="$module = 'simpress'"><xsl:value-of select="'IMPRESS'"/></xsl:when>
|
||||
<xsl:when test="$module = 'schart'"><xsl:value-of select="'CHART'"/></xsl:when>
|
||||
<xsl:when test="$module = 'sbasic'"><xsl:value-of select="'BASIC'"/></xsl:when>
|
||||
<xsl:when test="$module = 'smath'"><xsl:value-of select="'MATH'"/></xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<!-- the other parameters given by the help caller -->
|
||||
<xsl:param name="System" select="'WIN'"/>
|
||||
<xsl:param name="productname" select="'Office'"/>
|
||||
<xsl:param name="productversion" select="''"/>
|
||||
<xsl:variable name="pversion">
|
||||
<xsl:value-of select="translate($productversion,' ','')"/>
|
||||
</xsl:variable>
|
||||
<!-- this is were the images are -->
|
||||
<xsl:param name="imgtheme" select="''"/>
|
||||
<xsl:param name="Id" />
|
||||
<xsl:param name="Language" select="'en-US'"/>
|
||||
<xsl:variable name="lang" select="$Language"/>
|
||||
|
||||
<xsl:param name="ExtensionId" select="''"/>
|
||||
<xsl:param name="ExtensionPath" select="''"/>
|
||||
|
||||
|
||||
<!-- parts of help and image urls -->
|
||||
<xsl:variable name="help_url_prefix" select="'vnd.sun.star.help://'"/>
|
||||
<xsl:variable name="img_url_prefix" select="concat('vnd.libreoffice.image://',$imgtheme,'/')"/>
|
||||
<xsl:variable name="img_url_internal" select="'vnd.libreoffice.image://helpimg/'"/>
|
||||
<xsl:variable name="urlpost" select="concat('?Language=',$lang,$am,'System=',$System,$am,'UseDB=no')"/>
|
||||
<xsl:variable name="urlpre" select="$help_url_prefix" />
|
||||
<xsl:variable name="linkprefix" select="$urlpre"/>
|
||||
<xsl:variable name="linkpostfix" select="$urlpost"/>
|
||||
|
||||
<xsl:variable name="css" select="'default.css'"/>
|
||||
|
||||
<!-- images for notes, tips and warnings -->
|
||||
<xsl:variable name="note_img" select="concat($img_url_internal,'media/helpimg/note.png')"/>
|
||||
<xsl:variable name="tip_img" select="concat($img_url_internal,'media/helpimg/tip.png')"/>
|
||||
<xsl:variable name="warning_img" select="concat($img_url_internal,'media/helpimg/warning.png')"/>
|
||||
|
||||
<!--
|
||||
#############
|
||||
# Templates #
|
||||
#############
|
||||
//-->
|
||||
|
||||
<!-- Create the document skeleton -->
|
||||
<xsl:template match="/">
|
||||
<xsl:variable name="csslink" select="concat($urlpre,'/',$urlpost)"/>
|
||||
<html>
|
||||
<head>
|
||||
<title><xsl:value-of select="$title"/></title>
|
||||
<link href="{$csslink}" rel="Stylesheet" type="text/css" /> <!-- stylesheet link -->
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body lang="{$lang}">
|
||||
<xsl:apply-templates select="/helpdocument/body"/>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!-- AHELP -->
|
||||
<xsl:template match="ahelp">
|
||||
<xsl:if test="not(@visibility='hidden')"><span class="avis"><xsl:apply-templates /></span></xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<!-- ALT -->
|
||||
<xsl:template match="alt"/>
|
||||
|
||||
<!-- BOOKMARK -->
|
||||
<xsl:template match="bookmark">
|
||||
<a name="{@id}"></a>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with(@branch,'hid')" />
|
||||
<xsl:otherwise><xsl:apply-templates /></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template match="bookmark" mode="embedded" />
|
||||
|
||||
<!-- BOOKMARK_VALUE -->
|
||||
<xsl:template match="bookmark_value" />
|
||||
|
||||
<!-- BR -->
|
||||
<xsl:template match="br"><br /></xsl:template>
|
||||
|
||||
<!-- CAPTION -->
|
||||
<xsl:template match="caption" />
|
||||
|
||||
<!-- CASE -->
|
||||
<xsl:template match="case"><xsl:call-template name="insertcase" /></xsl:template>
|
||||
<xsl:template match="case" mode="embedded">
|
||||
<xsl:call-template name="insertcase">
|
||||
<xsl:with-param name="embedded" select="'yes'"/>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- CASEINLINE -->
|
||||
<xsl:template match="caseinline"><xsl:call-template name="insertcase" /></xsl:template>
|
||||
<xsl:template match="caseinline" mode="embedded">
|
||||
<xsl:call-template name="insertcase">
|
||||
<xsl:with-param name="embedded" select="'yes'"/>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- COMMENT -->
|
||||
<xsl:template match="comment" />
|
||||
<xsl:template match="comment" mode="embedded"/>
|
||||
|
||||
<!-- CREATED -->
|
||||
<xsl:template match="created" />
|
||||
|
||||
<!-- DEFAULT -->
|
||||
<xsl:template match="default"><xsl:call-template name="insertdefault" /></xsl:template>
|
||||
<xsl:template match="default" mode="embedded">
|
||||
<xsl:call-template name="insertdefault">
|
||||
<xsl:with-param name="embedded" select="'yes'"/>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- DEFAULTINLINE -->
|
||||
<xsl:template match="defaultinline"><xsl:call-template name="insertdefault" /></xsl:template>
|
||||
<xsl:template match="defaultinline" mode="embedded">
|
||||
<xsl:call-template name="insertdefault">
|
||||
<xsl:with-param name="embedded" select="'yes'"/>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- EMBED -->
|
||||
<xsl:template match="embed"><xsl:call-template name="resolveembed"/></xsl:template>
|
||||
<xsl:template match="embed" mode="embedded"><xsl:call-template name="resolveembed"/></xsl:template>
|
||||
|
||||
<!-- EMBEDVAR -->
|
||||
<xsl:template match="embedvar"><xsl:call-template name="resolveembedvar"/></xsl:template>
|
||||
<xsl:template match="embedvar" mode="embedded"><xsl:call-template name="resolveembedvar"/></xsl:template>
|
||||
|
||||
<!-- EMPH -->
|
||||
<xsl:template match="emph">
|
||||
<span class="emph"><xsl:apply-templates /></span>
|
||||
</xsl:template>
|
||||
<xsl:template match="emph" mode="embedded">
|
||||
<span class="emph"><xsl:apply-templates /></span>
|
||||
</xsl:template>
|
||||
|
||||
<!-- SUB -->
|
||||
<xsl:template match="sub">
|
||||
<sub><xsl:apply-templates /></sub>
|
||||
</xsl:template>
|
||||
<xsl:template match="sub" mode="embedded">
|
||||
<sub><xsl:apply-templates /></sub>
|
||||
</xsl:template>
|
||||
|
||||
<!-- SUP -->
|
||||
<xsl:template match="sup">
|
||||
<sup><xsl:apply-templates /></sup>
|
||||
</xsl:template>
|
||||
<xsl:template match="sup" mode="embedded">
|
||||
<sup><xsl:apply-templates /></sup>
|
||||
</xsl:template>
|
||||
|
||||
<!-- FILENAME -->
|
||||
<xsl:template match="filename" />
|
||||
|
||||
<!-- HISTORY -->
|
||||
<xsl:template match="history" />
|
||||
|
||||
<!-- IMAGE -->
|
||||
<xsl:template match="image"><xsl:call-template name="insertimage"/></xsl:template>
|
||||
<xsl:template match="image" mode="embedded"><xsl:call-template name="insertimage"/></xsl:template>
|
||||
|
||||
<!-- ITEM -->
|
||||
<xsl:template match="item"><span class="{@type}"><xsl:apply-templates /></span></xsl:template>
|
||||
<xsl:template match="item" mode="embedded"><span class="{@type}"><xsl:apply-templates /></span></xsl:template>
|
||||
|
||||
<!-- LINK -->
|
||||
<xsl:template match="link">
|
||||
<xsl:choose> <!-- don't insert the heading link to itself -->
|
||||
<xsl:when test="(concat('/',@href) = /helpdocument/meta/topic/filename) or (@href = /helpdocument/meta/topic/filename)">
|
||||
<xsl:apply-templates />
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(child::embedvar/@href,'/00/00000004.xhp#wie')"> <!-- special treatment of howtoget links -->
|
||||
<xsl:call-template name="insert_howtoget">
|
||||
<xsl:with-param name="linkhref" select="@href"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:call-template name="createlink" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template match="link" mode="embedded">
|
||||
<xsl:call-template name="createlink"/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- LIST -->
|
||||
<xsl:template match="list">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@type='ordered'">
|
||||
<ol>
|
||||
<xsl:if test="@startwith">
|
||||
<xsl:attribute name="start"><xsl:value-of select="@startwith"/></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates />
|
||||
</ol>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<ul><xsl:apply-templates /></ul>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="list" mode="embedded">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@type='ordered'">
|
||||
<ol>
|
||||
<xsl:if test="@startwith">
|
||||
<xsl:attribute name="start"><xsl:value-of select="@startwith"/></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</ol>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<ul><xsl:apply-templates mode="embedded"/></ul>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- LISTITEM -->
|
||||
<xsl:template match="listitem">
|
||||
<li><xsl:apply-templates /></li>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="listitem" mode="embedded">
|
||||
<li><xsl:apply-templates mode="embedded"/></li>
|
||||
</xsl:template>
|
||||
|
||||
<!-- META, SEE HEADER -->
|
||||
<xsl:template match="meta" />
|
||||
|
||||
<!-- OBJECT (UNUSED) -->
|
||||
<xsl:template match="object" />
|
||||
|
||||
<!-- PARAGRAPH -->
|
||||
<xsl:template match="paragraph">
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="@role='heading'">
|
||||
<xsl:call-template name="insertheading">
|
||||
<xsl:with-param name="level" select="@level"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains(' note warning tip ',@role)">
|
||||
<xsl:call-template name="insertnote">
|
||||
<xsl:with-param name="type" select="@role" />
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains(descendant::embedvar/@href,'/00/00000004.xhp#wie')"> <!-- special treatment of howtoget links -->
|
||||
<xsl:apply-templates />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="@role='bascode'">
|
||||
<xsl:call-template name="insertbascode" />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="@role='logocode'">
|
||||
<xsl:call-template name="insertlogocode" />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:call-template name="insertpara" />
|
||||
</xsl:otherwise>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="paragraph" mode="embedded">
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="@role='heading'"> <!-- increase the level of headings that are embedded -->
|
||||
<!--
|
||||
The internal sablotron processor does not seem to support the number function.
|
||||
Therefore, we need a workaround for
|
||||
<xsl:variable name="level"><xsl:value-of select="number(@level)+1"/></xsl:variable>
|
||||
-->
|
||||
<xsl:variable name="newlevel">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@level='1'"><xsl:value-of select="'2'"/></xsl:when>
|
||||
<xsl:when test="@level='2'"><xsl:value-of select="'2'"/></xsl:when>
|
||||
<xsl:when test="@level='3'"><xsl:value-of select="'3'"/></xsl:when>
|
||||
<xsl:when test="@level='4'"><xsl:value-of select="'4'"/></xsl:when>
|
||||
<xsl:when test="@level='5'"><xsl:value-of select="'5'"/></xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:call-template name="insertheading">
|
||||
<xsl:with-param name="level" select="$newlevel"/>
|
||||
<xsl:with-param name="embedded" select="'yes'"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains(' note warning tip ',@role)">
|
||||
<xsl:call-template name="insertnote">
|
||||
<xsl:with-param name="type" select="@role" />
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains(descendant::embedvar/@href,'/00/00000004.xhp#wie')"> <!-- special treatment of howtoget links -->
|
||||
<xsl:apply-templates />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:call-template name="insertpara" />
|
||||
</xsl:otherwise>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- SECTION -->
|
||||
<xsl:template match="section">
|
||||
<a name="{@id}"></a>
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="@id='relatedtopics'">
|
||||
<div class="relatedtopics">
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($urlpre,'shared/text/shared/00/00000004.xhp',$urlpost)"/></xsl:variable>
|
||||
<xsl:variable name="anchor"><xsl:value-of select="'related'"/></xsl:variable>
|
||||
<xsl:variable name="doc" select="document($href)"/>
|
||||
<p class="related">
|
||||
<xsl:apply-templates select="$doc//variable[@id=$anchor]"/>
|
||||
</p>
|
||||
<div class="relatedbody">
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="@id='howtoget'">
|
||||
<xsl:call-template name="insert_howtoget" />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates/>
|
||||
</xsl:otherwise>
|
||||
|
||||
</xsl:choose>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- SECTION -->
|
||||
<xsl:template match="section" mode="embedded">
|
||||
<a name="{@id}"></a>
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- SORT -->
|
||||
<xsl:template match="sort" >
|
||||
<xsl:apply-templates><xsl:sort select="descendant::paragraph"/></xsl:apply-templates>
|
||||
</xsl:template>
|
||||
<xsl:template match="sort" mode="embedded">
|
||||
<xsl:apply-templates><xsl:sort select="descendant::paragraph"/></xsl:apply-templates>
|
||||
</xsl:template>
|
||||
|
||||
<!-- SWITCH -->
|
||||
<xsl:template match="switch"><xsl:apply-templates /></xsl:template>
|
||||
<xsl:template match="switch" mode="embedded"><xsl:apply-templates /></xsl:template>
|
||||
|
||||
<!-- SWITCHINLINE -->
|
||||
<xsl:template match="switchinline"><xsl:apply-templates /></xsl:template>
|
||||
<xsl:template match="switchinline" mode="embedded"><xsl:apply-templates mode="embedded"/></xsl:template>
|
||||
|
||||
<!-- TABLE -->
|
||||
<xsl:template match="table"><xsl:call-template name="inserttable"/></xsl:template>
|
||||
<xsl:template match="table" mode="embedded"><xsl:call-template name="inserttable"/></xsl:template>
|
||||
|
||||
<!-- TABLECELL -->
|
||||
<xsl:template match="tablecell"><td valign="top"><xsl:apply-templates /></td></xsl:template>
|
||||
<xsl:template match="tablecell" mode="icontable"><td valign="top"><xsl:apply-templates/></td></xsl:template>
|
||||
<xsl:template match="tablecell" mode="embedded"><td valign="top"><xsl:apply-templates mode="embedded"/></td></xsl:template>
|
||||
|
||||
<!-- TABLEROW -->
|
||||
<xsl:template match="tablerow"><tr><xsl:apply-templates /></tr></xsl:template>
|
||||
<xsl:template match="tablerow" mode="icontable"><tr><xsl:apply-templates mode="icontable"/></tr></xsl:template>
|
||||
<xsl:template match="tablerow" mode="embedded"><tr><xsl:apply-templates mode="embedded"/></tr></xsl:template>
|
||||
|
||||
<!-- TITLE -->
|
||||
<xsl:template match="title"/>
|
||||
|
||||
<!-- TOPIC -->
|
||||
<xsl:template match="topic"/>
|
||||
|
||||
<!-- VARIABLE -->
|
||||
<xsl:template match="variable"><a name="{@id}"></a><xsl:apply-templates /></xsl:template>
|
||||
<xsl:template match="variable" mode="embedded"><a name="{@id}"></a><xsl:apply-templates mode="embedded"/></xsl:template>
|
||||
|
||||
<xsl:template match="text()">
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string"><xsl:value-of select="."/></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="text()" mode="embedded">
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string"><xsl:value-of select="."/></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- In case of missing help files -->
|
||||
<xsl:template match="help-id-missing"><xsl:value-of select="$Id"/></xsl:template>
|
||||
|
||||
<!--
|
||||
###################
|
||||
# NAMED TEMPLATES #
|
||||
###################
|
||||
//-->
|
||||
|
||||
<!-- Branding -->
|
||||
<xsl:template name="brand" >
|
||||
<xsl:param name="string"/>
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="contains($string,$brand1)">
|
||||
<xsl:variable name="newstr">
|
||||
<xsl:value-of select="substring-before($string,$brand1)"/>
|
||||
<xsl:value-of select="$productname"/>
|
||||
<xsl:value-of select="substring-after($string,$brand1)"/>
|
||||
</xsl:variable>
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string" select="$newstr"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains($string,$brand2)">
|
||||
<xsl:variable name="newstr">
|
||||
<xsl:value-of select="substring-before($string,$brand2)"/>
|
||||
<xsl:value-of select="$pversion"/>
|
||||
<xsl:value-of select="substring-after($string,$brand2)"/>
|
||||
</xsl:variable>
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string" select="$newstr"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains($string,$brand3)">
|
||||
<xsl:variable name="newstr">
|
||||
<xsl:value-of select="substring-before($string,$brand3)"/>
|
||||
<xsl:value-of select="$productname"/>
|
||||
<xsl:value-of select="substring-after($string,$brand3)"/>
|
||||
</xsl:variable>
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string" select="$newstr"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="contains($string,$brand4)">
|
||||
<xsl:variable name="newstr">
|
||||
<xsl:value-of select="substring-before($string,$brand4)"/>
|
||||
<xsl:value-of select="$pversion"/>
|
||||
<xsl:value-of select="substring-after($string,$brand4)"/>
|
||||
</xsl:variable>
|
||||
<xsl:call-template name="brand">
|
||||
<xsl:with-param name="string" select="$newstr"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$string"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- Insert Paragraph -->
|
||||
<xsl:template name="insertpara">
|
||||
<xsl:variable name="role">
|
||||
<xsl:choose>
|
||||
<xsl:when test="ancestor::table">
|
||||
<xsl:value-of select="concat(@role,'intable')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@role"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<p class="{$role}"><xsl:apply-templates /></p>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert Basic code snippet -->
|
||||
<xsl:template name="insertbascode">
|
||||
<pre><xsl:apply-templates /></pre>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert Logo code snippet -->
|
||||
<xsl:template name="insertlogocode">
|
||||
<pre><xsl:apply-templates /></pre>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert "How to get Link" -->
|
||||
<xsl:template name="insert_howtoget">
|
||||
<xsl:param name="linkhref" />
|
||||
<xsl:variable name="archive" select="'shared'"/>
|
||||
<xsl:variable name="tmp_href"><xsl:value-of select="concat($urlpre,'shared/text/shared/00/00000004.xhp',$urlpost)"/></xsl:variable>
|
||||
<xsl:variable name="tmp_doc" select="document($tmp_href)"/>
|
||||
<table class="howtoget" width="100%" border="1" cellpadding="3" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<p class="howtogetheader"><xsl:apply-templates select="$tmp_doc//variable[@id='wie']"/></p>
|
||||
<div class="howtogetbody">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$linkhref = ''"> <!-- new style -->
|
||||
<xsl:apply-templates/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise> <!-- old style -->
|
||||
<xsl:variable name="archive1"><xsl:value-of select="concat(substring-before(substring-after($linkhref,'text/'),'/'),'/')"/></xsl:variable>
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($urlpre,$archive1,substring-before($linkhref,'#'),$urlpost)"/></xsl:variable>
|
||||
<xsl:variable name="anc"><xsl:value-of select="substring-after($linkhref,'#')"/></xsl:variable>
|
||||
<xsl:variable name="docum" select="document($href)"/>
|
||||
|
||||
<xsl:call-template name="insertembed">
|
||||
<xsl:with-param name="doc" select="$docum" />
|
||||
<xsl:with-param name="anchor" select="$anc" />
|
||||
</xsl:call-template>
|
||||
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Create a link -->
|
||||
<xsl:template name="createlink">
|
||||
<xsl:variable name="archive"><xsl:value-of select="concat(substring-before(substring-after(@href,'text/'),'/'),'/')"/></xsl:variable>
|
||||
<xsl:variable name="dbpostfix"><xsl:call-template name="createDBpostfix"><xsl:with-param name="archive" select="$archive"/></xsl:call-template></xsl:variable>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with(@href,'http://') or starts-with(@href,'https://')"> <!-- web links -->
|
||||
<a href="{@href}"><xsl:apply-templates /></a>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(@href,'#')">
|
||||
<xsl:variable name="anchor"><xsl:value-of select="concat('#',substring-after(@href,'#'))"/></xsl:variable>
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($linkprefix,$archive,substring-before(@href,'#'),$linkpostfix,$dbpostfix,$anchor)"/></xsl:variable>
|
||||
<a href="{$href}"><xsl:apply-templates /></a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($linkprefix,$archive,@href,$linkpostfix,$dbpostfix)"/></xsl:variable>
|
||||
<a href="{$href}"><xsl:apply-templates /></a>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert Note, Warning, or Tip -->
|
||||
<xsl:template name="insertnote">
|
||||
<xsl:param name="type" /> <!-- note, tip, or warning -->
|
||||
<xsl:variable name="imgsrc">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$type='note'"><xsl:value-of select="$note_img"/></xsl:when>
|
||||
<xsl:when test="$type='tip'"><xsl:value-of select="$tip_img"/></xsl:when>
|
||||
<xsl:when test="$type='warning'"><xsl:value-of select="$warning_img"/></xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="dbpostfix"><xsl:call-template name="createDBpostfix"><xsl:with-param name="archive" select="'shared'"/></xsl:call-template></xsl:variable>
|
||||
<xsl:variable name="alt">
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($urlpre,'shared/',$alttext,$urlpost,$dbpostfix)"/></xsl:variable>
|
||||
<xsl:variable name="anchor"><xsl:value-of select="concat('alt_',$type)"/></xsl:variable>
|
||||
<xsl:variable name="doc" select="document($href)"/>
|
||||
<xsl:apply-templates select="$doc//variable[@id=$anchor]" mode="embedded"/>
|
||||
</xsl:variable>
|
||||
<div class="{$type}">
|
||||
<table border="0" class="{$type}" cellspacing="0" cellpadding="5">
|
||||
<tr>
|
||||
<td><img src="{$imgsrc}" alt="{$alt}" title="{$alt}"/></td>
|
||||
<td><xsl:apply-templates /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert a heading -->
|
||||
<xsl:template name="insertheading">
|
||||
<xsl:param name="level" />
|
||||
<xsl:param name="embedded" />
|
||||
<xsl:text disable-output-escaping="yes"><h</xsl:text><xsl:value-of select="$level"/><xsl:text disable-output-escaping="yes">></xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text disable-output-escaping="yes"></h</xsl:text><xsl:value-of select="$level"/><xsl:text disable-output-escaping="yes">></xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Evaluate a case or caseinline switch -->
|
||||
<xsl:template name="insertcase">
|
||||
<xsl:param name="embedded" />
|
||||
<xsl:choose>
|
||||
<xsl:when test="parent::switch[@select='sys'] or parent::switchinline[@select='sys']">
|
||||
<xsl:if test="@select = $System">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="parent::switch[@select='appl'] or parent::switchinline[@select='appl']">
|
||||
<xsl:if test="@select = $appl">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="parent::switch[@select='distrib'] or parent::switchinline[@select='distrib']">
|
||||
<xsl:if test="@select = $distrib">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Evaluate a default or defaultinline switch -->
|
||||
<xsl:template name="insertdefault">
|
||||
<xsl:param name="embedded" />
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="parent::switch[@select='sys'] or parent::switchinline[@select='sys']">
|
||||
<xsl:if test="not(../child::case[@select=$System]) and not(../child::caseinline[@select=$System])">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="parent::switch[@select='appl'] or parent::switchinline[@select='appl']">
|
||||
<xsl:if test="not(../child::case[@select=$appl]) and not(../child::caseinline[@select=$appl])">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="parent::switch[@select='distrib'] or parent::switchinline[@select='distrib']">
|
||||
<xsl:if test="not(../child::case[@select=$distrib]) and not(../child::caseinline[@select=$distrib])">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- evaluate embeds -->
|
||||
<xsl:template name="insertembed">
|
||||
<xsl:param name="doc" />
|
||||
<xsl:param name="anchor" />
|
||||
<!-- different embed targets (also falsely used embed instead embedvar) -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="$doc//section[@id=$anchor]"> <!-- first test for a section of that name -->
|
||||
<xsl:apply-templates select="$doc//section[@id=$anchor]" mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$doc//paragraph[@id=$anchor]"> <!-- then test for a para of that name -->
|
||||
<p class="embedded">
|
||||
<xsl:apply-templates select="$doc//paragraph[@id=$anchor]" mode="embedded"/>
|
||||
</p>
|
||||
</xsl:when>
|
||||
<xsl:when test="$doc//variable[@id=$anchor]"> <!-- then test for a variable of that name -->
|
||||
<p class="embedded">
|
||||
<xsl:apply-templates select="$doc//variable[@id=$anchor]" mode="embedded"/>
|
||||
</p>
|
||||
</xsl:when>
|
||||
<xsl:otherwise> <!-- then give up -->
|
||||
<p class="bug">D'oh! You found a bug (<xsl:value-of select="@href"/> not found).</p>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert an image -->
|
||||
<xsl:template name="insertimage">
|
||||
<xsl:variable name="src">
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with(@src,'media/')">
|
||||
<xsl:value-of select="concat($img_url_internal,@src)"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="not($ExtensionId='') and starts-with(@src,$ExtensionId)">
|
||||
<xsl:value-of select="concat($ExtensionPath,'/',@src)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@localize='true'">
|
||||
<xsl:value-of select="concat($img_url_prefix,@src,'?lang=',$lang)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="concat($img_url_prefix,@src)"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<!--<xsl:variable name="src"><xsl:value-of select="concat($img_url_prefix,@src)"/></xsl:variable>-->
|
||||
<xsl:variable name="alt"><xsl:value-of select="./alt"/></xsl:variable>
|
||||
<xsl:variable name="width" select="''"/> <!-- Images don't all have the correct size -->
|
||||
<xsl:variable name="height" select="''"/><!-- Image don't all have the correct size -->
|
||||
<img src="{$src}" alt="{$alt}" title="{$alt}">
|
||||
<xsl:if test="not($width='')"><xsl:attribute name="width"><xsl:value-of select="$width"/></xsl:attribute></xsl:if>
|
||||
<xsl:if test="not($height='')"><xsl:attribute name="height"><xsl:value-of select="$height"/></xsl:attribute></xsl:if>
|
||||
</img>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Insert a Table -->
|
||||
<xsl:template name="inserttable">
|
||||
<xsl:variable name="imgsrc"> <!-- see if we are in an image table -->
|
||||
<xsl:value-of select="tablerow/tablecell[1]/paragraph[1]/image/@src"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="count(descendant::tablecell)=1">
|
||||
<table border="0" class="onecell" cellpadding="0" cellspacing="0">
|
||||
<xsl:apply-templates />
|
||||
</table>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="descendant::tablecell[1]/descendant::image">
|
||||
<table border="0" class="icontable" cellpadding="5" cellspacing="0">
|
||||
<xsl:apply-templates mode="icontable"/>
|
||||
</table>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="@class='wide'">
|
||||
<table border="1" class="{@class}" cellpadding="0" cellspacing="0" width="100%" >
|
||||
<xsl:apply-templates />
|
||||
</table>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:when test="not(@class='')">
|
||||
<table border="1" class="{@class}" cellpadding="0" cellspacing="0" >
|
||||
<xsl:apply-templates />
|
||||
</table>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<table border="1" class="border" cellpadding="0" cellspacing="0" >
|
||||
<xsl:apply-templates />
|
||||
</table>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
<br/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="resolveembed">
|
||||
<div class="embedded">
|
||||
<xsl:variable name="archive"><xsl:value-of select="concat(substring-before(substring-after(@href,'text/'),'/'),'/')"/></xsl:variable>
|
||||
<xsl:variable name="dbpostfix"><xsl:call-template name="createDBpostfix"><xsl:with-param name="archive" select="$archive"/></xsl:call-template></xsl:variable>
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($urlpre,$archive,substring-before(@href,'#'),$urlpost,$dbpostfix)"/></xsl:variable>
|
||||
<xsl:variable name="anc"><xsl:value-of select="substring-after(@href,'#')"/></xsl:variable>
|
||||
<xsl:variable name="docum" select="document($href)"/>
|
||||
|
||||
<xsl:call-template name="insertembed">
|
||||
<xsl:with-param name="doc" select="$docum" />
|
||||
<xsl:with-param name="anchor" select="$anc" />
|
||||
</xsl:call-template>
|
||||
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="resolveembedvar">
|
||||
<xsl:if test="not(@href='text/shared/00/00000004.xhp#wie')"> <!-- special treatment if howtoget links -->
|
||||
<xsl:variable name="archive"><xsl:value-of select="concat(substring-before(substring-after(@href,'text/'),'/'),'/')"/></xsl:variable>
|
||||
<xsl:variable name="dbpostfix"><xsl:call-template name="createDBpostfix"><xsl:with-param name="archive" select="$archive"/></xsl:call-template></xsl:variable>
|
||||
<xsl:variable name="href"><xsl:value-of select="concat($urlpre,$archive,substring-before(@href,'#'),$urlpost,$dbpostfix)"/></xsl:variable>
|
||||
<xsl:variable name="anchor"><xsl:value-of select="substring-after(@href,'#')"/></xsl:variable>
|
||||
<xsl:variable name="doc" select="document($href)"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$doc//variable[@id=$anchor]"> <!-- test for a variable of that name -->
|
||||
<xsl:apply-templates select="$doc//variable[@id=$anchor]" mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise> <!-- or give up -->
|
||||
<span class="bug">[<xsl:value-of select="@href"/> not found].</span>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Apply -->
|
||||
<xsl:template name="apply">
|
||||
<xsl:param name="embedded" />
|
||||
<xsl:choose>
|
||||
<xsl:when test="$embedded = 'yes'">
|
||||
<xsl:apply-templates mode="embedded"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="createDBpostfix">
|
||||
<xsl:param name="archive"/>
|
||||
<xsl:variable name="newDB">
|
||||
<xsl:choose>
|
||||
<xsl:when test="(substring($archive,1,6) = 'shared')"><xsl:value-of select="$Database"/></xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select="substring-before($archive,'/')"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:value-of select="concat($am,'DbPAR=',$newDB)"/>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
BIN
server/windows-office/help/media/files/scalc/functions_ifs.ods
Normal file
BIN
server/windows-office/help/media/files/scalc/imtrigon.ods
Normal file
BIN
server/windows-office/help/media/files/scalc/pivot.ods
Normal file
BIN
server/windows-office/help/media/files/scalc/trigon.ods
Normal file
BIN
server/windows-office/help/media/helpimg/area1.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
server/windows-office/help/media/helpimg/area2.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
server/windows-office/help/media/helpimg/border_ca_1.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
server/windows-office/help/media/helpimg/border_ca_2.png
Normal file
|
After Width: | Height: | Size: 858 B |
BIN
server/windows-office/help/media/helpimg/border_ca_3.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
server/windows-office/help/media/helpimg/border_ca_4.png
Normal file
|
After Width: | Height: | Size: 787 B |
BIN
server/windows-office/help/media/helpimg/border_ca_5.png
Normal file
|
After Width: | Height: | Size: 386 B |
BIN
server/windows-office/help/media/helpimg/border_ca_6.png
Normal file
|
After Width: | Height: | Size: 727 B |
BIN
server/windows-office/help/media/helpimg/border_ca_7.png
Normal file
|
After Width: | Height: | Size: 733 B |
BIN
server/windows-office/help/media/helpimg/border_ca_8.png
Normal file
|
After Width: | Height: | Size: 776 B |
BIN
server/windows-office/help/media/helpimg/border_ca_9.png
Normal file
|
After Width: | Height: | Size: 956 B |
BIN
server/windows-office/help/media/helpimg/border_ca_gray.png
Normal file
|
After Width: | Height: | Size: 748 B |
BIN
server/windows-office/help/media/helpimg/border_ca_white.png
Normal file
|
After Width: | Height: | Size: 742 B |
BIN
server/windows-office/help/media/helpimg/border_wr_1.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
server/windows-office/help/media/helpimg/border_wr_2.png
Normal file
|
After Width: | Height: | Size: 983 B |
BIN
server/windows-office/help/media/helpimg/border_wr_3.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
server/windows-office/help/media/helpimg/border_wr_4.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
server/windows-office/help/media/helpimg/border_wr_5.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
server/windows-office/help/media/helpimg/border_wr_6.png
Normal file
|
After Width: | Height: | Size: 466 B |
BIN
server/windows-office/help/media/helpimg/border_wr_7.png
Normal file
|
After Width: | Height: | Size: 572 B |
BIN
server/windows-office/help/media/helpimg/border_wr_8.png
Normal file
|
After Width: | Height: | Size: 464 B |
BIN
server/windows-office/help/media/helpimg/border_wr_9.png
Normal file
|
After Width: | Height: | Size: 508 B |
BIN
server/windows-office/help/media/helpimg/calcein.png
Normal file
|
After Width: | Height: | Size: 621 B |
BIN
server/windows-office/help/media/helpimg/calcnav.png
Normal file
|
After Width: | Height: | Size: 656 B |
BIN
server/windows-office/help/media/helpimg/copydata.png
Normal file
|
After Width: | Height: | Size: 315 B |
BIN
server/windows-office/help/media/helpimg/diatrans.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
server/windows-office/help/media/helpimg/dircurscent.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
server/windows-office/help/media/helpimg/dircursleft.png
Normal file
|
After Width: | Height: | Size: 130 B |
BIN
server/windows-office/help/media/helpimg/dircursright.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
server/windows-office/help/media/helpimg/ein.png
Normal file
|
After Width: | Height: | Size: 296 B |
BIN
server/windows-office/help/media/helpimg/feldalle.png
Normal file
|
After Width: | Height: | Size: 781 B |
BIN
server/windows-office/help/media/helpimg/feldbrei.png
Normal file
|
After Width: | Height: | Size: 440 B |
BIN
server/windows-office/help/media/helpimg/feldcolo.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
server/windows-office/help/media/helpimg/feldurch.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
server/windows-office/help/media/helpimg/formschn.png
Normal file
|
After Width: | Height: | Size: 867 B |
BIN
server/windows-office/help/media/helpimg/formsubt.png
Normal file
|
After Width: | Height: | Size: 895 B |
BIN
server/windows-office/help/media/helpimg/formvers.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
server/windows-office/help/media/helpimg/hand01.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
server/windows-office/help/media/helpimg/hsizebar.png
Normal file
|
After Width: | Height: | Size: 93 B |
BIN
server/windows-office/help/media/helpimg/impress_remote_icon.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
server/windows-office/help/media/helpimg/kombi1.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
server/windows-office/help/media/helpimg/left.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
server/windows-office/help/media/helpimg/left2.png
Normal file
|
After Width: | Height: | Size: 446 B |
BIN
server/windows-office/help/media/helpimg/linkdata.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
server/windows-office/help/media/helpimg/linleft.png
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
server/windows-office/help/media/helpimg/linright.png
Normal file
|
After Width: | Height: | Size: 330 B |
BIN
server/windows-office/help/media/helpimg/movedata.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
server/windows-office/help/media/helpimg/names_as_addressing.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
server/windows-office/help/media/helpimg/note.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
server/windows-office/help/media/helpimg/note_small.png
Normal file
|
After Width: | Height: | Size: 615 B |
BIN
server/windows-office/help/media/helpimg/python/python_shell.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 35 35" stroke="none">
|
||||
<rect width="100%" height="100%" fill="#FFFFFF"/>
|
||||
<path d="M5,5h1v1h-1z M6,5h1v1h-1z M7,5h1v1h-1z M8,5h1v1h-1z M9,5h1v1h-1z M10,5h1v1h-1z M11,5h1v1h-1z M15,5h1v1h-1z M17,5h1v1h-1z M18,5h1v1h-1z M20,5h1v1h-1z M21,5h1v1h-1z M23,5h1v1h-1z M24,5h1v1h-1z M25,5h1v1h-1z M26,5h1v1h-1z M27,5h1v1h-1z M28,5h1v1h-1z M29,5h1v1h-1z M5,6h1v1h-1z M11,6h1v1h-1z M14,6h1v1h-1z M15,6h1v1h-1z M16,6h1v1h-1z M19,6h1v1h-1z M21,6h1v1h-1z M23,6h1v1h-1z M29,6h1v1h-1z M5,7h1v1h-1z M7,7h1v1h-1z M8,7h1v1h-1z M9,7h1v1h-1z M11,7h1v1h-1z M13,7h1v1h-1z M15,7h1v1h-1z M17,7h1v1h-1z M23,7h1v1h-1z M25,7h1v1h-1z M26,7h1v1h-1z M27,7h1v1h-1z M29,7h1v1h-1z M5,8h1v1h-1z M7,8h1v1h-1z M8,8h1v1h-1z M9,8h1v1h-1z M11,8h1v1h-1z M14,8h1v1h-1z M17,8h1v1h-1z M18,8h1v1h-1z M19,8h1v1h-1z M21,8h1v1h-1z M23,8h1v1h-1z M25,8h1v1h-1z M26,8h1v1h-1z M27,8h1v1h-1z M29,8h1v1h-1z M5,9h1v1h-1z M7,9h1v1h-1z M8,9h1v1h-1z M9,9h1v1h-1z M11,9h1v1h-1z M13,9h1v1h-1z M18,9h1v1h-1z M19,9h1v1h-1z M20,9h1v1h-1z M21,9h1v1h-1z M23,9h1v1h-1z M25,9h1v1h-1z M26,9h1v1h-1z M27,9h1v1h-1z M29,9h1v1h-1z M5,10h1v1h-1z M11,10h1v1h-1z M13,10h1v1h-1z M17,10h1v1h-1z M23,10h1v1h-1z M29,10h1v1h-1z M5,11h1v1h-1z M6,11h1v1h-1z M7,11h1v1h-1z M8,11h1v1h-1z M9,11h1v1h-1z M10,11h1v1h-1z M11,11h1v1h-1z M13,11h1v1h-1z M15,11h1v1h-1z M17,11h1v1h-1z M19,11h1v1h-1z M21,11h1v1h-1z M23,11h1v1h-1z M24,11h1v1h-1z M25,11h1v1h-1z M26,11h1v1h-1z M27,11h1v1h-1z M28,11h1v1h-1z M29,11h1v1h-1z M14,12h1v1h-1z M15,12h1v1h-1z M16,12h1v1h-1z M17,12h1v1h-1z M19,12h1v1h-1z M6,13h1v1h-1z M9,13h1v1h-1z M11,13h1v1h-1z M13,13h1v1h-1z M15,13h1v1h-1z M17,13h1v1h-1z M18,13h1v1h-1z M19,13h1v1h-1z M20,13h1v1h-1z M22,13h1v1h-1z M24,13h1v1h-1z M25,13h1v1h-1z M27,13h1v1h-1z M7,14h1v1h-1z M8,14h1v1h-1z M10,14h1v1h-1z M14,14h1v1h-1z M19,14h1v1h-1z M20,14h1v1h-1z M25,14h1v1h-1z M26,14h1v1h-1z M28,14h1v1h-1z M6,15h1v1h-1z M9,15h1v1h-1z M11,15h1v1h-1z M13,15h1v1h-1z M14,15h1v1h-1z M15,15h1v1h-1z M18,15h1v1h-1z M19,15h1v1h-1z M20,15h1v1h-1z M23,15h1v1h-1z M24,15h1v1h-1z M14,16h1v1h-1z M15,16h1v1h-1z M16,16h1v1h-1z M17,16h1v1h-1z M18,16h1v1h-1z M20,16h1v1h-1z M23,16h1v1h-1z M24,16h1v1h-1z M26,16h1v1h-1z M27,16h1v1h-1z M29,16h1v1h-1z M6,17h1v1h-1z M9,17h1v1h-1z M11,17h1v1h-1z M12,17h1v1h-1z M13,17h1v1h-1z M14,17h1v1h-1z M18,17h1v1h-1z M22,17h1v1h-1z M23,17h1v1h-1z M24,17h1v1h-1z M27,17h1v1h-1z M28,17h1v1h-1z M29,17h1v1h-1z M5,18h1v1h-1z M6,18h1v1h-1z M8,18h1v1h-1z M9,18h1v1h-1z M15,18h1v1h-1z M17,18h1v1h-1z M18,18h1v1h-1z M19,18h1v1h-1z M20,18h1v1h-1z M21,18h1v1h-1z M25,18h1v1h-1z M26,18h1v1h-1z M27,18h1v1h-1z M28,18h1v1h-1z M9,19h1v1h-1z M10,19h1v1h-1z M11,19h1v1h-1z M13,19h1v1h-1z M14,19h1v1h-1z M15,19h1v1h-1z M16,19h1v1h-1z M18,19h1v1h-1z M20,19h1v1h-1z M25,19h1v1h-1z M26,19h1v1h-1z M7,20h1v1h-1z M8,20h1v1h-1z M9,20h1v1h-1z M21,20h1v1h-1z M22,20h1v1h-1z M23,20h1v1h-1z M27,20h1v1h-1z M29,20h1v1h-1z M5,21h1v1h-1z M6,21h1v1h-1z M7,21h1v1h-1z M8,21h1v1h-1z M11,21h1v1h-1z M12,21h1v1h-1z M14,21h1v1h-1z M15,21h1v1h-1z M17,21h1v1h-1z M21,21h1v1h-1z M22,21h1v1h-1z M23,21h1v1h-1z M24,21h1v1h-1z M25,21h1v1h-1z M27,21h1v1h-1z M28,21h1v1h-1z M29,21h1v1h-1z M13,22h1v1h-1z M15,22h1v1h-1z M16,22h1v1h-1z M17,22h1v1h-1z M18,22h1v1h-1z M21,22h1v1h-1z M25,22h1v1h-1z M26,22h1v1h-1z M27,22h1v1h-1z M28,22h1v1h-1z M5,23h1v1h-1z M6,23h1v1h-1z M7,23h1v1h-1z M8,23h1v1h-1z M9,23h1v1h-1z M10,23h1v1h-1z M11,23h1v1h-1z M14,23h1v1h-1z M16,23h1v1h-1z M17,23h1v1h-1z M18,23h1v1h-1z M19,23h1v1h-1z M21,23h1v1h-1z M23,23h1v1h-1z M25,23h1v1h-1z M26,23h1v1h-1z M27,23h1v1h-1z M5,24h1v1h-1z M11,24h1v1h-1z M16,24h1v1h-1z M21,24h1v1h-1z M25,24h1v1h-1z M27,24h1v1h-1z M29,24h1v1h-1z M5,25h1v1h-1z M7,25h1v1h-1z M8,25h1v1h-1z M9,25h1v1h-1z M11,25h1v1h-1z M13,25h1v1h-1z M17,25h1v1h-1z M18,25h1v1h-1z M21,25h1v1h-1z M22,25h1v1h-1z M23,25h1v1h-1z M24,25h1v1h-1z M25,25h1v1h-1z M27,25h1v1h-1z M29,25h1v1h-1z M5,26h1v1h-1z M7,26h1v1h-1z M8,26h1v1h-1z M9,26h1v1h-1z M11,26h1v1h-1z M14,26h1v1h-1z M15,26h1v1h-1z M17,26h1v1h-1z M18,26h1v1h-1z M20,26h1v1h-1z M22,26h1v1h-1z M23,26h1v1h-1z M27,26h1v1h-1z M28,26h1v1h-1z M29,26h1v1h-1z M5,27h1v1h-1z M7,27h1v1h-1z M8,27h1v1h-1z M9,27h1v1h-1z M11,27h1v1h-1z M14,27h1v1h-1z M16,27h1v1h-1z M18,27h1v1h-1z M19,27h1v1h-1z M20,27h1v1h-1z M22,27h1v1h-1z M23,27h1v1h-1z M24,27h1v1h-1z M27,27h1v1h-1z M28,27h1v1h-1z M5,28h1v1h-1z M11,28h1v1h-1z M13,28h1v1h-1z M14,28h1v1h-1z M15,28h1v1h-1z M18,28h1v1h-1z M20,28h1v1h-1z M25,28h1v1h-1z M27,28h1v1h-1z M28,28h1v1h-1z M5,29h1v1h-1z M6,29h1v1h-1z M7,29h1v1h-1z M8,29h1v1h-1z M9,29h1v1h-1z M10,29h1v1h-1z M11,29h1v1h-1z M15,29h1v1h-1z M17,29h1v1h-1z M18,29h1v1h-1z M19,29h1v1h-1z M20,29h1v1h-1z M24,29h1v1h-1z M25,29h1v1h-1z M27,29h1v1h-1z M28,29h1v1h-1z M29,29h1v1h-1z" fill="#000000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
BIN
server/windows-office/help/media/helpimg/rechenlt.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
server/windows-office/help/media/helpimg/refhand.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
server/windows-office/help/media/helpimg/right.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
server/windows-office/help/media/helpimg/right2.png
Normal file
|
After Width: | Height: | Size: 449 B |
BIN
server/windows-office/help/media/helpimg/rotieren.png
Normal file
|
After Width: | Height: | Size: 980 B |
@@ -0,0 +1,32 @@
|
||||
<svg class="railroad-diagram" height="62" viewBox="0 0 154.0 62" width="154.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal">
|
||||
<path d="M50 31h0.0"></path><path d="M104.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="50.0" y="20"></rect><text x="77.0" y="35">Beep</text></g><path d="M104.0 31h10"></path><path d="M 114.0 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,590 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
class="railroad-diagram"
|
||||
height="270"
|
||||
viewBox="0 0 727.0 270"
|
||||
width="727.0"
|
||||
version="1.1"
|
||||
id="svg598"
|
||||
sodipodi:docname="Call_statement.svg"
|
||||
inkscape:export-filename="D:\Call_statement.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata604">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs602" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1511"
|
||||
inkscape:window-height="735"
|
||||
id="namedview600"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.4621733"
|
||||
inkscape:cx="474.26814"
|
||||
inkscape:cy="135"
|
||||
inkscape:window-x="306"
|
||||
inkscape:window-y="204"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg598" />
|
||||
<g
|
||||
transform="translate(.5 .5)"
|
||||
id="g596">
|
||||
<style
|
||||
id="style308">/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style>
|
||||
<g
|
||||
id="g312">
|
||||
<path
|
||||
d="M20 41v20m10 -20v20m-10 -10h20"
|
||||
id="path310" />
|
||||
</g>
|
||||
<path
|
||||
d="M40 51h10"
|
||||
id="path314" />
|
||||
<g
|
||||
id="g590">
|
||||
<path
|
||||
d="M50 51h0.0"
|
||||
id="path316" />
|
||||
<path
|
||||
d="M677.0 51h0.0"
|
||||
id="path318" />
|
||||
<g
|
||||
id="g346">
|
||||
<path
|
||||
d="M50.0 51h0.0"
|
||||
id="path320" />
|
||||
<path
|
||||
d="M164.0 51h0.0"
|
||||
id="path322" />
|
||||
<path
|
||||
d="M50.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"
|
||||
id="path324" />
|
||||
<g
|
||||
id="g328">
|
||||
<path
|
||||
d="M80.0 20h54.0"
|
||||
id="path326" />
|
||||
</g>
|
||||
<path
|
||||
d="M134.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"
|
||||
id="path330" />
|
||||
<path
|
||||
d="M50.0 51h30"
|
||||
id="path332" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g342">
|
||||
<path
|
||||
d="M80.0 51h0.0"
|
||||
id="path334" />
|
||||
<path
|
||||
d="M134.0 51h0.0"
|
||||
id="path336" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="54.0"
|
||||
x="80.0"
|
||||
y="40"
|
||||
id="rect338" />
|
||||
<text
|
||||
x="107.0"
|
||||
y="55"
|
||||
id="text340">Call</text>
|
||||
</g>
|
||||
<path
|
||||
d="M134.0 51h30"
|
||||
id="path344" />
|
||||
</g>
|
||||
<path
|
||||
d="M164.0 51h10"
|
||||
id="path348" />
|
||||
<g
|
||||
class="non-terminal"
|
||||
id="g358">
|
||||
<path
|
||||
d="M174.0 51h0.0"
|
||||
id="path350" />
|
||||
<path
|
||||
d="M228.0 51h0.0"
|
||||
id="path352" />
|
||||
<rect
|
||||
height="22"
|
||||
width="54.0"
|
||||
x="174.0"
|
||||
y="40"
|
||||
id="rect354" />
|
||||
<text
|
||||
x="201.0"
|
||||
y="55"
|
||||
id="text356">name</text>
|
||||
</g>
|
||||
<path
|
||||
d="M228.0 51h10"
|
||||
id="path360" />
|
||||
<g
|
||||
id="g588">
|
||||
<path
|
||||
d="M238.0 51h0.0"
|
||||
id="path362" />
|
||||
<path
|
||||
d="M677.0 51h0.0"
|
||||
id="path364" />
|
||||
<path
|
||||
d="M238.0 51h30"
|
||||
id="path366" />
|
||||
<g
|
||||
id="g490">
|
||||
<path
|
||||
d="M268.0 51h0.0"
|
||||
id="path368" />
|
||||
<path
|
||||
d="M647.0 51h0.0"
|
||||
id="path370" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g380">
|
||||
<path
|
||||
d="M268.0 51h0.0"
|
||||
id="path372" />
|
||||
<path
|
||||
d="M296.5 51h0.0"
|
||||
id="path374" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="28.5"
|
||||
x="268.0"
|
||||
y="40"
|
||||
id="rect376" />
|
||||
<text
|
||||
x="282.25"
|
||||
y="55"
|
||||
id="text378">(</text>
|
||||
</g>
|
||||
<path
|
||||
d="M296.5 51h10"
|
||||
id="path382" />
|
||||
<path
|
||||
d="M306.5 51h10"
|
||||
id="path384" />
|
||||
<g
|
||||
id="g474">
|
||||
<path
|
||||
d="M316.5 51h0.0"
|
||||
id="path386" />
|
||||
<path
|
||||
d="M598.5 51h0.0"
|
||||
id="path388" />
|
||||
<path
|
||||
d="M316.5 51h15"
|
||||
id="path390" />
|
||||
<g
|
||||
id="g456">
|
||||
<path
|
||||
d="M331.5 51h0.0"
|
||||
id="path392" />
|
||||
<path
|
||||
d="M583.5 51h0.0"
|
||||
id="path394" />
|
||||
<g
|
||||
id="g442">
|
||||
<path
|
||||
d="M331.5 51h0.0"
|
||||
id="path396" />
|
||||
<path
|
||||
d="M511.0 51h0.0"
|
||||
id="path398" />
|
||||
<path
|
||||
d="M331.5 51h30"
|
||||
id="path400" />
|
||||
<g
|
||||
id="g404">
|
||||
<path
|
||||
d="M361.5 51h119.5"
|
||||
id="path402" />
|
||||
</g>
|
||||
<path
|
||||
d="M481.0 51h30"
|
||||
id="path406" />
|
||||
<path
|
||||
d="M331.5 51a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"
|
||||
id="path408" />
|
||||
<g
|
||||
id="g438">
|
||||
<path
|
||||
d="M361.5 82h0.0"
|
||||
id="path410" />
|
||||
<path
|
||||
d="M481.0 82h0.0"
|
||||
id="path412" />
|
||||
<g
|
||||
class="non-terminal"
|
||||
id="g422">
|
||||
<path
|
||||
d="M361.5 82h0.0"
|
||||
id="path414" />
|
||||
<path
|
||||
d="M424.0 82h0.0"
|
||||
id="path416" />
|
||||
<rect
|
||||
height="22"
|
||||
width="62.5"
|
||||
x="361.5"
|
||||
y="71"
|
||||
id="rect418" />
|
||||
<text
|
||||
x="392.75"
|
||||
y="86"
|
||||
id="text420">param</text>
|
||||
</g>
|
||||
<path
|
||||
d="M424.0 82h10"
|
||||
id="path424" />
|
||||
<path
|
||||
d="M434.0 82h10"
|
||||
id="path426" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g436">
|
||||
<path
|
||||
d="M444.0 82h0.0"
|
||||
id="path428" />
|
||||
<path
|
||||
d="M481.0 82h0.0"
|
||||
id="path430" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="37.0"
|
||||
x="444.0"
|
||||
y="71"
|
||||
id="rect432" />
|
||||
<text
|
||||
x="462.5"
|
||||
y="86"
|
||||
id="text434">:=</text>
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M481.0 82a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"
|
||||
id="path440" />
|
||||
</g>
|
||||
<path
|
||||
d="M511.0 51h10"
|
||||
id="path444" />
|
||||
<g
|
||||
class="non-terminal"
|
||||
id="g454">
|
||||
<path
|
||||
d="M521.0 51h0.0"
|
||||
id="path446" />
|
||||
<path
|
||||
d="M583.5 51h0.0"
|
||||
id="path448" />
|
||||
<rect
|
||||
height="22"
|
||||
width="62.5"
|
||||
x="521.0"
|
||||
y="40"
|
||||
id="rect450" />
|
||||
<text
|
||||
x="552.25"
|
||||
y="55"
|
||||
id="text452">value</text>
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M583.5 51h15"
|
||||
id="path458" />
|
||||
<path
|
||||
d="M331.5 51a15 15 0 0 0 -15 15v43a15 15 0 0 0 15 15"
|
||||
id="path460" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g470">
|
||||
<path
|
||||
d="M331.5 124h111.75"
|
||||
id="path462" />
|
||||
<path
|
||||
d="M471.75 124h111.75"
|
||||
id="path464" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="28.5"
|
||||
x="443.25"
|
||||
y="113"
|
||||
id="rect466" />
|
||||
<text
|
||||
x="457.5"
|
||||
y="128"
|
||||
id="text468">,</text>
|
||||
</g>
|
||||
<path
|
||||
d="M583.5 124a15 15 0 0 0 15 -15v-43a15 15 0 0 0 -15 -15"
|
||||
id="path472" />
|
||||
</g>
|
||||
<path
|
||||
d="M598.5 51h10"
|
||||
id="path476" />
|
||||
<path
|
||||
d="M608.5 51h10"
|
||||
id="path478" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g488">
|
||||
<path
|
||||
d="M618.5 51h0.0"
|
||||
id="path480" />
|
||||
<path
|
||||
d="M647.0 51h0.0"
|
||||
id="path482" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="28.5"
|
||||
x="618.5"
|
||||
y="40"
|
||||
id="rect484" />
|
||||
<text
|
||||
x="632.75"
|
||||
y="55"
|
||||
id="text486">)</text>
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M647.0 51h30"
|
||||
id="path492" />
|
||||
<path
|
||||
d="M238.0 51a15 15 0 0 1 15 15v85a15 15 0 0 0 15 15"
|
||||
id="path494" />
|
||||
<g
|
||||
id="g584">
|
||||
<path
|
||||
d="M268.0 166h48.5"
|
||||
id="path496" />
|
||||
<path
|
||||
d="M598.5 166h48.5"
|
||||
id="path498" />
|
||||
<path
|
||||
d="M316.5 166h15"
|
||||
id="path500" />
|
||||
<g
|
||||
id="g566">
|
||||
<path
|
||||
d="M331.5 166h0.0"
|
||||
id="path502" />
|
||||
<path
|
||||
d="M583.5 166h0.0"
|
||||
id="path504" />
|
||||
<g
|
||||
id="g552">
|
||||
<path
|
||||
d="M331.5 166h0.0"
|
||||
id="path506" />
|
||||
<path
|
||||
d="M511.0 166h0.0"
|
||||
id="path508" />
|
||||
<path
|
||||
d="M331.5 166h30"
|
||||
id="path510" />
|
||||
<g
|
||||
id="g514">
|
||||
<path
|
||||
d="M361.5 166h119.5"
|
||||
id="path512" />
|
||||
</g>
|
||||
<path
|
||||
d="M481.0 166h30"
|
||||
id="path516" />
|
||||
<path
|
||||
d="M331.5 166a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"
|
||||
id="path518" />
|
||||
<g
|
||||
id="g548">
|
||||
<path
|
||||
d="M361.5 197h0.0"
|
||||
id="path520" />
|
||||
<path
|
||||
d="M481.0 197h0.0"
|
||||
id="path522" />
|
||||
<g
|
||||
class="non-terminal"
|
||||
id="g532">
|
||||
<path
|
||||
d="M361.5 197h0.0"
|
||||
id="path524" />
|
||||
<path
|
||||
d="M424.0 197h0.0"
|
||||
id="path526" />
|
||||
<rect
|
||||
height="22"
|
||||
width="62.5"
|
||||
x="361.5"
|
||||
y="186"
|
||||
id="rect528" />
|
||||
<text
|
||||
x="392.75"
|
||||
y="201"
|
||||
id="text530">param</text>
|
||||
</g>
|
||||
<path
|
||||
d="M424.0 197h10"
|
||||
id="path534" />
|
||||
<path
|
||||
d="M434.0 197h10"
|
||||
id="path536" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g546">
|
||||
<path
|
||||
d="M444.0 197h0.0"
|
||||
id="path538" />
|
||||
<path
|
||||
d="M481.0 197h0.0"
|
||||
id="path540" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="37.0"
|
||||
x="444.0"
|
||||
y="186"
|
||||
id="rect542" />
|
||||
<text
|
||||
x="462.5"
|
||||
y="201"
|
||||
id="text544">:=</text>
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M481.0 197a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"
|
||||
id="path550" />
|
||||
</g>
|
||||
<path
|
||||
d="M511.0 166h10"
|
||||
id="path554" />
|
||||
<g
|
||||
class="non-terminal"
|
||||
id="g564">
|
||||
<path
|
||||
d="M521.0 166h0.0"
|
||||
id="path556" />
|
||||
<path
|
||||
d="M583.5 166h0.0"
|
||||
id="path558" />
|
||||
<rect
|
||||
height="22"
|
||||
width="62.5"
|
||||
x="521.0"
|
||||
y="155"
|
||||
id="rect560" />
|
||||
<text
|
||||
x="552.25"
|
||||
y="170"
|
||||
id="text562">value</text>
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M583.5 166h15"
|
||||
id="path568" />
|
||||
<path
|
||||
d="M331.5 166a15 15 0 0 0 -15 15v43a15 15 0 0 0 15 15"
|
||||
id="path570" />
|
||||
<g
|
||||
class="terminal"
|
||||
id="g580">
|
||||
<path
|
||||
d="M331.5 239h111.75"
|
||||
id="path572" />
|
||||
<path
|
||||
d="M471.75 239h111.75"
|
||||
id="path574" />
|
||||
<rect
|
||||
height="22"
|
||||
rx="10"
|
||||
ry="10"
|
||||
width="28.5"
|
||||
x="443.25"
|
||||
y="228"
|
||||
id="rect576" />
|
||||
<text
|
||||
x="457.5"
|
||||
y="243"
|
||||
id="text578">,</text>
|
||||
</g>
|
||||
<path
|
||||
d="M583.5 239a15 15 0 0 0 15 -15v-43a15 15 0 0 0 -15 -15"
|
||||
id="path582" />
|
||||
</g>
|
||||
<path
|
||||
d="M647.0 166a15 15 0 0 0 15 -15v-85a15 15 0 0 1 15 -15"
|
||||
id="path586" />
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
d="M677.0 51h10"
|
||||
id="path592" />
|
||||
<path
|
||||
d="M 687.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"
|
||||
id="path594" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,41 @@
|
||||
<svg class="railroad-diagram" height="144" viewBox="0 0 430.5 144" width="430.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 61v20m10 -20v20m-10 -10h20"></path></g><path d="M40 71h10"></path><g class="terminal">
|
||||
<path d="M50 71h0.0"></path><path d="M112.5 71h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="60"></rect><text x="81.25" y="75">Close</text></g><path d="M112.5 71h10"></path><g>
|
||||
<path d="M122.5 71h0.0"></path><path d="M390.5 71h0.0"></path><path d="M122.5 71a15 15 0 0 0 15 -15v-21a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M152.5 20h208.0"></path></g><path d="M360.5 20a15 15 0 0 1 15 15v21a15 15 0 0 0 15 15"></path><path d="M122.5 71h30"></path><g>
|
||||
<path d="M152.5 71h0.0"></path><path d="M360.5 71h0.0"></path><path d="M152.5 71h15"></path><g>
|
||||
<path d="M167.5 71h0.0"></path><path d="M345.5 71h0.0"></path><g>
|
||||
<path d="M167.5 71h0.0"></path><path d="M256.0 71h0.0"></path><path d="M167.5 71a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M197.5 40h28.5"></path></g><path d="M226.0 40a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M167.5 71h30"></path><g class="terminal">
|
||||
<path d="M197.5 71h0.0"></path><path d="M226.0 71h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="197.5" y="60"></rect><text x="211.75" y="75">#</text></g><path d="M226.0 71h30"></path></g><path d="M256.0 71h10"></path><g class="terminal">
|
||||
<path d="M266.0 71h0.0"></path><path d="M345.5 71h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="266.0" y="60"></rect><text x="305.75" y="75">fileNum</text></g></g><path d="M345.5 71h15"></path><path d="M167.5 71a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M167.5 113h74.75"></path><path d="M270.75 113h74.75"></path><rect height="22" rx="10" ry="10" width="28.5" x="242.25" y="102"></rect><text x="256.5" y="117">,</text></g><path d="M345.5 113a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M360.5 71h30"></path></g><path d="M 390.5 71 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,44 @@
|
||||
<svg class="railroad-diagram" height="166" viewBox="0 0 639.5 166" width="639.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 83v20m10 -20v20m-10 -10h20"></path></g><g>
|
||||
<path d="M40 93h0.0"></path><path d="M239.5 93h0.0"></path><path d="M40.0 93a15 15 0 0 0 15 -15v-43a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M70.0 20h139.5"></path></g><path d="M209.5 20a15 15 0 0 1 15 15v43a15 15 0 0 0 15 15"></path><path d="M40.0 93h30"></path><g>
|
||||
<path d="M70.0 93h0.0"></path><path d="M209.5 93h0.0"></path><path d="M70.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M100.0 51h4.25"></path><path d="M175.25 51h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="104.25" y="40"></rect><text x="139.75" y="55">Global</text></g><path d="M179.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><path d="M70.0 93h30"></path><g class="terminal">
|
||||
<path d="M100.0 93h0.0"></path><path d="M179.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="100.0" y="82"></rect><text x="139.75" y="97">Private</text></g><path d="M179.5 93h30"></path><path d="M70.0 93a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M100.0 135h4.25"></path><path d="M175.25 135h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="104.25" y="124"></rect><text x="139.75" y="139">Public</text></g><path d="M179.5 135a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M209.5 93h30"></path></g><path d="M239.5 93h10"></path><g class="terminal">
|
||||
<path d="M249.5 93h0.0"></path><path d="M312.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="249.5" y="82"></rect><text x="280.75" y="97">Const</text></g><path d="M312.0 93h10"></path><path d="M322.0 93h10"></path><g>
|
||||
<path d="M332.0 93h0.0"></path><path d="M589.5 93h0.0"></path><path d="M332.0 93h15"></path><g>
|
||||
<path d="M347.0 93h0.0"></path><path d="M574.5 93h0.0"></path><g class="terminal">
|
||||
<path d="M347.0 93h0.0"></path><path d="M401.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="347.0" y="82"></rect><text x="374.0" y="97">name</text></g><path d="M401.0 93h10"></path><path d="M411.0 93h10"></path><g class="terminal">
|
||||
<path d="M421.0 93h0.0"></path><path d="M449.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="421.0" y="82"></rect><text x="435.25" y="97">=</text></g><path d="M449.5 93h10"></path><path d="M459.5 93h10"></path><g class="terminal">
|
||||
<path d="M469.5 93h0.0"></path><path d="M574.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="469.5" y="82"></rect><text x="522.0" y="97">expression</text></g></g><path d="M574.5 93h15"></path><path d="M347.0 93a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M347.0 135h99.5"></path><path d="M475.0 135h99.5"></path><rect height="22" rx="10" ry="10" width="28.5" x="446.5" y="124"></rect><text x="460.75" y="139">,</text></g><path d="M574.5 135a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M589.5 93h10"></path><path d="M 599.5 93 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1,53 @@
|
||||
<svg class="railroad-diagram" height="292" viewBox="0 0 697.0 292" width="697.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 125v20m10 -20v20m-10 -10h20"></path></g><g>
|
||||
<path d="M40 135h0.0"></path><path d="M370.5 135h0.0"></path><path d="M40.0 135a15 15 0 0 0 15 -15v-85a15 15 0 0 1 15 -15h124.5"></path><path d="M224.5 250h116.0a15 15 0 0 0 15 -15v-85a15 15 0 0 1 15 -15"></path><path d="M40.0 135h15"></path><g>
|
||||
<path d="M55.0 135h0.0"></path><path d="M194.5 135h0.0"></path><path d="M55.0 135a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M85.0 93h4.25"></path><path d="M160.25 93h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="89.25" y="82"></rect><text x="124.75" y="97">DefCur</text></g><path d="M164.5 93a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><path d="M55.0 135a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M85.0 51h0.0"></path><path d="M164.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="85.0" y="40"></rect><text x="124.75" y="55">DefBool</text></g><path d="M164.5 51a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><path d="M55.0 135h30"></path><g class="terminal">
|
||||
<path d="M85.0 135h0.0"></path><path d="M164.5 135h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="85.0" y="124"></rect><text x="124.75" y="139">DefDate</text></g><path d="M164.5 135h30"></path><path d="M55.0 135a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M85.0 177h4.25"></path><path d="M160.25 177h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="89.25" y="166"></rect><text x="124.75" y="181">DefDbl</text></g><path d="M164.5 177a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M55.0 135a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M85.0 219h4.25"></path><path d="M160.25 219h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="89.25" y="208"></rect><text x="124.75" y="223">DefErr</text></g><path d="M164.5 219a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><path d="M55.0 135a15 15 0 0 1 15 15v96a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M85.0 261h4.25"></path><path d="M160.25 261h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="89.25" y="250"></rect><text x="124.75" y="265">DefInt</text></g><path d="M164.5 261a15 15 0 0 0 15 -15v-96a15 15 0 0 1 15 -15"></path></g><path d="M194.5 135a15 15 0 0 1 15 15v85a15 15 0 0 0 15 15"></path><path d="M194.5 20a15 15 0 0 1 15 15v85a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M224.5 135h0.0"></path><path d="M355.5 135h0.0"></path><path d="M224.5 135a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M254.5 93h0.0"></path><path d="M325.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="254.5" y="82"></rect><text x="290.0" y="97">DefObj</text></g><path d="M325.5 93a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><path d="M224.5 135a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M254.5 51h0.0"></path><path d="M325.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="254.5" y="40"></rect><text x="290.0" y="55">DefLng</text></g><path d="M325.5 51a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><path d="M224.5 135h30"></path><g class="terminal">
|
||||
<path d="M254.5 135h0.0"></path><path d="M325.5 135h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="254.5" y="124"></rect><text x="290.0" y="139">DefSng</text></g><path d="M325.5 135h30"></path><path d="M224.5 135a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M254.5 177h0.0"></path><path d="M325.5 177h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="254.5" y="166"></rect><text x="290.0" y="181">DefStr</text></g><path d="M325.5 177a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M224.5 135a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M254.5 219h0.0"></path><path d="M325.5 219h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="254.5" y="208"></rect><text x="290.0" y="223">DefVar</text></g><path d="M325.5 219a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path></g><path d="M355.5 135h15"></path></g><path d="M370.5 135h10"></path><g>
|
||||
<path d="M380.5 135h0.0"></path><path d="M647.0 135h0.0"></path><path d="M380.5 135h15"></path><g>
|
||||
<path d="M395.5 135h0.0"></path><path d="M632.0 135h0.0"></path><path d="M395.5 135a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M425.5 93h0.0"></path><path d="M602.0 93h0.0"></path><g class="terminal">
|
||||
<path d="M425.5 93h0.0"></path><path d="M479.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="425.5" y="82"></rect><text x="452.5" y="97">char</text></g><path d="M479.5 93h10"></path><path d="M489.5 93h10"></path><g class="terminal">
|
||||
<path d="M499.5 93h0.0"></path><path d="M528.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="499.5" y="82"></rect><text x="513.75" y="97">-</text></g><path d="M528.0 93h10"></path><path d="M538.0 93h10"></path><g class="terminal">
|
||||
<path d="M548.0 93h0.0"></path><path d="M602.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="548.0" y="82"></rect><text x="575.0" y="97">char</text></g></g><path d="M602.0 93a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><path d="M395.5 135h30"></path><g class="terminal">
|
||||
<path d="M425.5 135h61.25"></path><path d="M540.75 135h61.25"></path><rect height="22" rx="10" ry="10" width="54.0" x="486.75" y="124"></rect><text x="513.75" y="139">char</text></g><path d="M602.0 135h30"></path></g><path d="M632.0 135h15"></path><path d="M395.5 135a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M395.5 177h104.0"></path><path d="M528.0 177h104.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="499.5" y="166"></rect><text x="513.75" y="181">,</text></g><path d="M632.0 177a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M647.0 135h10"></path><path d="M 657.0 135 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1,45 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 695.0 124" width="695.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g>
|
||||
<path d="M50 51h0.0"></path><path d="M645.0 51h0.0"></path><g>
|
||||
<path d="M50.0 51h0.0"></path><path d="M246.5 51h0.0"></path><path d="M50.0 51h30"></path><g>
|
||||
<path d="M80.0 51h136.5"></path></g><path d="M216.5 51h30"></path><path d="M50.0 51a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M80.0 82h0.0"></path><path d="M216.5 82h0.0"></path><g class="terminal">
|
||||
<path d="M80.0 82h0.0"></path><path d="M168.0 82h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="80.0" y="71"></rect><text x="124.0" y="86">variable</text></g><path d="M168.0 82h10"></path><path d="M178.0 82h10"></path><g class="terminal">
|
||||
<path d="M188.0 82h0.0"></path><path d="M216.5 82h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="188.0" y="71"></rect><text x="202.25" y="86">=</text></g></g><path d="M216.5 82a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M246.5 51h10"></path><g class="terminal">
|
||||
<path d="M256.5 51h0.0"></path><path d="M344.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="256.5" y="40"></rect><text x="300.5" y="55">DimArray</text></g><path d="M344.5 51h10"></path><path d="M354.5 51h10"></path><g class="terminal">
|
||||
<path d="M364.5 51h0.0"></path><path d="M393.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="364.5" y="40"></rect><text x="378.75" y="55">(</text></g><path d="M393.0 51h10"></path><g>
|
||||
<path d="M403.0 51h0.0"></path><path d="M606.5 51h0.0"></path><path d="M403.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M433.0 20h143.5"></path></g><path d="M576.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M403.0 51h30"></path><g>
|
||||
<path d="M433.0 51h0.0"></path><path d="M576.5 51h0.0"></path><path d="M433.0 51h15"></path><g class="non-terminal">
|
||||
<path d="M448.0 51h0.0"></path><path d="M561.5 51h0.0"></path><rect height="22" width="113.5" x="448.0" y="40"></rect><text x="504.75" y="55">upper_bound</text></g><path d="M561.5 51h15"></path><path d="M448.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M448.0 93h42.5"></path><path d="M519.0 93h42.5"></path><rect height="22" rx="10" ry="10" width="28.5" x="490.5" y="82"></rect><text x="504.75" y="97">,</text></g><path d="M561.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M576.5 51h30"></path></g><path d="M606.5 51h10"></path><g class="terminal">
|
||||
<path d="M616.5 51h0.0"></path><path d="M645.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="616.5" y="40"></rect><text x="630.75" y="55">)</text></g></g><path d="M645.0 51h10"></path><path d="M 655.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,60 @@
|
||||
<svg class="railroad-diagram" height="259" viewBox="0 0 705.0 259" width="705.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><g>
|
||||
<path d="M40 51h0.0"></path><path d="M179.5 51h0.0"></path><path d="M40.0 51h30"></path><g class="terminal">
|
||||
<path d="M70.0 51h17.0"></path><path d="M132.5 51h17.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="87.0" y="40"></rect><text x="109.75" y="55">Dim</text></g><path d="M149.5 51h30"></path><path d="M40.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M70.0 93h4.25"></path><path d="M145.25 93h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="74.25" y="82"></rect><text x="109.75" y="97">Global</text></g><path d="M149.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M40.0 51a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M70.0 135h0.0"></path><path d="M149.5 135h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="70.0" y="124"></rect><text x="109.75" y="139">Private</text></g><path d="M149.5 135a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><path d="M40.0 51a15 15 0 0 1 15 15v96a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M70.0 177h4.25"></path><path d="M145.25 177h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="74.25" y="166"></rect><text x="109.75" y="181">Public</text></g><path d="M149.5 177a15 15 0 0 0 15 -15v-96a15 15 0 0 1 15 -15"></path><path d="M40.0 51a15 15 0 0 1 15 15v138a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M70.0 219h4.25"></path><path d="M145.25 219h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="74.25" y="208"></rect><text x="109.75" y="223">Static</text></g><path d="M149.5 219a15 15 0 0 0 15 -15v-138a15 15 0 0 1 15 -15"></path></g><path d="M179.5 51h10"></path><g>
|
||||
<path d="M189.5 51h0.0"></path><path d="M655.0 51h0.0"></path><path d="M189.5 51h15"></path><g>
|
||||
<path d="M204.5 51h0.0"></path><path d="M640.0 51h0.0"></path><g class="terminal">
|
||||
<path d="M204.5 51h0.0"></path><path d="M292.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="204.5" y="40"></rect><text x="248.5" y="55">variable</text></g><path d="M292.5 51h10"></path><g>
|
||||
<path d="M302.5 51h0.0"></path><path d="M640.0 51h0.0"></path><path d="M302.5 51h30"></path><g>
|
||||
<path d="M332.5 51h0.0"></path><path d="M610.0 51h0.0"></path><g>
|
||||
<path d="M332.5 51h0.0"></path><path d="M455.0 51h0.0"></path><path d="M332.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M362.5 20h62.5"></path></g><path d="M425.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M332.5 51h30"></path><g class="non-terminal">
|
||||
<path d="M362.5 51h0.0"></path><path d="M425.0 51h0.0"></path><rect height="22" width="62.5" x="362.5" y="40"></rect><text x="393.75" y="55">array</text></g><path d="M425.0 51h30"></path></g><path d="M455.0 51h10"></path><g>
|
||||
<path d="M465.0 51h0.0"></path><path d="M610.0 51h0.0"></path><g class="terminal">
|
||||
<path d="M465.0 51h0.0"></path><path d="M502.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="465.0" y="40"></rect><text x="483.5" y="55">As</text></g><path d="M502.0 51h10"></path><path d="M512.0 51h10"></path><g class="non-terminal">
|
||||
<path d="M522.0 51h0.0"></path><path d="M610.0 51h0.0"></path><rect height="22" width="88.0" x="522.0" y="40"></rect><text x="566.0" y="55">typename</text></g></g></g><path d="M610.0 51h30"></path><path d="M302.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M332.5 93h22.0"></path><path d="M588.0 93h22.0"></path><g class="terminal">
|
||||
<path d="M354.5 93h0.0"></path><path d="M391.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="354.5" y="82"></rect><text x="373.0" y="97">As</text></g><path d="M391.5 93h10"></path><g>
|
||||
<path d="M401.5 93h0.0"></path><path d="M507.0 93h0.0"></path><path d="M401.5 93h30"></path><g>
|
||||
<path d="M431.5 93h45.5"></path></g><path d="M477.0 93h30"></path><path d="M401.5 93a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M431.5 124h0.0"></path><path d="M477.0 124h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="431.5" y="113"></rect><text x="454.25" y="128">New</text></g><path d="M477.0 124a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M507.0 93h10"></path><g class="terminal">
|
||||
<path d="M517.0 93h0.0"></path><path d="M588.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="517.0" y="82"></rect><text x="552.5" y="97">object</text></g></g><path d="M610.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M302.5 51a15 15 0 0 1 15 15v105a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M332.5 186h45.5"></path><path d="M564.5 186h45.5"></path><g class="non-terminal">
|
||||
<path d="M378.0 186h0.0"></path><path d="M432.0 186h0.0"></path><rect height="22" width="54.0" x="378.0" y="175"></rect><text x="405.0" y="190">char</text></g><path d="M432.0 186h10"></path><g>
|
||||
<path d="M442.0 186h0.0"></path><path d="M564.5 186h0.0"></path><path d="M442.0 186a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M472.0 155h62.5"></path></g><path d="M534.5 155a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M442.0 186h30"></path><g class="non-terminal">
|
||||
<path d="M472.0 186h0.0"></path><path d="M534.5 186h0.0"></path><rect height="22" width="62.5" x="472.0" y="175"></rect><text x="503.25" y="190">array</text></g><path d="M534.5 186h30"></path></g></g><path d="M610.0 186a15 15 0 0 0 15 -15v-105a15 15 0 0 1 15 -15"></path></g></g><path d="M640.0 51h15"></path><path d="M204.5 51a15 15 0 0 0 -15 15v147a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M204.5 228h203.5"></path><path d="M436.5 228h203.5"></path><rect height="22" rx="10" ry="10" width="28.5" x="408.0" y="217"></rect><text x="422.25" y="232">,</text></g><path d="M640.0 228a15 15 0 0 0 15 -15v-147a15 15 0 0 0 -15 -15"></path></g><path d="M655.0 51h10"></path><path d="M 665.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 6.5 KiB |
@@ -0,0 +1,43 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 655.0 124" width="655.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M87.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="50.0" y="40"></rect><text x="68.5" y="55">Do</text></g><path d="M87.0 51h10"></path><path d="M97.0 51h10"></path><g>
|
||||
<path d="M107.0 51h0.0"></path><path d="M242.0 51h0.0"></path><path d="M107.0 51h15"></path><g class="non-terminal">
|
||||
<path d="M122.0 51h0.0"></path><path d="M227.0 51h0.0"></path><rect height="22" width="105.0" x="122.0" y="40"></rect><text x="174.5" y="55">statements</text></g><path d="M227.0 51h15"></path><path d="M122.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M122.0 93h12.75"></path><path d="M214.25 93h12.75"></path><rect height="22" rx="10" ry="10" width="79.5" x="134.75" y="82"></rect><text x="174.5" y="97">Exit Do</text></g><path d="M227.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M242.0 51h10"></path><path d="M252.0 51h10"></path><g class="terminal">
|
||||
<path d="M262.0 51h0.0"></path><path d="M316.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="262.0" y="40"></rect><text x="289.0" y="55">Loop</text></g><path d="M316.0 51h10"></path><g>
|
||||
<path d="M326.0 51h0.0"></path><path d="M615.0 51h0.0"></path><path d="M326.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M356.0 20h229.0"></path></g><path d="M585.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M326.0 51h30"></path><g>
|
||||
<path d="M356.0 51h0.0"></path><path d="M585.0 51h0.0"></path><g>
|
||||
<path d="M356.0 51h0.0"></path><path d="M478.5 51h0.0"></path><path d="M356.0 51h30"></path><g class="terminal">
|
||||
<path d="M386.0 51h0.0"></path><path d="M448.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="386.0" y="40"></rect><text x="417.25" y="55">While</text></g><path d="M448.5 51h30"></path><path d="M356.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M386.0 93h0.0"></path><path d="M448.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="386.0" y="82"></rect><text x="417.25" y="97">Until</text></g><path d="M448.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M478.5 51h10"></path><g class="terminal">
|
||||
<path d="M488.5 51h0.0"></path><path d="M585.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="488.5" y="40"></rect><text x="536.75" y="55">condition</text></g></g><path d="M585.0 51h30"></path></g><path d="M 615.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,43 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 655.0 124" width="655.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M87.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="50.0" y="40"></rect><text x="68.5" y="55">Do</text></g><path d="M87.0 51h10"></path><g>
|
||||
<path d="M97.0 51h0.0"></path><path d="M386.0 51h0.0"></path><path d="M97.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M127.0 20h229.0"></path></g><path d="M356.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M97.0 51h30"></path><g>
|
||||
<path d="M127.0 51h0.0"></path><path d="M356.0 51h0.0"></path><g>
|
||||
<path d="M127.0 51h0.0"></path><path d="M249.5 51h0.0"></path><path d="M127.0 51h30"></path><g class="terminal">
|
||||
<path d="M157.0 51h0.0"></path><path d="M219.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="157.0" y="40"></rect><text x="188.25" y="55">While</text></g><path d="M219.5 51h30"></path><path d="M127.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M157.0 93h0.0"></path><path d="M219.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="157.0" y="82"></rect><text x="188.25" y="97">Until</text></g><path d="M219.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M249.5 51h10"></path><g class="terminal">
|
||||
<path d="M259.5 51h0.0"></path><path d="M356.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="259.5" y="40"></rect><text x="307.75" y="55">condition</text></g></g><path d="M356.0 51h30"></path></g><path d="M386.0 51h10"></path><g>
|
||||
<path d="M396.0 51h0.0"></path><path d="M531.0 51h0.0"></path><path d="M396.0 51h15"></path><g class="non-terminal">
|
||||
<path d="M411.0 51h0.0"></path><path d="M516.0 51h0.0"></path><rect height="22" width="105.0" x="411.0" y="40"></rect><text x="463.5" y="55">statements</text></g><path d="M516.0 51h15"></path><path d="M411.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M411.0 93h12.75"></path><path d="M503.25 93h12.75"></path><rect height="22" rx="10" ry="10" width="79.5" x="423.75" y="82"></rect><text x="463.5" y="97">Exit Do</text></g><path d="M516.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M531.0 51h10"></path><path d="M541.0 51h10"></path><g class="terminal">
|
||||
<path d="M551.0 51h0.0"></path><path d="M605.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="551.0" y="40"></rect><text x="578.0" y="55">Loop</text></g><path d="M605.0 51h10"></path><path d="M 615.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,42 @@
|
||||
<svg class="railroad-diagram" height="144" viewBox="0 0 623.5 144" width="623.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m0 -10h20"></path></g><g>
|
||||
<path d="M40 51h0.0"></path><path d="M583.5 51h0.0"></path><path d="M40.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M70.0 20h483.5"></path></g><path d="M553.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M40.0 51h30"></path><g>
|
||||
<path d="M70.0 51h0.0"></path><path d="M553.5 51h0.0"></path><path d="M70.0 51h15"></path><g>
|
||||
<path d="M85.0 51h0.0"></path><path d="M538.5 51h0.0"></path><g>
|
||||
<path d="M85.0 51h0.0"></path><path d="M224.5 51h0.0"></path><path d="M85.0 51h30"></path><g class="terminal">
|
||||
<path d="M115.0 51h4.25"></path><path d="M190.25 51h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="119.25" y="40"></rect><text x="154.75" y="55">ElseIf</text></g><path d="M194.5 51h30"></path><path d="M85.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M115.0 93h0.0"></path><path d="M194.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="115.0" y="82"></rect><text x="154.75" y="97">Else If</text></g><path d="M194.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M224.5 51h10"></path><g class="terminal">
|
||||
<path d="M234.5 51h0.0"></path><path d="M339.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="234.5" y="40"></rect><text x="287.0" y="55">expression</text></g><path d="M339.5 51h10"></path><path d="M349.5 51h10"></path><g class="terminal">
|
||||
<path d="M359.5 51h0.0"></path><path d="M413.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="359.5" y="40"></rect><text x="386.5" y="55">Then</text></g><path d="M413.5 51h10"></path><path d="M423.5 51h10"></path><g class="terminal">
|
||||
<path d="M433.5 51h0.0"></path><path d="M538.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="433.5" y="40"></rect><text x="486.0" y="55">statements</text></g></g><path d="M538.5 51h15"></path><path d="M85.0 51a15 15 0 0 0 -15 15v43a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M85.0 124h453.5"></path></g><path d="M538.5 124a15 15 0 0 0 15 -15v-43a15 15 0 0 0 -15 -15"></path></g><path d="M553.5 51h30"></path></g><path d="M 583.5 51 h 20 m 0 -10 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,38 @@
|
||||
<svg class="railroad-diagram" height="92" viewBox="0 0 509.5 92" width="509.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 20v20m0 -10h20"></path></g><g>
|
||||
<path d="M40 30h0.0"></path><path d="M469.5 30h0.0"></path><path d="M40.0 30h30"></path><g>
|
||||
<path d="M70.0 30h369.5"></path></g><path d="M439.5 30h30"></path><path d="M40.0 30a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M70.0 61h0.0"></path><path d="M439.5 61h0.0"></path><g class="terminal">
|
||||
<path d="M70.0 61h0.0"></path><path d="M124.0 61h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="70.0" y="50"></rect><text x="97.0" y="65">Else</text></g><path d="M124.0 61h10"></path><path d="M134.0 61h10"></path><g class="terminal">
|
||||
<path d="M144.0 61h0.0"></path><path d="M240.5 61h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="144.0" y="50"></rect><text x="192.25" y="65">condition</text></g><path d="M240.5 61h10"></path><path d="M250.5 61h10"></path><g class="terminal">
|
||||
<path d="M260.5 61h0.0"></path><path d="M314.5 61h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="260.5" y="50"></rect><text x="287.5" y="65">Then</text></g><path d="M314.5 61h10"></path><path d="M324.5 61h10"></path><g class="terminal">
|
||||
<path d="M334.5 61h0.0"></path><path d="M439.5 61h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="334.5" y="50"></rect><text x="387.0" y="65">statements</text></g></g><path d="M439.5 61a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M 469.5 30 h 20 m 0 -10 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,37 @@
|
||||
<svg class="railroad-diagram" height="82" viewBox="0 0 533.5 82" width="533.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal">
|
||||
<path d="M50 31h0.0"></path><path d="M104.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="50.0" y="20"></rect><text x="77.0" y="35">Enum</text></g><path d="M104.0 31h10"></path><path d="M114.0 31h10"></path><g class="terminal">
|
||||
<path d="M124.0 31h0.0"></path><path d="M220.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="124.0" y="20"></rect><text x="172.25" y="35">list_name</text></g><path d="M220.5 31h10"></path><path d="M230.5 31h10"></path><g>
|
||||
<path d="M240.5 31h0.0"></path><path d="M375.5 31h0.0"></path><path d="M240.5 31h15"></path><g class="terminal">
|
||||
<path d="M255.5 31h0.0"></path><path d="M360.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="255.5" y="20"></rect><text x="308.0" y="35">assignment</text></g><path d="M360.5 31h15"></path><path d="M255.5 31a15 15 0 0 0 -15 15v1a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M255.5 62h105.0"></path></g><path d="M360.5 62a15 15 0 0 0 15 -15v-1a15 15 0 0 0 -15 -15"></path></g><path d="M375.5 31h10"></path><path d="M385.5 31h10"></path><g class="terminal">
|
||||
<path d="M395.5 31h0.0"></path><path d="M483.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="395.5" y="20"></rect><text x="439.5" y="35">End Enum</text></g><path d="M483.5 31h10"></path><path d="M 493.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,37 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 349.0 124" width="349.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M112.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="40"></rect><text x="81.25" y="55">Erase</text></g><path d="M112.5 51h10"></path><g>
|
||||
<path d="M122.5 51h0.0"></path><path d="M309.0 51h0.0"></path><path d="M122.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M152.5 20h126.5"></path></g><path d="M279.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M122.5 51h30"></path><g>
|
||||
<path d="M152.5 51h0.0"></path><path d="M279.0 51h0.0"></path><path d="M152.5 51h15"></path><g class="terminal">
|
||||
<path d="M167.5 51h0.0"></path><path d="M264.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="167.5" y="40"></rect><text x="215.75" y="55">arrayname</text></g><path d="M264.0 51h15"></path><path d="M167.5 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M167.5 93h34.0"></path><path d="M230.0 93h34.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="201.5" y="82"></rect><text x="215.75" y="97">,</text></g><path d="M264.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M279.0 51h30"></path></g><path d="M 309.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,43 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 746.0 124" width="746.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g>
|
||||
<path d="M50 51h0.0"></path><path d="M696.0 51h0.0"></path><g class="terminal">
|
||||
<path d="M50.0 51h0.0"></path><path d="M138.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="50.0" y="40"></rect><text x="94.0" y="55">For Each</text></g><path d="M138.0 51h10"></path><path d="M148.0 51h10"></path><g class="terminal">
|
||||
<path d="M158.0 51h0.0"></path><path d="M212.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="158.0" y="40"></rect><text x="185.0" y="55">item</text></g><path d="M212.0 51h10"></path><path d="M222.0 51h10"></path><g class="terminal">
|
||||
<path d="M232.0 51h0.0"></path><path d="M269.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="232.0" y="40"></rect><text x="250.5" y="55">In</text></g><path d="M269.0 51h10"></path><path d="M279.0 51h10"></path><g class="terminal">
|
||||
<path d="M289.0 51h0.0"></path><path d="M343.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="289.0" y="40"></rect><text x="316.0" y="55">list</text></g><path d="M343.0 51h10"></path><path d="M353.0 51h10"></path><g>
|
||||
<path d="M363.0 51h0.0"></path><path d="M498.0 51h0.0"></path><path d="M363.0 51h15"></path><g class="non-terminal">
|
||||
<path d="M378.0 51h0.0"></path><path d="M483.0 51h0.0"></path><rect height="22" width="105.0" x="378.0" y="40"></rect><text x="430.5" y="55">statements</text></g><path d="M483.0 51h15"></path><path d="M378.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M378.0 93h8.5"></path><path d="M474.5 93h8.5"></path><rect height="22" rx="10" ry="10" width="88.0" x="386.5" y="82"></rect><text x="430.5" y="97">Exit For</text></g><path d="M483.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M498.0 51h10"></path><path d="M508.0 51h10"></path><g class="terminal">
|
||||
<path d="M518.0 51h0.0"></path><path d="M572.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="518.0" y="40"></rect><text x="545.0" y="55">Next</text></g><path d="M572.0 51h10"></path><g>
|
||||
<path d="M582.0 51h0.0"></path><path d="M696.0 51h0.0"></path><path d="M582.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M612.0 20h54.0"></path></g><path d="M666.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M582.0 51h30"></path><g class="terminal">
|
||||
<path d="M612.0 51h0.0"></path><path d="M666.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="612.0" y="40"></rect><text x="639.0" y="55">item</text></g><path d="M666.0 51h30"></path></g></g><path d="M696.0 51h10"></path><path d="M 706.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,52 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 1115.0 124" width="1115.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g>
|
||||
<path d="M50 51h0.0"></path><path d="M1065.0 51h0.0"></path><g class="terminal">
|
||||
<path d="M50.0 51h0.0"></path><path d="M95.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="50.0" y="40"></rect><text x="72.75" y="55">For</text></g><path d="M95.5 51h10"></path><path d="M105.5 51h10"></path><g class="terminal">
|
||||
<path d="M115.5 51h0.0"></path><path d="M195.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="115.5" y="40"></rect><text x="155.25" y="55">counter</text></g><path d="M195.0 51h10"></path><path d="M205.0 51h10"></path><g class="terminal">
|
||||
<path d="M215.0 51h0.0"></path><path d="M243.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="215.0" y="40"></rect><text x="229.25" y="55">=</text></g><path d="M243.5 51h10"></path><path d="M253.5 51h10"></path><g class="terminal">
|
||||
<path d="M263.5 51h0.0"></path><path d="M326.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="263.5" y="40"></rect><text x="294.75" y="55">start</text></g><path d="M326.0 51h10"></path><path d="M336.0 51h10"></path><g class="terminal">
|
||||
<path d="M346.0 51h0.0"></path><path d="M383.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="346.0" y="40"></rect><text x="364.5" y="55">To</text></g><path d="M383.0 51h10"></path><path d="M393.0 51h10"></path><g class="terminal">
|
||||
<path d="M403.0 51h0.0"></path><path d="M448.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="403.0" y="40"></rect><text x="425.75" y="55">end</text></g><path d="M448.5 51h10"></path><g>
|
||||
<path d="M458.5 51h0.0"></path><path d="M696.5 51h0.0"></path><path d="M458.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M488.5 20h178.0"></path></g><path d="M666.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M458.5 51h30"></path><g>
|
||||
<path d="M488.5 51h0.0"></path><path d="M666.5 51h0.0"></path><g class="terminal">
|
||||
<path d="M488.5 51h0.0"></path><path d="M542.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="488.5" y="40"></rect><text x="515.5" y="55">Step</text></g><path d="M542.5 51h10"></path><g>
|
||||
<path d="M552.5 51h0.0"></path><path d="M666.5 51h0.0"></path><path d="M552.5 51h30"></path><g class="terminal">
|
||||
<path d="M582.5 51h12.75"></path><path d="M623.75 51h12.75"></path><rect height="22" rx="10" ry="10" width="28.5" x="595.25" y="40"></rect><text x="609.5" y="55">1</text></g><path d="M636.5 51h30"></path><path d="M552.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M582.5 93h0.0"></path><path d="M636.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="582.5" y="82"></rect><text x="609.5" y="97">step</text></g><path d="M636.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g></g><path d="M666.5 51h30"></path></g><path d="M696.5 51h10"></path><g>
|
||||
<path d="M706.5 51h0.0"></path><path d="M841.5 51h0.0"></path><path d="M706.5 51h15"></path><g class="non-terminal">
|
||||
<path d="M721.5 51h0.0"></path><path d="M826.5 51h0.0"></path><rect height="22" width="105.0" x="721.5" y="40"></rect><text x="774.0" y="55">statements</text></g><path d="M826.5 51h15"></path><path d="M721.5 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M721.5 93h8.5"></path><path d="M818.0 93h8.5"></path><rect height="22" rx="10" ry="10" width="88.0" x="730.0" y="82"></rect><text x="774.0" y="97">Exit For</text></g><path d="M826.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M841.5 51h10"></path><path d="M851.5 51h10"></path><g class="terminal">
|
||||
<path d="M861.5 51h0.0"></path><path d="M915.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="861.5" y="40"></rect><text x="888.5" y="55">Next</text></g><path d="M915.5 51h10"></path><g>
|
||||
<path d="M925.5 51h0.0"></path><path d="M1065.0 51h0.0"></path><path d="M925.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M955.5 20h79.5"></path></g><path d="M1035.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M925.5 51h30"></path><g class="terminal">
|
||||
<path d="M955.5 51h0.0"></path><path d="M1035.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="955.5" y="40"></rect><text x="995.25" y="55">counter</text></g><path d="M1035.0 51h30"></path></g></g><path d="M1065.0 51h10"></path><path d="M 1075.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 5.1 KiB |
@@ -0,0 +1,57 @@
|
||||
<svg class="railroad-diagram" height="208" viewBox="0 0 1178.5 208" width="1178.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g>
|
||||
<path d="M50 51h0.0"></path><path d="M1128.5 51h0.0"></path><g>
|
||||
<path d="M50.0 51h0.0"></path><path d="M249.5 51h0.0"></path><path d="M50.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M80.0 20h139.5"></path></g><path d="M219.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M50.0 51h30"></path><g>
|
||||
<path d="M80.0 51h0.0"></path><path d="M219.5 51h0.0"></path><path d="M80.0 51h30"></path><g class="terminal">
|
||||
<path d="M110.0 51h4.25"></path><path d="M185.25 51h4.25"></path><rect height="22" rx="10" ry="10" width="71.0" x="114.25" y="40"></rect><text x="149.75" y="55">Public</text></g><path d="M189.5 51h30"></path><path d="M80.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M110.0 93h0.0"></path><path d="M189.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="110.0" y="82"></rect><text x="149.75" y="97">Private</text></g><path d="M189.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M219.5 51h30"></path></g><path d="M249.5 51h10"></path><g class="terminal">
|
||||
<path d="M259.5 51h0.0"></path><path d="M347.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="259.5" y="40"></rect><text x="303.5" y="55">Function</text></g><path d="M347.5 51h10"></path><path d="M357.5 51h10"></path><g class="terminal">
|
||||
<path d="M367.5 51h0.0"></path><path d="M421.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="367.5" y="40"></rect><text x="394.5" y="55">name</text></g><path d="M421.5 51h10"></path><g>
|
||||
<path d="M431.5 51h0.0"></path><path d="M871.5 51h0.0"></path><path d="M431.5 51h30"></path><g>
|
||||
<path d="M461.5 51h0.0"></path><path d="M841.5 51h0.0"></path><g class="terminal">
|
||||
<path d="M461.5 51h0.0"></path><path d="M490.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="461.5" y="40"></rect><text x="475.75" y="55">(</text></g><path d="M490.0 51h10"></path><path d="M500.0 51h10"></path><g>
|
||||
<path d="M510.0 51h0.0"></path><path d="M628.0 51h0.0"></path><path d="M510.0 51h15"></path><g class="non-terminal">
|
||||
<path d="M525.0 51h0.0"></path><path d="M613.0 51h0.0"></path><rect height="22" width="88.0" x="525.0" y="40"></rect><text x="569.0" y="55">argument</text></g><path d="M613.0 51h15"></path><path d="M525.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M525.0 93h29.75"></path><path d="M583.25 93h29.75"></path><rect height="22" rx="10" ry="10" width="28.5" x="554.75" y="82"></rect><text x="569.0" y="97">,</text></g><path d="M613.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M628.0 51h10"></path><path d="M638.0 51h10"></path><g class="terminal">
|
||||
<path d="M648.0 51h0.0"></path><path d="M676.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="648.0" y="40"></rect><text x="662.25" y="55">)</text></g><path d="M676.5 51h10"></path><path d="M686.5 51h10"></path><g class="terminal">
|
||||
<path d="M696.5 51h0.0"></path><path d="M733.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="696.5" y="40"></rect><text x="715.0" y="55">As</text></g><path d="M733.5 51h10"></path><path d="M743.5 51h10"></path><g class="non-terminal">
|
||||
<path d="M753.5 51h0.0"></path><path d="M841.5 51h0.0"></path><rect height="22" width="88.0" x="753.5" y="40"></rect><text x="797.5" y="55">typename</text></g></g><path d="M841.5 51h30"></path><path d="M431.5 51a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M461.5 135h45.5"></path><path d="M796.0 135h45.5"></path><g class="non-terminal">
|
||||
<path d="M507.0 135h0.0"></path><path d="M561.0 135h0.0"></path><rect height="22" width="54.0" x="507.0" y="124"></rect><text x="534.0" y="139">char</text></g><path d="M561.0 135h10"></path><path d="M571.0 135h10"></path><g class="terminal">
|
||||
<path d="M581.0 135h0.0"></path><path d="M609.5 135h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="581.0" y="124"></rect><text x="595.25" y="139">(</text></g><path d="M609.5 135h10"></path><path d="M619.5 135h10"></path><g>
|
||||
<path d="M629.5 135h0.0"></path><path d="M747.5 135h0.0"></path><path d="M629.5 135h15"></path><g class="non-terminal">
|
||||
<path d="M644.5 135h0.0"></path><path d="M732.5 135h0.0"></path><rect height="22" width="88.0" x="644.5" y="124"></rect><text x="688.5" y="139">argument</text></g><path d="M732.5 135h15"></path><path d="M644.5 135a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M644.5 177h29.75"></path><path d="M702.75 177h29.75"></path><rect height="22" rx="10" ry="10" width="28.5" x="674.25" y="166"></rect><text x="688.5" y="181">,</text></g><path d="M732.5 177a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M747.5 135h10"></path><path d="M757.5 135h10"></path><g class="terminal">
|
||||
<path d="M767.5 135h0.0"></path><path d="M796.0 135h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="767.5" y="124"></rect><text x="781.75" y="139">)</text></g></g><path d="M841.5 135a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path></g><path d="M871.5 51h10"></path><g class="terminal">
|
||||
<path d="M881.5 51h0.0"></path><path d="M986.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="881.5" y="40"></rect><text x="934.0" y="55">statements</text></g><path d="M986.5 51h10"></path><path d="M996.5 51h10"></path><g class="terminal">
|
||||
<path d="M1006.5 51h0.0"></path><path d="M1128.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="122.0" x="1006.5" y="40"></rect><text x="1067.5" y="55">End Function</text></g></g><path d="M1128.5 51h10"></path><path d="M 1138.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 6.3 KiB |
@@ -0,0 +1,44 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 755.0 124" width="755.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M95.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="50.0" y="40"></rect><text x="72.75" y="55">Get</text></g><path d="M95.5 51h10"></path><g>
|
||||
<path d="M105.5 51h0.0"></path><path d="M194.0 51h0.0"></path><path d="M105.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M135.5 20h28.5"></path></g><path d="M164.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M105.5 51h30"></path><g class="terminal">
|
||||
<path d="M135.5 51h0.0"></path><path d="M164.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="135.5" y="40"></rect><text x="149.75" y="55">#</text></g><path d="M164.0 51h30"></path></g><path d="M194.0 51h10"></path><g class="terminal">
|
||||
<path d="M204.0 51h0.0"></path><path d="M283.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="204.0" y="40"></rect><text x="243.75" y="55">fileNum</text></g><path d="M283.5 51h10"></path><path d="M293.5 51h10"></path><g class="terminal">
|
||||
<path d="M303.5 51h0.0"></path><path d="M332.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="303.5" y="40"></rect><text x="317.75" y="55">,</text></g><path d="M332.0 51h10"></path><g>
|
||||
<path d="M342.0 51h0.0"></path><path d="M558.5 51h0.0"></path><path d="M342.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M372.0 20h156.5"></path></g><path d="M528.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M342.0 51h30"></path><g>
|
||||
<path d="M372.0 51h0.0"></path><path d="M528.5 51h0.0"></path><path d="M372.0 51h30"></path><g class="terminal">
|
||||
<path d="M402.0 51h8.5"></path><path d="M490.0 51h8.5"></path><rect height="22" rx="10" ry="10" width="79.5" x="410.5" y="40"></rect><text x="450.25" y="55">filePos</text></g><path d="M498.5 51h30"></path><path d="M372.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M402.0 93h0.0"></path><path d="M498.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="402.0" y="82"></rect><text x="450.25" y="97">recordNum</text></g><path d="M498.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M528.5 51h30"></path></g><path d="M558.5 51h10"></path><g class="terminal">
|
||||
<path d="M568.5 51h0.0"></path><path d="M597.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="568.5" y="40"></rect><text x="582.75" y="55">,</text></g><path d="M597.0 51h10"></path><path d="M607.0 51h10"></path><g class="terminal">
|
||||
<path d="M617.0 51h0.0"></path><path d="M705.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="617.0" y="40"></rect><text x="661.0" y="55">variable</text></g><path d="M705.0 51h10"></path><path d="M 715.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,43 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 825.5 124" width="825.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M87.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="50.0" y="40"></rect><text x="68.5" y="55">If</text></g><path d="M87.0 51h10"></path><path d="M97.0 51h10"></path><g class="terminal">
|
||||
<path d="M107.0 51h0.0"></path><path d="M203.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="107.0" y="40"></rect><text x="155.25" y="55">condition</text></g><path d="M203.5 51h10"></path><path d="M213.5 51h10"></path><g class="terminal">
|
||||
<path d="M223.5 51h0.0"></path><path d="M277.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="223.5" y="40"></rect><text x="250.5" y="55">Then</text></g><path d="M277.5 51h10"></path><path d="M287.5 51h10"></path><g class="terminal">
|
||||
<path d="M297.5 51h0.0"></path><path d="M402.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="297.5" y="40"></rect><text x="350.0" y="55">statements</text></g><path d="M402.5 51h10"></path><g>
|
||||
<path d="M412.5 51h0.0"></path><path d="M594.5 51h0.0"></path><path d="M412.5 51h30"></path><g>
|
||||
<path d="M442.5 51h122.0"></path></g><path d="M564.5 51h30"></path><path d="M412.5 51a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="non-terminal">
|
||||
<path d="M442.5 82h0.0"></path><path d="M564.5 82h0.0"></path><rect height="22" width="122.0" x="442.5" y="71"></rect><text x="503.5" y="86">Else options</text></g><path d="M564.5 82a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><g>
|
||||
<path d="M594.5 51h0.0"></path><path d="M785.5 51h0.0"></path><path d="M594.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M624.5 20h131.0"></path></g><path d="M755.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M594.5 51h30"></path><g>
|
||||
<path d="M624.5 51h0.0"></path><path d="M755.5 51h0.0"></path><path d="M624.5 51h30"></path><g class="terminal">
|
||||
<path d="M654.5 51h4.25"></path><path d="M721.25 51h4.25"></path><rect height="22" rx="10" ry="10" width="62.5" x="658.75" y="40"></rect><text x="690.0" y="55">EndIf</text></g><path d="M725.5 51h30"></path><path d="M624.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M654.5 93h0.0"></path><path d="M725.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="654.5" y="82"></rect><text x="690.0" y="97">End If</text></g><path d="M725.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M755.5 51h30"></path></g><path d="M 785.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,42 @@
|
||||
<svg class="railroad-diagram" height="124" viewBox="0 0 534.5 124" width="534.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M112.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="40"></rect><text x="81.25" y="55">Input</text></g><path d="M112.5 51h10"></path><g>
|
||||
<path d="M122.5 51h0.0"></path><path d="M211.0 51h0.0"></path><path d="M122.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M152.5 20h28.5"></path></g><path d="M181.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M122.5 51h30"></path><g class="terminal">
|
||||
<path d="M152.5 51h0.0"></path><path d="M181.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="152.5" y="40"></rect><text x="166.75" y="55">#</text></g><path d="M181.0 51h30"></path></g><path d="M211.0 51h10"></path><g class="terminal">
|
||||
<path d="M221.0 51h0.0"></path><path d="M300.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="221.0" y="40"></rect><text x="260.75" y="55">fileNum</text></g><path d="M300.5 51h10"></path><g>
|
||||
<path d="M310.5 51h0.0"></path><path d="M399.0 51h0.0"></path><path d="M310.5 51h30"></path><g class="terminal">
|
||||
<path d="M340.5 51h0.0"></path><path d="M369.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="40"></rect><text x="354.75" y="55">,</text></g><path d="M369.0 51h30"></path><path d="M310.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M340.5 93h0.0"></path><path d="M369.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="82"></rect><text x="354.75" y="97">;</text></g><path d="M369.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M399.0 51h10"></path><g>
|
||||
<path d="M409.0 51h0.0"></path><path d="M484.5 51h0.0"></path><path d="M409.0 51h15"></path><g class="terminal">
|
||||
<path d="M424.0 51h0.0"></path><path d="M469.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="424.0" y="40"></rect><text x="446.75" y="55">var</text></g><path d="M469.5 51h15"></path><path d="M424.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M424.0 93h8.5"></path><path d="M461.0 93h8.5"></path><rect height="22" rx="10" ry="10" width="28.5" x="432.5" y="82"></rect><text x="446.75" y="97">,</text></g><path d="M469.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M484.5 51h10"></path><path d="M 494.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,46 @@
|
||||
<svg class="railroad-diagram" height="155" viewBox="0 0 668.5 155" width="668.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g>
|
||||
<path d="M50 51h0.0"></path><path d="M618.5 51h0.0"></path><g>
|
||||
<path d="M50.0 51h0.0"></path><path d="M215.5 51h0.0"></path><path d="M50.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M80.0 20h105.5"></path></g><path d="M185.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M50.0 51h30"></path><g>
|
||||
<path d="M80.0 51h0.0"></path><path d="M185.5 51h0.0"></path><path d="M80.0 51h30"></path><g class="terminal">
|
||||
<path d="M110.0 51h0.0"></path><path d="M155.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="110.0" y="40"></rect><text x="132.75" y="55">Let</text></g><path d="M155.5 51h30"></path><path d="M80.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M110.0 93h0.0"></path><path d="M155.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="110.0" y="82"></rect><text x="132.75" y="97">Set</text></g><path d="M155.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M185.5 51h30"></path></g><path d="M215.5 51h10"></path><g class="terminal">
|
||||
<path d="M225.5 51h0.0"></path><path d="M313.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="225.5" y="40"></rect><text x="269.5" y="55">variable</text></g><path d="M313.5 51h10"></path><path d="M323.5 51h10"></path><g class="terminal">
|
||||
<path d="M333.5 51h0.0"></path><path d="M362.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="333.5" y="40"></rect><text x="347.75" y="55">=</text></g><path d="M362.0 51h10"></path><g>
|
||||
<path d="M372.0 51h0.0"></path><path d="M618.5 51h0.0"></path><path d="M372.0 51h30"></path><g class="terminal">
|
||||
<path d="M402.0 51h40.75"></path><path d="M547.75 51h40.75"></path><rect height="22" rx="10" ry="10" width="105.0" x="442.75" y="40"></rect><text x="495.25" y="55">expression</text></g><path d="M588.5 51h30"></path><path d="M372.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M402.0 93h0.0"></path><path d="M588.5 93h0.0"></path><g>
|
||||
<path d="M402.0 93h0.0"></path><path d="M507.5 93h0.0"></path><path d="M402.0 93h30"></path><g>
|
||||
<path d="M432.0 93h45.5"></path></g><path d="M477.5 93h30"></path><path d="M402.0 93a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M432.0 124h0.0"></path><path d="M477.5 124h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="432.0" y="113"></rect><text x="454.75" y="128">New</text></g><path d="M477.5 124a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M507.5 93h10"></path><g class="terminal">
|
||||
<path d="M517.5 93h0.0"></path><path d="M588.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="517.5" y="82"></rect><text x="553.0" y="97">object</text></g></g><path d="M588.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g></g><path d="M618.5 51h10"></path><path d="M 628.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1,35 @@
|
||||
<svg class="railroad-diagram" height="62" viewBox="0 0 469.5 62" width="469.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal">
|
||||
<path d="M50 31h0.0"></path><path d="M155.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="50.0" y="20"></rect><text x="102.5" y="35">Line Input</text></g><path d="M155.0 31h10"></path><path d="M165.0 31h10"></path><g class="terminal">
|
||||
<path d="M175.0 31h0.0"></path><path d="M263.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="175.0" y="20"></rect><text x="219.0" y="35">#fileNum</text></g><path d="M263.0 31h10"></path><path d="M273.0 31h10"></path><g class="terminal">
|
||||
<path d="M283.0 31h0.0"></path><path d="M311.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="283.0" y="20"></rect><text x="297.25" y="35">,</text></g><path d="M311.5 31h10"></path><path d="M321.5 31h10"></path><g class="terminal">
|
||||
<path d="M331.5 31h0.0"></path><path d="M419.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="331.5" y="20"></rect><text x="375.5" y="35">variable</text></g><path d="M419.5 31h10"></path><path d="M 429.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,33 @@
|
||||
<svg class="railroad-diagram" height="62" viewBox="0 0 236.5 62" width="236.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal">
|
||||
<path d="M50 31h0.0"></path><path d="M112.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="20"></rect><text x="81.25" y="35">MkDir</text></g><path d="M112.5 31h10"></path><path d="M122.5 31h10"></path><g class="terminal">
|
||||
<path d="M132.5 31h0.0"></path><path d="M186.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="132.5" y="20"></rect><text x="159.5" y="35">path</text></g><path d="M186.5 31h10"></path><path d="M 196.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,45 @@
|
||||
<svg class="railroad-diagram" height="146" viewBox="0 0 598.5 146" width="598.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g>
|
||||
<path d="M50 31h0.0"></path><path d="M548.5 31h0.0"></path><g class="terminal">
|
||||
<path d="M50.0 31h0.0"></path><path d="M87.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="50.0" y="20"></rect><text x="68.5" y="35">On</text></g><path d="M87.0 31h10"></path><g>
|
||||
<path d="M97.0 31h0.0"></path><path d="M219.5 31h0.0"></path><path d="M97.0 31h30"></path><g>
|
||||
<path d="M127.0 31h62.5"></path></g><path d="M189.5 31h30"></path><path d="M97.0 31a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M127.0 62h0.0"></path><path d="M189.5 62h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="127.0" y="51"></rect><text x="158.25" y="66">Local</text></g><path d="M189.5 62a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M219.5 31h10"></path><g class="terminal">
|
||||
<path d="M229.5 31h0.0"></path><path d="M292.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="229.5" y="20"></rect><text x="260.75" y="35">Error</text></g><path d="M292.0 31h10"></path><g>
|
||||
<path d="M302.0 31h0.0"></path><path d="M548.5 31h0.0"></path><path d="M302.0 31h30"></path><g>
|
||||
<path d="M332.0 31h0.0"></path><path d="M518.5 31h0.0"></path><g class="terminal">
|
||||
<path d="M332.0 31h0.0"></path><path d="M386.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="332.0" y="20"></rect><text x="359.0" y="35">GoTo</text></g><path d="M386.0 31h10"></path><g>
|
||||
<path d="M396.0 31h0.0"></path><path d="M518.5 31h0.0"></path><path d="M396.0 31h30"></path><g class="terminal">
|
||||
<path d="M426.0 31h0.0"></path><path d="M488.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="426.0" y="20"></rect><text x="457.25" y="35">label</text></g><path d="M488.5 31h30"></path><path d="M396.0 31a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M426.0 73h17.0"></path><path d="M471.5 73h17.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="443.0" y="62"></rect><text x="457.25" y="77">0</text></g><path d="M488.5 73a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g></g><path d="M518.5 31h30"></path><path d="M302.0 31a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M332.0 115h36.5"></path><path d="M482.0 115h36.5"></path><g class="terminal">
|
||||
<path d="M368.5 115h0.0"></path><path d="M482.0 115h0.0"></path><rect height="22" rx="10" ry="10" width="113.5" x="368.5" y="104"></rect><text x="425.25" y="119">Resume Next</text></g></g><path d="M518.5 115a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path></g></g><path d="M548.5 31h10"></path><path d="M 558.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,40 @@
|
||||
<svg class="railroad-diagram" height="104" viewBox="0 0 497.0 104" width="497.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g>
|
||||
<path d="M50 31h0.0"></path><path d="M447.0 31h0.0"></path><g class="terminal">
|
||||
<path d="M50.0 31h0.0"></path><path d="M87.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="50.0" y="20"></rect><text x="68.5" y="35">On</text></g><path d="M87.0 31h10"></path><path d="M97.0 31h10"></path><g class="terminal">
|
||||
<path d="M107.0 31h0.0"></path><path d="M212.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="107.0" y="20"></rect><text x="159.5" y="35">expression</text></g><path d="M212.0 31h10"></path><g>
|
||||
<path d="M222.0 31h0.0"></path><path d="M344.5 31h0.0"></path><path d="M222.0 31h30"></path><g class="terminal">
|
||||
<path d="M252.0 31h0.0"></path><path d="M314.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="252.0" y="20"></rect><text x="283.25" y="35">GoSub</text></g><path d="M314.5 31h30"></path><path d="M222.0 31a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M252.0 73h4.25"></path><path d="M310.25 73h4.25"></path><rect height="22" rx="10" ry="10" width="54.0" x="256.25" y="62"></rect><text x="283.25" y="77">GoTo</text></g><path d="M314.5 73a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M344.5 31h10"></path><g>
|
||||
<path d="M354.5 31h0.0"></path><path d="M447.0 31h0.0"></path><path d="M354.5 31h15"></path><g class="terminal">
|
||||
<path d="M369.5 31h0.0"></path><path d="M432.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="369.5" y="20"></rect><text x="400.75" y="35">label</text></g><path d="M432.0 31h15"></path><path d="M369.5 31a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M369.5 73h17.0"></path><path d="M415.0 73h17.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="386.5" y="62"></rect><text x="400.75" y="77">,</text></g><path d="M432.0 73a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g></g><path d="M447.0 31h10"></path><path d="M 457.0 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,57 @@
|
||||
<svg class="railroad-diagram" height="230" viewBox="0 0 1189.0 230" width="1189.0" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 105v20m10 -20v20m-10 -10h20"></path></g><path d="M40 115h10"></path><g class="terminal">
|
||||
<path d="M50 115h0.0"></path><path d="M104.0 115h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="50.0" y="104"></rect><text x="77.0" y="119">Open</text></g><path d="M104.0 115h10"></path><path d="M114.0 115h10"></path><g class="terminal">
|
||||
<path d="M124.0 115h0.0"></path><path d="M212.0 115h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="124.0" y="104"></rect><text x="168.0" y="119">pathname</text></g><path d="M212.0 115h10"></path><path d="M222.0 115h10"></path><g>
|
||||
<path d="M232.0 115h0.0"></path><path d="M418.5 115h0.0"></path><g class="terminal">
|
||||
<path d="M232.0 115h0.0"></path><path d="M277.5 115h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="232.0" y="104"></rect><text x="254.75" y="119">For</text></g><path d="M277.5 115h10"></path><g>
|
||||
<path d="M287.5 115h0.0"></path><path d="M418.5 115h0.0"></path><path d="M287.5 115a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M317.5 73h0.0"></path><path d="M388.5 73h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="317.5" y="62"></rect><text x="353.0" y="77">Output</text></g><path d="M388.5 73a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><path d="M287.5 115a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><g class="terminal">
|
||||
<path d="M317.5 31h4.25"></path><path d="M384.25 31h4.25"></path><rect height="22" rx="10" ry="10" width="62.5" x="321.75" y="20"></rect><text x="353.0" y="35">Input</text></g><path d="M388.5 31a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><path d="M287.5 115h30"></path><g class="terminal">
|
||||
<path d="M317.5 115h0.0"></path><path d="M388.5 115h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="317.5" y="104"></rect><text x="353.0" y="119">Random</text></g><path d="M388.5 115h30"></path><path d="M287.5 115a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M317.5 157h0.0"></path><path d="M388.5 157h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="317.5" y="146"></rect><text x="353.0" y="161">Append</text></g><path d="M388.5 157a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M287.5 115a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M317.5 199h0.0"></path><path d="M388.5 199h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="317.5" y="188"></rect><text x="353.0" y="203">Binary</text></g><path d="M388.5 199a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path></g></g><path d="M418.5 115h10"></path><g>
|
||||
<path d="M428.5 115h0.0"></path><path d="M559.5 115h0.0"></path><path d="M428.5 115h30"></path><g>
|
||||
<path d="M458.5 115h71.0"></path></g><path d="M529.5 115h30"></path><path d="M428.5 115a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="non-terminal">
|
||||
<path d="M458.5 146h0.0"></path><path d="M529.5 146h0.0"></path><rect height="22" width="71.0" x="458.5" y="135"></rect><text x="494.0" y="150">access</text></g><path d="M529.5 146a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><g>
|
||||
<path d="M559.5 115h0.0"></path><path d="M699.0 115h0.0"></path><path d="M559.5 115h30"></path><g>
|
||||
<path d="M589.5 115h79.5"></path></g><path d="M669.0 115h30"></path><path d="M559.5 115a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g class="non-terminal">
|
||||
<path d="M589.5 146h0.0"></path><path d="M669.0 146h0.0"></path><rect height="22" width="79.5" x="589.5" y="135"></rect><text x="629.25" y="150">locking</text></g><path d="M669.0 146a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M699.0 115h10"></path><g class="terminal">
|
||||
<path d="M709.0 115h0.0"></path><path d="M746.0 115h0.0"></path><rect height="22" rx="10" ry="10" width="37.0" x="709.0" y="104"></rect><text x="727.5" y="119">As</text></g><path d="M746.0 115h10"></path><g>
|
||||
<path d="M756.0 115h0.0"></path><path d="M844.5 115h0.0"></path><path d="M756.0 115a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M786.0 84h28.5"></path></g><path d="M814.5 84a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M756.0 115h30"></path><g class="terminal">
|
||||
<path d="M786.0 115h0.0"></path><path d="M814.5 115h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="786.0" y="104"></rect><text x="800.25" y="119">#</text></g><path d="M814.5 115h30"></path></g><path d="M844.5 115h10"></path><g class="terminal">
|
||||
<path d="M854.5 115h0.0"></path><path d="M934.0 115h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="854.5" y="104"></rect><text x="894.25" y="119">filenum</text></g><path d="M934.0 115h10"></path><g>
|
||||
<path d="M944.0 115h0.0"></path><path d="M1149.0 115h0.0"></path><path d="M944.0 115h30"></path><g>
|
||||
<path d="M974.0 115h145.0"></path></g><path d="M1119.0 115h30"></path><path d="M944.0 115a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M974.0 146h0.0"></path><path d="M1119.0 146h0.0"></path><g class="terminal">
|
||||
<path d="M974.0 146h0.0"></path><path d="M1028.0 146h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="974.0" y="135"></rect><text x="1001.0" y="150">Len=</text></g><path d="M1028.0 146h10"></path><path d="M1038.0 146h10"></path><g class="terminal">
|
||||
<path d="M1048.0 146h0.0"></path><path d="M1119.0 146h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="1048.0" y="135"></rect><text x="1083.5" y="150">recLen</text></g></g><path d="M1119.0 146a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><path d="M 1149.0 115 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 6.2 KiB |
@@ -0,0 +1,45 @@
|
||||
<svg class="railroad-diagram" height="272" viewBox="0 0 494.5 272" width="494.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g>
|
||||
<path d="M50 31h0.0"></path><path d="M444.5 31h0.0"></path><g class="terminal">
|
||||
<path d="M50.0 31h0.0"></path><path d="M121.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="50.0" y="20"></rect><text x="85.5" y="35">Option</text></g><path d="M121.0 31h10"></path><g>
|
||||
<path d="M131.0 31h0.0"></path><path d="M444.5 31h0.0"></path><path d="M131.0 31h30"></path><g>
|
||||
<path d="M161.0 31h0.0"></path><path d="M414.5 31h0.0"></path><g>
|
||||
<path d="M161.0 31h0.0"></path><path d="M326.0 31h0.0"></path><path d="M161.0 31h30"></path><g class="terminal">
|
||||
<path d="M191.0 31h25.5"></path><path d="M270.5 31h25.5"></path><rect height="22" rx="10" ry="10" width="54.0" x="216.5" y="20"></rect><text x="243.5" y="35">Base</text></g><path d="M296.0 31h30"></path><path d="M161.0 31a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M191.0 73h0.0"></path><path d="M296.0 73h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="191.0" y="62"></rect><text x="243.5" y="77">VBASupport</text></g><path d="M296.0 73a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><g>
|
||||
<path d="M326.0 31h0.0"></path><path d="M414.5 31h0.0"></path><path d="M326.0 31h30"></path><g class="terminal">
|
||||
<path d="M356.0 31h0.0"></path><path d="M384.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="356.0" y="20"></rect><text x="370.25" y="35">0</text></g><path d="M384.5 31h30"></path><path d="M326.0 31a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M356.0 73h0.0"></path><path d="M384.5 73h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="356.0" y="62"></rect><text x="370.25" y="77">1</text></g><path d="M384.5 73a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g></g><path d="M414.5 31h30"></path><path d="M131.0 31a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M161.0 115h70.0"></path><path d="M344.5 115h70.0"></path><rect height="22" rx="10" ry="10" width="113.5" x="231.0" y="104"></rect><text x="287.75" y="119">ClassModule</text></g><path d="M414.5 115a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path><path d="M131.0 31a15 15 0 0 1 15 15v96a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M161.0 157h74.25"></path><path d="M340.25 157h74.25"></path><rect height="22" rx="10" ry="10" width="105.0" x="235.25" y="146"></rect><text x="287.75" y="161">Compatible</text></g><path d="M414.5 157a15 15 0 0 0 15 -15v-96a15 15 0 0 1 15 -15"></path><path d="M131.0 31a15 15 0 0 1 15 15v138a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M161.0 199h82.75"></path><path d="M331.75 199h82.75"></path><rect height="22" rx="10" ry="10" width="88.0" x="243.75" y="188"></rect><text x="287.75" y="203">Explicit</text></g><path d="M414.5 199a15 15 0 0 0 15 -15v-138a15 15 0 0 1 15 -15"></path><path d="M131.0 31a15 15 0 0 1 15 15v180a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M161.0 241h57.25"></path><path d="M357.25 241h57.25"></path><rect height="22" rx="10" ry="10" width="139.0" x="218.25" y="230"></rect><text x="287.75" y="245">Private Module</text></g><path d="M414.5 241a15 15 0 0 0 15 -15v-180a15 15 0 0 1 15 -15"></path></g></g><path d="M444.5 31h10"></path><path d="M 454.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,51 @@
|
||||
<svg class="railroad-diagram" height="250" viewBox="0 0 702.5 250" width="702.5" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(.5 .5)">
|
||||
<style>/* <![CDATA[ */
|
||||
svg.railroad-diagram {
|
||||
background-color:transparent;
|
||||
}
|
||||
svg.railroad-diagram path {
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:rgba(0,0,0,0);
|
||||
}
|
||||
svg.railroad-diagram text {
|
||||
font:bold 14px monospace;
|
||||
font-family: Verdana, sans-serif;
|
||||
text-anchor:middle;
|
||||
}
|
||||
svg.railroad-diagram text.label{
|
||||
text-anchor:start;
|
||||
}
|
||||
svg.railroad-diagram text.comment{
|
||||
font:italic 12px monospace;
|
||||
}
|
||||
svg.railroad-diagram rect{
|
||||
stroke-width:1;
|
||||
stroke:black;
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
/* ]]> */
|
||||
</style><g>
|
||||
<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal">
|
||||
<path d="M50 51h0.0"></path><path d="M112.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="40"></rect><text x="81.25" y="55">Print</text></g><path d="M112.5 51h10"></path><g>
|
||||
<path d="M122.5 51h0.0"></path><path d="M319.0 51h0.0"></path><path d="M122.5 51h30"></path><g>
|
||||
<path d="M152.5 51h136.5"></path></g><path d="M289.0 51h30"></path><path d="M122.5 51a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M152.5 82h0.0"></path><path d="M289.0 82h0.0"></path><g class="terminal">
|
||||
<path d="M152.5 82h0.0"></path><path d="M240.5 82h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="152.5" y="71"></rect><text x="196.5" y="86">#filenum</text></g><path d="M240.5 82h10"></path><path d="M250.5 82h10"></path><g class="terminal">
|
||||
<path d="M260.5 82h0.0"></path><path d="M289.0 82h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="260.5" y="71"></rect><text x="274.75" y="86">,</text></g></g><path d="M289.0 82a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path></g><g>
|
||||
<path d="M319.0 51h0.0"></path><path d="M574.0 51h0.0"></path><path d="M319.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g>
|
||||
<path d="M349.0 20h195.0"></path></g><path d="M544.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M319.0 51h30"></path><g>
|
||||
<path d="M349.0 51h0.0"></path><path d="M544.0 51h0.0"></path><path d="M349.0 51h15"></path><g>
|
||||
<path d="M364.0 51h0.0"></path><path d="M529.0 51h0.0"></path><g>
|
||||
<path d="M364.0 51h0.0"></path><path d="M529.0 51h0.0"></path><path d="M364.0 51h30"></path><g class="terminal">
|
||||
<path d="M394.0 51h0.0"></path><path d="M499.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="394.0" y="40"></rect><text x="446.5" y="55">expression</text></g><path d="M499.0 51h30"></path><path d="M364.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M394.0 93h17.0"></path><path d="M482.0 93h17.0"></path><rect height="22" rx="10" ry="10" width="71.0" x="411.0" y="82"></rect><text x="446.5" y="97">Spc(#)</text></g><path d="M499.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path><path d="M364.0 51a15 15 0 0 1 15 15v54a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M394.0 135h8.5"></path><path d="M490.5 135h8.5"></path><rect height="22" rx="10" ry="10" width="88.0" x="402.5" y="124"></rect><text x="446.5" y="139">Tab(pos)</text></g><path d="M499.0 135a15 15 0 0 0 15 -15v-54a15 15 0 0 1 15 -15"></path></g></g><path d="M529.0 51h15"></path><path d="M364.0 51a15 15 0 0 0 -15 15v96a15 15 0 0 0 15 15"></path><g>
|
||||
<path d="M364.0 177h38.25"></path><path d="M490.75 177h38.25"></path><path d="M402.25 177h30"></path><g class="terminal">
|
||||
<path d="M432.25 177h0.0"></path><path d="M460.75 177h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="432.25" y="166"></rect><text x="446.5" y="181">,</text></g><path d="M460.75 177h30"></path><path d="M402.25 177a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M432.25 219h0.0"></path><path d="M460.75 219h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="432.25" y="208"></rect><text x="446.5" y="223">;</text></g><path d="M460.75 219a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M529.0 177a15 15 0 0 0 15 -15v-96a15 15 0 0 0 -15 -15"></path></g><path d="M544.0 51h30"></path></g><g>
|
||||
<path d="M574.0 51h0.0"></path><path d="M662.5 51h0.0"></path><path d="M574.0 51h30"></path><g class="terminal">
|
||||
<path d="M604.0 51h0.0"></path><path d="M632.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="604.0" y="40"></rect><text x="618.25" y="55">,</text></g><path d="M632.5 51h30"></path><path d="M574.0 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal">
|
||||
<path d="M604.0 93h0.0"></path><path d="M632.5 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="604.0" y="82"></rect><text x="618.25" y="97">;</text></g><path d="M632.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M 662.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |