Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Relationship = Relationship {}
- newtype Relationships = Relationships {}
- fromList :: [(RefId, Relationship)] -> Relationships
- empty :: Relationships
- size :: Relationships -> Int
- relEntry :: RefId -> 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
- allByType :: Text -> Relationships -> [Relationship]
- parseRelEntry :: Cursor -> [(RefId, Relationship)]
- pr :: Text -> Name
- odr :: Text -> Name
- odRelNs :: Text
- pkgRelNs :: Text
- stdRelType :: Text -> Text
Documentation
data Relationship Source #
Instances
newtype Relationships Source #
Describes relationships according to Open Packaging Convention
See ECMA-376, 4th Edition Office Open XML File Formats — Open Packaging Conventions
Instances
fromList :: [(RefId, Relationship)] -> Relationships Source #
size :: Relationships -> Int 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 #
allByType :: Text -> Relationships -> [Relationship] Source #
parseRelEntry :: Cursor -> [(RefId, Relationship)] Source #
stdRelType :: Text -> Text Source #