class File_Convert_Solution_acad2svg extends File_Convert_Solution
{
-
+ // disabled - use acmecad
static $rules = array(
- array(
+ /* array(
'from' => array( //source
'application/vnd.dwg',
'image/svg'
)
),
+ */
);
function acad2svg($fn,$x,$y,$pg)
),
'to' => array( //target
'image/jpeg', // can do quite a few more..
- 'image/svg+xml'
+ 'image/svg+xml',
+ 'application/pdf'
)
),
if ($this->ext == 'svg') {
$format = 101;
}
-
+ if ($this->ext == 'pdf') {
+ $format = 104;
+ }
// /Recover = seems to handle hang situations
class File_Convert_Solution_anydwgtopdf extends File_Convert_Solution
{
+ // DISABLED - use acmecad
static $rules = array(
- array(
+ /*
+ * array(
'from' => array( //source
'application/vnd.dwg',
'application/pdf'
)
),
-
+ */
);
function convert($fn,$x,$y,$pg)
{