Just configured from Wine's GIT
svn path=/; revision=1
BIN
xinha/plugins/TableOperations/img/cell-delete.gif
Normal file
|
After Width: | Height: | Size: 207 B |
BIN
xinha/plugins/TableOperations/img/cell-insert-after.gif
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
xinha/plugins/TableOperations/img/cell-insert-before.gif
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
xinha/plugins/TableOperations/img/cell-merge.gif
Normal file
|
After Width: | Height: | Size: 360 B |
BIN
xinha/plugins/TableOperations/img/cell-prop.gif
Normal file
|
After Width: | Height: | Size: 352 B |
BIN
xinha/plugins/TableOperations/img/cell-split.gif
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
xinha/plugins/TableOperations/img/col-delete.gif
Normal file
|
After Width: | Height: | Size: 208 B |
BIN
xinha/plugins/TableOperations/img/col-insert-after.gif
Normal file
|
After Width: | Height: | Size: 328 B |
BIN
xinha/plugins/TableOperations/img/col-insert-before.gif
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
xinha/plugins/TableOperations/img/col-split.gif
Normal file
|
After Width: | Height: | Size: 377 B |
BIN
xinha/plugins/TableOperations/img/row-delete.gif
Normal file
|
After Width: | Height: | Size: 328 B |
BIN
xinha/plugins/TableOperations/img/row-insert-above.gif
Normal file
|
After Width: | Height: | Size: 327 B |
BIN
xinha/plugins/TableOperations/img/row-insert-under.gif
Normal file
|
After Width: | Height: | Size: 327 B |
BIN
xinha/plugins/TableOperations/img/row-prop.gif
Normal file
|
After Width: | Height: | Size: 354 B |
BIN
xinha/plugins/TableOperations/img/row-split.gif
Normal file
|
After Width: | Height: | Size: 363 B |
BIN
xinha/plugins/TableOperations/img/table-prop.gif
Normal file
|
After Width: | Height: | Size: 338 B |
79
xinha/plugins/TableOperations/lang/cz.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "cz", ENCODING: UTF-8
|
||||
// Author: Jiri Löw, <jirilow@jirilow.com>
|
||||
{
|
||||
"Align": "Zarovnání",
|
||||
"All four sides": "Všechny čtyři strany",
|
||||
"Background": "Pozadí",
|
||||
"Baseline": "Základní linka",
|
||||
"Border": "Obrys",
|
||||
"Borders": "Obrysy",
|
||||
"Bottom": "Dolů",
|
||||
"Style [CSS]": "Kaskádové styly (CSS)",
|
||||
"Caption": "Titulek",
|
||||
"Cell Properties": "Vlastnosti buňky",
|
||||
"Center": "Na střed",
|
||||
"Char": "Znak",
|
||||
"Collapsed borders": "Stlačené okraje",
|
||||
"Color": "Barva",
|
||||
"Description": "Popis",
|
||||
"FG Color": "Barva popředí",
|
||||
"Float": "Obtékání",
|
||||
"Frames": "Rámečky",
|
||||
"Height": "Výška",
|
||||
"How many columns would you like to merge?": "Kolik sloupců si přejete spojit?",
|
||||
"How many rows would you like to merge?": "Kolik řádků si přejete spojit?",
|
||||
"Image URL": "Adresa obrázku",
|
||||
"Justify": "Do stran",
|
||||
"Layout": "Rozložení",
|
||||
"Left": "Vlevo",
|
||||
"Margin": "Okraj",
|
||||
"Middle": "Na střed",
|
||||
"No rules": "Žádné čáry",
|
||||
"No sides": "Žádné strany",
|
||||
"None": "Žádné",
|
||||
"Padding": "Odsazování",
|
||||
"Please click into some cell": "Prosím klikněte do některé buňky",
|
||||
"Right": "Vpravo",
|
||||
"Row Properties": "Vlastnosti řádku",
|
||||
"Rules will appear between all rows and columns": "Čáry mezi všemi řádky i sloupci",
|
||||
"Rules will appear between columns only": "Čáry pouze mezi sloupci",
|
||||
"Rules will appear between rows only": "Čáry pouze mezi řádky",
|
||||
"Rules": "Čáry",
|
||||
"Spacing and padding": "Mezery a odsazování",
|
||||
"Spacing": "Mezery",
|
||||
"Summary": "Shrnutí",
|
||||
"Delete cell": "Smazat buňku",
|
||||
"Insert cell after": "Vložit buňku za",
|
||||
"Insert cell before": "Vložit buňku před",
|
||||
"Merge cells": "Spojit buňky",
|
||||
"Cell properties": "Vlastnosti buňky",
|
||||
"Split cell": "Rozdělit buňku",
|
||||
"Delete column": "Smazat sloupec",
|
||||
"Insert column after": "Vložit sloupec za",
|
||||
"Insert column before": "Vložit sloupec před",
|
||||
"Split column": "Rozdělit sloupec",
|
||||
"Delete row": "Smazat řádek",
|
||||
"Insert row before": "Smazat řádek nad",
|
||||
"Insert row after": "Smazat řádek pod",
|
||||
"Row properties": "Vlastnosti řádku",
|
||||
"Split row": "Rozdělit řádek",
|
||||
"Table properties": "Vlastnosti tabulky",
|
||||
"Table Properties": "Vlastnosti tabulky",
|
||||
"Text align": "Zarovnání textu",
|
||||
"The bottom side only": "Pouze spodní strana",
|
||||
"The left-hand side only": "Pouze levá strana",
|
||||
"The right and left sides only": "Pouze levá a pravá strana",
|
||||
"The right-hand side only": "Pouze pravá strana",
|
||||
"The top and bottom sides only": "Pouze horní a dolní strana",
|
||||
"The top side only": "Pouze horní strana",
|
||||
"Top": "Nahoru",
|
||||
"Unset color": "Zrušit barvu",
|
||||
"Vertical align": "Svislé zarovnání",
|
||||
"Width": "Šířka",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea zbaběle odmítá smazat poslední buňku v řádku.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea zbaběle odmítá smazat poslední sloupec v tabulce.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea zbaběle odmítá smazat poslední řádek v tabulce.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixelů"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/da.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "da", ENCODING: UTF-8
|
||||
// Author: Steen Sønderup, <steen@soenderup.com>
|
||||
{
|
||||
"Align": "Placer",
|
||||
"All four sides": "Alle fire sider",
|
||||
"Background": "Baggrund",
|
||||
"Baseline": "Bundlinie",
|
||||
"Border": "Kant",
|
||||
"Borders": "Kanter",
|
||||
"Bottom": "Bund",
|
||||
"Style [CSS]": "Stil [CSS]",
|
||||
"Caption": "Titel",
|
||||
"Cell Properties": "Celle egenskaber",
|
||||
"Center": "Centrer",
|
||||
"Char": "Plads",
|
||||
"Collapsed borders": "Sammensmelt rammer",
|
||||
"Color": "Farve",
|
||||
"Description": "Beskrivelse",
|
||||
"FG Color": "Font farve",
|
||||
"Float": "Justering",
|
||||
"Frames": "Udvendig",
|
||||
"Height": "Højde",
|
||||
"How many columns would you like to merge?": "Hvor mange kollonner vil du samle?",
|
||||
"How many rows would you like to merge?": "Hvor mange rækker vil du samle?",
|
||||
"Image URL": "Billede URL",
|
||||
"Justify": "Lige margener",
|
||||
"Layout": "Opsætning",
|
||||
"Left": "Venstre",
|
||||
"Margin": "Margen",
|
||||
"Middle": "Centrer",
|
||||
"No rules": "Ingen rammer",
|
||||
"No sides": "Ingen sider",
|
||||
"None": "Ingen",
|
||||
"Padding": "Margen",
|
||||
"Please click into some cell": "Klik på en celle",
|
||||
"Right": "Højre",
|
||||
"Row Properties": "Række egenskaber",
|
||||
"Rules will appear between all rows and columns": "Rammer mellem rækker og kolonner",
|
||||
"Rules will appear between columns only": "Kun rammer mellem kolonner",
|
||||
"Rules will appear between rows only": "Kun rammer mellem rækker",
|
||||
"Rules": "Invendig",
|
||||
"Spacing and padding": "Afstand og margen",
|
||||
"Spacing": "Afstand",
|
||||
"Summary": "Beskrivelse",
|
||||
"Delete cell": "Slet celle",
|
||||
"Insert cell after": "Indsæt celle efter",
|
||||
"Insert cell before": "Indsæt celle før",
|
||||
"Merge cells": "Sammensæt celler",
|
||||
"Cell properties": "Celle egenskaber",
|
||||
"Split cell": "Opdel celle",
|
||||
"Delete column": "Slet kollonne",
|
||||
"Insert column after": "Indsæt kolonne efter",
|
||||
"Insert column before": "Indsæt kolonne før",
|
||||
"Split column": "Opdel kolonne",
|
||||
"Delete row": "Slet række",
|
||||
"Insert row before": "Indsæt række før",
|
||||
"Insert row after": "Indsæt række efter",
|
||||
"Row properties": "Række egenskaber",
|
||||
"Split row": "Opdel række",
|
||||
"Table properties": "Tabel egenskaber",
|
||||
"Table Properties": "Tabel egenskaber",
|
||||
"Text align": "Tekst",
|
||||
"The bottom side only": "Kun i bunden",
|
||||
"The left-hand side only": "Kun i højre side",
|
||||
"The right and left sides only": "Kun i siderne",
|
||||
"The right-hand side only": "Kun i venstre side",
|
||||
"The top and bottom sides only": "Kun i top og bund",
|
||||
"The top side only": "Kun i toppen",
|
||||
"Top": "Top",
|
||||
"Unset color": "Farve ikke valgt",
|
||||
"Vertical align": "Vertikal placering",
|
||||
"Width": "Bredde",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Du kan ikke slette den sidste celle i en række.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Du kan ikke slette den sidste kolonne i en tabel.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Du kan ikke slette den sidste række i en tabel.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixel"
|
||||
};
|
||||
81
xinha/plugins/TableOperations/lang/de.js
Normal file
@@ -0,0 +1,81 @@
|
||||
// I18N constants
|
||||
// LANG: "de", ENCODING: UTF-8
|
||||
// translated: Raimund Meyer xinha@ray-of-light.org
|
||||
{
|
||||
"Align": "Ausrichtung",
|
||||
"All four sides": "Alle 4 Seiten",
|
||||
"Background": "Hintergrund",
|
||||
"Baseline": "Grundlinie",
|
||||
"Border": "Rahmen",
|
||||
"Borders": "Rahmen",
|
||||
"Bottom": "Unten",
|
||||
"Style [CSS]": "Style [CSS]",
|
||||
"Caption": "Überschrift",
|
||||
"Cell Properties": "Zellenoptionen",
|
||||
"Center": "Zentriert",
|
||||
"Char": "Zeichen",
|
||||
"Collapsed borders": "Rahmen fallen zusammen",
|
||||
"Color": "Farbe",
|
||||
"Description": "Beschreibung",
|
||||
"FG Color": "Vordergrundfarbe",
|
||||
"Float": "Float",
|
||||
"Frames": "Rahmen",
|
||||
"Height": "Höhe",
|
||||
"How many columns would you like to merge?": "Wieviele Spalten wollen Sie verbinden?",
|
||||
"How many rows would you like to merge?": "Wieviele Zeilen wollen Sie verbinden?",
|
||||
"Image URL": "Bild-URL",
|
||||
"Justify": "Blocksatz",
|
||||
"Layout": "Layout",
|
||||
"Left": "Links",
|
||||
"Margin": "Rand",
|
||||
"Middle": "Mitte",
|
||||
"No rules": "Keine Gitterlinien",
|
||||
"No sides": "Keine Ränder",
|
||||
"None": "Keine",
|
||||
"Padding": "Innenabstand",
|
||||
"Please click into some cell": "Bitte eine Zelle auswählen",
|
||||
"Right": "Rechts",
|
||||
"Row Properties": "Zeilenoptionen",
|
||||
"Rules will appear between all rows and columns": "Linien zwischen Zeilen und Spalten",
|
||||
"Rules will appear between columns only": "Linien zwischen Spalten",
|
||||
"Rules will appear between rows only": "Linien zwischen Zeilen",
|
||||
"Rules": "Linien",
|
||||
"Spacing and padding": "Abstände",
|
||||
"Spacing": "Abstand",
|
||||
"Summary": "Zusammenfassung",
|
||||
"Delete cell": "Zelle löschen",
|
||||
"Insert cell after": "Zelle einfügen nach",
|
||||
"Insert cell before": "Zelle einfügen vor",
|
||||
"Merge cells": "Zellen zusammenfügen",
|
||||
"Cell properties": "Zellenoptionen",
|
||||
"Split cell": "Zellen teilen",
|
||||
"Delete column": "Spalte löschen",
|
||||
"Insert column after": "Spalte einfügen nach",
|
||||
"Insert column before": "Spalte einfügen vor",
|
||||
"Split column": "Spalte teilen",
|
||||
"Delete row": "Reihe loeschen",
|
||||
"Insert row before": "Reihe einfügen vor",
|
||||
"Insert row after": "Reihe einfügen nach",
|
||||
"Row properties": "Reiheneinstellungen",
|
||||
"Split row": "Reihen aufteilen",
|
||||
"Table properties": "Tabellenoptionen",
|
||||
"Table Properties": "Tabellenoptionen",
|
||||
"Text align": "Textausrichtung",
|
||||
"The bottom side only": "Nur untere Seite",
|
||||
"The left-hand side only": "Nur linke Seite",
|
||||
"The right and left sides only": "Nur linke und rechte Seite",
|
||||
"The right-hand side only": "Nur rechte Seite",
|
||||
"The top and bottom sides only": "Nur obere und untere Seite",
|
||||
"The top side only": "Nur obere Seite",
|
||||
"Top": "Oben",
|
||||
"Unset color": "Farbe entfernen",
|
||||
"Vertical align": "Vertikale Ausrichtung",
|
||||
"Width": "Breite",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Letzte Zelle in dieser Zeile kann nicht gelöscht werden",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Letzte Spalte in dieser Tabelle kann nicht gelöscht werden",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Letzte Reihe in dieser Tabelle kann nicht gelöscht werden",
|
||||
"percent": "%",
|
||||
"pixels": "Pixel",
|
||||
"OK": "OK",
|
||||
"Cancel": "Abbrechen"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/el.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "el", ENCODING: UTF-8
|
||||
// Author: Dimitris Glezos, dimitris@glezos.com
|
||||
{
|
||||
"Align": "Στοίχηση",
|
||||
"All four sides": "Και οι 4 πλευρές",
|
||||
"Background": "Φόντο",
|
||||
"Baseline": "Baseline",
|
||||
"Border": "Περίγραμμα",
|
||||
"Borders": "Περιγράμματα",
|
||||
"Bottom": "Κάτω μέρος",
|
||||
"Style [CSS]": "Στυλ [CSS]",
|
||||
"Caption": "Λεζάντα",
|
||||
"Cell Properties": "Ιδιότητες Κελιού",
|
||||
"Center": "Κέντρο",
|
||||
"Char": "Χαρακτήρας",
|
||||
"Collapsed borders": "Συμπτυγμένα περιγράμματα",
|
||||
"Color": "Χρώμα",
|
||||
"Description": "Περιγραφή",
|
||||
"FG Color": "Χρώμα αντικειμένων",
|
||||
"Float": "Float",
|
||||
"Frames": "Frames",
|
||||
"Height": "Ύψος",
|
||||
"How many columns would you like to merge?": "Πόσες στήλες θέλετε να ενώσετε;",
|
||||
"How many rows would you like to merge?": "Πόσες γραμμές θέλετε να ενώσετε;",
|
||||
"Image URL": "URL εικόνας",
|
||||
"Justify": "Πλήρης στοίχηση",
|
||||
"Layout": "Διάταξη",
|
||||
"Left": "Αριστερά",
|
||||
"Margin": "Περιθώριο",
|
||||
"Middle": "Κέντρο",
|
||||
"No rules": "Χωρίς Γραμμές",
|
||||
"No sides": "No sides",
|
||||
"None": "Τίποτα",
|
||||
"Padding": "Εσοχή",
|
||||
"Please click into some cell": "Κάντε κλικ μέσα σε κάποιο κελί",
|
||||
"Right": "Δεξιά",
|
||||
"Row Properties": "Ιδιότητες Γραμμής",
|
||||
"Rules will appear between all rows and columns": "Γραμμές θα εμφανίζονται μεταξύ όλων των γραμμών και στηλών",
|
||||
"Rules will appear between columns only": "Γραμμές θα εμφανίζονται μόνο μεταξύ στηλών",
|
||||
"Rules will appear between rows only": "Γραμμές θα εμφανίζονται μόνο μεταξύ γραμμών",
|
||||
"Rules": "Γραμμές",
|
||||
"Spacing and padding": "Αποστάσεις και εσοχές",
|
||||
"Spacing": "Αποστάσεις",
|
||||
"Summary": "Σύνοψη",
|
||||
"Delete cell": "Διαγραφή κελιού",
|
||||
"Insert cell after": "Εισαγωγή κελιού μετά",
|
||||
"Insert cell before": "Εισαγωγή κελιού πριν",
|
||||
"Merge cells": "Συγχώνευση κελιών",
|
||||
"Cell properties": "Ιδιότητες κελιού",
|
||||
"Split cell": "Διαίρεση κελιού",
|
||||
"Delete column": "Διαγραφή στήλης",
|
||||
"Insert column after": "Εισαγωγή στήλης μετά",
|
||||
"Insert column before": "Εισαγωγή στήλης πριν",
|
||||
"Split column": "Διαίρεση στήλης",
|
||||
"Delete row": "Διαγραφή γραμμής",
|
||||
"Insert row before": "Εισαγωγή γραμμής μετά",
|
||||
"Insert row after": "Εισαγωγή γραμμής πριν",
|
||||
"Row properties": "Ιδιότητες γραμμής",
|
||||
"Split row": "Διαίρεση γραμμής",
|
||||
"Table properties": "Ιδιότητες πίνακα",
|
||||
"Table Properties": "Ιδιότητες πίνακα",
|
||||
"Text align": "Στοίχηση κειμένου",
|
||||
"The bottom side only": "Η κάτω πλευρά μόνο",
|
||||
"The left-hand side only": "Η αριστερή πλευρά μόνο",
|
||||
"The right and left sides only": "Οι δεξιές και αριστερές πλευρές μόνο",
|
||||
"The right-hand side only": "Η δεξιά πλευρά μόνο",
|
||||
"The top and bottom sides only": "Οι πάνω και κάτω πλευρές μόνο",
|
||||
"The top side only": "Η πάνω πλευρά μόνο",
|
||||
"Top": "Πάνω",
|
||||
"Unset color": "Αναίρεση χρώματος",
|
||||
"Vertical align": "Κατακόρυφη στοίχηση",
|
||||
"Width": "Πλάτος",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Δεν μπορεί να διαγραφεί το τελευταίο κελί σε μια γραμμή.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Δεν μπορεί να διαγραφεί η τελευταία στήλη σε ένα πίνακα.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Δεν μπορεί να διαγραφεί η τελευταία γραμμή σε ένα πίνακα.",
|
||||
"percent": "τοις εκατόν",
|
||||
"pixels": "pixels"
|
||||
};
|
||||
68
xinha/plugins/TableOperations/lang/fi.js
Normal file
@@ -0,0 +1,68 @@
|
||||
// I18N constants
|
||||
// LANG: "fi", ENCODING: UTF-8
|
||||
{
|
||||
"Align": "Kohdistus",
|
||||
"All four sides": "Kaikki neljä sivua",
|
||||
"Background": "Tausta",
|
||||
"Baseline": "Takaraja",
|
||||
"Border": "Reuna",
|
||||
"Borders": "Reunat",
|
||||
"Bottom": "Alle",
|
||||
"Style [CSS]": "Tyyli [CSS]",
|
||||
"Caption": "Otsikko",
|
||||
"Cell Properties": "Solun asetukset",
|
||||
"Center": "Keskelle",
|
||||
"Char": "Merkki",
|
||||
"Collapsed borders": "Luhistetut reunat",
|
||||
"Color": "Väri",
|
||||
"Description": "Kuvaus",
|
||||
"FG Color": "FG Väri",
|
||||
"Frames": "Kehykset",
|
||||
"Image URL": "Kuvan osoite",
|
||||
"Layout": "Sommittelu",
|
||||
"Left": "Vasen",
|
||||
"Margin": "Marginaali",
|
||||
"Middle": "Keskelle",
|
||||
"No rules": "Ei viivoja",
|
||||
"No sides": "Ei sivuja",
|
||||
"Padding": "Palstantäyte",
|
||||
"Right": "Oikea",
|
||||
"Row Properties": "Rivin asetukset",
|
||||
"Rules will appear between all rows and columns": "Viivat jokaisen rivin ja sarakkeen välillä",
|
||||
"Rules will appear between columns only": "Viivat ainoastaan sarakkeiden välillä",
|
||||
"Rules will appear between rows only": "Viivat ainoastaan rivien välillä",
|
||||
"Rules": "Viivat",
|
||||
"Spacing": "Palstatila",
|
||||
"Summary": "Yhteenveto",
|
||||
"Delete cell": "Poista solu",
|
||||
"Insert cell after": "Lisää solu perään",
|
||||
"Insert cell before": "Lisää solu ennen",
|
||||
"Merge cells": "Yhdistä solut",
|
||||
"Cell properties": "Solun asetukset",
|
||||
"Split cell": "Jaa solu",
|
||||
"Delete column": "Poista sarake",
|
||||
"Insert column after": "Lisää sarake perään",
|
||||
"Insert column before": "Lisää sarake ennen",
|
||||
"Split column": "Jaa sarake",
|
||||
"Delete row": "Poista rivi",
|
||||
"Insert row before": "Lisää rivi yläpuolelle",
|
||||
"Insert row after": "Lisää rivi alapuolelle",
|
||||
"Row properties": "Rivin asetukset",
|
||||
"Split row": "Jaa rivi",
|
||||
"Table properties": "Taulukon asetukset",
|
||||
"Top": "Ylös",
|
||||
"Table Properties": "Taulukon asetukset",
|
||||
"The bottom side only": "Ainoastaan alapuolelle",
|
||||
"The left-hand side only": "Ainoastaan vasenreuna",
|
||||
"The right and left sides only": "Oikea- ja vasenreuna",
|
||||
"The right-hand side only": "Ainoastaan oikeareuna",
|
||||
"The top and bottom sides only": "Ylä- ja alapuoli.",
|
||||
"The top side only": "Ainoastaan yläpuoli",
|
||||
"Vertical align": "Vertikaali kohdistus",
|
||||
"Width": "Leveys",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Ei voida poistaa viimeistä solua rivistä.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Ei voida poistaa viimeistä saraketta taulusta.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Ei voida poistaa viimeistä riviä taulusta.",
|
||||
"percent": "prosenttia",
|
||||
"pixels": "pikseliä"
|
||||
};
|
||||
78
xinha/plugins/TableOperations/lang/fr.js
Normal file
@@ -0,0 +1,78 @@
|
||||
// I18N constants
|
||||
// LANG: "fr", ENCODING: UTF-8
|
||||
{
|
||||
"Align": "Aligner",
|
||||
"All four sides": "Quatre cotés",
|
||||
"Background": "Arrière plan",
|
||||
"Baseline": "Ligne de base",
|
||||
"Border": "Bordure",
|
||||
"Borders": "Bordures",
|
||||
"Bottom": "Bas",
|
||||
"Style [CSS]": "Style [CSS]",
|
||||
"Caption": "Étiquette",
|
||||
"Cell Properties": "Propriétés de cellule",
|
||||
"Center": "Centre",
|
||||
"Char": "Charactère",
|
||||
"Collapsed borders": "Bordure effondrés",
|
||||
"Color": "Couleur",
|
||||
"Description": "Description",
|
||||
"FG Color": "Couleur de face",
|
||||
"Float": "Flotteur",
|
||||
"Frames": "Vues",
|
||||
"Height": "Largeur",
|
||||
"How many columns would you like to merge?": "Combien de colonnes voulez-vous fusionner?",
|
||||
"How many rows would you like to merge?": "Combien de rangées voulez-vous fusionner?",
|
||||
"Image URL": "URL pour l'image",
|
||||
"Justify": "Justifié",
|
||||
"Layout": "Arrangement",
|
||||
"Left": "Gauche",
|
||||
"Margin": "Marge",
|
||||
"Middle": "Milieu",
|
||||
"No rules": "Aucune règle",
|
||||
"No sides": "Aucun côté",
|
||||
"None": "Aucun",
|
||||
"Padding": "Remplissage",
|
||||
"Please click into some cell": "Cliquer sur une cellule",
|
||||
"Right": "Droit",
|
||||
"Row Properties": "Propriétés de rangée",
|
||||
"Rules will appear between all rows and columns": "Règles entre les rangées et les cellules",
|
||||
"Rules will appear between columns only": "Règles entre les colonnes seulement",
|
||||
"Rules will appear between rows only": "Règles entre les rangées seulement",
|
||||
"Rules": "Les règles",
|
||||
"Spacing and padding": "Espacement et remplissage",
|
||||
"Spacing": "Espacement",
|
||||
"Summary": "Sommaire",
|
||||
"Delete cell": "Supprimer une cellule",
|
||||
"Insert cell after": "Insérer une cellule après",
|
||||
"Insert cell before": "Insérer une cellule avant",
|
||||
"Merge cells": "Fusionner les cellules",
|
||||
"Cell properties": "Cell properties",
|
||||
"Split cell": "Diviser la cellule",
|
||||
"Delete column": "Supprimer la colonne",
|
||||
"Insert column after": "Insérer une colonne après",
|
||||
"Insert column before": "Insérer une colonne avant",
|
||||
"Split column": "Diviser une colonne",
|
||||
"Delete row": "Supprimer une rangée",
|
||||
"Insert row before": "Insérer une rangée avant",
|
||||
"Insert row after": "Insérer une rangée après",
|
||||
"Row properties": "Propriétés de rangée",
|
||||
"Split row": "Diviser la rangée",
|
||||
"Table properties": "Propriétés de table",
|
||||
"Table Properties": "Propriétés de table",
|
||||
"Text align": "Alignement",
|
||||
"The bottom side only": "Côté du bas seulement",
|
||||
"The left-hand side only": "Côté gauche seulement",
|
||||
"The right and left sides only": "Côté gauche et droit seulement",
|
||||
"The right-hand side only": "Côté droit seulement",
|
||||
"The top and bottom sides only": "Côté haut et bas seulement",
|
||||
"The top side only": "Côté haut seulement",
|
||||
"Top": "Haut",
|
||||
"Unset color": "Enlever la couleur",
|
||||
"Vertical align": "Vertical",
|
||||
"Width": "Longeur",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Il est impossible de supprimer la dernière cellule de la rangée.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Il est impossible de supprimer la dernière colonne de la table.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Il est impossible de supprimer la dernière rangée de la table",
|
||||
"percent": "%",
|
||||
"pixels": "pixels"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/he.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "he", ENCODING: UTF-8
|
||||
// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
|
||||
{
|
||||
"Align": "ישור",
|
||||
"All four sides": "כל ארבעת הצדדים",
|
||||
"Background": "רקע",
|
||||
"Baseline": "קו בסיס",
|
||||
"Border": "גבול",
|
||||
"Borders": "גבולות",
|
||||
"Bottom": "תחתון",
|
||||
"Style [CSS]": "סגנון [CSS]",
|
||||
"Caption": "כותרת",
|
||||
"Cell Properties": "מאפייני תא",
|
||||
"Center": "מרכז",
|
||||
"Char": "תו",
|
||||
"Collapsed borders": "גבולות קורסים",
|
||||
"Color": "צבע",
|
||||
"Description": "תיאור",
|
||||
"FG Color": "צבע קידמה",
|
||||
"Float": "מרחף",
|
||||
"Frames": "מסגרות",
|
||||
"Height": "גובה",
|
||||
"How many columns would you like to merge?": "כמה טורים ברצונך למזג?",
|
||||
"How many rows would you like to merge?": "כמה שורות ברצונך למזג?",
|
||||
"Image URL": "URL התמונה",
|
||||
"Justify": "ישור",
|
||||
"Layout": "פריסה",
|
||||
"Left": "שמאל",
|
||||
"Margin": "שוליים",
|
||||
"Middle": "אמצע",
|
||||
"No rules": "ללא קווים",
|
||||
"No sides": "ללא צדדים",
|
||||
"None": "אין",
|
||||
"Padding": "ריווח בשוליים",
|
||||
"Please click into some cell": "אנא לחץ על תא כלשהו",
|
||||
"Right": "ימין",
|
||||
"Row Properties": "מאפייני שורה",
|
||||
"Rules will appear between all rows and columns": "קווים יופיעו בין כל השורות והטורים",
|
||||
"Rules will appear between columns only": "קווים יופיעו בין טורים בלבד",
|
||||
"Rules will appear between rows only": "קווים יופיעו בין שורות בלבד",
|
||||
"Rules": "קווים",
|
||||
"Spacing and padding": "ריווח ושוליים",
|
||||
"Spacing": "ריווח",
|
||||
"Summary": "סיכום",
|
||||
"Delete cell": "מחק תא",
|
||||
"Insert cell after": "הכנס תא אחרי",
|
||||
"Insert cell before": "הכנס תא לפני",
|
||||
"Merge cells": "מזג תאים",
|
||||
"Cell properties": "מאפייני תא",
|
||||
"Split cell": "פצל תא",
|
||||
"Delete column": "מחק טור",
|
||||
"Insert column after": "הכנס טור אחרי",
|
||||
"Insert column before": "הכנס טור לפני",
|
||||
"Split column": "פצל טור",
|
||||
"Delete row": "מחק שורה",
|
||||
"Insert row before": "הכנס שורה לפני",
|
||||
"Insert row after": "הכנס שורה אחרי",
|
||||
"Row properties": "מאפייני שורה",
|
||||
"Split row": "פצל שורה",
|
||||
"Table properties": "מאפייני טבלה",
|
||||
"Table Properties": "מאפייני טבלה",
|
||||
"Text align": "ישור טקסט",
|
||||
"The bottom side only": "הצד התחתון בלבד",
|
||||
"The left-hand side only": "הצד השמאלי בלבד",
|
||||
"The right and left sides only": "הצדדים הימני והשמאלי בלבד",
|
||||
"The right-hand side only": "הצד הימני בלבד",
|
||||
"The top and bottom sides only": "הצדדים העליון והתחתון בלבד",
|
||||
"The top side only": "הצד העליון בלבד",
|
||||
"Top": "עליון",
|
||||
"Unset color": "צבע לא נבחר",
|
||||
"Vertical align": "יישור אנכי",
|
||||
"Width": "רוחב",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea מסרב בפחדנות למחוק את התא האחרון בשורה.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea מסרב בפחדנות למחוק את הטור האחרון בטבלה.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea מסרב בפחדנות למחוק את השורה האחרונה בטבלה.",
|
||||
"percent": "אחוז",
|
||||
"pixels": "פיקסלים"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/it.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "it", ENCODING: UTF-8
|
||||
// Author: Fabio Rotondo <fabio@rotondo.it>
|
||||
{
|
||||
"Align": "Allinea",
|
||||
"All four sides": "Tutti e quattro i lati",
|
||||
"Background": "Sfondo",
|
||||
"Baseline": "Allineamento",
|
||||
"Border": "Bordo",
|
||||
"Borders": "Bordi",
|
||||
"Bottom": "Basso",
|
||||
"Style [CSS]": "Stile [CSS]",
|
||||
"Caption": "Titolo",
|
||||
"Cell Properties": "Proprietà della Cella",
|
||||
"Center": "Centra",
|
||||
"Char": "Carattere",
|
||||
"Collapsed borders": "Bordi chiusi",
|
||||
"Color": "Colore",
|
||||
"Description": "Descrizione",
|
||||
"FG Color": "Colore Principale",
|
||||
"Float": "Fluttuante",
|
||||
"Frames": "Frames",
|
||||
"Height": "Altezza",
|
||||
"How many columns would you like to merge?": "Quante colonne vuoi unire?",
|
||||
"How many rows would you like to merge?": "Quante righe vuoi unire?",
|
||||
"Image URL": "URL dell'Immagine",
|
||||
"Justify": "Justifica",
|
||||
"Layout": "Layout",
|
||||
"Left": "Sinistra",
|
||||
"Margin": "Margine",
|
||||
"Middle": "Centrale",
|
||||
"No rules": "Nessun righello",
|
||||
"No sides": "Nessun lato",
|
||||
"None": "Nulla",
|
||||
"Padding": "Padding",
|
||||
"Please click into some cell": "Per favore, clicca in una cella",
|
||||
"Right": "Destra",
|
||||
"Row Properties": "Proprietà della Riga",
|
||||
"Rules will appear between all rows and columns": "Le linee appariranno tra tutte le righe e colonne",
|
||||
"Rules will appear between columns only": "Le linee appariranno solo tra le colonne",
|
||||
"Rules will appear between rows only": "Le linee appariranno solo tra le righe",
|
||||
"Rules": "Linee",
|
||||
"Spacing and padding": "Spaziatura e Padding",
|
||||
"Spacing": "Spaziatura",
|
||||
"Summary": "Sommario",
|
||||
"Delete cell": "Cancella cella",
|
||||
"Insert cell after": "Inserisci cella dopo",
|
||||
"Insert cell before": "Inserisci cella prima",
|
||||
"Merge cells": "Unisci celle",
|
||||
"Cell properties": "Proprietà della cella",
|
||||
"Split cell": "Dividi cella",
|
||||
"Delete column": "Cancella colonna",
|
||||
"Insert column after": "Inserisci colonna dopo",
|
||||
"Insert column before": "Inserisci colonna prima",
|
||||
"Split column": "Dividi colonna",
|
||||
"Delete row": "Cancella riga",
|
||||
"Insert row before": "Inserisci riga prima",
|
||||
"Insert row after": "Inserisci riga dopo",
|
||||
"Row properties": "Proprietà della riga",
|
||||
"Split row": "Dividi riga",
|
||||
"Table properties": "Proprietà della Tabella",
|
||||
"Table Properties": "Proprietà della Tabella",
|
||||
"Text align": "Allineamento del Testo",
|
||||
"The bottom side only": "Solo la parte inferiore",
|
||||
"The left-hand side only": "Solo la parte sinistra",
|
||||
"The right and left sides only": "Solo destra e sinistra",
|
||||
"The right-hand side only": "Solo la parte destra",
|
||||
"The top and bottom sides only": "Solo sopra e sotto",
|
||||
"The top side only": "Solo la parte sopra",
|
||||
"Top": "Alto",
|
||||
"Unset color": "Rimuovi colore",
|
||||
"Vertical align": "Allineamento verticale",
|
||||
"Width": "Larghezza",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea si rifiuta codardamente di cancellare l'ultima cella nella riga.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea si rifiuta codardamente di cancellare l'ultima colonna nella tabella.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea si rifiuta codardamente di cancellare l'ultima riga nella tabella.",
|
||||
"percent": "percento",
|
||||
"pixels": "pixels"
|
||||
};
|
||||
83
xinha/plugins/TableOperations/lang/ja.js
Normal file
@@ -0,0 +1,83 @@
|
||||
// I18N constants
|
||||
// LANG: "ja", ENCODING: UTF-8
|
||||
{
|
||||
"Align": "行揃え",
|
||||
"All four sides": "四辺すべて",
|
||||
"Background": "背景",
|
||||
"Baseline": "ベースライン",
|
||||
"Border": "境界線",
|
||||
"Borders": "境界線",
|
||||
"Bottom": "下",
|
||||
"Style [CSS]": "スタイル [CSS]",
|
||||
"Caption": "キャプション",
|
||||
"Cell Properties": "セルプロパティ",
|
||||
"Center": "中央",
|
||||
"Char": "文字",
|
||||
"Collapsed borders": "隣接境界線を重ねる",
|
||||
"Color": "色",
|
||||
"Description": "説明",
|
||||
"FG Color": "前景色",
|
||||
"Float": "フロート",
|
||||
"Frames": "外枠",
|
||||
"Height": "高さ",
|
||||
"How many columns would you like to merge?": "何列結合しますか?",
|
||||
"How many rows would you like to merge?": "何行結合しますか?",
|
||||
"Image URL": "画像URL",
|
||||
"Justify": "両端揃え",
|
||||
"Layout": "レイアウト",
|
||||
"Left": "左",
|
||||
"Margin": "間隔",
|
||||
"Middle": "中",
|
||||
"No rules": "区切りなし",
|
||||
"No sides": "外枠なし",
|
||||
"None": "なし",
|
||||
"Padding": "余白",
|
||||
"Please click into some cell": "いずれかのセル内をクリックしてください",
|
||||
"Please select the cells you want to merge.": "結合したいセルを複数選択してください。",
|
||||
"Right": "右",
|
||||
"Row Properties": "行プロパティ",
|
||||
"Rules will appear between all rows and columns": "すべての行間と列間に線を引く",
|
||||
"Rules will appear between columns only": "列の間にのみ線を引く",
|
||||
"Rules will appear between rows only": "行の間にのみ線を引く",
|
||||
"Rules": "区切り",
|
||||
"Spacing and padding": "間隔と余白",
|
||||
"Spacing": "間隔",
|
||||
"Summary": "要約",
|
||||
"Delete cell": "セルの削除",
|
||||
"Insert cell after": "次にセルを挿入",
|
||||
"Insert cell before": "前にセルを挿入",
|
||||
"Merge cells": "セルの結合",
|
||||
"Cell properties": "セルのプロパティ",
|
||||
"Split cell": "セルの分割",
|
||||
"Delete column": "列の削除",
|
||||
"Insert column after": "右に列を挿入",
|
||||
"Insert column before": "左に列を挿入",
|
||||
"Split column": "列の分割",
|
||||
"Delete row": "行の削除",
|
||||
"Insert row before": "上に行を挿入",
|
||||
"Insert row after": "下に行を挿入",
|
||||
"Row properties": "行のプロパティ",
|
||||
"Split row": "行の分割",
|
||||
"Table properties": "テーブルのプロパティ",
|
||||
"Table Properties": "テーブルのプロパティ",
|
||||
"Text align": "水平位置",
|
||||
"The bottom side only": "下辺のみ",
|
||||
"The left-hand side only": "左辺のみ",
|
||||
"The right and left sides only": "左右辺のみ",
|
||||
"The right-hand side only": "右辺のみ",
|
||||
"The top and bottom sides only": "上下辺のみ",
|
||||
"The top side only": "上辺のみ",
|
||||
"Top": "上",
|
||||
"Unset color": "色指定解除",
|
||||
"Vertical align": "垂直位置",
|
||||
"Width": "幅",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "安全のために、行にひとつだけ残っている列の削除は拒否されます。",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "安全のために、テーブルにひとつだけ残っている列の削除は拒否されます。",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "安全のために、テーブルにひとつだけ残っている行の削除は拒否されます。",
|
||||
"percent": "パーセント",
|
||||
"pixels": "ピクセル",
|
||||
"OK": "OK",
|
||||
"Cancel": "中止",
|
||||
"CSS Style": "CSSスタイル",
|
||||
"Frame and borders": "外枠と境界線"
|
||||
};
|
||||
80
xinha/plugins/TableOperations/lang/nb.js
Normal file
@@ -0,0 +1,80 @@
|
||||
// I18N constants
|
||||
// LANG: "nb", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
||||
// translated into Norwegian: ses@online.no 11.11.03
|
||||
{
|
||||
"Align": "Juster",
|
||||
"All four sides": "Alle fire sider",
|
||||
"Background": "Bakgrund",
|
||||
"Baseline": "Grunnlinje",
|
||||
"Border": "Kantlinje",
|
||||
"Borders": "Kantlinjer",
|
||||
"Bottom": "Bunn",
|
||||
"Style [CSS]": "Stil [CSS]",
|
||||
"Caption": "Overskrift",
|
||||
"Cell Properties": "Celleegenskaper",
|
||||
"Center": "Sentrer",
|
||||
"Char": "Tegn",
|
||||
"Collapsed borders": "Fjern kantlinjer",
|
||||
"Color": "Farge",
|
||||
"Description": "Beskrivelse",
|
||||
"FG Color": "FG farge",
|
||||
"Float": "Flytende",
|
||||
"Frames": "rammer",
|
||||
"Height": "Høyde",
|
||||
"How many columns would you like to merge?": "Hvor mange kolonner vil du slå sammen?",
|
||||
"How many rows would you like to merge?": "Hvor mange rader vil du slå sammen?",
|
||||
"Image URL": "Bildets URL",
|
||||
"Justify": "Juster",
|
||||
"Layout": "Layout",
|
||||
"Left": "Venstre",
|
||||
"Margin": "Marg",
|
||||
"Middle": "Midten",
|
||||
"No rules": "Ingen linjal",
|
||||
"No sides": "Ingen sider",
|
||||
"None": "Ingen",
|
||||
"Padding": "Luft",
|
||||
"Please click into some cell": "Klikk i en eller annen celle",
|
||||
"Right": "Høyre",
|
||||
"Row Properties": "Egenskaper for rad",
|
||||
"Rules will appear between all rows and columns": "Linjer vil synes mellom alle rader og kolonner",
|
||||
"Rules will appear between columns only": "Linjer vil synes kun mellom kolonner",
|
||||
"Rules will appear between rows only": "Linjer vil synes kun mellom rader",
|
||||
"Rules": "Linjer",
|
||||
"Spacing and padding": "Luft",
|
||||
"Spacing": "Luft",
|
||||
"Summary": "Sammendrag",
|
||||
"Delete cell": "Slett celle",
|
||||
"Insert cell after": "Sett inn celle etter",
|
||||
"Insert cell before": "Sett inn celle foran",
|
||||
"Merge cells": "Slå sammen celler",
|
||||
"Cell properties": "Egenskaper for celle",
|
||||
"Split cell": "Del celle",
|
||||
"Delete column": "Slett kolonne",
|
||||
"Insert column after": "Skyt inn kolonne etter",
|
||||
"Insert column before": "Skyt inn kolonne før",
|
||||
"Split column": "Del kolonne",
|
||||
"Delete row": "Slett rad",
|
||||
"Insert row before": "Skyt inn rad foran",
|
||||
"Insert row after": "Skyt inn rad etter",
|
||||
"Row properties": "Egenskaper for rad",
|
||||
"Split row": "Del rad",
|
||||
"Table properties": "Tabellegenskaper",
|
||||
"Table Properties": "Tabellegenskaper",
|
||||
"Text align": "Juster tekst",
|
||||
"The bottom side only": "Bunnen kun",
|
||||
"The left-hand side only": "Venstresiden kun",
|
||||
"The right and left sides only": "Høyre- og venstresiden kun",
|
||||
"The right-hand side only": "Høyresiden kun",
|
||||
"The top and bottom sides only": "The top and bottom sides only",
|
||||
"The top side only": "Overkanten kun",
|
||||
"Top": "Overkant",
|
||||
"Unset color": "Ikke-bestemt farge",
|
||||
"Vertical align": "Vertikal justering",
|
||||
"Width": "Bredde",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea nekter å slette siste cellen i tabellen.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea nekter å slette siste kolonnen i tabellen.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea nekter å slette siste raden i tabellen.",
|
||||
"percent": "prosent",
|
||||
"pixels": "billedpunkter"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/nl.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "nl", ENCODING: UTF-8
|
||||
// Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl
|
||||
{
|
||||
"Align": "Uitlijning",
|
||||
"All four sides": "Alle 4 zijden",
|
||||
"Background": "Achtergrond",
|
||||
"Baseline": "Basis",
|
||||
"Border": "Rand",
|
||||
"Borders": "Randen",
|
||||
"Bottom": "Onder",
|
||||
"Style [CSS]": "CSS Style",
|
||||
"Caption": "Opmerking",
|
||||
"Cell Properties": "Celeigenschappen",
|
||||
"Center": "Centreren",
|
||||
"Char": "Karakter",
|
||||
"Collapsed borders": "Geen randen",
|
||||
"Color": "Kleur",
|
||||
"Description": "Omschrijving",
|
||||
"FG Color": "Voorgrond",
|
||||
"Float": "Zwevend",
|
||||
"Frames": "Frames",
|
||||
"Height": "Hoogte",
|
||||
"How many columns would you like to merge?": "Hoeveel kolommen wilt u samenvoegen?",
|
||||
"How many rows would you like to merge?": "Hoeveel rijen wilt u samenvoegen?",
|
||||
"Image URL": "Afbeelding URL",
|
||||
"Justify": "Uitvullen",
|
||||
"Layout": "Opmaak",
|
||||
"Left": "Links",
|
||||
"Margin": "Marge",
|
||||
"Middle": "Midden",
|
||||
"No rules": "Geen regels",
|
||||
"No sides": "Geen zijlijnen",
|
||||
"None": "Geen",
|
||||
"Padding": "Celmarge",
|
||||
"Please click into some cell": "Klik in een cel a.u.b.",
|
||||
"Right": "Rechts",
|
||||
"Row Properties": "Rijeigenschappen",
|
||||
"Rules will appear between all rows and columns": "Regels verschijnen tussen alle rijen en kolommen",
|
||||
"Rules will appear between columns only": "Regels verschijnen enkel tussen de kolommen",
|
||||
"Rules will appear between rows only": "Regels verschijnen enkel tussen de rijen",
|
||||
"Rules": "Regels",
|
||||
"Spacing and padding": "Celmarge en afstand tussen cellen",
|
||||
"Spacing": "marge",
|
||||
"Summary": "Overzicht",
|
||||
"Delete cell": "Cel verwijderen",
|
||||
"Insert cell after": "Voeg cel toe achter",
|
||||
"Insert cell before": "Voeg cel toe voor",
|
||||
"Merge cells": "Cellen samenvoegen",
|
||||
"Cell properties": "Celeigenschappen",
|
||||
"Split cell": "Cel splitsen",
|
||||
"Delete column": "Kolom verwijderen",
|
||||
"Insert column after": "Kolom invoegen achter",
|
||||
"Insert column before": "Kolom invoegen voor",
|
||||
"Split column": "Kolom splitsen",
|
||||
"Delete row": "Rij verwijderen",
|
||||
"Insert row before": "Rij invoegen boven",
|
||||
"Insert row after": "Rij invoegen onder",
|
||||
"Row properties": "Rij eigenschappen",
|
||||
"Split row": "Rij splitsen",
|
||||
"Table properties": "Tabel eigenschappen",
|
||||
"Table Properties": "Tabel eigenschappen",
|
||||
"Text align": "Text uitlijning",
|
||||
"The bottom side only": "Enkel aan de onderkant",
|
||||
"The left-hand side only": "Enkel aan de linkerkant",
|
||||
"The right and left sides only": "Enkel aan de linker en rechterkant",
|
||||
"The right-hand side only": "Enkel aan de rechterkant",
|
||||
"The top and bottom sides only": "Enkel aan de bovenen onderkant",
|
||||
"The top side only": "Enkel aan de bovenkant",
|
||||
"Top": "Boven",
|
||||
"Unset color": "Wis kleur",
|
||||
"Vertical align": "Vertikale uitlijning",
|
||||
"Width": "Breedte",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea kan de laatste cel in deze tabel niet verwijderen.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea kan de laatste kolom in deze tabel niet verwijderen.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea kan de laatste rij in deze tabel niet verwijderen.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixels"
|
||||
};
|
||||
83
xinha/plugins/TableOperations/lang/pl.js
Normal file
@@ -0,0 +1,83 @@
|
||||
// I18N constants
|
||||
// LANG: "pl", ENCODING: UTF-8
|
||||
// translated: Krzysztof Kotowicz koto@webworkers.pl
|
||||
{
|
||||
"Align": "Wyrównanie",
|
||||
"All four sides": "Wszystkie 4 strony",
|
||||
"Background": "Tło",
|
||||
"Baseline": "Linia bazowa",
|
||||
"Border": "Ramka",
|
||||
"Borders": "Ramki",
|
||||
"Bottom": "Dół",
|
||||
"Style [CSS]": "Styl [CSS]",
|
||||
"CSS Style": "Styl CSS",
|
||||
"Caption": "Podpis",
|
||||
"Cell Properties": "Właściwości komórki",
|
||||
"Center": "Środek",
|
||||
"Char": "Znak",
|
||||
"Collapsed borders": "Ramki skolapsowane",
|
||||
"Color": "Kolor",
|
||||
"Description": "Opis",
|
||||
"FG Color": "Kolor czcionek",
|
||||
"Float": "Opływanie",
|
||||
"Frames": "Ramki zewn.",
|
||||
"Frame and borders": "Obramowania",
|
||||
"Height": "Wysokość",
|
||||
"How many columns would you like to merge?": "Ile kolumn chcesz scalić?",
|
||||
"How many rows would you like to merge?": "Ile wierszy chcesz scalić?",
|
||||
"Image URL": "URL obrazka",
|
||||
"Justify": "Wyjustuj",
|
||||
"Layout": "Layout",
|
||||
"Left": "Lewo",
|
||||
"Margin": "Margines",
|
||||
"Middle": "Środek",
|
||||
"No rules": "Bez wewnętrzych",
|
||||
"No sides": "Bez ramek",
|
||||
"None": "Brak",
|
||||
"Padding": "Wcięcia",
|
||||
"Please click into some cell": "Kliknij w jakąś komórkę",
|
||||
"Right": "Prawo",
|
||||
"Row Properties": "Właściwości wiersza",
|
||||
"Rules will appear between all rows and columns": "Linie będą widoczne pomiędzy kolumnami i wierszami",
|
||||
"Rules will appear between columns only": "Linie będą widoczne tylko pomiędzy kolumnami",
|
||||
"Rules will appear between rows only": "Linie będą widoczne tylko pomiędzy wierszami",
|
||||
"Rules": "Linie wewn.",
|
||||
"Spacing and padding": "Spacjowanie",
|
||||
"Spacing": "Odstęp",
|
||||
"Summary": "Podsumowanie",
|
||||
"Delete cell": "Usuń komórkę",
|
||||
"Insert cell after": "Wstaw komórkę po",
|
||||
"Insert cell before": "Wstaw komórkę przed",
|
||||
"Merge cells": "Scal komórki",
|
||||
"Cell properties": "Właściwości komórki",
|
||||
"Split cell": "Rozdziel komórkę",
|
||||
"Delete column": "Usuń kolumnę",
|
||||
"Insert column after": "Wstaw kolumnę po",
|
||||
"Insert column before": "Wstaw kolumnę przed",
|
||||
"Split column": "Rozdziel kolumnę",
|
||||
"Delete row": "Usuń wiersz",
|
||||
"Insert row before": "Wstaw wiersz przed",
|
||||
"Insert row after": "Wstaw wiersz po",
|
||||
"Row properties": "Właściwości wiersza",
|
||||
"Split row": "Rozdziel wiersz",
|
||||
"Table properties": "Właściwości tabeli",
|
||||
"Table Properties": "Właściwości tabeli",
|
||||
"Text align": "Wyr. w poziomie",
|
||||
"The bottom side only": "Tylko dolna linia",
|
||||
"The left-hand side only": "Tylko lewa linia",
|
||||
"The right and left sides only": "Lewa i prawa linia",
|
||||
"The right-hand side only": "Tylko prawa linia",
|
||||
"The top and bottom sides only": "Górna i dolna linia",
|
||||
"The top side only": "Tylko górna linia",
|
||||
"Top": "Góra",
|
||||
"Unset color": "Usuń kolor",
|
||||
"Vertical align": "Wyr. w pionie",
|
||||
"Width": "Szerokość",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Nie możesz skasować ostatniej komórki w wierszu.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Nie możesz skasować ostatniej kolumny w tabeli.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Nie możesz skasować ostatniego wiersza w tabeli.",
|
||||
"percent": "%",
|
||||
"pixels": "pikseli",
|
||||
"OK": "OK",
|
||||
"Cancel": "Anuluj"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/ro.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "ro", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
{
|
||||
"Align": "Aliniere",
|
||||
"All four sides": "Toate părţile",
|
||||
"Background": "Fundal",
|
||||
"Baseline": "Baseline",
|
||||
"Border": "Chenar",
|
||||
"Borders": "Chenare",
|
||||
"Bottom": "Jos",
|
||||
"Style [CSS]": "Stil [CSS]",
|
||||
"Caption": "Titlu de tabel",
|
||||
"Cell Properties": "Proprietăţile celulei",
|
||||
"Center": "Centru",
|
||||
"Char": "Caracter",
|
||||
"Collapsed borders": "Chenare asimilate",
|
||||
"Color": "Culoare",
|
||||
"Description": "Descriere",
|
||||
"FG Color": "Culoare text",
|
||||
"Float": "Poziţie",
|
||||
"Frames": "Chenare",
|
||||
"Height": "Înălţimea",
|
||||
"How many columns would you like to merge?": "Câte coloane vrei să uneşti?",
|
||||
"How many rows would you like to merge?": "Câte linii vrei să uneşti?",
|
||||
"Image URL": "URL-ul imaginii",
|
||||
"Justify": "Justify",
|
||||
"Layout": "Aranjament",
|
||||
"Left": "Stânga",
|
||||
"Margin": "Margine",
|
||||
"Middle": "Mijloc",
|
||||
"No rules": "Fără linii",
|
||||
"No sides": "Fără părţi",
|
||||
"None": "Nimic",
|
||||
"Padding": "Spaţiere",
|
||||
"Please click into some cell": "Vă rog să daţi click într-o celulă",
|
||||
"Right": "Dreapta",
|
||||
"Row Properties": "Proprietăţile liniei",
|
||||
"Rules will appear between all rows and columns": "Vor apărea linii între toate rândurile şi coloanele",
|
||||
"Rules will appear between columns only": "Vor apărea doar linii verticale",
|
||||
"Rules will appear between rows only": "Vor apărea doar linii orizontale",
|
||||
"Rules": "Linii",
|
||||
"Spacing and padding": "Spaţierea",
|
||||
"Spacing": "Între celule",
|
||||
"Summary": "Sumar",
|
||||
"Delete cell": "Şterge celula",
|
||||
"Insert cell after": "Inserează o celulă la dreapta",
|
||||
"Insert cell before": "Inserează o celulă la stânga",
|
||||
"Merge cells": "Uneşte celulele",
|
||||
"Cell properties": "Proprietăţile celulei",
|
||||
"Split cell": "Împarte celula",
|
||||
"Delete column": "Şterge coloana",
|
||||
"Insert column after": "Inserează o coloană la dreapta",
|
||||
"Insert column before": "Inserează o coloană la stânga",
|
||||
"Split column": "Împarte coloana",
|
||||
"Delete row": "Şterge rândul",
|
||||
"Insert row before": "Inserează un rând înainte",
|
||||
"Insert row after": "Inserează un rând după",
|
||||
"Row properties": "Proprietăţile rândului",
|
||||
"Split row": "Împarte rândul",
|
||||
"Table properties": "Proprietăţile tabelei",
|
||||
"Table Properties": "Proprietăţile tabelei",
|
||||
"Text align": "Aliniere",
|
||||
"The bottom side only": "Doar partea de jos",
|
||||
"The left-hand side only": "Doar partea din stânga",
|
||||
"The right and left sides only": "Partea din stânga şi cea din dreapta",
|
||||
"The right-hand side only": "Doar partea din dreapta",
|
||||
"The top and bottom sides only": "Partea de sus si cea de jos",
|
||||
"The top side only": "Doar partea de sus",
|
||||
"Top": "Sus",
|
||||
"Unset color": "Dezactivează culoarea",
|
||||
"Vertical align": "Aliniere pe verticală",
|
||||
"Width": "Lăţime",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea refuză cu laşitate să şteargă ultima celulă din rând.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea refuză cu laşitate să şteargă ultima coloamă din tabela.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea refuză cu laşitate să şteargă ultimul rând din tabela.",
|
||||
"percent": "procente",
|
||||
"pixels": "pixeli"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/ru.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "ru", ENCODING: UTF-8
|
||||
// Author: Andrei Blagorazumov, a@fnr.ru
|
||||
{
|
||||
"Align": "Выравнивание",
|
||||
"All four sides": "Все 4 стороны",
|
||||
"Background": "Фон",
|
||||
"Baseline": "Базовая линия",
|
||||
"Border": "Рамка",
|
||||
"Borders": "Рамки",
|
||||
"Bottom": "Низ",
|
||||
"Style [CSS]": "Стиль [CSS]",
|
||||
"Caption": "Заголовок",
|
||||
"Cell Properties": "Свойства ячеек",
|
||||
"Center": "Центр",
|
||||
"Char": "Символ",
|
||||
"Collapsed borders": "Накладывающиеся рамки",
|
||||
"Color": "Цвет",
|
||||
"Description": "Описание",
|
||||
"FG Color": "Цвет переднего плана",
|
||||
"Float": "Обтекание",
|
||||
"Frames": "Фреймы",
|
||||
"Height": "Высота",
|
||||
"How many columns would you like to merge?": "Сколько столбцов вы хотите объединить?",
|
||||
"How many rows would you like to merge?": "Сколько строк вы хотите объединить?",
|
||||
"Image URL": "URL картинки",
|
||||
"Justify": "По правому краю",
|
||||
"Layout": "Раскладка",
|
||||
"Left": "Лево",
|
||||
"Margin": "Отступ",
|
||||
"Middle": "Середина",
|
||||
"No rules": "Нет линейки",
|
||||
"No sides": "Нет сторон",
|
||||
"None": "Ничего",
|
||||
"Padding": "Поля",
|
||||
"Please click into some cell": "Пожалуйста щелкните в некоторые ячейки",
|
||||
"Right": "Право",
|
||||
"Row Properties": "Свойства строк",
|
||||
"Rules will appear between all rows and columns": "Линейки появятся между всеми строками и столбцами",
|
||||
"Rules will appear between columns only": "Линейки появятся только между столбцами",
|
||||
"Rules will appear between rows only": "Линейки появятся только между строками",
|
||||
"Rules": "Линейки",
|
||||
"Spacing and padding": "Поля и отступы",
|
||||
"Spacing": "Отступы",
|
||||
"Summary": "Сводка",
|
||||
"Delete cell": "Удалить ячейку",
|
||||
"Insert cell after": "Вставить ячейку после",
|
||||
"Insert cell before": "Вставить ячейку до",
|
||||
"Merge cells": "Объединить ячейки",
|
||||
"Cell properties": "Свойства ячеек",
|
||||
"Split cell": "Разделить ячейку",
|
||||
"Delete column": "Удалить столбец",
|
||||
"Insert column after": "Вставить столбец после",
|
||||
"Insert column before": "Вставить столбец до",
|
||||
"Split column": "Разделить столбец",
|
||||
"Delete row": "Удалить строку",
|
||||
"Insert row before": "Вставить строку до",
|
||||
"Insert row after": "Вставить строку после",
|
||||
"Row properties": "Свойства строки",
|
||||
"Split row": "Разделить строку",
|
||||
"Table properties": "Свойства таблиц",
|
||||
"Table Properties": "Свойства таблиц",
|
||||
"Text align": "Выравнивание теста",
|
||||
"The bottom side only": "Только нижний край",
|
||||
"The left-hand side only": "Только левый край",
|
||||
"The right and left sides only": "Только левый и правый край",
|
||||
"The right-hand side only": "Только правый край",
|
||||
"The top and bottom sides only": "Только верхний и нижний край",
|
||||
"The top side only": "Только верхний край",
|
||||
"Top": "Верх",
|
||||
"Unset color": "Отменить цвет",
|
||||
"Vertical align": "Вертикальное выравнивание",
|
||||
"Width": "Ширина",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "HTMLArea отказалась удалять последнюю ячейку в строке.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "HTMLArea отказалась удалять последний столбец в таблице.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea отказалась удалять последнюю строку в таблице.",
|
||||
"percent": "процентов",
|
||||
"pixels": "пикселей"
|
||||
};
|
||||
79
xinha/plugins/TableOperations/lang/sv.js
Normal file
@@ -0,0 +1,79 @@
|
||||
// I18N constants
|
||||
// LANG: "sv" (Swedish), ENCODING: UTF-8
|
||||
// translated into Swedish: Erik Dalén, <dalen@jpl.se>
|
||||
{
|
||||
"Align": "Justera",
|
||||
"All four sides": "Alla fyra sidor",
|
||||
"Background": "Bakgrund",
|
||||
"Baseline": "Baslinje",
|
||||
"Border": "Kantlinje",
|
||||
"Borders": "Kantlinjer",
|
||||
"Bottom": "Botten",
|
||||
"Style [CSS]": "Stil [CSS]",
|
||||
"Caption": "Överskrift",
|
||||
"Cell Properties": "Cellegenskaper",
|
||||
"Center": "Centrera",
|
||||
"Char": "Tecken",
|
||||
"Collapsed borders": "Osynliga kantlinjer",
|
||||
"Color": "Färg",
|
||||
"Description": "Beskrivning",
|
||||
"FG Color": "Förgrundsfärg",
|
||||
"Float": "Flytande",
|
||||
"Frames": "ramar",
|
||||
"Height": "Höjd",
|
||||
"How many columns would you like to merge?": "Hur många kolumner vill du slå samman?",
|
||||
"How many rows would you like to merge?": "Hur många rader vill du slå samman?",
|
||||
"Image URL": "Bildens URL",
|
||||
"Justify": "Justera",
|
||||
"Layout": "Layout",
|
||||
"Left": "Venster",
|
||||
"Margin": "Marginal",
|
||||
"Middle": "Mitten",
|
||||
"No rules": "Ingen linjal",
|
||||
"No sides": "Inga sidor",
|
||||
"None": "Ingen",
|
||||
"Padding": "Luft",
|
||||
"Please click into some cell": "Klicka i valfri cell",
|
||||
"Right": "Höger",
|
||||
"Row Properties": "Egenskaper for rad",
|
||||
"Rules will appear between all rows and columns": "Linjaler kommer att synas mellan alla rader och kolumner",
|
||||
"Rules will appear between columns only": "Linjaler kommer enbart synas mellan kolumner",
|
||||
"Rules will appear between rows only": "Linjaler kommer enbart synas mellan rader",
|
||||
"Rules": "Linjaler",
|
||||
"Spacing and padding": "Mellanrum och luft",
|
||||
"Spacing": "Mellanrum",
|
||||
"Summary": "Sammandrag",
|
||||
"Delete cell": "Radera cell",
|
||||
"Insert cell after": "Infoga cell efter",
|
||||
"Insert cell before": "Infoga cell före",
|
||||
"Merge cells": "Slå samman celler",
|
||||
"Cell properties": "Egenskaper for cell",
|
||||
"Split cell": "Dela cell",
|
||||
"Delete column": "Radera kolumn",
|
||||
"Insert column after": "Infoga kolumn efter",
|
||||
"Insert column before": "Infoga kolumn före",
|
||||
"Split column": "Dela kolumn",
|
||||
"Delete row": "Radera rad",
|
||||
"Insert row before": "Infoga rad före",
|
||||
"Insert row after": "Infoga rad efter",
|
||||
"Row properties": "Egenskaper för rad",
|
||||
"Split row": "Dela rad",
|
||||
"Table properties": "Tabellegenskaper",
|
||||
"Table Properties": "Tabellegenskaper",
|
||||
"Text align": "Justera text",
|
||||
"The bottom side only": "Nederkanten enbart",
|
||||
"The left-hand side only": "Vänstersidan enbart",
|
||||
"The right and left sides only": "Höger- och vänstersidan enbart",
|
||||
"The right-hand side only": "Högersidan enbart",
|
||||
"The top and bottom sides only": "Över- och nederkanten enbart",
|
||||
"The top side only": "Överkanten enbart",
|
||||
"Top": "Överkant",
|
||||
"Unset color": "Obestämd färg",
|
||||
"Vertical align": "Vertikal justering",
|
||||
"Width": "Bredd",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Xinha nekar att radera sista cellen i tabellen.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Xinha nekar att radera sista kolumnen i tabellen.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Xinha nekar att radera sista raden i tabellen.",
|
||||
"percent": "procent",
|
||||
"pixels": "bildpunkter"
|
||||
};
|
||||
65
xinha/plugins/TableOperations/popups/merge_cells.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html style="width: 400px; height: 150px;">
|
||||
|
||||
<head>
|
||||
<title>Merge Cells</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
|
||||
<script type="text/javascript" src="../../../popups/popup.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function Init() {
|
||||
window.resizeTo(400,170);
|
||||
__dlg_init();
|
||||
document.getElementById("f_cols").focus();
|
||||
}
|
||||
|
||||
function onOK() {
|
||||
var param = new Object();
|
||||
param["f_cols"] = document.getElementById("f_cols").value;
|
||||
param["f_rows"] = document.getElementById("f_rows").value;
|
||||
__dlg_close(param);
|
||||
return false;
|
||||
}
|
||||
|
||||
function onCancel() {
|
||||
__dlg_close(null);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="Init()">
|
||||
<form action="" method="get">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="title">Merge Cells</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
Merge current cell with:
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" width="30%"><input type="text" name="cols" value="0" id="f_cols" size="4" title="Columns" /></td>
|
||||
<td width="70%">Cells to the right, and</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><input type="text" name="rows" value="0" id="f_rows" size="4" title="Rows" /></td>
|
||||
<td>Cells down</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<hr />
|
||||
<button type="button" name="ok" onclick="return onOK();">OK</button>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
893
xinha/plugins/TableOperations/table-operations.js
Normal file
@@ -0,0 +1,893 @@
|
||||
function TableOperations(_1){
|
||||
this.editor=_1;
|
||||
var _2=_1.config;
|
||||
var bl=TableOperations.btnList;
|
||||
var _4=this;
|
||||
_2.removeToolbarElement(" inserttable toggleborders ");
|
||||
var _5=["linebreak","inserttable","toggleborders"];
|
||||
for(var i=0;i<bl.length;++i){
|
||||
var _7=bl[i];
|
||||
if(!_7){
|
||||
_5.push("separator");
|
||||
}else{
|
||||
var id="TO-"+_7[0];
|
||||
_2.registerButton(id,HTMLArea._lc(_7[2],"TableOperations"),_1.imgURL(_7[0]+".gif","TableOperations"),false,function(_9,id){
|
||||
_4.buttonPress(_9,id);
|
||||
},_7[1]);
|
||||
_5.push(id);
|
||||
}
|
||||
}
|
||||
_2.toolbar.push(_5);
|
||||
if(typeof PopupWin=="undefined"){
|
||||
Xinha._loadback(_editor_url+"modules/Dialogs/popupwin.js");
|
||||
}
|
||||
}
|
||||
TableOperations._pluginInfo={name:"TableOperations",version:"1.0",developer:"Mihai Bazon",developer_url:"http://dynarch.com/mishoo/",c_owner:"Mihai Bazon",sponsor:"Zapatec Inc.",sponsor_url:"http://www.bloki.com",license:"htmlArea"};
|
||||
TableOperations.prototype._lc=function(_b){
|
||||
return HTMLArea._lc(_b,"TableOperations");
|
||||
};
|
||||
TableOperations.prototype.getClosest=function(_c){
|
||||
var _d=this.editor;
|
||||
var _e=_d.getAllAncestors();
|
||||
var _f=null;
|
||||
_c=(""+_c).toLowerCase();
|
||||
for(var i=0;i<_e.length;++i){
|
||||
var el=_e[i];
|
||||
if(el.tagName.toLowerCase()==_c){
|
||||
_f=el;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return _f;
|
||||
};
|
||||
TableOperations.prototype.dialogTableProperties=function(){
|
||||
var _12=this.getClosest("table");
|
||||
var _13=new PopupWin(this.editor,HTMLArea._lc("Table Properties","TableOperations"),function(_14,_15){
|
||||
TableOperations.processStyle(_15,_12);
|
||||
for(var i in _15){
|
||||
if(typeof _15[i]=="function"){
|
||||
continue;
|
||||
}
|
||||
var val=_15[i];
|
||||
switch(i){
|
||||
case "f_caption":
|
||||
if(/\S/.test(val)){
|
||||
var _18=_12.getElementsByTagName("caption")[0];
|
||||
if(!_18){
|
||||
_18=_14.editor._doc.createElement("caption");
|
||||
_12.insertBefore(_18,_12.firstChild);
|
||||
}
|
||||
_18.innerHTML=val;
|
||||
}else{
|
||||
var _18=_12.getElementsByTagName("caption")[0];
|
||||
if(_18){
|
||||
_18.parentNode.removeChild(_18);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "f_summary":
|
||||
_12.summary=val;
|
||||
break;
|
||||
case "f_width":
|
||||
_12.style.width=(""+val)+_15.f_unit;
|
||||
break;
|
||||
case "f_align":
|
||||
_12.align=val;
|
||||
break;
|
||||
case "f_spacing":
|
||||
_12.cellSpacing=val;
|
||||
break;
|
||||
case "f_padding":
|
||||
_12.cellPadding=val;
|
||||
break;
|
||||
case "f_borders":
|
||||
_12.border=val;
|
||||
break;
|
||||
case "f_frames":
|
||||
_12.frame=val;
|
||||
break;
|
||||
case "f_rules":
|
||||
_12.rules=val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
_14.editor.forceRedraw();
|
||||
_14.editor.focusEditor();
|
||||
_14.editor.updateToolbar();
|
||||
var _19=_12.style.borderCollapse;
|
||||
_12.style.borderCollapse="collapse";
|
||||
_12.style.borderCollapse="separate";
|
||||
_12.style.borderCollapse=_19;
|
||||
},function(_1a){
|
||||
var _1b="";
|
||||
var _1c=_12.getElementsByTagName("caption")[0];
|
||||
if(_1c){
|
||||
_1b=_1c.innerHTML;
|
||||
}
|
||||
var _1d=_12.summary;
|
||||
var _1e=parseInt(_12.style.width);
|
||||
isNaN(_1e)&&(_1e="");
|
||||
var _1f=/%/.test(_12.style.width)?"percent":"pixels";
|
||||
var _20=_12.align;
|
||||
var _21=_12.cellSpacing;
|
||||
var _22=_12.cellPadding;
|
||||
var _23=_12.border;
|
||||
var _24=_12.frame;
|
||||
var _25=_12.rules;
|
||||
function selected(val){
|
||||
return val?" selected":"";
|
||||
}
|
||||
_1a.content.style.width="400px";
|
||||
_1a.content.innerHTML=" <div class='title'>"+HTMLArea._lc("Table Properties","TableOperations")+"</div> <table style='width:100%'> <tr> <td> <fieldset><legend>"+HTMLArea._lc("Description","TableOperations")+"</legend> <table style='width:100%'> <tr> <td class='label'>"+HTMLArea._lc("Caption","TableOperations")+":</td> <td class='value'><input type='text' name='f_caption' value='"+_1b+"'/></td> </tr><tr> <td class='label'>"+HTMLArea._lc("Summary","TableOperations")+":</td> <td class='value'><input type='text' name='f_summary' value='"+_1d+"'/></td> </tr> </table> </fieldset> </td> </tr> <tr><td id='--HA-layout'></td></tr> <tr> <td> <fieldset><legend>"+HTMLArea._lc("Spacing and padding","TableOperations")+"</legend> <table style='width:100%'> "+" <tr> <td class='label'>"+HTMLArea._lc("Spacing","TableOperations")+":</td> <td><input type='text' name='f_spacing' size='5' value='"+_21+"' /> "+HTMLArea._lc("Padding","TableOperations")+": <input type='text' name='f_padding' size='5' value='"+_22+"' /> "+HTMLArea._lc("pixels","TableOperations")+" </td> </tr> </table> </fieldset> </td> </tr> <tr> <td> <fieldset><legend>"+HTMLArea._lc("Frame and borders","TableOperations")+"</legend> <table width='100%'> <tr> <td class='label'>"+HTMLArea._lc("Borders","TableOperations")+":</td> <td><input name='f_borders' type='text' size='5' value='"+_23+"' /> "+HTMLArea._lc("pixels","TableOperations")+"</td> </tr> <tr> <td class='label'>"+HTMLArea._lc("Frames","TableOperations")+":</td> <td> <select name='f_frames'> <option value='void'"+selected(_24=="void")+">"+HTMLArea._lc("No sides","TableOperations")+"</option> <option value='above'"+selected(_24=="above")+">"+HTMLArea._lc("The top side only","TableOperations")+"</option> <option value='below'"+selected(_24=="below")+">"+HTMLArea._lc("The bottom side only","TableOperations")+"</option> <option value='hsides'"+selected(_24=="hsides")+">"+HTMLArea._lc("The top and bottom sides only","TableOperations")+"</option> <option value='vsides'"+selected(_24=="vsides")+">"+HTMLArea._lc("The right and left sides only","TableOperations")+"</option> <option value='lhs'"+selected(_24=="lhs")+">"+HTMLArea._lc("The left-hand side only","TableOperations")+"</option> <option value='rhs'"+selected(_24=="rhs")+">"+HTMLArea._lc("The right-hand side only","TableOperations")+"</option> <option value='box'"+selected(_24=="box")+">"+HTMLArea._lc("All four sides","TableOperations")+"</option> </select> </td> </tr> <tr> <td class='label'>"+HTMLArea._lc("Rules","TableOperations")+":</td> <td> <select name='f_rules'> <option value='none'"+selected(_25=="none")+">"+HTMLArea._lc("No rules","TableOperations")+"</option> <option value='rows'"+selected(_25=="rows")+">"+HTMLArea._lc("Rules will appear between rows only","TableOperations")+"</option> <option value='cols'"+selected(_25=="cols")+">"+HTMLArea._lc("Rules will appear between columns only","TableOperations")+"</option> <option value='all'"+selected(_25=="all")+">"+HTMLArea._lc("Rules will appear between all rows and columns","TableOperations")+"</option> </select> </td> </tr> </table> </fieldset> </td> </tr> <tr> <td id='--HA-style'></td> </tr> </table> ";
|
||||
var _27=TableOperations.createStyleFieldset(_1a.doc,_1a.editor,_12);
|
||||
var p=_1a.doc.getElementById("--HA-style");
|
||||
p.appendChild(_27);
|
||||
var _29=TableOperations.createStyleLayoutFieldset(_1a.doc,_1a.editor,_12);
|
||||
p=_1a.doc.getElementById("--HA-layout");
|
||||
p.appendChild(_29);
|
||||
_1a.modal=true;
|
||||
_1a.addButtons("OK","Cancel");
|
||||
_1a.showAtElement(_1a.editor._iframe,"c");
|
||||
});
|
||||
};
|
||||
TableOperations.prototype.dialogRowCellProperties=function(_2a){
|
||||
var _2b=this.getClosest(_2a?"td":"tr");
|
||||
var _2c=this.getClosest("table");
|
||||
var _2d=new PopupWin(this.editor,_2a?HTMLArea._lc("Cell Properties","TableOperations"):HTMLArea._lc("Row Properties","TableOperations"),function(_2e,_2f){
|
||||
TableOperations.processStyle(_2f,_2b);
|
||||
for(var i in _2f){
|
||||
if(typeof _2f[i]=="function"){
|
||||
continue;
|
||||
}
|
||||
var val=_2f[i];
|
||||
switch(i){
|
||||
case "f_align":
|
||||
_2b.align=val;
|
||||
break;
|
||||
case "f_char":
|
||||
_2b.ch=val;
|
||||
break;
|
||||
case "f_valign":
|
||||
_2b.vAlign=val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
_2e.editor.forceRedraw();
|
||||
_2e.editor.focusEditor();
|
||||
_2e.editor.updateToolbar();
|
||||
var _32=_2c.style.borderCollapse;
|
||||
_2c.style.borderCollapse="collapse";
|
||||
_2c.style.borderCollapse="separate";
|
||||
_2c.style.borderCollapse=_32;
|
||||
},function(_33){
|
||||
var _34=_2b.align;
|
||||
var _35=_2b.vAlign;
|
||||
var _36=_2b.ch;
|
||||
function selected(val){
|
||||
return val?" selected":"";
|
||||
}
|
||||
_33.content.style.width="400px";
|
||||
_33.content.innerHTML=" <div class='title'>"+HTMLArea._lc(_2a?"Cell Properties":"Row Properties","TableOperations")+"</div> <table style='width:100%'> <tr> <td id='--HA-layout'> "+" </td> </tr> <tr> <td id='--HA-style'></td> </tr> </table> ";
|
||||
var _38=TableOperations.createStyleFieldset(_33.doc,_33.editor,_2b);
|
||||
var p=_33.doc.getElementById("--HA-style");
|
||||
p.appendChild(_38);
|
||||
var _3a=TableOperations.createStyleLayoutFieldset(_33.doc,_33.editor,_2b);
|
||||
p=_33.doc.getElementById("--HA-layout");
|
||||
p.appendChild(_3a);
|
||||
_33.modal=true;
|
||||
_33.addButtons("OK","Cancel");
|
||||
_33.showAtElement(_33.editor._iframe,"c");
|
||||
});
|
||||
};
|
||||
TableOperations.prototype.buttonPress=function(_3b,_3c){
|
||||
this.editor=_3b;
|
||||
var _3d=HTMLArea.is_gecko?"<br />":"";
|
||||
function clearRow(tr){
|
||||
var tds=tr.getElementsByTagName("td");
|
||||
for(var i=tds.length;--i>=0;){
|
||||
var td=tds[i];
|
||||
td.rowSpan=1;
|
||||
td.innerHTML=_3d;
|
||||
}
|
||||
}
|
||||
function splitRow(td){
|
||||
var n=parseInt(""+td.rowSpan);
|
||||
var nc=parseInt(""+td.colSpan);
|
||||
td.rowSpan=1;
|
||||
tr=td.parentNode;
|
||||
var itr=tr.rowIndex;
|
||||
var trs=tr.parentNode.rows;
|
||||
var _47=td.cellIndex;
|
||||
while(--n>0){
|
||||
tr=trs[++itr];
|
||||
var otd=_3b._doc.createElement("td");
|
||||
otd.colSpan=td.colSpan;
|
||||
otd.innerHTML=_3d;
|
||||
tr.insertBefore(otd,tr.cells[_47]);
|
||||
}
|
||||
_3b.forceRedraw();
|
||||
_3b.updateToolbar();
|
||||
}
|
||||
function splitCol(td){
|
||||
var nc=parseInt(""+td.colSpan);
|
||||
td.colSpan=1;
|
||||
tr=td.parentNode;
|
||||
var ref=td.nextSibling;
|
||||
while(--nc>0){
|
||||
var otd=_3b._doc.createElement("td");
|
||||
otd.rowSpan=td.rowSpan;
|
||||
otd.innerHTML=_3d;
|
||||
tr.insertBefore(otd,ref);
|
||||
}
|
||||
_3b.forceRedraw();
|
||||
_3b.updateToolbar();
|
||||
}
|
||||
function splitCell(td){
|
||||
var nc=parseInt(""+td.colSpan);
|
||||
splitCol(td);
|
||||
var _4f=td.parentNode.cells;
|
||||
var _50=td.cellIndex;
|
||||
while(nc-->0){
|
||||
splitRow(_4f[_50++]);
|
||||
}
|
||||
}
|
||||
function selectNextNode(el){
|
||||
var _52=el.nextSibling;
|
||||
while(_52&&_52.nodeType!=1){
|
||||
_52=_52.nextSibling;
|
||||
}
|
||||
if(!_52){
|
||||
_52=el.previousSibling;
|
||||
while(_52&&_52.nodeType!=1){
|
||||
_52=_52.previousSibling;
|
||||
}
|
||||
}
|
||||
if(!_52){
|
||||
_52=el.parentNode;
|
||||
}
|
||||
_3b.selectNodeContents(_52);
|
||||
}
|
||||
function cellMerge(_53,_54,_55,_56,_57){
|
||||
var _58=[];
|
||||
var _59=[];
|
||||
try{
|
||||
for(i=_55;i<_55+_57;i++){
|
||||
var row=_53.rows[i];
|
||||
for(j=_54;j<_54+_56;j++){
|
||||
if(row.cells[j].colSpan>1||row.cells[j].rowSpan>1){
|
||||
splitCell(row.cells[j]);
|
||||
}
|
||||
_59.push(row.cells[j]);
|
||||
}
|
||||
if(_59.length>0){
|
||||
_58.push(_59);
|
||||
_59=[];
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e){
|
||||
alert("Invalid selection");
|
||||
return false;
|
||||
}
|
||||
var _5b=_58[0][0].parentNode.rowIndex;
|
||||
var _5c=_58[_58.length-1][0].parentNode.rowIndex;
|
||||
var _5d=_58[_58.length-1][0].rowSpan;
|
||||
var _5e="";
|
||||
for(i=0;i<_58.length;++i){
|
||||
var _59=_58[i];
|
||||
for(var j=0;j<_59.length;++j){
|
||||
var _60=_59[j];
|
||||
_5e+=_60.innerHTML;
|
||||
(i||j)&&(_60.parentNode.removeChild(_60));
|
||||
}
|
||||
}
|
||||
var td=_58[0][0];
|
||||
td.innerHTML=_5e;
|
||||
td.rowSpan=_5c-_5b+_5d;
|
||||
var _62=0;
|
||||
for(j=0;j<_58[0].length;j++){
|
||||
_62+=_58[0][j].colSpan;
|
||||
}
|
||||
td.colSpan=_62;
|
||||
_3b.selectNodeContents(td);
|
||||
_3b.forceRedraw();
|
||||
_3b.focusEditor();
|
||||
}
|
||||
switch(_3c){
|
||||
case "TO-row-insert-above":
|
||||
case "TO-row-insert-under":
|
||||
var tr=this.getClosest("tr");
|
||||
if(!tr){
|
||||
break;
|
||||
}
|
||||
var otr=tr.cloneNode(true);
|
||||
clearRow(otr);
|
||||
tr.parentNode.insertBefore(otr,/under/.test(_3c)?tr.nextSibling:tr);
|
||||
_3b.forceRedraw();
|
||||
_3b.focusEditor();
|
||||
break;
|
||||
case "TO-row-delete":
|
||||
var tr=this.getClosest("tr");
|
||||
if(!tr){
|
||||
break;
|
||||
}
|
||||
var par=tr.parentNode;
|
||||
if(par.rows.length==1){
|
||||
alert(HTMLArea._lc("HTMLArea cowardly refuses to delete the last row in table.","TableOperations"));
|
||||
break;
|
||||
}
|
||||
selectNextNode(tr);
|
||||
par.removeChild(tr);
|
||||
_3b.forceRedraw();
|
||||
_3b.focusEditor();
|
||||
_3b.updateToolbar();
|
||||
break;
|
||||
case "TO-row-split":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
splitRow(td);
|
||||
break;
|
||||
case "TO-col-insert-before":
|
||||
case "TO-col-insert-after":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
var _67=td.parentNode.parentNode.rows;
|
||||
var _68=td.cellIndex;
|
||||
var _69=(td.parentNode.cells.length==_68+1);
|
||||
for(var i=_67.length;--i>=0;){
|
||||
var tr=_67[i];
|
||||
var otd=_3b._doc.createElement("td");
|
||||
otd.innerHTML=_3d;
|
||||
if(_69&&HTMLArea.is_ie){
|
||||
tr.insertBefore(otd);
|
||||
}else{
|
||||
var ref=tr.cells[_68+(/after/.test(_3c)?1:0)];
|
||||
tr.insertBefore(otd,ref);
|
||||
}
|
||||
}
|
||||
_3b.focusEditor();
|
||||
break;
|
||||
case "TO-col-split":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
splitCol(td);
|
||||
break;
|
||||
case "TO-col-delete":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
var _68=td.cellIndex;
|
||||
if(td.parentNode.cells.length==1){
|
||||
alert(HTMLArea._lc("HTMLArea cowardly refuses to delete the last column in table.","TableOperations"));
|
||||
break;
|
||||
}
|
||||
selectNextNode(td);
|
||||
var _67=td.parentNode.parentNode.rows;
|
||||
for(var i=_67.length;--i>=0;){
|
||||
var tr=_67[i];
|
||||
tr.removeChild(tr.cells[_68]);
|
||||
}
|
||||
_3b.forceRedraw();
|
||||
_3b.focusEditor();
|
||||
_3b.updateToolbar();
|
||||
break;
|
||||
case "TO-cell-split":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
splitCell(td);
|
||||
break;
|
||||
case "TO-cell-insert-before":
|
||||
case "TO-cell-insert-after":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
var tr=td.parentNode;
|
||||
var otd=_3b._doc.createElement("td");
|
||||
otd.innerHTML=_3d;
|
||||
tr.insertBefore(otd,/after/.test(_3c)?td.nextSibling:td);
|
||||
_3b.forceRedraw();
|
||||
_3b.focusEditor();
|
||||
break;
|
||||
case "TO-cell-delete":
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
break;
|
||||
}
|
||||
if(td.parentNode.cells.length==1){
|
||||
alert(HTMLArea._lc("HTMLArea cowardly refuses to delete the last cell in row.","TableOperations"));
|
||||
break;
|
||||
}
|
||||
selectNextNode(td);
|
||||
td.parentNode.removeChild(td);
|
||||
_3b.forceRedraw();
|
||||
_3b.updateToolbar();
|
||||
break;
|
||||
case "TO-cell-merge":
|
||||
var sel=_3b._getSelection();
|
||||
if(!HTMLArea.is_ie&&sel.rangeCount>1){
|
||||
var _6e=sel.getRangeAt(0);
|
||||
var td=_6e.startContainer.childNodes[_6e.startOffset];
|
||||
var tr=td.parentNode;
|
||||
var _6f=td.cellIndex;
|
||||
var _70=tr.rowIndex;
|
||||
var _71=0;
|
||||
var _72=_70;
|
||||
var _73=0;
|
||||
var _74=0;
|
||||
var td2,tr2;
|
||||
for(i=0;i<sel.rangeCount;i++){
|
||||
_6e=sel.getRangeAt(i);
|
||||
td2=_6e.startContainer.childNodes[_6e.startOffset];
|
||||
tr2=td2.parentNode;
|
||||
if(tr2.rowIndex!=_72){
|
||||
_72=tr2.rowIndex;
|
||||
_74=0;
|
||||
}
|
||||
_74+=td2.colSpan;
|
||||
if(_74>_73){
|
||||
_73=_74;
|
||||
}
|
||||
if(tr2.rowIndex+td2.rowSpan-1>_71){
|
||||
_71=tr2.rowIndex+td2.rowSpan-1;
|
||||
}
|
||||
}
|
||||
var _76=_71-_70+1;
|
||||
var _77=tr.parentNode;
|
||||
cellMerge(_77,_6f,_70,_73,_76);
|
||||
}else{
|
||||
var td=this.getClosest("td");
|
||||
if(!td){
|
||||
alert(HTMLArea._lc("Please click into some cell","TableOperations"));
|
||||
break;
|
||||
}
|
||||
_3b._popupDialog("plugin://TableOperations/merge_cells.html",function(_78){
|
||||
if(!_78){
|
||||
return false;
|
||||
}
|
||||
_73=parseInt(_78["f_cols"],10)+1;
|
||||
_76=parseInt(_78["f_rows"],10)+1;
|
||||
var tr=td.parentNode;
|
||||
var _7a=td.cellIndex;
|
||||
var _7b=tr.rowIndex;
|
||||
var _7c=tr.parentNode;
|
||||
cellMerge(_7c,_7a,_7b,_73,_76);
|
||||
},null);
|
||||
}
|
||||
break;
|
||||
case "TO-table-prop":
|
||||
this.dialogTableProperties();
|
||||
break;
|
||||
case "TO-row-prop":
|
||||
this.dialogRowCellProperties(false);
|
||||
break;
|
||||
case "TO-cell-prop":
|
||||
this.dialogRowCellProperties(true);
|
||||
break;
|
||||
default:
|
||||
alert("Button ["+_3c+"] not yet implemented");
|
||||
}
|
||||
};
|
||||
TableOperations.btnList=[["table-prop","table","Table properties"],null,["row-prop","tr","Row properties"],["row-insert-above","tr","Insert row before"],["row-insert-under","tr","Insert row after"],["row-delete","tr","Delete row"],["row-split","td[rowSpan!=1]","Split row"],null,["col-insert-before","td","Insert column before"],["col-insert-after","td","Insert column after"],["col-delete","td","Delete column"],["col-split","td[colSpan!=1]","Split column"],null,["cell-prop","td","Cell properties"],["cell-insert-before","td","Insert cell before"],["cell-insert-after","td","Insert cell after"],["cell-delete","td","Delete cell"],["cell-merge","tr","Merge cells"],["cell-split","td[colSpan!=1,rowSpan!=1]","Split cell"]];
|
||||
TableOperations.getLength=function(_7d){
|
||||
var len=parseInt(_7d);
|
||||
if(isNaN(len)){
|
||||
len="";
|
||||
}
|
||||
return len;
|
||||
};
|
||||
TableOperations.processStyle=function(_7f,_80){
|
||||
var _81=_80.style;
|
||||
for(var i in _7f){
|
||||
if(typeof _7f[i]=="function"){
|
||||
continue;
|
||||
}
|
||||
var val=_7f[i];
|
||||
switch(i){
|
||||
case "f_st_backgroundColor":
|
||||
_81.backgroundColor=val;
|
||||
break;
|
||||
case "f_st_color":
|
||||
_81.color=val;
|
||||
break;
|
||||
case "f_st_backgroundImage":
|
||||
if(/\S/.test(val)){
|
||||
_81.backgroundImage="url("+val+")";
|
||||
}else{
|
||||
_81.backgroundImage="none";
|
||||
}
|
||||
break;
|
||||
case "f_st_borderWidth":
|
||||
_81.borderWidth=val;
|
||||
break;
|
||||
case "f_st_borderStyle":
|
||||
_81.borderStyle=val;
|
||||
break;
|
||||
case "f_st_borderColor":
|
||||
_81.borderColor=val;
|
||||
break;
|
||||
case "f_st_borderCollapse":
|
||||
_81.borderCollapse=val?"collapse":"";
|
||||
break;
|
||||
case "f_st_width":
|
||||
if(/\S/.test(val)){
|
||||
_81.width=val+_7f["f_st_widthUnit"];
|
||||
}else{
|
||||
_81.width="";
|
||||
}
|
||||
break;
|
||||
case "f_st_height":
|
||||
if(/\S/.test(val)){
|
||||
_81.height=val+_7f["f_st_heightUnit"];
|
||||
}else{
|
||||
_81.height="";
|
||||
}
|
||||
break;
|
||||
case "f_st_textAlign":
|
||||
if(val=="char"){
|
||||
var ch=_7f["f_st_textAlignChar"];
|
||||
if(ch=="\""){
|
||||
ch="\\\"";
|
||||
}
|
||||
_81.textAlign="\""+ch+"\"";
|
||||
}else{
|
||||
if(val=="-"){
|
||||
_81.textAlign="";
|
||||
}else{
|
||||
_81.textAlign=val;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "f_st_verticalAlign":
|
||||
_80.vAlign="";
|
||||
if(val=="-"){
|
||||
_81.verticalAlign="";
|
||||
}else{
|
||||
_81.verticalAlign=val;
|
||||
}
|
||||
break;
|
||||
case "f_st_float":
|
||||
_81.cssFloat=val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
TableOperations.createColorButton=function(doc,_86,_87,_88){
|
||||
if(!_87){
|
||||
_87="";
|
||||
}else{
|
||||
if(!/#/.test(_87)){
|
||||
_87=HTMLArea._colorToRgb(_87);
|
||||
}
|
||||
}
|
||||
var df=doc.createElement("span");
|
||||
var _8a=doc.createElement("input");
|
||||
_8a.type="hidden";
|
||||
df.appendChild(_8a);
|
||||
_8a.name="f_st_"+_88;
|
||||
_8a.value=_87;
|
||||
var _8b=doc.createElement("span");
|
||||
_8b.className="buttonColor";
|
||||
df.appendChild(_8b);
|
||||
var _8c=doc.createElement("span");
|
||||
_8c.className="chooser";
|
||||
_8c.style.backgroundColor=_87;
|
||||
_8b.appendChild(_8c);
|
||||
_8b.onmouseover=function(){
|
||||
if(!this.disabled){
|
||||
this.className+=" buttonColor-hilite";
|
||||
}
|
||||
};
|
||||
_8b.onmouseout=function(){
|
||||
if(!this.disabled){
|
||||
this.className="buttonColor";
|
||||
}
|
||||
};
|
||||
_8c.onclick=function(){
|
||||
if(this.parentNode.disabled){
|
||||
return false;
|
||||
}
|
||||
_86._popupDialog("select_color.html",function(_8d){
|
||||
if(_8d){
|
||||
_8c.style.backgroundColor="#"+_8d;
|
||||
_8a.value="#"+_8d;
|
||||
}
|
||||
},_87);
|
||||
};
|
||||
var _8e=doc.createElement("span");
|
||||
_8e.innerHTML="×";
|
||||
_8e.className="nocolor";
|
||||
_8e.title=HTMLArea._lc("Unset color","TableOperations");
|
||||
_8b.appendChild(_8e);
|
||||
_8e.onmouseover=function(){
|
||||
if(!this.parentNode.disabled){
|
||||
this.className+=" nocolor-hilite";
|
||||
}
|
||||
};
|
||||
_8e.onmouseout=function(){
|
||||
if(!this.parentNode.disabled){
|
||||
this.className="nocolor";
|
||||
}
|
||||
};
|
||||
_8e.onclick=function(){
|
||||
_8c.style.backgroundColor="";
|
||||
_8a.value="";
|
||||
};
|
||||
return df;
|
||||
};
|
||||
TableOperations.createStyleLayoutFieldset=function(doc,_90,el){
|
||||
var _92=doc.createElement("fieldset");
|
||||
var _93=doc.createElement("legend");
|
||||
_92.appendChild(_93);
|
||||
_93.innerHTML=HTMLArea._lc("Layout","TableOperations");
|
||||
var _94=doc.createElement("table");
|
||||
_92.appendChild(_94);
|
||||
_94.style.width="100%";
|
||||
var _95=doc.createElement("tbody");
|
||||
_94.appendChild(_95);
|
||||
var _96=el.tagName.toLowerCase();
|
||||
var tr,td,input,select,option,options,i;
|
||||
if(_96!="td"&&_96!="tr"&&_96!="th"){
|
||||
tr=doc.createElement("tr");
|
||||
_95.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
td.className="label";
|
||||
tr.appendChild(td);
|
||||
td.innerHTML=HTMLArea._lc("Float","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
select=doc.createElement("select");
|
||||
td.appendChild(select);
|
||||
select.name="f_st_float";
|
||||
options=["None","Left","Right"];
|
||||
for(var i=0;i<options.length;++i){
|
||||
var Val=options[i];
|
||||
var val=options[i].toLowerCase();
|
||||
option=doc.createElement("option");
|
||||
option.innerHTML=HTMLArea._lc(Val,"TableOperations");
|
||||
option.value=val;
|
||||
option.selected=((""+el.style.cssFloat).toLowerCase()==val);
|
||||
select.appendChild(option);
|
||||
}
|
||||
}
|
||||
tr=doc.createElement("tr");
|
||||
_95.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
td.className="label";
|
||||
tr.appendChild(td);
|
||||
td.innerHTML=HTMLArea._lc("Width","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
input=doc.createElement("input");
|
||||
input.type="text";
|
||||
input.value=TableOperations.getLength(el.style.width);
|
||||
input.size="5";
|
||||
input.name="f_st_width";
|
||||
input.style.marginRight="0.5em";
|
||||
td.appendChild(input);
|
||||
select=doc.createElement("select");
|
||||
select.name="f_st_widthUnit";
|
||||
option=doc.createElement("option");
|
||||
option.innerHTML=HTMLArea._lc("percent","TableOperations");
|
||||
option.value="%";
|
||||
option.selected=/%/.test(el.style.width);
|
||||
select.appendChild(option);
|
||||
option=doc.createElement("option");
|
||||
option.innerHTML=HTMLArea._lc("pixels","TableOperations");
|
||||
option.value="px";
|
||||
option.selected=/px/.test(el.style.width);
|
||||
select.appendChild(option);
|
||||
td.appendChild(select);
|
||||
select.style.marginRight="0.5em";
|
||||
td.appendChild(doc.createTextNode(HTMLArea._lc("Text align","TableOperations")+":"));
|
||||
select=doc.createElement("select");
|
||||
select.style.marginLeft=select.style.marginRight="0.5em";
|
||||
td.appendChild(select);
|
||||
select.name="f_st_textAlign";
|
||||
options=["Left","Center","Right","Justify","-"];
|
||||
if(_96=="td"){
|
||||
options.push("Char");
|
||||
}
|
||||
input=doc.createElement("input");
|
||||
input.name="f_st_textAlignChar";
|
||||
input.size="1";
|
||||
input.style.fontFamily="monospace";
|
||||
td.appendChild(input);
|
||||
for(var i=0;i<options.length;++i){
|
||||
var Val=options[i];
|
||||
var val=Val.toLowerCase();
|
||||
option=doc.createElement("option");
|
||||
option.value=val;
|
||||
option.innerHTML=HTMLArea._lc(Val,"TableOperations");
|
||||
option.selected=((el.style.textAlign.toLowerCase()==val)||(el.style.textAlign==""&&Val=="-"));
|
||||
select.appendChild(option);
|
||||
}
|
||||
function setCharVisibility(_9b){
|
||||
input.style.visibility=_9b?"visible":"hidden";
|
||||
if(_9b){
|
||||
input.focus();
|
||||
input.select();
|
||||
}
|
||||
}
|
||||
select.onchange=function(){
|
||||
setCharVisibility(this.value=="char");
|
||||
};
|
||||
setCharVisibility(select.value=="char");
|
||||
tr=doc.createElement("tr");
|
||||
_95.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
td.className="label";
|
||||
tr.appendChild(td);
|
||||
td.innerHTML=HTMLArea._lc("Height","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
input=doc.createElement("input");
|
||||
input.type="text";
|
||||
input.value=TableOperations.getLength(el.style.height);
|
||||
input.size="5";
|
||||
input.name="f_st_height";
|
||||
input.style.marginRight="0.5em";
|
||||
td.appendChild(input);
|
||||
select=doc.createElement("select");
|
||||
select.name="f_st_heightUnit";
|
||||
option=doc.createElement("option");
|
||||
option.innerHTML=HTMLArea._lc("percent","TableOperations");
|
||||
option.value="%";
|
||||
option.selected=/%/.test(el.style.height);
|
||||
select.appendChild(option);
|
||||
option=doc.createElement("option");
|
||||
option.innerHTML=HTMLArea._lc("pixels","TableOperations");
|
||||
option.value="px";
|
||||
option.selected=/px/.test(el.style.height);
|
||||
select.appendChild(option);
|
||||
td.appendChild(select);
|
||||
select.style.marginRight="0.5em";
|
||||
td.appendChild(doc.createTextNode(HTMLArea._lc("Vertical align","TableOperations")+":"));
|
||||
select=doc.createElement("select");
|
||||
select.name="f_st_verticalAlign";
|
||||
select.style.marginLeft="0.5em";
|
||||
td.appendChild(select);
|
||||
options=["Top","Middle","Bottom","Baseline","-"];
|
||||
for(var i=0;i<options.length;++i){
|
||||
var Val=options[i];
|
||||
var val=Val.toLowerCase();
|
||||
option=doc.createElement("option");
|
||||
option.value=val;
|
||||
option.innerHTML=HTMLArea._lc(Val,"TableOperations");
|
||||
option.selected=((el.style.verticalAlign.toLowerCase()==val)||(el.style.verticalAlign==""&&Val=="-"));
|
||||
select.appendChild(option);
|
||||
}
|
||||
return _92;
|
||||
};
|
||||
TableOperations.createStyleFieldset=function(doc,_9d,el){
|
||||
var _9f=doc.createElement("fieldset");
|
||||
var _a0=doc.createElement("legend");
|
||||
_9f.appendChild(_a0);
|
||||
_a0.innerHTML=HTMLArea._lc("CSS Style","TableOperations");
|
||||
var _a1=doc.createElement("table");
|
||||
_9f.appendChild(_a1);
|
||||
_a1.style.width="100%";
|
||||
var _a2=doc.createElement("tbody");
|
||||
_a1.appendChild(_a2);
|
||||
var tr,td,input,select,option,options,i;
|
||||
tr=doc.createElement("tr");
|
||||
_a2.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
td.className="label";
|
||||
td.innerHTML=HTMLArea._lc("Background","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
var df=TableOperations.createColorButton(doc,_9d,el.style.backgroundColor,"backgroundColor");
|
||||
df.firstChild.nextSibling.style.marginRight="0.5em";
|
||||
td.appendChild(df);
|
||||
td.appendChild(doc.createTextNode(HTMLArea._lc("Image URL","TableOperations")+": "));
|
||||
input=doc.createElement("input");
|
||||
input.type="text";
|
||||
input.name="f_st_backgroundImage";
|
||||
if(el.style.backgroundImage.match(/url\(\s*(.*?)\s*\)/)){
|
||||
input.value=RegExp.$1;
|
||||
}
|
||||
td.appendChild(input);
|
||||
tr=doc.createElement("tr");
|
||||
_a2.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
td.className="label";
|
||||
td.innerHTML=HTMLArea._lc("FG Color","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
td.appendChild(TableOperations.createColorButton(doc,_9d,el.style.color,"color"));
|
||||
input=doc.createElement("input");
|
||||
input.style.visibility="hidden";
|
||||
input.type="text";
|
||||
td.appendChild(input);
|
||||
tr=doc.createElement("tr");
|
||||
_a2.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
td.className="label";
|
||||
td.innerHTML=HTMLArea._lc("Border","TableOperations")+":";
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
var _a5=TableOperations.createColorButton(doc,_9d,el.style.borderColor,"borderColor");
|
||||
var btn=_a5.firstChild.nextSibling;
|
||||
td.appendChild(_a5);
|
||||
btn.style.marginRight="0.5em";
|
||||
select=doc.createElement("select");
|
||||
var _a7=[];
|
||||
td.appendChild(select);
|
||||
select.name="f_st_borderStyle";
|
||||
options=["none","dotted","dashed","solid","double","groove","ridge","inset","outset"];
|
||||
var _a8=el.style.borderStyle;
|
||||
(_a8.match(/([^\s]*)\s/))&&(_a8=RegExp.$1);
|
||||
for(var i in options){
|
||||
if(typeof options[i]=="function"){
|
||||
continue;
|
||||
}
|
||||
var val=options[i];
|
||||
option=doc.createElement("option");
|
||||
option.value=val;
|
||||
option.innerHTML=val;
|
||||
(val==_a8)&&(option.selected=true);
|
||||
select.appendChild(option);
|
||||
}
|
||||
select.style.marginRight="0.5em";
|
||||
function setBorderFieldsStatus(_ab){
|
||||
for(var i=0;i<_a7.length;++i){
|
||||
var el=_a7[i];
|
||||
el.style.visibility=_ab?"hidden":"visible";
|
||||
if(!_ab&&(el.tagName.toLowerCase()=="input")){
|
||||
el.focus();
|
||||
el.select();
|
||||
}
|
||||
}
|
||||
}
|
||||
select.onchange=function(){
|
||||
setBorderFieldsStatus(this.value=="none");
|
||||
};
|
||||
input=doc.createElement("input");
|
||||
_a7.push(input);
|
||||
input.type="text";
|
||||
input.name="f_st_borderWidth";
|
||||
input.value=TableOperations.getLength(el.style.borderWidth);
|
||||
input.size="5";
|
||||
td.appendChild(input);
|
||||
input.style.marginRight="0.5em";
|
||||
var _ae=doc.createElement("span");
|
||||
_ae.innerHTML=HTMLArea._lc("pixels","TableOperations");
|
||||
td.appendChild(_ae);
|
||||
_a7.push(_ae);
|
||||
setBorderFieldsStatus(select.value=="none");
|
||||
if(el.tagName.toLowerCase()=="table"){
|
||||
tr=doc.createElement("tr");
|
||||
_a2.appendChild(tr);
|
||||
td=doc.createElement("td");
|
||||
td.className="label";
|
||||
tr.appendChild(td);
|
||||
input=doc.createElement("input");
|
||||
input.type="checkbox";
|
||||
input.name="f_st_borderCollapse";
|
||||
input.id="f_st_borderCollapse";
|
||||
var val=(/collapse/i.test(el.style.borderCollapse));
|
||||
input.checked=val?1:0;
|
||||
td.appendChild(input);
|
||||
td=doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
var _af=doc.createElement("label");
|
||||
_af.htmlFor="f_st_borderCollapse";
|
||||
_af.innerHTML=HTMLArea._lc("Collapsed borders","TableOperations");
|
||||
td.appendChild(_af);
|
||||
}
|
||||
return _9f;
|
||||
};
|
||||
|
||||