import { Document } from "../../Document" ; import { GlobalState } from "../Containers" ; import { ColortblDestination } from "./ColortblDestinations" ; import { DestinationFactory , GenericPropertyDestinationFactory , GenericSubTextPropertyDestinationFactory , RequiredDestinationFactory , } from "./DestinationBase" ; import { FieldDestination , FldinstDestination , FldrsltDestination } from "./FieldDestinations" ; import { FonttblDestination } from "./FonttblDestinations" ; import { InfoDestination , MetaPropertyDestinationFactory , MetaPropertyTimeDestinationFactory } from "./MetaDestinations" ; import { PictDestination , PictGroupDestinationFactory } from "./PictDestinations" ; import { RtfDestination } from "./RtfDestination" ; import { StylesheetDestination } from "./StylesheetDestination" ; export const Destinations = { rtf : RtfDestination , info : InfoDestination , title : new MetaPropertyDestinationFactory ( "title" ) , subject : new MetaPropertyDestinationFactory ( "subject" ) , author : new MetaPropertyDestinationFactory ( "author" ) , manager : new MetaPropertyDestinationFactory ( "manager" ) , company : new MetaPropertyDestinationFactory ( "company" ) , operator : new MetaPropertyDestinationFactory ( "operator" ) , category : new MetaPropertyDestinationFactory ( "category" ) , keywords : new MetaPropertyDestinationFactory ( "keywords" ) , doccomm : new MetaPropertyDestinationFactory ( "doccomm" ) , hlinkbase : new MetaPropertyDestinationFactory ( "hlinkbase" ) , generator : new GenericPropertyDestinationFactory ( "rtf" , "generator" ) , creatim : new MetaPropertyTimeDestinationFactory ( "creatim" ) , revtim : new MetaPropertyTimeDestinationFactory ( "revtim" ) , printim : new MetaPropertyTimeDestinationFactory ( "printim" ) , buptim : new MetaPropertyTimeDestinationFactory ( "buptim" ) , fonttbl : FonttblDestination , falt : new GenericSubTextPropertyDestinationFactory ( "falt" , "fonttbl:sub" , "setAltFontName" ) , colortbl : ColortblDestination , stylesheet : StylesheetDestination , footer : new RequiredDestinationFactory ( "footer" ) , footerf : new RequiredDestinationFactory ( "footerf" ) , footerl : new RequiredDestinationFactory ( "footerl" ) , footerr : new RequiredDestinationFactory ( "footerr" ) , footnote : new RequiredDestinationFactory ( "footnote" ) , ftncn : new RequiredDestinationFactory ( "ftncn" ) , ftnsep : new RequiredDestinationFactory ( "ftnsep" ) , ftnsepc : new RequiredDestinationFactory ( "ftnsepc" ) , header : new RequiredDestinationFactory ( "header" ) , headerf : new RequiredDestinationFactory ( "headerf" ) , headerl : new RequiredDestinationFactory ( "headerl" ) , headerr : new RequiredDestinationFactory ( "headerr" ) , pict : PictDestination , shppict : new PictGroupDestinationFactory ( false ) , nonshppict : new PictGroupDestinationFactory ( true ) , private1 : new RequiredDestinationFactory ( "private1" ) , rxe : new RequiredDestinationFactory ( "rxe" ) , tc : new RequiredDestinationFactory ( "tc" ) , txe : new RequiredDestinationFactory ( "txe" ) , xe : new RequiredDestinationFactory ( "xe" ) , field : FieldDestination , fldinst : FldinstDestination , fldrslt : FldrsltDestination , } ;