Click or drag to resize

DocxDocument Class

Class DocxDocument.
Inheritance Hierarchy
SystemObject
  QsGemBox.DocxDocxDocument

Namespace: QsGemBox.Docx
Assembly: QsGemBox (in QsGemBox.dll) Version: 27.1.0
Syntax
public class DocxDocument

The DocxDocument type exposes the following members.

Constructors
 NameDescription
Public methodDocxDocument Initializes a new instance of the DocxDocument class.
Top
Properties
 NameDescription
Public propertyDocumentPath Gets or sets the document path.
Public propertyInnerObject Gets or sets the inner object.
Top
Methods
 NameDescription
Public methodActivateAdvancedMerging Activates the advanced merging. Using fields prefixes we can decide what kind of data insert into the field
Public methodAddBookmarkText Adds the bookmark text.
Public methodAddCharacterStyle Aggiunge un nuovo stile di carattere
Public methodAddFooterPage Aggiunge il footer standard con il numero di pagina
Public methodAddHyperlink Aggiunge un hyperlink al documento.
Public methodAddImage(Image, Int32, Int32) Aggiunge un'immagine al documento. Passare le dimensioni dell'immagine. Passare 0 e 0 per lasciare i valori predefiniti di immagine.
Public methodAddImage(String, Int32, Int32) Aggiunge un'immagine al documento. Passare le dimensioni dell'immagine. Passare 0 e 0 per lasciare i valori predefiniti di immagine.
Public methodAddNewLine Aggiunge una nuova linea (a capo).
Public methodAddPageBreak Inserisce una interruzione di pagina
Public methodAddParagraph Adds the text as new paragraph.
Public methodAddParagraphStyle Aggiunge uno stile di paragrafo
Public methodAddStyle Crea un nuovo stile e lo salva nel documento
Public methodAddTab Inserisce una tabulazione
Public methodAddTable(DataTable) Adds the table.
Public methodAddTable(Int32, Int32) Aggiunge una tabella di r righe e c colonne
Public methodAddTableOfContents(String, Int32) Adds the summary.
Public methodAddTableOfContents(String, String, Int32, DocxDocumentSummaryOrientationEnum, Boolean, Boolean) Adds the summary.
Public methodAddTableStyle Aggiunge un nuovo stile di tabella.
Public methodAddText Adds the text inline (current paragraph)
Public methodAddTextBox Aggiunge una textbox TODO: completare passando le informazioni corrette per il posizionamento. Una volta creata non si può modificare.
Public methodAppendDocument(DocxDocument, Boolean) Append a document at the end of the current one
Public methodAppendDocument(String, Boolean) Append a document at the end of the current one
Public methodAppendDocumentToSection Append a document after the section.
Public methodStatic memberCreateImageProxy Crea un proxy immagine. E' una funzione di servizio per non dover importare il tipo in Lua
Public methodEnsureSection Ensures the section.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindTextByRegex Finds the text by regex.
Public methodGetAllFields Gets all fields contained into the document.
Public methodGetAllSections Ritorna tutte le sezioni presenti nel documento.
Public methodGetAllTables Gets all tables contained into the document.
Public methodGetAvailableListStyles Ritorna una lista con gli stili di lista standard
Public methodGetBookmarkText Ritorna il testo di un bookmark
Public methodGetBuiltInProperties Ritorna le proprietà standard del documento
Public methodGetCustomProperties Ritorna le proprietà custom del documento
Public methodGetFieldNames Gets the field names.
Public methodGetFirstRun Ritorna il primo run del documento.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPaginator Gets the document paginator. Object to manage the documents page. Create a new object every time (like Gembox).
Public methodGetSection Ritorna la sezione all'indice passato
Public methodGetStyleNames Ritorna i nomi degli stili
Public methodGetTableStyle Ritorna lo stile di tabella in base al nome specificato in ingresso. Ritorna 'null' se il nome specificato è vuoto
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMailMerge Esegue il mailmerge a partire dalla tabella lua.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReadForm Legge un form Word
Public methodRemoveParagraph Eliminata dalla lista dei blocks il paragrafo
Public methodReplaceText(String, String) Search and replace NO regex
Public methodReplaceText(String, String, Boolean) Replace text into the document, regex allowed
Public methodReplaceTextWithImage Replace a placehloder with the given image
Public methodSave Just Save
Public methodSaveAs Save the document as...
Public methodSetBookmark Imposta il bookmark con il valore passato
Public methodSetBookmarks Imposta i bookmarks dalla tabella lua passata
Public methodSetField Imposta un campo nel documento
Public methodSetProperties Imposta le proprietà del documento leggendo una tabella nome-valore in lua. Da priorità alle proprietà standard del documento e poi a quelle custom.
Public methodSetSectionOrientation Imposta l'orientamento della sezione
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateTableOfContent Updates the table of content making dirty the document.
Public methodUpdateTableOfContent(Boolean) Updates the table of content making dirty the document.
Top
See Also