1
0
mirror of https://github.com/foobnix/LibreraReader.git synced 2025-10-06 00:02:43 +02:00

User Defined CSS files support, Tables support

This commit is contained in:
foobnix
2022-09-16 17:34:29 +03:00
parent 8a2f054cf5
commit 3212820711
63 changed files with 504 additions and 138 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
### 1.20.0
### Librera Old
./link_to_mupdf_1.11.sh
cd ../
@@ -11,11 +11,11 @@ cd ../
./gradlew assembleOldRelease
### 1.11.1
### Librera Beta
cd Builder
./link_to_mupdf_1.20.2.sh
./link_to_mupdf_master.sh
cd ../

View File

@@ -2713,7 +2713,7 @@ fz_parse_html(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const cha
if (fz_xml_find(xml, "FictionBook"))
{
g.is_fb2 = 1;
fz_parse_css(ctx, g.css, fb2_default_css, "<default:fb2>");
//fz_parse_css(ctx, g.css, fb2_default_css, "<default:fb2>");
if (fz_use_document_css(ctx))
fb2_load_css(ctx, g.zip, g.base_uri, g.css, xml);
g.images = load_fb2_images(ctx, xml);
@@ -2721,7 +2721,7 @@ fz_parse_html(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const cha
else
{
g.is_fb2 = 0;
fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
//fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
if (fz_use_document_css(ctx))
html_load_css(ctx, g.zip, g.base_uri, g.css, xml);
g.images = NULL;

View File

@@ -1448,7 +1448,7 @@ xml_to_boxes(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const char
if (try_fictionbook && fz_xml_find(root, "FictionBook"))
{
g.is_fb2 = 1;
fz_parse_css(ctx, g.css, fb2_default_css, "<default:fb2>");
//fz_parse_css(ctx, g.css, fb2_default_css, "<default:fb2>");
if (fz_use_document_css(ctx))
fb2_load_css(ctx, g.set, g.zip, g.base_uri, g.css, root);
g.images = load_fb2_images(ctx, root);
@@ -1456,15 +1456,15 @@ xml_to_boxes(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const char
else if (is_mobi)
{
g.is_fb2 = 0;
fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
fz_parse_css(ctx, g.css, mobi_default_css, "<default:mobi>");
//fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
//fz_parse_css(ctx, g.css, mobi_default_css, "<default:mobi>");
if (fz_use_document_css(ctx))
html_load_css(ctx, g.set, g.zip, g.base_uri, g.css, root);
}
else
{
g.is_fb2 = 0;
fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
//fz_parse_css(ctx, g.css, html_default_css, "<default:html>");
if (fz_use_document_css(ctx))
html_load_css(ctx, g.set, g.zip, g.base_uri, g.css, root);
}

View File

@@ -0,0 +1,112 @@
a{color:#06C;text-decoration:underline}
address{display:block;font-style:italic}
b{font-weight:bold}
bdo{direction:rtl;unicode-bidi:bidi-override}
blockquote{display:block;margin:1em 40px}
cite{font-style:italic}
code{font-family:monospace}
dd{display:block;margin:0 0 0 40px}
del{text-decoration:line-through}
div{display:block}
dl{display:block;margin:1em 0}
dt{display:block}
em{font-style:italic}
h1{display:block;font-size:1.5em; margin:0.67em 0;page-break-after:avoid}
h2{display:block;font-size:1.3em; margin:0.83em 0;page-break-after:avoid}
h3{display:block;font-size:1.1em; margin:1em 0;page-break-after:avoid}
h4{display:block;font-size:1em; margin:1.33em 0;page-break-after:avoid}
h5{display:block;font-size:0.8em; margin:1.67em 0;page-break-after:avoid}
h6{display:block;font-size:0.6em; margin:2.33em 0;page-break-after:avoid}
head{display:none}
hr{border-style:solid;border-width:1px;display:block;margin-bottom:0.5em;margin-top:0.5em;text-align:center}
html{display:block}
i{font-style:italic}
ins{text-decoration:underline}
kbd{font-family:monospace}
li{display:list-item}
menu{display:block;list-style-type:disc;margin:1em 0;padding:0 1em 0 1em}
ol{display:block;list-style-type:decimal;margin:1em;padding:0 1em 0 1em}
p{display:block;}
pre{display:block;font-family:monospace;margin:1em 0;white-space:pre}
samp{font-family:monospace}
script{display:none}
small{font-size:0.83em}
x-small{font-size:0.6em}
strong{font-weight:bold}
style{display:none}
sub{font-size:0.83em;vertical-align:sub}
table{display:block !important; margin:1em !important;font-size:0.8em;}
tr,thead,tfoot {display:block !important;margin-top:1em !important;}
td,th {display:block !important;border-style:solid; border-width:1px; padding:0.1em 0 0.1em 0.5em}
tbody {display:block !important;}
th{font-weight:bold; text-align:center}
ul{display:block;list-style-type:disc;margin:1em;padding:0 0 0 30pt}
ul ul{list-style-type:circle}
ul ul ul{list-style-type:square}
var{font-style:italic}
figcaption {display:block; text-align:center}
figcaption>p {text-align:center}
br{display:block}
FictionBook{display:block}
stylesheet,binary{display:none}
description,description>*{display:none}
description>title-info{display:block}
description>title-info>*{display:none}
description>title-info>annotation{display:block;page-break-before:always;page-break-after:always}
description>title-info>coverpage{display:block;page-break-before:always;page-break-after:always}
body,section,title,subtitle,p,cite,epigraph,text-author,date,poem,stanza,v,empty-line{display:block}
image{display:block}
table{display:block !important; margin:1em !important;font-size:0.8em;}
tr,thead,tfoot {display:block !important;margin-top:1em !important;}
td,th {display:block !important;border-style:solid; border-width:1px; padding:0.1em 0 0.1em 0.5em}
tbody {display:block !important;}
th{font-weight:bold; text-align:center}
a{color:#06C;text-decoration:underline}
a[type=note]{font-size:small;vertical-align:super}
code{white-space:pre;font-family:monospace}
emphasis{font-style:italic}
strikethrough{text-decoration:line-through}
strong{font-weight:bold}
sub{font-size:small;vertical-align:sub}
image{margin:1em 0;text-align:center}
cite,poem{margin:1em 1.5em}
subtitle,epigraph,stanza{margin:1em 0}
p{text-align:justify}
empty-line{padding-top:1em}
section>title{page-break-before:avoid;}
section>title>p{text-align:center !important; text-indent:0px !important;}
title>p{text-align:center !important; text-indent:0px !important;}
subtitle{text-align:center !important; text-indent:0px !important;}
image{text-align:center; text-indent:0px;}
section+section>title{page-break-before:always;}
epigraph{text-align:right; margin-left:2em;font-style: italic;}
text-author{font-style: italic;font-weight: bold;}
del,ins,u,strikethrough{font-family:monospace;}
text-author{font-style: italic;font-weight: bold;}
p>image{display:block;}
b>span,strong>span{font-weight:normal}
book>title, bookinfo {display:none}
svg{display:block}
math, m, svg>text {display:none}
sup,sup>* {font-size:0.83em;vertical-align:super; font-weight:bold}
body{display:block; padding:0 !important; margin:0 !important;}
h1,h2,h3,h4,h5,h6,img {text-indent:0px !important; text-align: center;}
title,title>p,title>p>strong{font-size:1.2em;}
subtitle{font-size:1.0em;}
t{font-style: italic;}

View File

@@ -0,0 +1,106 @@
@page{margin:3em 2em}
a{color:#06C;text-decoration:underline}
address{display:block;font-style:italic}
b{font-weight:bold}
bdo{direction:rtl;unicode-bidi:bidi-override}
blockquote{display:block;margin:1em 40px}
body{display:block;margin:1em}
cite{font-style:italic}
code{font-family:monospace}
dd{display:block;margin:0 0 0 40px}
del{text-decoration:line-through}
div{display:block}
dl{display:block;margin:1em 0}
dt{display:block}
em{font-style:italic}
h1{display:block;font-size:2em;font-weight:bold;margin:0.67em 0;page-break-after:avoid}
h2{display:block;font-size:1.5em;font-weight:bold;margin:0.83em 0;page-break-after:avoid}
h3{display:block;font-size:1.17em;font-weight:bold;margin:1em 0;page-break-after:avoid}
h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0;page-break-after:avoid}
h5{display:block;font-size:0.83em;font-weight:bold;margin:1.67em 0;page-break-after:avoid}
h6{display:block;font-size:0.67em;font-weight:bold;margin:2.33em 0;page-break-after:avoid}
head{display:none}
hr{border-style:solid;border-width:1px;display:block;margin-bottom:0.5em;margin-top:0.5em;text-align:center}
html{display:block}
i{font-style:italic}
ins{text-decoration:underline}
kbd{font-family:monospace}
li{display:list-item}
menu{display:block;list-style-type:disc;margin:1em 0;padding:0 0 0 30pt}
ol{display:block;list-style-type:decimal;margin:1em 0;padding:0 0 0 30pt}
p{display:block;margin:1em 0}
pre{display:block;font-family:monospace;margin:1em 0;white-space:pre}
samp{font-family:monospace}
script{display:none}
small{font-size:0.83em}
strong{font-weight:bold}
style{display:none}
sub{font-size:0.83em;vertical-align:sub}
sup{font-size:0.83em;vertical-align:super}
table{display:table}
tbody{display:table-row-group}
td{display:table-cell;padding:1px}
tfoot{display:table-footer-group}
th{display:table-cell;font-weight:bold;padding:1px;text-align:center}
thead{display:table-header-group}
tr{display:table-row}
ul{display:block;list-style-type:disc;margin:1em 0;padding:0 0 0 30pt}
ul ul{list-style-type:circle}
ul ul ul{list-style-type:square}
var{font-style:italic}
colgroup{display:table-column-group}
col{display:table-column}
caption{display:block;text-align:center}
pagebreak{display:block;page-break-before:always}
dl,ol,ul{margin:0}
p{margin:0}
blockquote{margin:0 40px}
center{display:block;text-align:center}
big{font-size:1.17em}
strike{text-decoration:line-through}
FictionBook{display:block;}
stylesheet,binary{display:none}
description>*{display:none}
description>title-info{display:block}
description>title-info>*{display:none}
description>title-info>coverpage{display:block;page-break-before:always;page-break-after:always}
body,section,title,subtitle,p,cite,epigraph,text-author,date,poem,stanza,v,empty-line{display:block}
image{display:block}
p>image{display:inline}
table{display:table}
tr{display:table-row}
th,td{display:table-cell}
a{color:#06C;text-decoration:underline}
a[type=note]{font-size:small;vertical-align:super}
code{white-space:pre;font-family:monospace}
emphasis{font-style:italic}
strikethrough{text-decoration:line-through}
strong{font-weight:bold}
sub{font-size:small;vertical-align:sub}
sup{font-size:small;vertical-align:super}
image{margin:1em 0;text-align:center}
cite,poem{margin:1em 2em}
subtitle,epigraph,stanza{margin:1em 0}
title>p{text-align:center;font-size:x-large}
subtitle{text-align:center;font-size:large}
p{margin-top:1em;text-align:justify}
empty-line{padding-top:1em}
p+p{margin-top:0;text-indent:1.5em}
empty-line+p{margin-top:0}
section>title{page-break-before:always}
description,description>*{display:none}

View File

@@ -603,6 +603,8 @@ public class AppState {
public static synchronized AppState get() {
return instance;
}

View File

@@ -67,19 +67,17 @@ public class FontExtractor {
LOG.d("copy fonts for IS_FDROID");
}
File appWebDict = new File(AppProfile.SYNC_FOLDER_DEVICE_PROFILE, AppProfile.APP_WEB_DICT);
if (!appWebDict.exists()) {
IOUtils.copyClose(c.getAssets().open(AppProfile.APP_WEB_DICT), new FileOutputStream(appWebDict));
LOG.d("copy-dict", AppProfile.APP_WEB_DICT);
}
String[] rootFiles = c.getAssets().list("");
File appWebSearch = new File(AppProfile.SYNC_FOLDER_DEVICE_PROFILE, AppProfile.APP_WEB_SEARCH);
if (!appWebSearch.exists()) {
IOUtils.copyClose(c.getAssets().open(AppProfile.APP_WEB_SEARCH), new FileOutputStream(appWebSearch));
LOG.d("copy-dict", AppProfile.APP_WEB_SEARCH);
for (String name : rootFiles) {
if (name.startsWith("app-")) {
File appFile = new File(AppProfile.SYNC_FOLDER_DEVICE_PROFILE, name);
if (BuildConfig.DEBUG || !appFile.exists()) {
IOUtils.copyClose(c.getAssets().open(name), new FileOutputStream(appFile));
LOG.d("Copy Asset", name);
}
}
}
}
} catch (Exception e) {
LOG.e(e);

View File

@@ -16,15 +16,12 @@ import com.foobnix.model.AppBook;
import com.foobnix.model.AppProfile;
import com.foobnix.model.AppSP;
import com.foobnix.model.AppState;
import com.foobnix.pdf.info.AppsConfig;
import com.foobnix.pdf.info.ExtUtils;
import com.foobnix.pdf.info.wrapper.MagicHelper;
import com.foobnix.ui2.AppDB;
import com.foobnix.ui2.FileMetaCore;
import org.ebookdroid.LibreraApp;
import org.ebookdroid.common.settings.books.SharedBooks;
import org.ebookdroid.droids.DocContext;
import org.librera.LinkedJSONObject;
import java.io.File;
@@ -76,7 +73,7 @@ public class BookCSS {
public String syncOneDrivePath = new File(AppProfile.DOWNLOADS_DIR, "Librera/" + LIBRERA_CLOUD_ONEDRIVE).getPath();
public String dictPath;
public String fontFolder;
public volatile int fontSizeSp = Dips.isXLargeScreen() ? 32 : 24;
public volatile int fontSizeSp = Dips.isXLargeScreen() ? 28 : 22;
public float appFontScale = 1.0f;
public String mp3BookPathJson;
public String dirLastPath;
@@ -118,7 +115,7 @@ public class BookCSS {
public String linkColorDays = LINKCOLOR_DAYS;
@IgnoreHashCode
public String linkColorNigths = LINKCOLOR_NIGHTS;
public String userStyleCss = "app-Librera.css";
private String lastBookPathCache = "";
private String trackPathCache;
@@ -552,25 +549,19 @@ public class BookCSS {
StringBuilder builder = new StringBuilder();
File cssFile = new File(AppProfile.SYNC_FOLDER_DEVICE_PROFILE, userStyleCss);
String css = IO.readString(cssFile);
builder.append(css);
String backgroundColor = MagicHelper.colorToString(MagicHelper.getBgColor());
String textColor = MagicHelper.colorToString(MagicHelper.getTextColor());
builder.append("documentStyle" + documentStyle + "{}");
builder.append("isAutoHypens1" + isAutoHypens + AppSP.get().hypenLang + "{}");
builder.append("b>span,strong>span{font-weight:normal}");// fix chess
if (path.endsWith(DocContext.EXT_DOC_HTML)) {
builder.append("book>title, bookinfo {display:none}");
//builder.append("emphasis {display:inline}");
//builder.append("chapter,sect1, title {display:block}");
}
builder.append("svg {display:block}");
builder.append("math, m, svg>text {display:none}");
builder.append("sup>* {font-size:0.83em;vertical-align:super; font-weigh:bold}");
// PAGE BEGIN
builder.append("@page{");
builder.append(String.format("margin-top:%s !important;", em(marginTop)));
@@ -579,27 +570,12 @@ public class BookCSS {
builder.append(String.format("margin-left:%s !important;", em(marginLeft)));
builder.append("}");
// PAGE END
// FB2
builder.append("section>title{page-break-before:avoide;}");
builder.append("section>title>p{text-align:center !important; text-indent:0px !important;}");
builder.append("title>p{text-align:center !important; text-indent:0px !important;}");
builder.append("subtitle{text-align:center !important; text-indent:0px !important;}");
builder.append("image{text-align:center; text-indent:0px;}");
builder.append("section+section>title{page-break-before:always;}");
builder.append(String.format("empty-line{display:block; padding:%s;}", em(emptyLine)));
builder.append("epigraph{text-align:right; margin-left:2em;font-style: italic;}");
builder.append("text-author{font-style: italic;font-weight: bold;}");
builder.append("p>image{display:block;}");
builder.append(String.format("empty-line{padding:%s;}", em(emptyLine)));
if (paragraphHeight > 0) {// bug is here
builder.append(String.format("p{margin:%s 0}", em(paragraphHeight)));
}
// not supported text-decoration
builder.append("del,ins,u,strikethrough{font-family:monospace;}");
// FB2 END
builder.append("body,p,div,span {");
@@ -610,22 +586,16 @@ public class BookCSS {
builder.append(String.format("background-color:%s;", backgroundColor));
builder.append(String.format("color:%s;", textColor));
}
builder.append(String.format("line-height:%s !important;", em(lineHeight)));
builder.append("}");
builder.append("body{");
builder.append("padding:0 !important; margin:0 !important;");
builder.append("}");
if (AppState.get().isDayNotInvert) {
builder.append("t{color:" + linkColorDay + " !important; font-style: italic;}");
builder.append("t{color:" + linkColorDay + " !important;");
} else {
builder.append("t{color:" + linkColorNight + " !important; font-style: italic;}");
builder.append("t{color:" + linkColorNight + " !important;}");
}
if (documentStyle == STYLES_DOC_AND_USER || documentStyle == STYLES_ONLY_USER) {
if (AppState.get().isDayNotInvert) {
builder.append("a{color:" + linkColorDay + " !important;}");
} else {
@@ -655,30 +625,27 @@ public class BookCSS {
if (isFontFileName(headersFont)) {
builder.append("@font-face {font-family: myHeader; src: url('" + headersFont + "') format('truetype'); }");
builder.append("h1{font-size:1.50em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h2{font-size:1.30em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h3{font-size:1.15em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h4{font-size:1.00em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h5{font-size:0.80em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h6{font-size:0.60em; text-align: center; font-weight: normal; font-family: myHeader;}");
builder.append("h1{font-weight: normal; font-family: myHeader;}");
builder.append("h2{font-weight: normal; font-family: myHeader;}");
builder.append("h3{font-weight: normal; font-family: myHeader;}");
builder.append("h4{font-weight: normal; font-family: myHeader;}");
builder.append("h5{font-weight: normal; font-family: myHeader;}");
builder.append("h6{font-weight: normal; font-family: myHeader;}");
builder.append("title,title>p,title>p>strong {font-size:1.2em; font-weight: normal; font-family: myHeader !important;}");
builder.append(/* */ "subtitle{font-size:1.0em; font-weight: normal; font-family: myHeader !important;}");
builder.append("title,title>p,title>p>strong {font-weight: normal; font-family: myHeader !important;}");
builder.append(/* */ "subtitle{font-weight: normal; font-family: myHeader !important;}");
} else {
builder.append("h1{font-size:1.50em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h2{font-size:1.30em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h3{font-size:1.15em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h4{font-size:1.00em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h5{font-size:0.80em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h6{font-size:0.60em; text-align: center; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h1{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h2{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h3{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h4{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h5{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("h6{font-weight: bold; font-family: " + headersFont + ";}");
builder.append("title, title>p{font-size:1.2em; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("subtitle, subtitle>p{font-size:1.0em; font-weight: bold; font-family: " + headersFont + ";}");
builder.append("title, title>p{ font-weight: bold; font-family: " + headersFont + ";}");
builder.append("subtitle, subtitle>p{font-weight: bold; font-family: " + headersFont + ";}");
}
builder.append("h1,h2,h3,h4,h5,h6,img {text-indent:0px !important; text-align: center;}");
// FONTS END
// BODY BEGIN
@@ -711,9 +678,7 @@ public class BookCSS {
if (isFontFileName(normalFont)) {
builder.append("font-family: my !important;");
} else {
//if (LibreraApp.MUPDF_VERSION == AppsConfig.MUPDF_1_11) {
builder.append("font-family:" + normalFont + " !important;");
//}
builder.append("font-family:" + normalFont + " !important;");
}
if (AppState.get().isAccurateFontSize) {
@@ -726,9 +691,7 @@ public class BookCSS {
builder.append(String.format("p,span{text-indent:%s;}", em(textIndent)));
if (!isFontFileName(boldFont)) {
//if (LibreraApp.MUPDF_VERSION == AppsConfig.MUPDF_1_11) {
builder.append("b{font-family:" + boldFont + ";font-weight: bold;}");
//}
builder.append("b{font-family:" + boldFont + ";font-weight: bold;}");
}
if (!isFontFileName(italicFont)) {
@@ -742,6 +705,7 @@ public class BookCSS {
}
String result = builder.toString();
return result;

View File

@@ -4215,6 +4215,33 @@ public class DragingDialogs {
}
});
//user styles
inflate.findViewById(R.id.userStyles).setVisibility(ExtUtils.isTextFomat(controller.getCurrentBook().getPath()) ? View.VISIBLE : View.GONE);
final TextView userStyleCss = (TextView) inflate.findViewById(R.id.userStyleCss);
userStyleCss.setText(BookCSS.get().userStyleCss);
TxtUtils.underlineTextView(userStyleCss);
userStyleCss.setOnClickListener(v -> {
final PopupMenu popupMenu = new PopupMenu(v.getContext(), v);
File rootFiles = AppProfile.SYNC_FOLDER_DEVICE_PROFILE;
for (File file : rootFiles.listFiles()) {
String name = file.getName();
if (name.endsWith(".css")) {
popupMenu.getMenu().add(name).setOnMenuItemClickListener(item -> {
BookCSS.get().userStyleCss = name;
userStyleCss.setText(BookCSS.get().userStyleCss);
TxtUtils.underlineTextView(userStyleCss);
return false;
});
}
}
popupMenu.show();
});
// end styles

View File

@@ -877,8 +877,8 @@ public class PrefFragment2 extends UIFragment {
String name = all[0];
final String code = all[1];
if(BuildConfig.DEBUG){
name += " [" + code+"]";
if (BuildConfig.DEBUG) {
name += " [" + code + "]";
}
popupMenu.getMenu().add(name).setOnMenuItemClickListener(new OnMenuItemClickListener() {
@@ -1194,14 +1194,14 @@ public class PrefFragment2 extends UIFragment {
isRestoreSearchQuery.setChecked(AppState.get().isRestoreSearchQuery);
isRestoreSearchQuery.setOnCheckedChangeListener(new
OnCheckedChangeListener() {
OnCheckedChangeListener() {
@Override
public void onCheckedChanged(final CompoundButton buttonView,
final boolean isChecked) {
AppState.get().isRestoreSearchQuery = isChecked;
}
});
@Override
public void onCheckedChanged(final CompoundButton buttonView,
final boolean isChecked) {
AppState.get().isRestoreSearchQuery = isChecked;
}
});
CheckBox isShowCloseAppDialog = inflate.findViewById(R.id.isShowCloseAppDialog);
isShowCloseAppDialog.setChecked(AppState.get().isShowCloseAppDialog);
@@ -1288,7 +1288,6 @@ public class PrefFragment2 extends UIFragment {
AppState.get().isDisplayAnnotation = isDisplayAnnotation.isChecked();
handler.removeCallbacksAndMessages(null);
handler.postDelayed(ask, timeout);
handler.postDelayed(new Runnable() {
@@ -2469,6 +2468,18 @@ public class PrefFragment2 extends UIFragment {
AppProfile.syncExclude.delete();
File rootFiles = AppProfile.SYNC_FOLDER_DEVICE_PROFILE;
for (File file : rootFiles.listFiles()) {
String name = file.getName();
if (name.endsWith(".css")) {
file.delete();
LOG.d("Delete-css", file);
}
}
//AppProfile.init(getActivity());
BooksService.startForeground(getActivity(), BooksService.ACTION_SEARCH_ALL);
onTheme();

View File

@@ -114,6 +114,35 @@
android:tint="@color/tint_gray" />
</LinearLayout>
<LinearLayout
android:id="@+id/userStyles"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:singleLine="true"
android:text="@string/user_styles"
android:textStyle="bold" />
<TextView
android:id="@+id/userStyleCss"
style="@style/textLink"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="false"
android:text="@string/user_styles" />
</LinearLayout>
<CheckBox

View File

@@ -90,7 +90,6 @@
<string name="custom_css">لغة تنسيق ويب حسب الطلب</string>
<string name="styles">الأنماط</string>
<string name="document_styles">أنماط المستند</string>
<string name="user_styles">أساليب العضو</string>
<string name="automatic_hyphenation">الواصلة التلقائي</string>
<string name="empty_line">خط فارغ</string>
<string name="margin_width">عرض الهوامش</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">بحث الويب (Google ، ...)</string>
<string name="synced_books">الكتب المتزامنة</string>
<string name="smart_reflow">إعادة التدفق الذكي</string>
<string name="user_styles">أساليب العضو</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Персонализиран css код</string>
<string name="styles">Стилове</string>
<string name="document_styles">Документ</string>
<string name="user_styles">Дефинирани от потребителя</string>
<string name="automatic_hyphenation">Дайте възможност за тирене</string>
<string name="empty_line">Строфа почивка</string>
<string name="margin_width">Полета на страницата</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Търсене в мрежата (Google, ...)</string>
<string name="synced_books">Синхронизирани книги</string>
<string name="smart_reflow">Интелигентно преформатиране</string>
<string name="user_styles">Дефинирани от потребителя</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Vlastní CSS styl</string>
<string name="styles">Styly</string>
<string name="document_styles">Dokument</string>
<string name="user_styles">Uživatelsky definované</string>
<string name="automatic_hyphenation">Povolit dělení slov</string>
<string name="empty_line">Prázdný řádek</string>
<string name="margin_width">Okraje stránky</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Vyhledávání na webu (Google, ...)</string>
<string name="synced_books">Synchronizované knihy</string>
<string name="smart_reflow">Chytré přeformátování</string>
<string name="user_styles">Uživatelsky definované</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Benutzerdefinierte CSS</string>
<string name="styles">Stile</string>
<string name="document_styles">Dokumentenstile</string>
<string name="user_styles">Anwenderstile</string>
<string name="automatic_hyphenation">Automatische Silbentrennung</string>
<string name="empty_line">Leere Zeile</string>
<string name="margin_width">Randbreite</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Websuche (Google, ...)</string>
<string name="synced_books">Synchronisierte Bücher</string>
<string name="smart_reflow">Intelligenter Rückfluss</string>
<string name="user_styles">Anwenderstile</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Προσαρμοσμένος κωδικός CSS</string>
<string name="styles">Στυλ</string>
<string name="document_styles">Έγγραφο</string>
<string name="user_styles">Ορισμένο από τον χρήστη</string>
<string name="automatic_hyphenation">Ενεργοποίηση συλλαβισμού</string>
<string name="empty_line">Διάλειμμα στάνζας</string>
<string name="margin_width">Περιθώρια σελίδας</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Αναζήτηση ιστού (Google, ...)</string>
<string name="synced_books">Συγχρονισμένα βιβλία</string>
<string name="smart_reflow">Έξυπνη ανανέωση</string>
<string name="user_styles">Ορισμένο από τον χρήστη</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS personalizado</string>
<string name="styles">Estilos</string>
<string name="document_styles">Documento</string>
<string name="user_styles">Estilos de usuario</string>
<string name="automatic_hyphenation">Activar separación (-)</string>
<string name="empty_line">Espacio entre estrofas</string>
<string name="margin_width">Márgenes</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Búsqueda web (Google, ...)</string>
<string name="synced_books">Libros sincronizados</string>
<string name="smart_reflow">Reflujo inteligente</string>
<string name="user_styles">Estilos de usuario</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS سفارشی</string>
<string name="styles">سبک</string>
<string name="document_styles">سبک های سند</string>
<string name="user_styles">سبک های کاربر</string>
<string name="automatic_hyphenation">فاصلهگذاری اتوماتیک</string>
<string name="empty_line">خط خالی</string>
<string name="margin_width">عرض حاشیه</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">جستجوی وب (گوگل، ...)</string>
<string name="synced_books">کتاب های همگام شده</string>
<string name="smart_reflow">جریان مجدد هوشمند</string>
<string name="user_styles">سبک های کاربر</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Mukautettu CSS</string>
<string name="styles">Tyylit</string>
<string name="document_styles">Asiakirja</string>
<string name="user_styles">Käyttäjän tyylit</string>
<string name="automatic_hyphenation">Tekstin tavutus</string>
<string name="empty_line">Tyhjä rivi</string>
<string name="margin_width">Sivun marginaalit</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Verkkohaku (Google,...)</string>
<string name="synced_books">Synkronoidut kirjat</string>
<string name="smart_reflow">Älykäs reflow</string>
<string name="user_styles">Käyttäjän tyylit</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS personnalisé</string>
<string name="styles">Modes</string>
<string name="document_styles">Styles de document</string>
<string name="user_styles">Styles utilisateur</string>
<string name="automatic_hyphenation">Césure automatique</string>
<string name="empty_line">Ligne vide</string>
<string name="margin_width">Largeur de marge</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Recherche internet (Google, ...)</string>
<string name="synced_books">Livres synchronisés</string>
<string name="smart_reflow">Refusion intelligente</string>
<string name="user_styles">Styles utilisateur</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Cód saincheaptha CSS</string>
<string name="styles">Stíleanna</string>
<string name="document_styles">Doiciméad</string>
<string name="user_styles">Sainithe ag an úsáideoir</string>
<string name="automatic_hyphenation">Hyphenation a chumasú</string>
<string name="empty_line">Briseadh stanza</string>
<string name="margin_width">Corrlaigh leathanaigh</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Cuardach gréasáin (Google, ...)</string>
<string name="synced_books">Leabhair synced</string>
<string name="smart_reflow">Reflow cliste</string>
<string name="user_styles">Sainithe ag an úsáideoir</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS מותאם אישית</string>
<string name="styles">סגנונות</string>
<string name="document_styles">סגנונות מסמך</string>
<string name="user_styles">סגנונות משתמש</string>
<string name="automatic_hyphenation">המיקוף אוטומטי</string>
<string name="empty_line">שורה ריקה</string>
<string name="margin_width">רוחב שולי</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">חיפוש באינטרנט (גוגל,...)</string>
<string name="synced_books">ספרים מסונכרנים</string>
<string name="smart_reflow">זרימה חוזרת חכמה</string>
<string name="user_styles">סגנונות משתמש</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">कस्टम सीएसएस</string>
<string name="styles">शैलियाँ</string>
<string name="document_styles">दस्तावेज़ शैलियाँ</string>
<string name="user_styles">उपयोगकर्ता शैलियों</string>
<string name="automatic_hyphenation">स्वत: हायफ़नेशन</string>
<string name="empty_line">खाली पंक्ति</string>
<string name="margin_width">मार्जिन चौड़ाई</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">वेब खोज (गूगल,...)</string>
<string name="synced_books">समन्वयित पुस्तकें</string>
<string name="smart_reflow">स्मार्ट रिफ्लो</string>
<string name="user_styles">उपयोगकर्ता शैलियों</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Egyéni CSS-kód</string>
<string name="styles">Stílusok</string>
<string name="document_styles">Dokumentum</string>
<string name="user_styles">Felhasználó által meghatározott</string>
<string name="automatic_hyphenation">Elválasztás engedélyezése</string>
<string name="empty_line">Üres sor</string>
<string name="margin_width">Oldalmargók</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Webes kereső (Google,...)</string>
<string name="synced_books">Szinkronizált könyvek</string>
<string name="smart_reflow">Okos reflow</string>
<string name="user_styles">Felhasználó által meghatározott</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS khusus</string>
<string name="styles">Gaya</string>
<string name="document_styles">Gaya dokumen</string>
<string name="user_styles">Gaya pengguna</string>
<string name="automatic_hyphenation">Tanda hubung otomatis</string>
<string name="empty_line">Garis kosong</string>
<string name="margin_width">Lebar margin</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Pencarian web (Google, ...)</string>
<string name="synced_books">Buku yang disinkronkan</string>
<string name="smart_reflow">Reflow cerdas</string>
<string name="user_styles">Gaya pengguna</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS personalizzato</string>
<string name="styles">Stili</string>
<string name="document_styles">Stili del documento</string>
<string name="user_styles">Stili utente</string>
<string name="automatic_hyphenation">Sillabazione automatica</string>
<string name="empty_line">Linea vuota</string>
<string name="margin_width">Larghezza dei margini</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Ricerca sul web (Google, ...)</string>
<string name="synced_books">Libri sincronizzati</string>
<string name="smart_reflow">Riflusso intelligente</string>
<string name="user_styles">Stili utente</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">カスタムCSS</string>
<string name="styles">スタイル</string>
<string name="document_styles">文書のスタイル</string>
<string name="user_styles">ユーザーのスタイル</string>
<string name="automatic_hyphenation">自動ハイフネーション</string>
<string name="empty_line">空行</string>
<string name="margin_width">マージン幅</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Web 検索 (Google など)</string>
<string name="synced_books">同期書籍</string>
<string name="smart_reflow">スマートリフロー</string>
<string name="user_styles">ユーザーのスタイル</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Таңдамалы CSS коды</string>
<string name="styles">Стильдер</string>
<string name="document_styles">Құжат</string>
<string name="user_styles">Пайдаланушы анықтаған</string>
<string name="automatic_hyphenation">Тасымалдауды қосу</string>
<string name="empty_line">Бос жол</string>
<string name="margin_width">Бет жағы</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Веб-іздеу (Google, ...)</string>
<string name="synced_books">Синхрондалған кітаптар</string>
<string name="smart_reflow">Ақылды қайта өңдеу</string>
<string name="user_styles">Пайдаланушы анықтаған</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">맞춤 CSS</string>
<string name="styles">스타일</string>
<string name="document_styles">문서 스타일</string>
<string name="user_styles">사용자 스타일</string>
<string name="automatic_hyphenation">자동 하이픈</string>
<string name="empty_line">빈 라인</string>
<string name="margin_width">여백 폭</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">웹 검색(구글, ...)</string>
<string name="synced_books">동기화된 책</string>
<string name="smart_reflow">스마트 리플로우</string>
<string name="user_styles">사용자 스타일</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS usufructuarii</string>
<string name="styles">Styli</string>
<string name="document_styles">Insinuati</string>
<string name="user_styles">Styli usufructuarii</string>
<string name="automatic_hyphenation">Transponimentum verborum</string>
<string name="empty_line">Empty Line</string>
<string name="margin_width">Latitudo marginum</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Interretialem inquisitionem (Google, ...)</string>
<string name="synced_books">Synced libri</string>
<string name="smart_reflow">Dolor reflow</string>
<string name="user_styles">Styli usufructuarii</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Tinkintas CSS</string>
<string name="styles">Stiliai</string>
<string name="document_styles">Dokumento</string>
<string name="user_styles">Vartotojo</string>
<string name="automatic_hyphenation">Automatinė pertrauka</string>
<string name="empty_line">Tuščia linija</string>
<string name="margin_width">Paraštės plotis</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Žiniatinklio paieška (Google,...)</string>
<string name="synced_books">Sinchronizuotos knygos</string>
<string name="smart_reflow">Protingas pertvarkymas</string>
<string name="user_styles">Vartotojo</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">ഇഷ്‌ടാനുസൃത css കോഡ്</string>
<string name="styles">ശൈലികൾ</string>
<string name="document_styles">പ്രമാണം</string>
<string name="user_styles">ഉപയോക്താവ് നിർവചിച്ചിരിക്കുന്നത്</string>
<string name="automatic_hyphenation">ഹൈഫനേഷൻ പ്രാപ്തമാക്കുക</string>
<string name="empty_line">സ്റ്റാൻസ ബ്രേക്ക്</string>
<string name="margin_width">പേജ് മാർ‌ജിനുകൾ‌</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">വെബ് തിരയൽ (ഗൂഗിൾ, ...)</string>
<string name="synced_books">സമന്വയിപ്പിച്ച പുസ്തകങ്ങൾ</string>
<string name="smart_reflow">സ്മാർട്ട് റിഫ്ലോ</string>
<string name="user_styles">ഉപയോക്താവ് നിർവചിച്ചിരിക്കുന്നത്</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Aangepaste CSS code</string>
<string name="styles">Stijlen</string>
<string name="document_styles">Document stijlen</string>
<string name="user_styles">Gebruiker stijlen</string>
<string name="automatic_hyphenation">Automatische woordafbreking</string>
<string name="empty_line">Lege regel</string>
<string name="margin_width">Margebreedte</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Zoeken op internet (Google, ...)</string>
<string name="synced_books">Gesynchroniseerde boeken</string>
<string name="smart_reflow">Slimme reflow</string>
<string name="user_styles">Gebruiker stijlen</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Tilpasset CSS</string>
<string name="styles">Styles</string>
<string name="document_styles">Dokumentstiler</string>
<string name="user_styles">Brukerstiler</string>
<string name="automatic_hyphenation">Automatisk bindestrek</string>
<string name="empty_line">Tom linje</string>
<string name="margin_width">Marginbredde</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Nettsøk (Google, ...)</string>
<string name="synced_books">Synkroniserte bøker</string>
<string name="smart_reflow">Smart reflow</string>
<string name="user_styles">Brukerstiler</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Niestandardowy CSS</string>
<string name="styles">Style</string>
<string name="document_styles">Style dokumentu</string>
<string name="user_styles">Style użytkownika</string>
<string name="automatic_hyphenation">Automatyczne dzielenie wyrazów</string>
<string name="empty_line">Pusta linia</string>
<string name="margin_width">Szerokość marginesu</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Wyszukiwarka internetowa (Google, ...)</string>
<string name="synced_books">Zsynchronizowane książki</string>
<string name="smart_reflow">Inteligentny reflow</string>
<string name="user_styles">Style użytkownika</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS customizado</string>
<string name="styles">Styles</string>
<string name="document_styles">Estilos de documentos</string>
<string name="user_styles">Estilos do usuário</string>
<string name="automatic_hyphenation">Hifenização automática</string>
<string name="empty_line">Linha vazia</string>
<string name="margin_width">Largura da margem</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Pesquisa na web (Google, ...)</string>
<string name="synced_books">Livros sincronizados</string>
<string name="smart_reflow">Refluxo inteligente</string>
<string name="user_styles">Estilos do usuário</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS personalizat</string>
<string name="styles">Stiluri</string>
<string name="document_styles">Stilurile documentului</string>
<string name="user_styles">Stiluri de utilizare</string>
<string name="automatic_hyphenation">Automată despărțirea în silabe</string>
<string name="empty_line">Linie goală</string>
<string name="margin_width">Lățimea marginii</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Căutare pe web (Google,...)</string>
<string name="synced_books">Cărți sincronizate</string>
<string name="smart_reflow">Reflow inteligent</string>
<string name="user_styles">Stiluri de utilizare</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Пользовательские CSS</string>
<string name="styles">Стили</string>
<string name="document_styles">Встроенные</string>
<string name="user_styles">Пользовательские</string>
<string name="automatic_hyphenation">Автоматически расставлять переносы</string>
<string name="empty_line">Пустая строка</string>
<string name="margin_width">Ширина отступов</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Веб-поиск (Google, ...)</string>
<string name="synced_books">Синхронизированные книги</string>
<string name="smart_reflow">Умный перекомпоновка</string>
<string name="user_styles">Пользовательские</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Còdighe CSS personalizadu</string>
<string name="styles">Istiles</string>
<string name="document_styles">Documentu</string>
<string name="user_styles">Definidu dae s\'utente</string>
<string name="automatic_hyphenation">Abìlita sa sillabatzione</string>
<string name="empty_line">Lìnia bòida</string>
<string name="margin_width">Oros de sa pàgina</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Web search (Google, ...)</string>
<string name="synced_books">Synced books</string>
<string name="smart_reflow">Smart reflow</string>
<string name="user_styles">Definidu dae s\'utente</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Vlastné CSS</string>
<string name="styles">Štýly</string>
<string name="document_styles">Štýly dokumentu</string>
<string name="user_styles">Štýly užívateľských</string>
<string name="automatic_hyphenation">Automatické delenie slov</string>
<string name="empty_line">Prázdny riadok</string>
<string name="margin_width">Šírka Margin</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Vyhľadávanie na webe (Google, ...)</string>
<string name="synced_books">Synchronizované knihy</string>
<string name="smart_reflow">Inteligentné preformátovanie</string>
<string name="user_styles">Štýly užívateľských</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Anpassad CSS</string>
<string name="styles">Styles</string>
<string name="document_styles">Dokument~~POS=TRUNC stilar</string>
<string name="user_styles">Användar stilar</string>
<string name="automatic_hyphenation">Automatisk avstavning</string>
<string name="empty_line">Tom rad</string>
<string name="margin_width">Marginal bredd</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Webbsökning (Google, ...)</string>
<string name="synced_books">Synkroniserade böcker</string>
<string name="smart_reflow">Smart återflöde</string>
<string name="user_styles">Användar stilar</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Desturi CSS</string>
<string name="styles">Styles</string>
<string name="document_styles">Mitindo Document</string>
<string name="user_styles">Mitindo user</string>
<string name="automatic_hyphenation">Moja kwa moja hyphenation</string>
<string name="empty_line">Line tupu</string>
<string name="margin_width">Margin upana</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Utafutaji wa wavuti (Google, ...)</string>
<string name="synced_books">Vitabu vilivyosawazishwa</string>
<string name="smart_reflow">Smart reflow</string>
<string name="user_styles">Mitindo user</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">தனிப்பயன் CSS குறியீடு</string>
<string name="styles">பாங்குகள்</string>
<string name="document_styles">ஆவணம்</string>
<string name="user_styles">பயனர் வரையறுத்த</string>
<string name="automatic_hyphenation">சொல்பிரிகை இயக்கு</string>
<string name="empty_line">ஸ்டான்ஸா இடைவெளி</string>
<string name="margin_width">பக்க விளிம்புகள்</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">இணைய தேடல் (Google, ...)</string>
<string name="synced_books">ஒத்திசைக்கப்பட்ட புத்தகங்கள்</string>
<string name="smart_reflow">ஸ்மார்ட் ரிஃப்ளோ</string>
<string name="user_styles">பயனர் வரையறுத்த</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Custom CSS</string>
<string name="styles">รูปแบบ</string>
<string name="document_styles">รูปแบบเอกสาร</string>
<string name="user_styles">สไตล์ของผู้ใช้</string>
<string name="automatic_hyphenation">เปิดใช้งานการแบ่งพยางค์ด้วยเครื่องหมายยัติภังค์</string>
<string name="empty_line">บรรทัดว่าง</string>
<string name="margin_width">ความกว้างขอบ</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">ค้นเว็บ (Google, ...)</string>
<string name="synced_books">หนังสือที่ซิงค์</string>
<string name="smart_reflow">สมาร์ทรีโฟลว์</string>
<string name="user_styles">สไตล์ของผู้ใช้</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Özel CSS kodu</string>
<string name="styles">Stiller</string>
<string name="document_styles">Belge</string>
<string name="user_styles">Kullanıcı</string>
<string name="automatic_hyphenation">Hecelemeyi aç</string>
<string name="empty_line">Boş Hattı</string>
<string name="margin_width">Kenar Boşlukları</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Web araması (Google, ...)</string>
<string name="synced_books">Senkronize edilmiş kitaplar</string>
<string name="smart_reflow">Akıllı yeniden akış</string>
<string name="user_styles">Kullanıcı</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Користувацький CSS</string>
<string name="styles">Стилі</string>
<string name="document_styles">Вбудовані</string>
<string name="user_styles">Користувацькі</string>
<string name="automatic_hyphenation">Авторозставляння перенесень</string>
<string name="empty_line">Порожній рядок</string>
<string name="margin_width">Розмір відступів</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Веб-пошук (Google, ...)</string>
<string name="synced_books">Синхронізовані книги</string>
<string name="smart_reflow">Розумне оплавлення</string>
<string name="user_styles">Користувацькі</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">CSS tùy chỉnh</string>
<string name="styles">Styles</string>
<string name="document_styles">Kiểu tài liệu</string>
<string name="user_styles">Phong cách người dùng</string>
<string name="automatic_hyphenation">Dấu gạch nối tự động</string>
<string name="empty_line">Hết đường</string>
<string name="margin_width">Chiều rộng lề</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Tìm kiếm trên web (Google, ...)</string>
<string name="synced_books">Sách được đồng bộ hóa</string>
<string name="smart_reflow">Chỉnh lại thông minh</string>
<string name="user_styles">Phong cách người dùng</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">自定义CSS代码</string>
<string name="styles">样式</string>
<string name="document_styles">文档样式</string>
<string name="user_styles">用户样式</string>
<string name="automatic_hyphenation">自动断字</string>
<string name="empty_line">段落间距</string>
<string name="margin_width">页边距</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">网络搜索(谷歌...</string>
<string name="synced_books">同步书籍</string>
<string name="smart_reflow">智能重排</string>
</resources>
<string name="user_styles">用户样式</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">自定義CSS</string>
<string name="styles">樣式</string>
<string name="document_styles">文檔樣式</string>
<string name="user_styles">用戶樣式</string>
<string name="automatic_hyphenation">自動斷字</string>
<string name="empty_line">標題間距</string>
<string name="margin_width">頁邊空白</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">網絡搜索(谷歌,...</string>
<string name="synced_books">同步書籍</string>
<string name="smart_reflow">智能回流</string>
<string name="user_styles">用戶樣式</string>
</resources>

View File

@@ -90,7 +90,6 @@
<string name="custom_css">Custom CSS Code</string>
<string name="styles">Styles</string>
<string name="document_styles">Document</string>
<string name="user_styles">User-defined</string>
<string name="automatic_hyphenation">Enable hyphenation</string>
<string name="empty_line">Stanza break</string>
<string name="margin_width">Page margins</string>
@@ -647,4 +646,5 @@
<string name="web_search_google">Web Search (Google, ...)</string>
<string name="synced_books">Synced books</string>
<string name="smart_reflow">Smart reflow</string>
<string name="user_styles">User styles</string>
</resources>

View File

@@ -362,5 +362,5 @@ h3{
font-size: 1.0em;
margin: 1em 0 0 0;
padding-top: 0;
font-weight: 400;
font-weight: normal;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

@@ -4,6 +4,19 @@ layout: main
# ما الجديد
### [8.6.47] دعم CSS مخصص ودعم الجدول
تمت إضافة إمكانية اختيار ملف css لأنماط المستخدم
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] تدوير الصفحة في القائمة السفلية
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# Was ist neu
### [8.6.47] Benutzerdefinierte CSS-Unterstützung und Tabellenunterstützung
Möglichkeit zur Auswahl der CSS-Datei für Benutzerstile hinzugefügt
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Seite drehen im unteren Menü
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# Novedades
### [8.6.47] Compatibilidad con CSS personalizado y compatibilidad con tablas
Se agregó la posibilidad de elegir el archivo css de estilos de usuario
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Rotar página en el menú inferior
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# Quoi de neuf
### [8.6.47] Prise en charge CSS personnalisée et prise en charge des tableaux
Ajout de la possibilité de choisir le fichier CSS des styles utilisateur
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Faire pivoter la page dans le menu du bas
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# What is new
### [8.6.47] Custom CSS support and Table support
Added possibility to choose user styles css file
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Rotate page in the bottom menu
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# Cosa c'è di nuovo
### [8.6.47] Supporto CSS personalizzato e supporto per tabelle
Aggiunta la possibilità di scegliere il file CSS degli stili utente
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Ruota pagina nel menu in basso
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# O que há de novo
### [8.6.47] Suporte a CSS personalizado e suporte a tabelas
Adicionada a possibilidade de escolher o arquivo css de estilos de usuário
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Girar página no menu inferior
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# Що нового
### [8.6.47] Спеціальна підтримка CSS і підтримка таблиць
Додана можливість вибору файлу css стилів користувача
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] Обертання сторінки в нижньому меню
<img class="i" src="8.6.44.png" />

View File

@@ -4,6 +4,19 @@ layout: main
# 新功能
### [8.6.47] 自定义 CSS 支持和表格支持
增加了选择用户样式 css 文件的可能性
```
/sdcard/Librera/profile.Librera/device.[]/*.css
app-Librera.css - Librera default user styles for documents
app-MuPDF.css - Default MUPDF styles with Table support
```
||||
|-|-|-|
|![](8.6.47a.png)|![](8.6.47b.png)|![](8.6.47c.png)|
### [8.6.44] 在底部菜单中旋转页面
<img class="i" src="8.6.44.png" />