removed mods directory from the ATutor codebase
[atutor.git] / mods / atutor_opencaps / opencaps / conversion_service / include / classes / ccformats / cc_DvdStl_format.php
diff --git a/mods/atutor_opencaps/opencaps/conversion_service/include/classes/ccformats/cc_DvdStl_format.php b/mods/atutor_opencaps/opencaps/conversion_service/include/classes/ccformats/cc_DvdStl_format.php
deleted file mode 100755 (executable)
index 76533d3..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-<?php\r
-/**\r
- * DvdStl Class\r
- */\r
-class DvdStl extends CaptionFormat\r
-{\r
-       /**\r
-        * Imports a caption string into a CaptionCollection \r
-        *\r
-        * @param String $theCCString the caption file as string\r
-        * @return CaptionCollection $myCcCollection A CaptionCollection Object\r
-        */\r
-       public function importCC($theCCString)\r
-       {\r
-               \r
-       } // end importCC()\r
-       \r
-       /**\r
-        * Exports a CaptionCollection object into a string\r
-        *\r
-        * @param CaptionCollection $theCollection A CaptionCollection Object\r
-        * @return String $captionString The caption as a String\r
-        */\r
-       public function exportCC($theCollection)\r
-       {\r
-               \r
-               $ccExport = '';\r
-               \r
-               $myCollection = $theCollection->getCollection();\r
-               \r
-               foreach ($myCollection as $captionObj)\r
-               {\r
-                       $fixCap = TxtFileTools::ccNewLineToBr($captionObj->getCaption(),' ');\r
-                       \r
-                       $ccExport .= $captionObj->getInTime().', '.$captionObj->getOutTime().", ".$fixCap."\n\n";\r
-                       \r
-               } // end foreach\r
-               \r
-               return $ccExport;\r
-               \r
-       } // end  exportCC()\r
-       \r
-       /**\r
-        * Verify if the caption file is a srt caption file \r
-       */\r
-       public function checkFormat($theCCString)\r
-       {\r
-               \r
-       } // end checkFormat()\r
-       \r
-       /*\r
-        * Here functions to re-define\r
-        */\r
-       public function getName()\r
-       {\r
-               return 'Spruce STL';\r
-       }\r
-       \r
-       public function getAbout()\r
-       {\r
-               return 'Caption format used by DVD Studio and Avid in mac OS.\r
-               Very popular.\r
-               This format can be used to create DVD captions on Mac OS';\r
-       }\r
-       \r
-       public function getVersion()\r
-       {\r
-               return '???';\r
-       }\r
-               \r
-       public function getFileExtension()\r
-       {\r
-               return 'stl';\r
-       }\r
-       \r
-       public function getIdPattern()\r
-       {\r
-               //$idPattern = '/([0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{2})(.*)([0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{2})(.*)/';\r
-               $idPattern = '/unknownZZZ/';\r
-               //00:00:03:24 , 00:00:06:29 , Did you read the paper today?\r
-               return $idPattern;\r
-       }\r
-\r
-       public function allowsTextStyles()\r
-       {\r
-               return '1';\r
-       }\r
-       \r
-       public function template()\r
-       {\r
-               $ccTemplate = '//English subtitles\r
-$FontName           = Arial\r
-$FontSize           = 36\r
-$HorzAlign          = Center\r
-$VertAlign          = Bottom\r
-$XOffset            = 0\r
-$YOffset            = 0\r
-$ColorIndex1        = 0\r
-$ColorIndex2        = 2\r
-$ColorIndex3        = 8\r
-$ColorIndex4        = 3\r
-$Contrast1          = 15\r
-$Contrast2          = 0\r
-$Contrast3          = 15\r
-$Contrast4          = 0\r
-$ForceDisplay       = FALSE\r
-$FadeIn             = 3\r
-$FadeOut            = 7\r
-$TapeOffset         = FALSE\r
-\r
-00:00:03:24 , 00:00:06:29 , Did you read the paper today?\r
-00:00:10:07 , 00:00:12:21 , No, did Edwards quote me right?\r
-00:00:14:19 , 00:00:25:28 , Actually, ^IBrillstein^I said you were | unimaginably full of yourself\r
-';\r
-       }\r
-\r
-} // end Dvd Class\r
-\r
-?>
\ No newline at end of file