Save padding values in file

This commit is contained in:
Matthias Neeracher 2011-09-04 03:21:14 +02:00
parent 955dfe411e
commit ab32c3cc12

View File

@ -37,7 +37,8 @@
[wrap addRegularFileWithContents:pd preferredFilename:@"PrintInfo"];
if (!sPropertyKeys)
sPropertyKeys = [[NSArray alloc] initWithObjects:
@"staffSize", @"chordSize", @"lyricSize", nil];
@"staffSize", @"chordSize", @"lyricSize",
@"topPadding", @"titlePadding", @"staffPadding", @"chordPadding", @"lyricPadding", nil];
NSData * prop = [NSPropertyListSerialization dataFromPropertyList:
[self dictionaryWithValuesForKeys:sPropertyKeys]
format:NSPropertyListXMLFormat_v1_0