Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Relationship = Relationship {}
- newtype Relationships = Relationships {}
- fromList :: [(RefId, Relationship)] -> Relationships
- empty :: Relationships
- relEntry :: Int -> Text -> FilePath -> (RefId, Relationship)
- lookup :: RefId -> Relationships -> Maybe Relationship
- setTargetsFrom :: FilePath -> Relationships -> Relationships
- joinRel :: FilePath -> FilePath -> FilePath
- relFrom :: FilePath -> FilePath -> FilePath
- findRelByType :: Text -> Relationships -> Maybe Relationship
- parseRelEntry :: Cursor -> [(RefId, Relationship)]
- pr :: Text -> Name
- odr :: Text -> Name
- odRelNs :: Text
- pkgRelNs :: Text
- stdRelType :: Text -> Text
Documentation
newtype Relationships Source #
Describes relationships according to Open Packaging Convention
See ECMA-376, 4th Edition Office Open XML File Formats — Open Packaging Conventions
fromList :: [(RefId, Relationship)] -> Relationships Source #
lookup :: RefId -> Relationships -> Maybe Relationship Source #
setTargetsFrom :: FilePath -> Relationships -> Relationships Source #
joinRel :: FilePath -> FilePath -> FilePath Source #
joins relative URI (actually a file path as an internal relation target)
findRelByType :: Text -> Relationships -> Maybe Relationship Source #
parseRelEntry :: Cursor -> [(RefId, Relationship)] Source #
stdRelType :: Text -> Text Source #