mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
removed obsolete code
This commit is contained in:
parent
dcc0ec8f09
commit
4fb33dc945
5 changed files with 10 additions and 335 deletions
|
@ -255,32 +255,7 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
|
||||
final Screen moreStylesScreen = textScreen.createPreferenceScreen("more");
|
||||
|
||||
byte styles[] = {
|
||||
FBTextKind.REGULAR,
|
||||
//FBTextKind.XHTML_TAG_P,
|
||||
//FBTextKind.TITLE,
|
||||
//FBTextKind.SECTION_TITLE,
|
||||
//FBTextKind.SUBTITLE,
|
||||
//FBTextKind.H1,
|
||||
//FBTextKind.H2,
|
||||
//FBTextKind.H3,
|
||||
//FBTextKind.H4,
|
||||
//FBTextKind.H5,
|
||||
//FBTextKind.H6,
|
||||
FBTextKind.ANNOTATION,
|
||||
FBTextKind.EPIGRAPH,
|
||||
FBTextKind.AUTHOR,
|
||||
FBTextKind.POEM_TITLE,
|
||||
//FBTextKind.STANZA,
|
||||
FBTextKind.VERSE,
|
||||
//FBTextKind.CITE,
|
||||
};
|
||||
for (int i = 0; i < styles.length; ++i) {
|
||||
final ZLTextStyleDecoration decoration = collection.getDecoration(styles[i]);
|
||||
if (decoration == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
final Screen formatScreen = moreStylesScreen.createPreferenceScreen(decoration.Name);
|
||||
formatScreen.addPreference(new FontPreference(
|
||||
this, textScreen.Resource, "font",
|
||||
|
@ -349,7 +324,7 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
this, textScreen.Resource, "lineSpacing",
|
||||
spacePercentOption, spacingValues, spacingKeys
|
||||
));
|
||||
}
|
||||
*/
|
||||
|
||||
for (ZLTextNGStyleDescription description : collection.getDescriptionList()) {
|
||||
final Screen ngScreen = moreStylesScreen.createPreferenceScreen(description.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue