Compartilhar via


OpenXmlPackage.FromFlatOpcDocumentCore Método

Definição

Sobrecargas

FromFlatOpcDocumentCore(XDocument, Package)

Converte um XDocument no formato OPC Simples em um pacote OpenXml armazenado em um Package.

FromFlatOpcDocumentCore(XDocument, Stream)

Converte um XDocument no formato OPC Simples em um pacote OpenXml armazenado em um Stream.

FromFlatOpcDocumentCore(XDocument, String)

Converte um XDocument em formato OPC Simples em um pacote OpenXml armazenado em um arquivo.

FromFlatOpcDocumentCore(XDocument, Package)

Converte um XDocument no formato OPC Simples em um pacote OpenXml armazenado em um Package.

protected static System.IO.Packaging.Package FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, System.IO.Packaging.Package package);
protected static System.IO.Packaging.Package FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, System.IO.Packaging.Package package);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Packaging.Package -> System.IO.Packaging.Package
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Packaging.Package -> System.IO.Packaging.Package
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, package As Package) As Package
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, package As Package) As Package

Parâmetros

flatOpcDocumentdocument
XDocument

O documento no formato OPC Simples.

package
Package

O Package em que armazenar o pacote OpenXml.

Retornos

O Package que contém o pacote OpenXml.

Aplica-se a

FromFlatOpcDocumentCore(XDocument, Stream)

Converte um XDocument no formato OPC Simples em um pacote OpenXml armazenado em um Stream.

protected static System.IO.Stream FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, System.IO.Stream stream);
protected static System.IO.Stream FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, System.IO.Stream stream);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Stream -> System.IO.Stream
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Stream -> System.IO.Stream
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, stream As Stream) As Stream
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, stream As Stream) As Stream

Parâmetros

flatOpcDocumentdocument
XDocument

O documento no formato OPC Simples.

stream
Stream

O Stream no qual armazenar o pacote OpenXml.

Retornos

O Stream que contém o pacote OpenXml.

Aplica-se a

FromFlatOpcDocumentCore(XDocument, String)

Converte um XDocument em formato OPC Simples em um pacote OpenXml armazenado em um arquivo.

protected static string FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, string path);
protected static string FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, string path);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * string -> string
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * string -> string
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, path As String) As String
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, path As String) As String

Parâmetros

flatOpcDocumentdocument
XDocument

O documento no formato OPC Simples.

path
String

O caminho e o nome do arquivo no qual armazenar o pacote OpenXml.

Retornos

O caminho e o nome do arquivo que contém o pacote OpenXml.

Aplica-se a