From 3dae08e740d995a55162837a2d8638add338d487 Mon Sep 17 00:00:00 2001 From: Wesley Stout Date: Thu, 16 Jun 2011 14:54:51 -0500 Subject: [PATCH] updated the styling, added complete example to the css section --- manual/source/print_service.rst | 323 ++++++++++++++++++++++++++++---- 1 file changed, 286 insertions(+), 37 deletions(-) diff --git a/manual/source/print_service.rst b/manual/source/print_service.rst index 6d8ecae..f9e9c97 100644 --- a/manual/source/print_service.rst +++ b/manual/source/print_service.rst @@ -16,68 +16,317 @@ This will bring up a window with your service order for review and printing. .. image:: pics/printservice2.png -|printbutton| *Print* +Toolbar +------- + +|printbutton| **Print** This will print your service bringing up your system's print options. Use this when you are ready to print. -|optionbutton| *Options* +|optionbutton| **Options** This gives you a series of ways to customize the service order before - printing. + printing. See the section on :ref:`options` for more information. -.. image:: pics/printservice3.png - -*Title:* - Gives you the ability to change the title of your printed document. - -*Custom Footer Text:* - Add text to the footer of your printed document. - -**Other Options** - -*Include slide text if available* - Check this to include all the text from songs or scripture. - -*Add page break before each text item* - If you have checked *include slide text if available* you can select this - option to put each text item (songs, custom slides, scripture) on a - separate page. - -*Include service item notes* - This option will include any notes you have added to the service items. - -*Include play length of media items* - This option will print the length of media items in your service. - -|closebutton| *Close* +|closebutton| **Close** Closes the print service window. -|copybutton| *Copy* +|copybutton| **Copy** Copy the text of the preview window to your clipboard. You can then paste the text into other documents or applications. -|copybutton| *Copy HTML* +|copybutton| **Copy HTML** Copy html code to your clipboard. You can then paste this in a text editor and save as .html. This can then be used to post your service details on a website or anywhere an html document can be used. -|zoomin| *Zoom in* +|zoomin| **Zoom in** Zooms in on your preview. -|zoomout| *Zoom out* +|zoomout| **Zoom out** Zooms out to make more of your preview visible. -|zoomoriginal| *Zoom to original* +|zoomoriginal| **Zoom to original** Restores the preview to its original size. -Customizing with CSS --------------------- +.. _options: + +Options +------- + +.. image:: pics/printservice3.png + +**Title:** + Gives you the ability to change the title of your printed document. + +**Custom Footer Text:** + Add text to the footer of your printed document. + +**Other Options** + +**Include slide text if available** + Check this to include all the text from songs or scripture. + +**Add page break before each text item** + If you have checked *include slide text if available* you can select this + option to put each text item (songs, custom slides, scripture) on a + separate page. + +**Include service item notes** + This option will include any notes you have added to the service items. + +**Include play length of media items** + This option will print the length of media items in your service. + +Customizing with CSS (Advanced) +------------------------------- It is possible to customize the printed service using CSS. To do this go to :menuselection:`Tools --> Open Data Folder` If you have a file named servicePrint.css delete it. In the open folder create a file named -service_print.css containing your customizations. +service_print.css containing your customizations. Paste the following into +service_print.css:: -For more information please check out this `example `_. + /* + Edit this service_print.css file to customize the service order print. Note, that not all CSS + properties are supported. See: + http://doc.trolltech.com/4.7/richtext-html-subset.html#css-properties + */ + + .serviceTitle { + font-weight:600; + font-size:x-large; + color:black; + } + + .item { + color:black; + } + + .itemTitle { + font-weight:600; + font-size:large; + } + + .itemText {} + + .itemFooter { + font-size:8px; + } + + .itemNotes {} + + .itemNotesTitle { + font-weight:bold; + font-size:12px; + } + + .itemNotesText { + font-size:11px; + } + + .media {} + + .mediaTitle { + font-weight:bold; + font-size:11px; + } + + .mediaText {} + + .imageList {} + + .customNotes { + margin-top: 10px; + } + + .customNotesTitle { + font-weight:bold; + font-size:11px; + } + + .customNotesText { + font-size:11px; + } + + .newPage { + page-break-before:always; + } + + +The HTML layout should look something like this:: + + + + Service Order Sheet + + +

Service Order Sheet

+
+

+ + Amazing Grace +

+
+

Amazing grace how sweet the sound that saved a wretch like me
+ I once was lost but now I'm found, was blind but now I see.

+
+
+

Twas grace that taught my heart to fear, and grace my fears relieved
+ How precious did that grace appear the hour I first believed!

+
+
+ John Newton
+ 1982 Jubilate Hymns Limited +
+
+ Notes: + Song Notes
+ More Notes
+
+
+ +
+

+ + And Can It Be +

+
+

And can be that I should gain,
+ an interest in my Savior's blood?
+ Died He for me, who caused His pain?
+ For me, who Him to death pursued?
+ Amazing love, how can it be
+ That thou my Lord should die for me?

+
+
+

Amazing love, how can it be
+ That thou my God should die for me?

+
+
+ Lindell Cooley
+ Public Domain +
+
+ +
+

+ + Wildlife.wmv +

+
+ Notes: + Movie Notes +
+
+ Playing time: + 0:00:00 +
+
+ +
+

+ + John 3:16-17 (ASV) +

+
+

3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth on him should not perish, but have eternal life.

+
+
+

3:17 For God sent not the Son into the world to judge the world; but that the world should be saved through him.

+
+
+ ASV, Copyright, Permissions +
+
+ Notes: + Bible reading notes +
+
+ +
+

+ + Images +

+
    +
  1. Winter.jpg
  2. +
  3. Sunset.jpg
  4. +
+
+ Notes: + Image notes +
+
+ +
+

+ + Lord's Prayer Traditional +

+
+

Our Father,
+ who art in heaven,
+ hallowed be thy name.
+ Thy Kingdom come,
+ thy will be done,
+ on earth as it is in heaven

+
+
+

Give us this day our daily bread.
+ And forgive us our trespasses,
+ as we forgive those
+ who trespass against us.
+ And lead us not into temptation,
+ but deliver us from evil.
+ For thine is the kingdom,
+ the power and the glory,
+ for ever and ever. Amen

+
+
+ Notes: + Custom Item Notes +
+
+ +
+

+ + Sermon Presentation.pptx +

+
+ Notes: + Presentation notes +
+
+ +
+ Custom Service Notes: + Custom Footer Text Goes here like this +
+ + + +Edit the CSS file to produce the required style. +**Note:** not all CSS properties are supported. See +`Qt4 CSS subset `_ +for more information. + +**Example: Item titles with notes on right hand side** + +This service_print.css assumes the slide text will not be included.:: + + .itemTitle { + font-weight:bold; + font-size:large; + margin: 0px; + } + .itemNotes { + margin-left: 300px; + margin-top: 0px; + } + .itemNotesTitle { + font-weight:bold; + } .. The following section defines the inline pics