← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~gtalent/openlp/easyworship6 into lp:openlp

 

It needs a better RTF parser. Right now, it just spits out the plain text and assumes the first line is the label if it starts with Verse/Chorus/etc, but EasyWorship identifies the label as being a particular type of RTF tag.

Here's an example slide:

{\rtf1\ansi\deff0\sdeasyworship2^M
{\fonttbl{\f0 Tahoma;}}^M
{\colortbl ;}^M
{\pard\sdparawysiwghidden\sdlistlevel-1\qc\qdef\sdewparatemplatestyle102{\*\sdasfactor 1}{\*\sdasbaseline 48.6}\sdastextstyle102\plain\sdewtemplatestyle102\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto Slide1Label\par}^M
{\pard\sdparawysiwghidden\sdlistlevel-1\qc\qdef\sdewparatemplatestyle102\plain\sdewtemplatestyle102\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto MoreSlide1Label\par}^M
{\pard\qc\qdef\sdewparatemplatestyle101{\*\sdasfactor 0}\plain\sdewtemplatestyle101\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto Slide1Text\par}^M
{\pard\sdslidemarker\qc\qdef\sdewparatemplatestyle101\plain\sdewtemplatestyle101\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto\par}^M
{\pard\sdparawysiwghidden\sdlistlevel-1\qc\qdef\sdewparatemplatestyle102\plain\sdewtemplatestyle102\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto Slide2Label\par}^M
{\pard\qc\qdef\sdewparatemplatestyle101{\*\sdasfactor 1}{\*\sdasbaseline 48.6}\sdastextstyle101\plain\sdewtemplatestyle101\fs98{\*\sdfsreal 48.6}{\*\sdfsdef 48.6}\sdfsauto Slide2Text\par}^M
}
-- 
https://code.launchpad.net/~gtalent/openlp/easyworship6/+merge/321504
Your team OpenLP Core is subscribed to branch lp:openlp.


References